]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use newly built locales for tst-c16c32-1.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f1d4aa75
JM
12012-01-24 Joseph Myers <joseph@codesourcery.com>
2
3 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4
81c0c964
PT
52012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6
7 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8 of the non-standard EPFNOSUPPORT.
9
0ea698ae
ST
102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11
12 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15
d220b117
UD
162012-01-21 Ulrich Drepper <drepper@gmail.com>
17
18 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19
3e1aa84e
UD
202012-01-20 Ulrich Drepper <drepper@gmail.com>
21
22 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23 transient errors.
24 * nscd/grpcache.c (cache_addgr): Likewise.
25 * nscd/hstcache.c (cache_addhst): Likewise.
26 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27 * nscd/pwdcache.c (cache_addpw): Likewise.
28 * nscd/servicescache.c (cache_addserv): Likewise.
29
400aa020
UD
302012-01-16 Ulrich Drepper <drepper@gmail.com>
31
d77e7869
UD
32 * malloc/malloc.c: Various cleanups.
33 * malloc/hooks.c: Likewise.
34
400aa020
UD
35 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36 * stdlib/bug-fmtmsg1.c: New file.
37
38 * stdlib/fmtmsg.c (init): Add missing unlock.
39 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40
e0a309cf
MP
412012-01-12 Marek Polacek <polacek@redhat.com>
42
43 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44 and _GNU_SOURCE.
45
929d11c7
WS
462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47
48 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50 macro to ensure uniqueness of label name.
51 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53
41d0e869
UD
542012-01-11 Ulrich Drepper <drepper@gmail.com>
55
0cc5ed3b
UD
56 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57
41d0e869
UD
58 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
62
a47a831a
UD
632012-01-10 Ulrich Drepper <drepper@gmail.com>
64
daa891c0
UD
65 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66
67 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70
e58ef0f2
UD
71 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72
a47a831a 73 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
74 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 76 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
77
78 * math/bits/math-finite.h: Add ldexp support.
79
a0bfc9c7
MP
802012-01-10 Marek Polacek <polacek@redhat.com>
81
82 * locale/programs/localedef.h (show_archive_content): Add noreturn
83 attribute.
84
d6e97a1d
UD
852012-01-09 Ulrich Drepper <drepper@gmail.com>
86
87 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88
d5835c26
UD
892012-01-08 Ulrich Drepper <drepper@gmail.com>
90
e5f484c6
UD
91 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
92
d5835c26
UD
93 * io/Makefile (headers): Add bits/poll2.h.
94
d1f741e9
WS
952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
96
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
98 typo #include statement.
99
ec09c1c4
UD
1002012-01-08 Ulrich Drepper <drepper@gmail.com>
101
102 * include/sys/cdefs.h: Define __attribute_alloc_size.
103 * catgets/gencat.c: Add alloc_size attribute and apply consistently
104 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
105 * elf/pldd.c: Likewise.
106 * iconv/iconv_charmap.c: Likewise.
107 * iconv/iconvconfig.c: Likewise.
108 * iconv/strtab.c: Likewise.
109 * locale/programs/locale.c: Likewise.
110 * locale/programs/localedef.h: Likewise.
111 * locale/programs/simple-hash.c: Likewise.
112 * nscd/nscd.h: Likewise.
113 * nss/makedb.c: Likewise.
114 * sysdeps/generic/ldconfig.h: Likewise.
115 * locale/programs/localedef.c: Remove xmalloc prototype.
116 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
117
20b38e03
PP
1182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
119
120 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
121 appropriate.
122
a0da5fe1
UD
1232012-01-08 Ulrich Drepper <drepper@gmail.com>
124
1d5a644a 125 * math/Makefile (tests): Add tst-CMPLX.
669704fd 126 * math/tst-CMPLX.c: New file.
1d5a644a 127
8784a6db
UD
128 * math/complex.h (CMPLXL): Fix typo.
129
d9a216c0
UD
130 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
131 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
132 GLIBC_2.16.
133 * debug/tst-chk1.c: Add poll and ppoll tests.
134 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
135 * include/sys/poll.h: Add hidden proto for ppoll.
136 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
137 * sysdeps/mach/hurd/ppoll.c: Likewise.
138 * io/ppoll.c: Likewise.
139 * debug/poll_chk.c: New file.
140 * debug/ppoll_chk.c: New file.
141 * include/bits/poll2.h: New file.
142 * io/bits/poll2.h: New file.
143
ac097f5c
UD
144 [BZ #1350]
145 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
146
2119dcfa
UD
147 * configure.in: static is always set to yes. Remove.
148 * config.make.in: Don't set build-static.
149 * Makeconfig: Remove use of build-static.
150 * dlfcn/Makefile: Likewise.
151 * elf/Makefile: Likewise.
152 * math/Makefile: Likewise.
153 * misc/Makefile: Likewise.
154 * nptl/Makefile: Likewise.
155 * sysdeps/mach/hurd/Makefile: Likewise.
156
121766a9
UD
157 * configure.in: PWD_P is not used anymore.
158 * config.make.in: Remove PWD_P entry.
159
51a1d39c 160 * configure.in: Remove last remnants of RANLIB.
8720d066 161 No need to check for signed size_t anymore.
215f4bdc
UD
162 Don't set libc_commonpagesize and libc_relro_required here for Alpha
163 and IA-64.
3857022a 164 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
165 * aclocal.m4: Likewise.
166
d3ed7225
UD
167 * wcsmbs/mbrtoc16.c: Implement using towc function.
168 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
169 * wcsmbs/wcsmbsload.c: Likewise.
170 * iconv/gconv_simple.c: Likewise.
171 * iconv/gconv_int.h: Likewise.
172 * iconv/gconv_builtin.h: Likewise.
173 * iconv/iconv_prog.c: Remove CHAR16 handling.
174
175 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
176
177 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
178
a0da5fe1
UD
179 * configure.in: Remove --with-elf and --enable-bounded options.
180 Dont set base_machine for ia64. More non-ELF conditions removed.
181 Remove testing and setting of leading underscore information.
182 * config.make.in (build-bounded): Set to no.
183 * config.h.in: Remove NO_UNDERSCORES entry.
184 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
185 them.
186 * csu/start.c: Remove !NO_UNDERSCORE code.
187 * locale/localeinfo.h: Likewise.
188 * sysdeps/generic/machine-gmon.h: Likewise.
189 * sysdeps/generic/sysdep.h: Likewise.
190 * sysdeps/i386/sysdep.h: Likewise.
191 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
192 * sysdeps/mach/sysdep.h: Likewise.
193 * sysdeps/s390/s390-32/sysdep.h: Likewise.
194 * sysdeps/s390/s390-64/sysdep.h: Likewise.
195 * sysdeps/sh/sysdep.h: Likewise.
196 * sysdeps/sparc/sparc32/alloca.S: Likewise.
197 * sysdeps/unix/i386/sysdep.S: Likewise.
198 * sysdeps/unix/sparc/start.c: Likewise.
199 * sysdeps/unix/sparc/sysdep.S: Likewise.
200 * sysdeps/unix/sparc/sysdep.h: Likewise.
201 * sysdeps/unix/start.c: Likewise.
202 * sysdeps/unix/x86_64/sysdep.S: Likewise.
203 * sysdeps/x86_64/sysdep.h: Likewise.
204
df78418a
UD
2052012-01-07 Ulrich Drepper <drepper@gmail.com>
206
a784e502
UD
207 [BZ #13553]
208 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
209 for non-gcc.
210 * argp/argp-fmtstream.h: Use const instead __const.
211 * argp/argp.h: Likewise.
212 * assert/assert.h: Likewise.
213 * bits/fenv.h: Likewise.
214 * bits/sched.h: Likewise.
215 * bits/sigset.h: Likewise.
216 * bits/sigthread.h: Likewise.
217 * catgets/nl_types.h: Likewise.
218 * conform/data/pthread.h-data: Likewise.
219 * crypt/crypt-private.h: Likewise.
220 * crypt/crypt.h: Likewise.
221 * crypt/crypt_util.c: Likewise.
222 * ctype/ctype.h: Likewise.
223 * debug/execinfo.h: Likewise.
224 * debug/mbsnrtowcs_chk.c: Likewise.
225 * debug/mbsrtowcs_chk.c: Likewise.
226 * debug/wcsnrtombs_chk.c: Likewise.
227 * debug/wcsrtombs_chk.c: Likewise.
228 * debug/wcstombs_chk.c: Likewise.
229 * dirent/dirent.h: Likewise.
230 * dlfcn/dlfcn.h: Likewise.
231 * elf/neededtest4.c: Likewise.
232 * grp/grp.h: Likewise.
233 * gshadow/gshadow.h: Likewise.
234 * iconv/gconv.h: Likewise.
235 * iconv/gconv_int.h: Likewise.
236 * iconv/gconv_simple.c: Likewise.
237 * iconv/iconv.h: Likewise.
238 * iconv/loop.c: Likewise.
239 * iconv/skeleton.c: Likewise.
240 * include/aio.h: Likewise.
241 * include/aliases.h: Likewise.
242 * include/argz.h: Likewise.
243 * include/arpa/inet.h: Likewise.
244 * include/assert.h: Likewise.
245 * include/dirent.h: Likewise.
246 * include/dlfcn.h: Likewise.
247 * include/execinfo.h: Likewise.
248 * include/fcntl.h: Likewise.
249 * include/fenv.h: Likewise.
250 * include/glob.h: Likewise.
251 * include/grp.h: Likewise.
252 * include/libintl.h: Likewise.
253 * include/mntent.h: Likewise.
254 * include/netdb.h: Likewise.
255 * include/pwd.h: Likewise.
256 * include/rpc/netdb.h: Likewise.
257 * include/sched.h: Likewise.
258 * include/search.h: Likewise.
259 * include/shadow.h: Likewise.
260 * include/signal.h: Likewise.
261 * include/stdio.h: Likewise.
262 * include/stdlib.h: Likewise.
263 * include/string.h: Likewise.
264 * include/sys/socket.h: Likewise.
265 * include/sys/stat.h: Likewise.
266 * include/sys/statfs.h: Likewise.
267 * include/sys/statvfs.h: Likewise.
268 * include/sys/syslog.h: Likewise.
269 * include/sys/time.h: Likewise.
270 * include/sys/uio.h: Likewise.
271 * include/time.h: Likewise.
272 * include/unistd.h: Likewise.
273 * include/utmp.h: Likewise.
274 * include/wchar.h: Likewise.
275 * include/wctype.h: Likewise.
276 * inet/aliases.h: Likewise.
277 * inet/arpa/inet.h: Likewise.
278 * inet/netinet/ether.h: Likewise.
279 * inet/netinet/in.h: Likewise.
280 * intl/libintl.h: Likewise.
281 * io/bits/fcntl2.h: Likewise.
282 * io/fcntl.h: Likewise.
283 * io/ftw.h: Likewise.
284 * io/sys/poll.h: Likewise.
285 * io/sys/stat.h: Likewise.
286 * io/sys/statfs.h: Likewise.
287 * io/sys/statvfs.h: Likewise.
288 * io/utime.h: Likewise.
289 * libio/bits/stdio.h: Likewise.
290 * libio/bits/stdio2.h: Likewise.
291 * libio/libio.h: Likewise.
292 * libio/libioP.h: Likewise.
293 * libio/stdio.h: Likewise.
294 * locale/lc-ctype.c: Likewise.
295 * locale/locale.h: Likewise.
296 * login/utmp.h: Likewise.
297 * malloc/arena.c: Likewise.
298 * malloc/malloc.c: Likewise.
299 * malloc/malloc.h: Likewise.
300 * malloc/mcheck.c: Likewise.
301 * malloc/mtrace.c: Likewise.
302 * math/bits/mathcalls.h: Likewise.
303 * math/fenv.h: Likewise.
304 * math/math_private.h: Likewise.
305 * misc/bits/error.h: Likewise.
306 * misc/bits/syslog.h: Likewise.
307 * misc/err.h: Likewise.
308 * misc/error.h: Likewise.
309 * misc/fstab.h: Likewise.
310 * misc/mntent.h: Likewise.
311 * misc/regexp.h: Likewise.
312 * misc/search.h: Likewise.
313 * misc/sgtty.h: Likewise.
314 * misc/sys/mman.h: Likewise.
315 * misc/sys/syslog.h: Likewise.
316 * misc/sys/uio.h: Likewise.
317 * misc/sys/xattr.h: Likewise.
318 * misc/ttyent.h: Likewise.
319 * nis/rpcsvc/ypclnt.h: Likewise.
320 * nss/nss.h: Likewise.
321 * posix/bits/unistd.h: Likewise.
322 * posix/fnmatch.h: Likewise.
323 * posix/glob.h: Likewise.
324 * posix/sched.h: Likewise.
325 * posix/spawn.h: Likewise.
326 * posix/sys/wait.h: Likewise.
327 * posix/unistd.h: Likewise.
328 * posix/wordexp.h: Likewise.
329 * pwd/pwd.h: Likewise.
330 * resolv/netdb.h: Likewise.
331 * resource/sys/resource.h: Likewise.
332 * rt/aio.h: Likewise.
333 * rt/bits/mqueue2.h: Likewise.
334 * rt/mqueue.h: Likewise.
335 * shadow/shadow.h: Likewise.
336 * signal/signal.h: Likewise.
337 * socket/send.c: Likewise.
338 * socket/sendto.c: Likewise.
339 * socket/sys/socket.h: Likewise.
340 * stdio-common/printf.h: Likewise.
341 * stdlib/bits/stdlib.h: Likewise.
342 * stdlib/fmtmsg.h: Likewise.
343 * stdlib/monetary.h: Likewise.
344 * stdlib/stdlib.h: Likewise.
345 * stdlib/ucontext.h: Likewise.
346 * streams/stropts.h: Likewise.
347 * string/argz.h: Likewise.
348 * string/bits/string2.h: Likewise.
349 * string/string.h: Likewise.
350 * string/strings.h: Likewise.
351 * sunrpc/rpc/auth.h: Likewise.
352 * sunrpc/rpc/auth_des.h: Likewise.
353 * sunrpc/rpc/clnt.h: Likewise.
354 * sunrpc/rpc/netdb.h: Likewise.
355 * sunrpc/rpc/pmap_clnt.h: Likewise.
356 * sunrpc/rpc/xdr.h: Likewise.
357 * sysdeps/generic/inttypes.h: Likewise.
358 * sysdeps/generic/net/if.h: Likewise.
359 * sysdeps/generic/sys/swap.h: Likewise.
360 * sysdeps/gnu/net/if.h: Likewise.
361 * sysdeps/gnu/utmpx.h: Likewise.
362 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
363 * sysdeps/i386/i486/bits/string.h: Likewise.
364 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
365 * sysdeps/s390/bits/string.h: Likewise.
366 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
367 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
368 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
369 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
370 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
371 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
372 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
373 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
374 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
375 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
376 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
377 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
378 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
379 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
380 * sysdeps/unix/sysv/linux/readv.c: Likewise.
381 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
382 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
385 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
386 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
387 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
388 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
389 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
390 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
391 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
392 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
394 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
395 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
396 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
397 * sysvipc/sys/ipc.h: Likewise.
398 * sysvipc/sys/msg.h: Likewise.
399 * sysvipc/sys/sem.h: Likewise.
400 * sysvipc/sys/shm.h: Likewise.
401 * termios/termios.h: Likewise.
402 * time/sys/time.h: Likewise.
403 * time/time.h: Likewise.
404 * wcsmbs/bits/wchar2.h: Likewise.
405 * wcsmbs/uchar.h: Likewise.
406 * wcsmbs/wchar.h: Likewise.
407 * wctype/wctype.h: Likewise.
408
0269750c
UD
409 [BZ #13551]
410 * Makeconfig: Remove all but ELF support including AIX support.
411 * Makerules: Likewise.
412 * config.h.in: Likewise.
413 * config.make.in: Likewise.
414 * configure: Likewise.
415 * configure.in: Likewise.
416 * csu/Makefile: Likewise.
417 * csu/version.c: Likewise.
418 * debug/Makefile: Likewise.
419 * dlfcn/Makefile: Likewise.
420 * elf/Makefile: Likewise.
421 * extra-lib.mk: Likewise.
422 * iconv/Makefile: Likewise.
423 * include/libc-symbols.h: Likewise.
424 * include/shlib-compat.h: Likewise.
425 * resolv/Makefile: Likewise.
426 * resolv/res_libc.c: Likewise.
427 * rt/Makefile: Likewise.
428 * sysdeps/i386/asm-syntax.h: Likewise.
429 * sysdeps/i386/sysdep.h: Likewise.
430 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
431 * sysdeps/mach/sysdep.h: Likewise.
432 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
433 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
434 * sysdeps/s390/asm-syntax.h: Likewise.
435 * sysdeps/s390/s390-32/sysdep.h: Likewise.
436 * sysdeps/s390/s390-64/sysdep.h: Likewise.
437 * sysdeps/sh/sysdep.h: Likewise.
438 * sysdeps/unix/sparc/sysdep.h: Likewise.
439 * sysdeps/wordsize-32/divdi3.c: Likewise.
440 * sysdeps/x86_64/sysdep.h: Likewise.
441
00bbd29b
UD
442 * argp/Versions: Remove _argp_unlock_xxx.
443
444 [BZ #13559]
445 * abilist/ld.abilist: Update. Adjust for removal of tls option.
446 * abilist/libBrokenLocale.abilist: Likewise.
447 * abilist/libanl.abilist: Likewise.
448 * abilist/libc.abilist: Likewise.
449 * abilist/libcrypt.abilist: Likewise.
450 * abilist/libdl.abilist: Likewise.
451 * abilist/libm.abilist: Likewise.
452 * abilist/libnsl.abilist: Likewise.
453 * abilist/libpthread.abilist: Likewise.
454 * abilist/libresolv.abilist: Likewise.
455 * abilist/librt.abilist: Likewise.
456 * abilist/libthread_db.abilist: Likewise.
457 * abilist/libutil.abilist: Likewise.
458 * abilist/libnss_db.abilist: New file.
459
460 * scripts/abilist.awk: Add support for indirect functions.
461
a2693a0e
UD
462 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
463
3f05895f
UD
464 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
465
ecb6fb48
UD
466 * shlib-versions: Remove entries for ports architectures.
467
664f8cb9
UD
468 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
469 files in ports.
470 * elf/stackguard-macros.h: Remove support for IA-64.
471 * elf/tst-auditmod1.c: Likewise.
472 * sysdeps/generic/ldsodefs.h: Likewise.
473
7ae81d88
UD
474 * sysdeps/unix/sysv/linux/configure.in: Ports should define
475 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
476 configure files.
477
bdeba135
UD
478 [BZ #13552]
479 * configure.in: Remove --enable-omitfp support.
480 * FAQ.in: Adjust.
481 * config.make.in: Likewise.
482 * Makeconfig: Likewise.
483 * manual/install.texi: Likewise.
484
d75a0a62
UD
485 In case anyone cares, the IA-64 architecture could move to ports.
486 * sysdeps/ia64/*: Removed.
487 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 488 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 489
dcc9756b
UD
490 [BZ #13555]
491 * configure.in: Remove entries for unsupported architectures.
492
d3761ebc 493 [BZ #13533]
9954432e
UD
494 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
495 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
496 routines.
497 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
498 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
499 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
500 fall back to using wcrtomb.
501 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
502 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
503 renaming.
504 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
505 * wcsmbs/tst-c16c32-1.c: New file.
506
507 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
508 local variable.
509
c3a87236
UD
510 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
511
28926a1b
UD
512 * elf/tst-unique3.cc: Add explicit declaration of gets.
513 * elf/tst-unique3lib.cc: Likewise.
514 * elf/tst-unique3lib2.cc: Likewise.
515 * elf/tst-unique4.cc: Likewise.
516
df78418a
UD
517 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
518
8ecd6b2a
JM
5192012-01-06 Joseph Myers <joseph@codesourcery.com>
520
521 [BZ #13566]
522 * assert/assert.h (static_assert): Don't define for C++.
523 * libio/stdio.h (gets): Do declare for C++ <= C++11.
524 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
525
9f115170
UD
5262012-01-03 Ulrich Drepper <drepper@gmail.com>
527
5e0d0300
UD
528 * iconv/loop.c (single loop): Fix assertion in storing of
529 remaining bytes.
530
9f115170
UD
531 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
532
81fb02b0
UD
5332012-01-01 Ulrich Drepper <drepper@gmail.com>
534
535 * posix/getconf.c: Update copyright year.
536 * nss/getent.c: Likewise.
a316c1f6 537 * nss/makedb.c: Likewise.
81fb02b0
UD
538 * iconv/iconvconfig.c: Likewise.
539 * iconv/iconv_prog.c: Likewise.
540 * elf/ldconfig.c: Likewise.
a316c1f6
UD
541 * elf/pldd.c: Likewise.
542 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
543 * catgets/gencat.c: Likewise.
544 * csu/version.c: Likewise.
545 * elf/ldd.bash.in: Likewise.
546 * elf/sprof.c (print_version): Likewise.
547 * locale/programs/locale.c: Likewise.
548 * locale/programs/localedef.c: Likewise.
a316c1f6 549 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
550 * nscd/nscd.c (print_version): Likewise.
551 * debug/xtrace.sh: Likewise.
552 * malloc/memusage.sh: Likewise.
553 * malloc/mtrace.pl: Likewise.
554 * debug/catchsegv.sh: Likewise.
555
2ba92745
JJ
5562011-12-30 Jakub Jelinek <jakub@redhat.com>
557
558 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
559 pure attribute.
560
dadebdae
UD
5612011-12-24 Ulrich Drepper <drepper@gmail.com>
562
d3761ebc 563 [BZ #13533]
db6af3eb
UD
564 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
565 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
566 transformations.
567 * iconv/gconv_int.h: Likewise.
568 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
569 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
570 from libc for GLIBC_2.16.
571 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
572 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
573 * wcsmbs/uchar.h: Really define mbstate_t.
574 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
575 * wcsmbs/c16rtomb.c: New file.
576 * wcsmbs/mbrtoc16.c: New file.
577 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
578 for C/POSIX locale.
579 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
580 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
581
dadebdae
UD
582 * wcsmbs/wchar.h: Add missing __restrict.
583
67371b56
UD
5842011-12-23 Ulrich Drepper <drepper@gmail.com>
585
74033a25
UD
586 [BZ #13532]
587 * time/Makefile (routines): Add timespec_get.
588 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
589 * time/time.h: Define TIME_UTC and declare timespec_get. Define
590 timespec for ISO C11.
591 * time/timespec_get.c: New file.
592 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
593 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
594
380d7e87
UD
595 [BZ #13531]
596 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
597 * stdlib/stdlib.h: Declare aligned_alloc.
598 * Versions.def: Add GLIBC_2.16 for libc.
599 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
600
4e9e7a35
UD
601 [BZ 13527]
602 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
603 ISO C11.
604
380d7e87 605 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
606 code.
607
03a71829
UD
608 [BZ #13528]
609 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
610
839e283e
UD
611 [BZ #13529]
612 * assert/assert.h (static_assert): Define.
613
ce5294e2 614 * version.h: Update for 2.16 development version.
90fa7312 615
8d44e150 616 [BZ #13526]
d7809905
UD
617 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
618 _ISOC11_SOURCE.
619
c0da14cd
UD
620 * version.h (RELEASE): Bump for 2.15 release.
621 * include/features.h (__GLIBC_MINOR__): Bump to 15.
622
530a3249
MP
623 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
624 Patch by Marek Polacek <mpolacek@redhat.com>.
625
67371b56
UD
626 * bits/byteswap.h: Protect long long constants with __extension__.
627 * sysdeps/i386/bits/byteswap.h: Likewise.
628 * sysdeps/ia64/bits/byteswap.h: Likewise.
629 * sysdeps/s390/bits/byteswap.h: Likewise.
630 * sysdeps/x86_64/bits/byteswap.h: Likewise.
631
15db4de1
LD
6322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
633
634 [BZ #13540]
bbe315ea
LD
635 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
636 destination buffer.
15db4de1
LD
637 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
638
2b2596b1
MP
6392011-12-23 Marek Polacek <polacek@redhat.com>
640
641 * elf/dl-addr.c (determine_info): Add inline keyword.
642 * elf/tst-auditmod4b.c (check_avx): Likewise.
643 * elf/tst-auditmod6b.c (check_avx): Likewise.
644 * elf/tst-auditmod6c.c (check_avx): Likewise.
645 * elf/tst-auditmod7b.c (check_avx): Likewise.
646
70c6c246
UD
6472011-12-23 Ulrich Drepper <drepper@gmail.com>
648
649 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
650 !__SSE_MATH__.
651
c044cf14
LD
6522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
653
15db4de1 654 [BZ #13540]
c044cf14
LD
655 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
656 processing for last bytes.
657
6b13d9d9
BH
6582011-08-06 Bruno Haible <bruno@clisp.org>
659
d455f537
BH
660 [BZ #13061]
661 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
662 U+0385, not to U+1FEE.
663
6b13d9d9
BH
664 [BZ #13062]
665 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
666 entry for U+00A5 U+0301.
667
db910efd
UD
6682011-12-22 Ulrich Drepper <drepper@gmail.com>
669
27deeafc
UD
670 [BZ #13166]
671 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
672 buffer for the output is too small.
673
aed9d171
UD
674 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
675 optimization.
676
db910efd
UD
677 [BZ #13185]
678 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
679 SSE flags if possible.
680
2bd779ae
LD
6812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
682
e7f9dac3 683 [BZ #13540]
2bd779ae
LD
684 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
685 processing for last bytes.
686
154bfc16
JM
6872011-12-22 Joseph Myers <joseph@codesourcery.com>
688
689 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
690 (syscall-list-default-options, syscall-list-default-condition)
691 (syscall-list-includes): Define.
692 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
693 list of ABIs and options and #if conditions for each ABI. Do not
694 handle common syscalls between ABIs specially.
695 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
696 Remove.
697 (syscall-list-variants, syscall-list-32bit-options)
698 (syscall-list-32bit-condition, syscall-list-64bit-options)
699 (syscall-list-64bit-condition): Define.
700 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
701 (syscall-list-variants, syscall-list-32bit-options)
702 (syscall-list-32bit-condition, syscall-list-64bit-options)
703 (syscall-list-64bit-condition): Define.
704 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
705 Remove.
706 (syscall-list-variants, syscall-list-32bit-options)
707 (syscall-list-32bit-condition, syscall-list-64bit-options)
708 (syscall-list-64bit-condition): Define.
709 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
710 Remove.
711 (syscall-list-variants, syscall-list-32bit-options)
712 (syscall-list-32bit-condition, syscall-list-64bit-options)
713 (syscall-list-64bit-condition): Define.
714
21eaf3a5
UD
7152011-12-22 Ulrich Drepper <drepper@gmail.com>
716
16c6f992
UD
717 * locale/iso-639.def: Add brx entry.
718
41043168
UD
719 [BZ #13328]
720 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
721 Proposed by Mariusz_Cukr <marcukr@op.pl>.
722
21eaf3a5
UD
723 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
724 __feraiseexcept_renamed.
725
e3a851a2
UD
7262011-12-21 Ulrich Drepper <drepper@gmail.com>
727
4920765e
UD
728 [BZ #13538]
729 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
730 EPOLLET with unsigned values.
731 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
732 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
733
e3a851a2
UD
734 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
735 to large cancellation.
736 * math/s_cacoshf.c: Likewise.
737 * math/s_cacoshl.c: Likewise.
738
b27e24b8
RK
7392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
740
741 [BZ #13305]
aebefeee 742 [BZ #12786]
b27e24b8
RK
743 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
744 * math/s_cacoshf.c: Likewise.
745 * math/s_cacoshl.c: Likewise.
746
ee190f67
UD
7472011-12-21 Ulrich Drepper <drepper@gmail.com>
748
749 [BZ #13439]
750 * iconv/gconv.h: Define __GCONV_SWAP.
751 * iconvdata/unicode.c: The swap bit must be stored in __flags.
752 * iconvdata/utf-16.c: Likewise.
753 * iconvdata/utf-32.c: Likewise.
754
707f25df
AS
7552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
756
757 [BZ #13524]
758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
759 numerator after shifting it by one limb.
760
d2daaa1e
RÁE
7612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
762
763 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
764 under [__USE_EXTERN_INLINES].
765
a4647e72
UD
7662011-12-17 Ulrich Drepper <drepper@gmail.com>
767
768 [BZ #13446]
769 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
770
f0b264f1
AZ
7712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
772
773 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
774 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
775 optimized code.
776 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
777 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
778 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
779 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
780 for strncasecmp/strncasecmp_l compilation.
781 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
782 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
783
8ef4f244
MP
7842011-12-08 Marek Polacek <mpolacek@redhat.com>
785
786 [BZ #13484]
787 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
788 of __asm__.
789
97ac2654
UD
7902011-12-17 Ulrich Drepper <drepper@gmail.com>
791
792 [BZ #13506]
793 * time/tzfile.c (__tzfile_read): Check values from file header.
794
91d2a845
WS
7952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
796
797 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
798 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
799 * powerpc/powerpc32/dl-start.S: Likewise.
800 * powerpc/powerpc32/elf/start.S: Likewise.
801 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
802 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
803 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
804 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
805 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
806 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
807 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
808 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
809 * powerpc/powerpc32/fpu/s_round.S: Likewise.
810 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
811 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
812 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
813 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
814 * powerpc/powerpc32/memset.S: Likewise.
815 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
816 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
817 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
818 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
819 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
820 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
821 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
822 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
823 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
824 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
825 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
826 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
827 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
828
a1267ba1
AZ
8292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830
831 * math/libm-test.inc: Added more nearbyint tests.
832 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
836
ad8ac1bd
RL
8372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
838
839 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
840 FD_CLOEXEC.
841
1d3e4b61
UD
8422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
843
844 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
845 Add wcscpy-ssse3 wcscpy-c.
846 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
847 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
848 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
849 * sysdeps/x86_64/wcschr.S: New file.
850 * sysdeps/x86_64/wcsrchr.S: New file.
851 * string/test-strcmp.c: Remove checking of wcscmp function for
852 wrong alignments.
853 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
854 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
855 wcsrchr-sse2 wcsrchr-c.
856 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
857 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
858 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
859 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
860 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
861 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
862 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
863 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
864 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
865 * wcsmbc/wcschr.c (WCSCHR): New macro.
866
5b330a2d
UD
8672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
868
869 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
870 * wcsmbs/test-wcsrchr.c: New file.
871 * string/test-strrchr.c: Add wcsrchr support.
872 (WIDE): New macro.
873 * wcsmbs/test-wcscpy.c: New file.
874 * string/test-strcpy.c: Add wcscpy support.
875 (WIDE): New macro.
26428b7c 876
f039c043
UD
8772011-12-10 Ulrich Drepper <drepper@gmail.com>
878
879 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
880 the inner loop.
881
850fb039
AS
8822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
883
884 [BZ #13472]
885 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
886
4efbd5cb
UD
8872011-12-04 Ulrich Drepper <drepper@gmail.com>
888
52ff5dd0 889 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 890 Minor optimizations.
52ff5dd0 891
4efbd5cb
UD
892 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
893 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
894 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
895
8a426e12
UD
8962011-12-03 Ulrich Drepper <drepper@gmail.com>
897
aff2453d
UD
898 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
899 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
900 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
901 for gcc to avoid warnings.
902 * inet/Makefile (tests): Add tst-checks.
903 * inet/tst-checks.c: New file.
904
905 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
906 warning.
907
908 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
909 __wmemcmp_sse2.
910
911 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
912 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
913
8a426e12
UD
914 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
915
9bea3473
UD
9162011-12-02 Ulrich Drepper <drepper@gmail.com>
917
3a965496
UD
918 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
919 problem.
920
9bea3473
UD
921 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
922
f101631b
UD
9232011-11-29 Joseph Myers <joseph@codesourcery.com>
924
925 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
926 conditional on GCC version.
927 (__arch_compare_and_exchange_val_8_acq)
928 (__arch_compare_and_exchange_val_16_acq)
929 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
930 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
931 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
932
a98275aa
UD
9332011-12-02 Joseph Myers <joseph@codesourcery.com>
934
935 * sysdeps/sh/backtrace.c: New file.
936
d4cc29a2
AS
9372011-12-02 Andreas Schwab <schwab@redhat.com>
938
939 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
940 parenthesis.
941
6257af2d
AS
9422011-12-01 Andreas Schwab <schwab@redhat.com>
943
944 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
945 falling back to utime.
946
b5f44c1a
AS
9472011-11-30 Andreas Schwab <schwab@redhat.com>
948
949 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
950 expectations for float.
951
f3a6cc0a
AS
9522011-11-29 Andreas Schwab <schwab@redhat.com>
953
954 * locale/weight.h (findidx): Add parameter len.
955 * locale/weightwc.h (findidx): Likewise.
956 * posix/fnmatch_loop.c (FCT): Adjust caller.
957 * posix/regcomp.c (build_equiv_class): Likewise.
958 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
959 * posix/regexec.c (check_node_accept_bytes): Likewise.
960 * string/strcoll_l.c (STRCOLL): Likewise.
961 * string/strxfrm_l.c (STRXFRM): Likewise.
962
9d65ea3a
UD
9632011-11-17 Ulrich Drepper <drepper@gmail.com>
964
965 * Makefile.in: Remove CVSOPT handling.
966 * configure.in: Remove use of AC_REVISION.
967 * iconvdata/Makefile (distribute): No need to filter out CVS.
968 * scripts/list-sources.sh: Remove CVS, subversion and monotone
969 handling.
970
5583a086
AS
9712011-11-16 Andreas Schwab <schwab@redhat.com>
972
973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
974 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
975 [USE_AS_STRNCASECMP_L]: Likewise.
976 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
977 NO_TLS_DIRECT_SEG_REFS.
978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
979 Fix argument offsets for non-PIC.
980 [USE_AS_STRNCASECMP_L]: Likewise.
981 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
982 NO_TLS_DIRECT_SEG_REFS.
983
d62a8200
UD
9842011-11-15 Ulrich Drepper <drepper@gmail.com>
985
9d65ea3a 986 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
987 O_CLOEXEC.
988 * locale/loadlocale.c (_nl_load_locale): Likewise.
989
09f93bd3
AS
9902011-11-15 Andreas Schwab <schwab@redhat.com>
991
446514f9
AS
992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
993 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
994 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
995 (SYSCALL_GETTIME): Set errno on error.
996
09f93bd3
AS
997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
998 count references to noai6ai_cached.
999
312be3f9
UD
10002011-11-15 Ulrich Drepper <drepper@gmail.com>
1001
1002 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
1003
1004 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
1005 FD_CLOEXEC for /proc/self/maps.
1006
1007 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
1008 FD_CLOEXEC for /proc/meminfo.
1009
1010 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
1011 gai.conf.
1012
1013 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
1014 FD_CLOEXEC for given file.
1015
1016 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
1017
1018 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
1019 FD_CLOEXEC for /etc/hosts.
1020 (_gethtent): Likewise.
1021
1022 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
1023
1024 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
1025 cancellation and set FD_CLOEXEC for /etc/netgroup.
1026
1027 * nss/nss_files/files-key.c (search): Don't allow cancellation when
1028 reading /etc/publickey.
1029
1030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
1031 allow cancellation when reading /etc/group.
1032
1033 * nss/nss_files/files-alias.c (internal_setent): Don't allow
1034 cancellation.
1035 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
1036
1037 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
1038 when using data file.
1039
1040 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
1041
1042 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
1043 (write_nis_obj): Use "c" and "e" in fopen.
1044
1045 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
1046
1047 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
1048
1049 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
1050
1051 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
1052
1053 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
1054 locale.alias.
1055
1056 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
1057
1058 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
1059
1060 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
1061
1062 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
1063 file parsing and set FD_CLOEXEC.
1064
82af0fa8
UD
10652011-11-14 Ulrich Drepper <drepper@gmail.com>
1066
1067 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
1068
a5fb313c
AS
10692011-11-14 Andreas Schwab <schwab@redhat.com>
1070
1071 * malloc/arena.c (arena_get2): Don't call reused_arena when
1072 _int_new_arena failed.
1073
6abf3465
UD
10742011-11-14 Ulrich Drepper <drepper@gmail.com>
1075
1076 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
1077 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
1078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
1079 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1080 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1081 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
1082 to compile strcasecmp and strncasecmp.
1083 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
1084 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
1085
1086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
1087
76e3966e
UD
10882011-11-13 Ulrich Drepper <drepper@gmail.com>
1089
1090 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
1091 locale-defines.sym to gen-as-const-headers.
1092 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
1093 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
1094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
1095 to compile strcasecmp and strncasecmp.
1096 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
1097 strcasecmp_l and strncasecmp_l.
1098 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
1099 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
1100 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
1101 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
1102 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
1103 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
1104 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
1105 * sysdeps/i386/i686/multiarch/strncase.S: New file.
1106 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
1107 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
1108 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
1109
ab26144e
UD
11102011-11-12 Ulrich Drepper <drepper@gmail.com>
1111
7edb22ef
UD
1112 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
1113 result of SYSDEP_GETTIME_CPU to retval.
1114 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
1115 parameter list to macro. Remove trailing semicolon. Adjust users.
1116
9694fc44
UD
1117 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
1118 variable.
1119
8ad89ef8
UD
1120 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
1121 mantissa words.
1122 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1123
0c822ef9
UD
1124 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
1125 from unused variable.
1126
874e0564
UD
1127 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
1128 DWARF definitions.
1129 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
1130 for assembling.
1131
3a2edc79
UD
1132 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
1133 over namespaces.
1134
f3c2577f
UD
1135 * sunrpc/rpc_prot.c (rejected): Fix case value.
1136
294ce126
UD
1137 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
1138 unsigned long long int to avoid warnings in shift.
1139
5e2b63c6
UD
1140 * posix/regex_internal.c (re_string_reconstruct): Actually use result
1141 of use of trans.
1142 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
1143 variable tmp.
1144
e7f4b08e
UD
1145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
1146 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1147 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1148
ab26144e
UD
1149 * nis/nis_table.c (nis_list): Use variable of correct type for
1150 result of __follow_path call.
1151
8a6d5255
AZ
11522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153
1154 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1155 of math functions ceil, trunc, floor, round, and sqrt, when
1156 avaliable on the platform.
1157 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1158 name clash.
1159 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1160 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1161 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1162
aaddc98c
MP
11632011-10-30 Marek Polacek <mpolacek@redhat.com>
1164
1165 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1166 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1167
95b7042b
RM
11682011-11-11 Roland McGrath <roland@hack.frob.com>
1169
1170 * include/unistd.h: Fix __readlink return type.
1171 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1172
57769839
UD
11732011-11-11 Ulrich Drepper <drepper@gmail.com>
1174
1175 * stdlib/ucontext.h: Undo last change for makecontext.
1176
edc5984d
AS
11772011-11-11 Andreas Schwab <schwab@redhat.com>
1178
98591e58
AS
1179 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1180
edc5984d
AS
1181 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1182 * setjmp/setjmp.h: Mark functions as non-leaf.
1183 * setjmp/bits/setjmp2.h: Likewise.
1184 * stdlib/ucontext.h: Likewise.
1185
77cdc054
AS
11862011-11-10 Andreas Schwab <schwab@redhat.com>
1187
1188 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1189 (reused_arena): Don't check arena limit.
1190 (arena_get2): Atomically check arena limit.
1191
fe72eebd
UD
11922011-11-08 Ulrich Drepper <drepper@gmail.com>
1193
5f078c32
UD
1194 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1195 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1196
fe72eebd
UD
1197 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1198 instructions.
1199
ae1bc2fa
AS
12002011-11-07 Andreas Schwab <schwab@redhat.com>
1201
7583a88d
AS
1202 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1203 handler when locking.
1204
ae1bc2fa
AS
1205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1206 Fix size of allocated buffer.
1207
10fb0bfa
AS
12082011-11-04 Andreas Schwab <schwab@redhat.com>
1209
998832a4
AS
1210 [BZ #10103]
1211 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1212 declarations for long double functions.
1213 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1214
10fb0bfa
AS
1215 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1216
3d7ba52b
AS
12172011-11-03 Andreas Schwab <schwab@redhat.com>
1218
a9ae54a1
AS
1219 * nscd/nscd.c (main): Don't start AVC thread until credentials are
1220 installed.
1221
3d7ba52b
AS
1222 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1223 is disabled.
1224
bc8db248
ST
12252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1226
1227 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1228
45b96dd6
AS
12292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
1230
647776f6
AS
1231 * include/alloca.h (stackinfo_alloca_round): Define.
1232 (extend_alloca): Use it.
1233 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1234 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1235 here.
1236
d91a8b93
AS
1237 * scripts/check-local-headers.sh: Ignore libaudit.h.
1238
45b96dd6
AS
1239 * nscd/Makefile (extra-objs): Make recursively expanded.
1240
432d41ce
UD
12412011-11-01 Ulrich Drepper <drepper@gmail.com>
1242
34372fc6
UD
1243 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1244 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1245
fadb59f8
UD
1246 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1247 * posix/tst-rfc3484-2.c: Likewise.
1248 * posix/tst-rfc3484-3.c: Likewise.
1249
78239589
UD
1250 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1251 process_vm_writev.
1252 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1253 process_vm_writev.
1254 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1255 process_vm_writev from libc using GLIBC_2.15 version.
1256
432d41ce
UD
1257 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1258
02f9c6cf
PP
12592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1260
1261 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1262 stack usage.
1263
3a2c0242
UD
12642011-10-31 Ulrich Drepper <drepper@gmail.com>
1265
f4ec4833
UD
1266 [BZ #13367]
1267 * nss/getent.c (initgroups_keys): Show error message in case no group
1268 names are given.
1269
3a2c0242
UD
1270 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1271 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1272 __bump_nl_timestamp.
1273 * nscd/connections (nscd_init): When host database is served open
1274 netlink socket and request notification about configuration changes.
1275 (main_loop_poll): Track netlink file descriptor and bump timestamp
1276 in case data becomes available.
1277 (main_loop_epoll): Likewise.
1278 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1279 (database_pers_head): Add extra_data fileds.
1280 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1281 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1282 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1283 Adjust caller.
1284 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1285 in6ai data, call __free_in6ai.
1286 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1287 Add -DHAVE_NETLINK.
1288 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
1289 interface information. Reuse previous data if netlink timestamp
1290 is not changed.
1291 (__bump_nl_timestamp): New function.
1292 (__free_in6ai): New function.
1293
636064eb
UD
12942011-10-30 Ulrich Drepper <drepper@gmail.com>
1295
1296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1297 close_not_cancel_no_status here.
1298 (__check_pf): Reorganize code a bit to not call close twice if OOM.
1299
9beb2334
UD
13002011-10-29 Ulrich Drepper <drepper@gmail.com>
1301
6ef76f3b
UD
1302 [BZ #13276]
1303 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1304 return value.
1305
0ffc4f3e 1306 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
1307 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1308 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1309
cb95113e
UD
13102011-07-03 Andreas Jaeger <aj@suse.de>
1311
1312 [BZ #10709]
1313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1314 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1315 * math/libm-test.inc (sin_test): Add test case.
1316
a1b560ff
UD
13172011-10-29 Ulrich Drepper <drepper@gmail.com>
1318
c9aaface
UD
1319 [BZ #13337]
1320 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1321 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1322
d272e7f1
UD
1323 * elf/chroot_canon.c (chroot_canon): Cleanups.
1324
1bc33071
UD
1325 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1326
1760874d
TJ
1327 [BZ #13335]
1328 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1329 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1330
51d91b18
UD
1331 * string/test-strchr.c: Make usable for strchrnul testing.
1332 * string/test-strchrnul.c: New file.
1333 * string/Makefile (strop-tests): Add strchrnul.
1334
a1b560ff 1335 * po/it.po: Update from translation team.
b611fb81 1336 * po/es.po: Likewise.
a1b560ff 1337
a5b81e1f
UD
13382011-10-28 Ulrich Drepper <drepper@gmail.com>
1339
fd52bc6d
UD
1340 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1341 the three constants needed as parameters. Drop the others.
1342 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1343 __m128i_strloadu_tolower.
52e4b9eb
UD
1344 Create and initialize variable zero and use it in all the places
1345 where _mm_setzero_si128 was used.
fd52bc6d 1346
a5b81e1f
UD
1347 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1348 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1349 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1350 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1351 anymore.
1352 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1353 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1354 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1355 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1356 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1357 __mpranred, __mptan.
1358 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1359 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1360 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1361 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1362 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1363 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1364 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1365 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1366 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1367
b4343346
AS
13682011-10-28 Andreas Schwab <schwab@redhat.com>
1369
0c92d8a8
AS
1370 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1371 redefine if SHARED.
1372 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1373
b4343346
AS
1374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1375 wide char related routines to wcsmbs subdir.
1376
3871f58f
AS
13772011-10-27 Andreas Schwab <schwab@redhat.com>
1378
1379 [BZ #13344]
1380 * misc/sys/cdefs.h (__THROWNL): Define.
1381 * posix/unistd.h: Use __THREADNL instead of __THREAD
1382 for memory synchronization functions.
1383
94d44d9f
RM
13842011-10-26 Roland McGrath <roland@hack.frob.com>
1385
21b64b15 1386 [BZ #13349]
94d44d9f
RM
1387 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1388 doesn't exist.
1389 * manual/stdio.texi (Obstack Streams): Node removed.
1390
f6ce9294
AS
13912011-10-26 Andreas Schwab <schwab@redhat.com>
1392
80479147
AS
1393 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1394 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1395 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1396
f6ce9294
AS
1397 * math/math_private.h (math_force_eval): Allow non-addressable
1398 arguments.
1399 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1400
618280a1
UD
14012011-10-25 Ulrich Drepper <drepper@gmail.com>
1402
e0016b11
UD
1403 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1404 file is not needed.
1405
1406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1413 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1414 Add AVX variants.
1415 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1416 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1417 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1418 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1419 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1420 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1421 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1423 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1424 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1425 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1426 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1428 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1429 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1430 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1431 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1432 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1433 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1434
1435 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1436 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
1437
618280a1
UD
1438 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1439 place. Use VEX encoding when compiling for AVX.
1440
37822576
AS
14412011-10-25 Andreas Schwab <schwab@redhat.com>
1442
1f1e1947
AS
1443 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1444 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1445
37822576
AS
1446 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1447
31ea014d
UD
14482011-10-25 Ulrich Drepper <drepper@gmail.com>
1449
d7826aa1 1450 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 1451 useless if() expression.
d7826aa1
UD
1452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1456 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1457 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1458 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1461 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1462 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1463 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1464 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1465 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1466 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1467 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1468 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1469 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1470 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1471
31ea014d
UD
1472 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
1473
16437fec
AS
14742011-10-25 Andreas Schwab <schwab@redhat.com>
1475
1476 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1477 condition.
1478 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1479
31d3cc00
UD
14802011-10-25 Ulrich Drepper <drepper@gmail.com>
1481
1482 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1483 .text section. Avoid duplicate constants.
1484 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1494 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1496 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1499 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1501 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1507 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1508 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1509 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1510 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1511 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1512 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1513 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1514 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1515 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1516 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1517 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1518 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1519 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1520 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1521 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1522 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1523 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1524 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1525 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1526 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1527 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1528 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1529
58985aa9
UD
15302011-10-24 Ulrich Drepper <drepper@gmail.com>
1531
202c9deb
UD
1532 * sysdeps/x86_64/dla.h: Move to ...
1533 * sysdeps/x86_64/fpu/dla.h: ...here.
1534 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1535 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 1536
af968f62
UD
1537 * config.make.in: Add have-mfma4 entry.
1538 * configure.in: Substitute libc_cv_cc_fma4.
1539 * math/Makefile (dbl-only-routines): Add sincostab.
1540 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1541 Use __sincostab not sincos.
1542 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1543 name is a macro.
1544 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
1548 using __copysign.
1549 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
1550 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
1551 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1552 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1553 and __inv.
1554 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1555 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1556 __copysign.
1557 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
1558 define aliases when function name is a macro.
1559 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1560 sysdeps/ieee754/dbl-64/sincos.tbl.
1561 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1562 fma4-enabled routines.
1563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1564 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1565 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1566 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1567 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1568 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1569 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1570 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1571 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1572 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1573 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1575 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1576 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1577 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1578 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1579 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1580 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1581 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1582 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1583 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1584 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1585 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1586 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1588 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1590 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1591 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1592 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1593
58985aa9
UD
1594 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1595 rename.
1596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1604
a201fbcf
AS
16052011-10-24 Andreas Schwab <schwab@redhat.com>
1606
1607 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
1608
fc2ee42a
LD
16092011-10-23 Ulrich Drepper <drepper@gmail.com>
1610
bb3129bd
UD
1611 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
1612
0275fff8
UD
1613 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
1614 prediction.
1615 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
1616
2fa2ae85
UD
1617 * string/strnlen.c: Don't define STRNLEN, reverse logic.
1618 Remove unused variable magic_bits.
1619 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
1620
fc2ee42a
LD
1621 * string/strnlen.c: Define and use STRNLEN macro.
1622 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
1623 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
1624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
1625 * wcsmbs/wcslen.c: Define and use WCSLEN.
1626 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
1627 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
1628 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
1629 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
1630 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
1631 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
1632 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1633
ce7dd29f
LD
16342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1635
1636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1637 strnlen-sse2-no-bsf.
1638 Rename strlen-no-bsf to strlen-sse2-no-bsf.
1639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
1640 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
1641 Add strnlen support.
1642 (USE_AS_STRNLEN): New macro.
1643 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
1644 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
1645 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
1646 * sysdeps/x86_64/wcslen.S: New file.
1647
979c70a3
MZ
16482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1649
1650 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1651 XMM-moves are used for copying on small sizes.
1652
2d09f82f
LD
16532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1654
1655 * wcsmbs/Makefile (strop-tests): Add wcschr.
1656 * wcsmbs/test-wcschr.c: New file.
1657 * string/test-strchr.c: Update.
1658 Add wcschr support.
1659 (WIDE): New macro.
1660
619fccca
LD
16612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1662
2d09f82f 1663 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
1664 * wcsmbs/test-wcslen.c: New file.
1665 * string/test-strlen.c: Update.
1666 Add wcslen support.
1667 (WIDE): New macro.
1668
09f699ea
UD
16692011-10-23 Ulrich Drepper <drepper@gmail.com>
1670
1671 * po/it.po: Update from translation team.
1672
95584d3b
LD
16732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1674
1675 * sysdeps/x86_64/wcscmp.S: Update.
1676 Fix wrong comparison semantics.
1677 wcscmp shall use signed comparison not unsigned.
1678 Don't use substraction to avoid overflow bug.
1679 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1680 * wcsmbc/wcscmp.c: Likewise.
1681 * string/test-strcmp.c: Likewise.
1682 Add new tests to check cases with negative values.
1683
c8b3296b
UD
16842011-10-23 Ulrich Drepper <drepper@gmail.com>
1685
1686 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1687 * sysdeps/x86_64/dla.h: ...here. New file.
1688 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1697
246ad57a
AS
16982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
1699
1700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1701 __ynl_finite aliases.
1702
a1a87169
UD
17032011-10-22 Ulrich Drepper <drepper@gmail.com>
1704
0d355eb7
UD
1705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1706
a1a87169
UD
1707 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1708 define DLA_FMA.
1709 [DLA_FMA] (EMULV): Use DLA_FMA.
1710 [DLA_FMA] (MUL12): Use EMULV.
1711 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1712 that are not needed.
1713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1720
ee2aafe0
AS
17212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
1722
1723 * math/s_nan.c: Undef __nan.
1724 * math/s_nanf.c: Undef __nanf.
1725 * math/s_nanl.c: Undef __nanl.
1726 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1727 "math_private.h".
1728
bc62c2fb
UD
17292011-10-22 Ulrich Drepper <drepper@gmail.com>
1730
77425c63
UD
1731 * math/s_catan.c: Add branch predictions.
1732 * math/s_catanf.c: Likewise.
1733 * math/s_catanh.c: Likewise.
1734 * math/s_catanhf.c: Likewise.
1735 * math/s_catanhl.c: Likewise.
1736 * math/s_catanl.c: Likewise.
1737 * math/s_cexp.c: Likewise.
1738 * math/s_cexpf.c: Likewise.
1739 * math/s_cexpl.c: Likewise.
1740 * math/s_clog.c: Likewise.
1741 * math/s_clog10.c: Likewise.
1742 * math/s_clog10f.c: Likewise.
1743 * math/s_clog10l.c: Likewise.
1744 * math/s_clogf.c: Likewise.
1745 * math/s_clogl.c: Likewise.
1746 * math/s_csqrt.c: Likewise.
1747 * math/s_csqrtf.c: Likewise.
1748 * math/s_csqrtl.c: Likewise.
1749 * math/s_ctanf.c: Likewise.
1750 * math/s_ctanh.c: Likewise.
1751 * math/s_ctanhf.c: Likewise.
1752 * math/s_ctanhl.c: Likewise.
1753 * math/s_ctanl.c: Likewise.
1754
bc62c2fb
UD
1755 * math/math_private.h: Define __nan, __nanf, __nanl.
1756 * math/s_cacosh.c: Include <math_private.h>.
1757 * math/s_cacoshl.c: Likewise.
1758 * math/s_casinh.c: Likewise.
1759 * math/s_casinhf.c: Likewise.
1760 * math/s_casinhl.c: Likewise.
1761 * math/s_ccos.c: Rely entire on ccosh.
1762 * math/s_ccosf.c: Rely entire on ccoshf.
1763 * math/s_ccosl.c: Rely entirely on ccoshl.
1764 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1765 Remove tests for FE_INVALID.
1766 * math/s_ccoshf.c: Likewise.
1767 * math/s_ccoshl.c: Likewise.
1768 * math/s_csin.c: Likewise.
1769 * math/s_csinf.c: Likewise.
1770 * math/s_csinh.c Likewise.
1771 * math/s_csinhf.c: Likewise.
1772 * math/s_csinhl.c: Likewise.
1773 * math/s_csinl.c: Likewise.
1774 * math/s_ctan.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1776 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1777 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1778
8ec250a4
UD
17792011-10-21 Ulrich Drepper <drepper@gmail.com>
1780
c196fed8
UD
1781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1782 compilation problems.
1783
8ec250a4
UD
1784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1785 __builtin_expect.
1786
8d4f46c6
UD
17872011-10-20 Ulrich Drepper <drepper@gmail.com>
1788
ed72b654
UD
1789 * sysdeps/i386/configure.in: Test for -mfma4 option.
1790 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1791 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1792 COMMON_CPUID_INDEX_80000001.
1793 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1794 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1795 use it if FMA3 is not supported.
1796 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1797
8d4f46c6
UD
1798 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1799 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1800
d45c60c2
AS
18012011-10-20 Andreas Schwab <schwab@redhat.com>
1802
1803 [BZ #12892]
1804 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1805 it would create a cycle with a link time dependency.
1806
d9a4d2ab
UD
18072011-10-19 Ulrich Drepper <drepper@gmail.com>
1808
855d1560
UD
1809 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1810 instruction.
1811 * string/Makefile (strop-tests): Add rawmemchr.
1812 * string/test-rawmemchr.c: New file.
1813
d9a4d2ab
UD
1814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
1816 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
1817 when compiling str{,n}casecmp and when AVX is available. Hook up
1818 new optimized code in initializers.
1819
8f3b1ffe
AS
18202011-10-19 Andreas Schwab <schwab@redhat.com>
1821
1822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1823 __feraiseexcept instead of feraiseexcept.
1824
d38f1dba
UD
18252011-10-18 Ulrich Drepper <drepper@gmail.com>
1826
d9a8d0ab
UD
1827 * math/math_private.h: Define defaults for libc_fetestexcept and
1828 libc_feupdateenv.
1829 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1830 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1831 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1832 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1833 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1834 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1835 libc_fetestexcept and libc_feupdateenv.
1836
4855e3dd
UD
1837 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1838 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1839 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1840 * sysdeps/x86_64/fpu/math_private.h: Define special version of
1841 libc_feholdexcept_setround.
1842
581d30e3
UD
1843 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1844 Add s_nearbyint-c and s_nearbyintf-c.
1845 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1846 nearbyintf inlines.
1847 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1848 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1849 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1850 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1851
d38f1dba
UD
1852 * math/math_private.h: Define defaults for libc_fegetround,
1853 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1854 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1855 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1856 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1857 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1858 standard functions.
1859 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1860 Remove comments and hacks for old compiler versions.
1861 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1862 libc_fegetround, libc_fesetround, libc_feholdexcept, and
1863 libc_feholdexceptl.
1864
caa6c9d8
AS
18652011-10-18 Andreas Schwab <schwab@redhat.com>
1866
1867 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
1868 (__feraiseexcept_renamed): Add __NTH.
1869 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
1870 namespace violations.
1871
97c066e6
UD
18722011-10-17 Ulrich Drepper <drepper@gmail.com>
1873
99ce7b04
UD
1874 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1875
1004d182
UD
1876 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1877
228a984d
UD
1878 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1879 recently added interfaces.
1880 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1881
c8553a6a
UD
1882 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1883 about macro parameter expansion.
1884
ed22dcf6
UD
1885 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1886 __NO_MATH_INLINES is defined. Cleanups.
1887
1888 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1889 and __floorf is target has SSE4.1.
1890 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1891 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1892 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1893 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1894
b171c137
UD
1895 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1896 name.
1897 (floorf): Likewise.
1898
97c066e6
UD
1899 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1900
629f62ef
AS
19012011-10-17 Andreas Schwab <schwab@redhat.com>
1902
49a43d80
AS
1903 * misc/sys/cdefs.h: Fix last change.
1904
629f62ef
AS
1905 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1906 database lookup.
1907
e453f6cd
UD
19082011-10-16 Ulrich Drepper <drepper@gmail.com>
1909
aa78043a
UD
1910 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1911
ad0f5cad
UD
1912 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1918 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1919 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1920 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1921 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1922 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1923 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1924 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1925 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1926 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1927 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1928 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1929 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1930 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1931 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1932 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1933 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1934
1935 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1936 ceil, ceilf, floor, floorf.
1937
1938 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1939 Perform IRELATIVE relocations last.
1940
e453f6cd
UD
1941 * elf/do-rel.h: Add another parameter nrelative, replacing the
1942 local variable with the same name. Change name of the function
1943 to end in Rel or Rela (uppercase).
1944 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1945 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
1946 elf_dynamic_do_##reloc function.
1947
fd5bdc09
UD
19482011-10-15 Ulrich Drepper <drepper@gmail.com>
1949
79b195b5
UD
1950 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1951 is sufficient, at least on modern CPUs.
1952
d4a28569
UD
1953 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1954
b61099b5
UD
1955 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1956 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1957
bcf01e6d
UD
1958 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1959 __expl_finite.
1960 * math/bits/math-finite.h: Add entries for exp.
1961 * math/e_expl.c: Add __*_finite alias.
1962 * sysdeps/i386/fpu/e_exp.S: Likewise.
1963 * sysdeps/i386/fpu/e_expf.S: Likewise.
1964 * sysdeps/i386/fpu/e_expl.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1969 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1970 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1971 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1972
ba1a0d59
UD
1973 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1974 is sufficient, at least on modern CPUs.
1975
fd5bdc09
UD
1976 * ctype/ctype-info.c (__ctype_init): Define.
1977 * include/ctype.h (__ctype_init): Declare.
1978 (__ctype_b_loc): The variable is always initialized.
1979 (__ctype_toupper_loc): Likewise.
1980 (__ctype_tolower_loc): Likewise.
1981 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1982 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1983
7872cfb0
AS
19842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
1985
b468825a
AS
1986 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1987
7872cfb0
AS
1988 * configure.in: Also look in $cxxmachine/include for C++ system
1989 headers.
1990
be13f7bf
LD
19912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1992
1993 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1994 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1995 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1996 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
1997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1998 (USE_AS_WMEMCMP): New macro.
1999 Fixing indents.
2000 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
2001 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
2002 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
2003 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
2004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2005 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
2006 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
2007 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
2008 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
2009 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
2010 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
2011 (USE_AS_WMEMCMP): New macro.
2012 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
2013 * sysdeps/string/test-memcmp.c: Update.
2014 Fix simple_wmemcmp.
2015 Add new tests.
2016 * wcsmbs/wmemcmp.c: Update.
2017 (WMEMCMP): New macro.
2018 Fix overflow bug.
2019
556a2007
AJ
20202011-10-12 Andreas Jaeger <aj@suse.de>
2021
2022 [BZ #13268]
2023 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
2024
538faaa7
UD
20252011-10-15 Ulrich Drepper <drepper@gmail.com>
2026
ab6737ff
UD
2027 * libio/iofwide.c (do_length): Avoid warning.
2028
538faaa7
UD
2029 * ctype/ctype.h (__isctype_f): Add missing __THROW.
2030
396a21b1
UD
20312011-10-14 Ulrich Drepper <drepper@gmail.com>
2032
cdf2901f
UD
2033 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
2034
38ad40ce
UD
2035 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
2036 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
2037 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
2038 * sysdeps/i386/i686/fpu/e_log.S: New file.
2039 * sysdeps/i386/i686/fpu/e_logf.S: New file.
2040 * sysdeps/i386/i686/fpu/e_logl.S: New file.
2041
396a21b1
UD
2042 * ctype/ctype.h: Add support for inlined isXXX functions when
2043 compiling C++ code.
2044
6b1f68c9
AS
20452011-10-14 Andreas Schwab <schwab@redhat.com>
2046
349290c0
AS
2047 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2048
6b1f68c9
AS
2049 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
2050
f2282d42
RM
20512011-10-13 Roland McGrath <roland@hack.frob.com>
2052
2053 [BZ #13291]
2054 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
2055
5298ffa8
AS
20562011-10-13 Andreas Schwab <schwab@redhat.com>
2057
714fad23
AS
2058 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
2059 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
2060 feraiseexcept.
2061
81dcc7fb
AS
2062 * sysdeps/x86_64/memrchr.S: Check for zero size.
2063
5298ffa8
AS
2064 * string/stratcliff.c: Add memrchr tests.
2065
951fbcec
LD
20662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2067
2068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2069 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
2070 rawmemchr-sse2 rawmemchr-sse2-bsf.
2071 * sysdeps/i386/i686/multiarch/memchr.S: New file.
2072 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
2073 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
2074 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
2075 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
2076 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
2077 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
2078 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
2079 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
2080 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
2081 * string/memrchr.c (MEMRCHR): New macro.
2082
0ac5ae23
UD
20832011-10-12 Ulrich Drepper <drepper@gmail.com>
2084
2085 Add integration with gcc's -ffinite-math-only and optimize wrapper
2086 functions in libm.
2087 * Versions.def: Define GLIBC_2.15 version for libm.
2088 * math/Makefile (headers): Add bits/math-finite.h.
2089 * math/bits/math-finite.h: New file.
2090 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
2091 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
2092 * math/e_acoshl.c: Add __*_finite alias.
2093 * math/e_acosl.c: Likewise.
2094 * math/e_asinl.c: Likewise.
2095 * math/e_atan2l.c: Likewise.
2096 * math/e_atanhl.c: Likewise.
2097 * math/e_coshl.c: Likewise.
2098 * math/e_exp10.c: Likewise.
2099 * math/e_exp10f.c: Likewise.
2100 * math/e_exp10l.c: Likewise.
2101 * math/e_exp2l.c: Likewise.
2102 * math/e_fmodl.c: Likewise.
2103 * math/e_gammal_r.c: Likewise.
2104 * math/e_hypotl.c: Likewise.
2105 * math/e_j0l.c: Likewise.
2106 * math/e_j1l.c: Likewise.
2107 * math/e_jnl.c: Likewise.
2108 * math/e_lgammal_r.c: Likewise.
2109 * math/e_log10l.c: Likewise.
2110 * math/e_log2l.c: Likewise.
2111 * math/e_logl.c: Likewise.
2112 * math/e_powl.c: Likewise.
2113 * math/e_sinhl.c: Likewise.
2114 * math/e_sqrtl.c: Likewise.
2115 * math/e_scalb.c: Completely rewritten and optimized.
2116 * math/e_scalbf.c: Likewise.
2117 * math/e_scalbl.c: Likewise.
2118 * math/w_acos.c: Likewise.
2119 * math/w_acosf.c: Likewise.
2120 * math/w_acosl.c: Likewise.
2121 * math/w_acosh.c: Likewise.
2122 * math/w_acoshf.c: Likewise.
2123 * math/w_acoshl.c: Likewise.
2124 * math/w_asin.c: Likewise.
2125 * math/w_asinf.c: Likewise.
2126 * math/w_asinl.c: Likewise.
2127 * math/w_atan2.c: Likewise.
2128 * math/w_atan2f.c: Likewise.
2129 * math/w_atan2l.c: Likewise.
2130 * math/w_atanh.c: Likewise.
2131 * math/w_atanhf.c: Likewise.
2132 * math/w_atanhl.c: Likewise.
2133 * math/w_exp10.c: Likewise.
2134 * math/w_exp10f.c: Likewise.
2135 * math/w_exp10l.c: Likewise.
2136 * math/w_fmod.c: Likewise.
2137 * math/w_fmodf.c: Likewise.
2138 * math/w_fmodl.c: Likewise.
2139 * math/w_j0.c: Likewise.
2140 * math/w_j0f.c: Likewise.
2141 * math/w_j0l.c: Likewise.
2142 * math/w_j1.c: Likewise.
2143 * math/w_j1f.c: Likewise.
2144 * math/w_j1l.c: Likewise.
2145 * math/w_jn.c: Likewise.
2146 * math/w_jnf.c: Likewise.
2147 * math/w_log.c: Likewise.
2148 * math/w_logf.c: Likewise.
2149 * math/w_logl.c: Likewise.
2150 * math/w_log10.c: Likewise.
2151 * math/w_log10f.c: Likewise.
2152 * math/w_log10l.c: Likewise.
2153 * math/w_log2.c: Likewise.
2154 * math/w_log2f.c: Likewise.
2155 * math/w_log2l.c: Likewise.
2156 * math/w_pow.c: Likewise.
2157 * math/w_powf.c: Likewise.
2158 * math/w_powl.c: Likewise.
2159 * math/w_remainder.c: Likewise.
2160 * math/w_remainderf.c: Likewise.
2161 * math/w_remainderl.c: Likewise.
2162 * math/w_scalb.c: Likewise.
2163 * math/w_scalbf.c: Likewise.
2164 * math/w_scalbl.c: Likewise.
2165 * math/w_sqrt.c: Likewise.
2166 * math/w_sqrtf.c: Likewise.
2167 * math/w_sqrtl.c: Likewise.
2168 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2169 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2170 used.
2171 * math/math_private.h: Declare __kernel_standard_f.
2172 * math/w_cosh.c: Remove cruft and optimize a bit.
2173 * math/w_coshf.c: Likewise.
2174 * math/w_coshl.c: Likewise.
2175 * math/w_exp2.c: Likewise.
2176 * math/w_exp2f.c: Likewise.
2177 * math/w_exp2l.c: Likewise.
2178 * math/w_hypot.c: Likewise.
2179 * math/w_hypotf.c: Likewise.
2180 * math/w_hypotl.c: Likewise.
2181 * math/w_lgamma.c: Likewise.
2182 * math/w_lgamma_r.c: Likewise.
2183 * math/w_lgammaf.c: Likewise.
2184 * math/w_lgammaf_r.c: Likewise.
2185 * math/w_lgammal.c: Likewise.
2186 * math/w_lgammal_r.c: Likewise.
2187 * math/w_sinh.c: Likewise.
2188 * math/w_sinhf.c: Likewise.
2189 * math/w_sinhl.c: Likewise.
2190 * math/w_tgamma.c: Likewise.
2191 * math/w_tgammaf.c: Likewise.
2192 * math/w_tgammal.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2194 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2195 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2196 Minor optimizations. Pretty printing. Remove cruft.
2197 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2198 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2199 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2200 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2201 * sysdeps/i386/fpu/e_acosl.c: Likewise.
2202 * sysdeps/i386/fpu/e_asin.S: Likewise.
2203 * sysdeps/i386/fpu/e_asinf.S: Likewise.
2204 * sysdeps/i386/fpu/e_atan2.S: Likewise.
2205 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2206 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2207 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2208 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2209 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2210 * sysdeps/i386/fpu/e_exp10.S: Likewise.
2211 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2212 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2213 * sysdeps/i386/fpu/e_exp2.S: Likewise.
2214 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2215 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2216 * sysdeps/i386/fpu/e_fmod.S: Likewise.
2217 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2218 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2219 * sysdeps/i386/fpu/e_hypot.S: Likewise.
2220 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2221 * sysdeps/i386/fpu/e_log.S: Likewise.
2222 * sysdeps/i386/fpu/e_log10.S: Likewise.
2223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2224 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2225 * sysdeps/i386/fpu/e_log2.S: Likewise.
2226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2228 * sysdeps/i386/fpu/e_logf.S: Likewise.
2229 * sysdeps/i386/fpu/e_logl.S: Likewise.
2230 * sysdeps/i386/fpu/e_pow.S: Likewise.
2231 * sysdeps/i386/fpu/e_powf.S: Likewise.
2232 * sysdeps/i386/fpu/e_powl.S: Likewise.
2233 * sysdeps/i386/fpu/e_remainder.S: Likewise.
2234 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2235 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2236 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2237 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2238 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2239 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2240 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2241 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2242 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2246 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2247 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2248 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2249 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2250 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2251 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2252 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2253 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2254 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2255 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2256 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2262 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2263 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2264 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2265 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2266 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2267 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2268 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2269 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2270 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2271 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2272 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2273 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2274 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2275 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2276 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2277 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2278 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2279 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2280 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2281 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2282 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2283 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2325 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2326 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2327 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2330 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2333 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2334 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2335 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2339 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2340 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2341 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2342 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2343 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2344 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2345 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2346 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2347 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2348 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2349 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2350 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2352 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
2353 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2354 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2355 (__isnanf): Likewise.
2356 (__isinf_ns): Likewise.
2357 (__isinf_nsf): Likewise.
2358 (__finite): Likewise.
2359 (__finitef): Likewise.
2360 (__ieee754_sqrt): Define as macro.
2361 (__ieee754_sqrtf): Define as macro.
2362 (__ieee754_sqrtl): Define as macro.
2363 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2364 inlined copy.
2365 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2366 __FINITE_MATH_ONLY__ consistent.
2367 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2368
12cc2fcd
AS
23692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
2370
a843a204
AS
2371 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2372 of rawmemchr.
2373
12cc2fcd
AS
2374 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2375
c853acd5
UD
23762011-10-09 Ulrich Drepper <drepper@gmail.com>
2377
2378 * po/ja.po: Update from translation team.
2379
c658d255
RM
23802011-10-08 Roland McGrath <roland@hack.frob.com>
2381
110946e4
RM
2382 * locale/programs/locarchive.c (prepare_address_space): New function.
2383 (create_archive, enlarge_archive, open_archive): Use it.
2384
50604220
RM
2385 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2386 inside [SHARED], where it is used.
2387
c658d255
RM
2388 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2389
2390 * nss/getent.c (netgroup_keys): Remove unused variable.
2391 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2392
6a621eb7
UD
23932011-10-08 Ulrich Drepper <drepper@gmail.com>
2394
7edb55ce
UD
2395 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2396 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2398 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2399 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2400 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2401 * math/Makefile (libm-calls): Add s_isinf_ns.
2402 * math/divtc3.c: Use __isinf_nsl instead of isinf.
2403 * math/multc3.c: Likewise.
2404 * math/s_casin.c: Likewise.
2405 * math/s_casinf.c: Likewise.
2406 * math/s_casinl.c: Likewise.
2407 * math/s_ccos.c: Likewise.
2408 * math/s_ccosf.c: Likewise.
2409 * math/s_ccosl.c: Likewise.
2410 * math/s_ctan.c: Likewise.
2411 * math/s_ctanf.c: Likewise.
2412 * math/s_ctanh.c: Likewise.
2413 * math/s_ctanhf.c: Likewise.
2414 * math/s_ctanhl.c: Likewise.
2415 * math/s_ctanl.c: Likewise.
2416 * math/w_fmod.c: Likewise.
2417 * math/w_fmodf.c: Likewise.
2418 * math/w_fmodl.c: Likewise.
2419 * math/w_remainder.c: Likewise.
2420 * math/w_remainderf.c: Likewise.
2421 * math/w_remainderl.c: Likewise.
2422 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2423 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2426 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2427 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2428 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2429 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2430
187da0ae
UD
2431 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2432 of the number.
2433 * stdio-common/printf_fphex.c: Likewise.
2434 * stdio-common/printf_size.c: Likewise.
2435
9277c064
UD
2436 * math/e_exp10.c: Include math_private.h using <...> not "...".
2437 * math/e_exp10f.c: Likewise.
2438 * math/e_exp10l.c: Likewise.
2439 * math/e_exp2l.c: Likewise.
2440 * math/e_j0l.c: Likewise.
2441 * math/e_j1l.c: Likewise.
2442 * math/e_jnl.c: Likewise.
2443 * math/e_lgammal_r.c: Likewise.
2444 * math/e_rem_pio2l.c: Likewise.
2445 * math/e_scalb.c: Likewise.
2446 * math/e_scalbf.c: Likewise.
2447 * math/e_scalbl.c: Likewise.
2448 * math/k_cosl.c: Likewise.
2449 * math/k_sinl.c: Likewise.
2450 * math/k_tanl.c: Likewise.
2451 * math/s_cacoshf.c: Likewise.
2452 * math/s_catan.c: Likewise.
2453 * math/s_catanf.c: Likewise.
2454 * math/s_catanh.c: Likewise.
2455 * math/s_catanhf.c: Likewise.
2456 * math/s_catanhl.c: Likewise.
2457 * math/s_catanl.c: Likewise.
2458 * math/s_ccosh.c: Likewise.
2459 * math/s_ccoshf.c: Likewise.
2460 * math/s_ccoshl.c: Likewise.
2461 * math/s_cexp.c: Likewise.
2462 * math/s_cexpf.c: Likewise.
2463 * math/s_cexpl.c: Likewise.
2464 * math/s_clog.c: Likewise.
2465 * math/s_clog10.c: Likewise.
2466 * math/s_clog10f.c: Likewise.
2467 * math/s_clog10l.c: Likewise.
2468 * math/s_clogf.c: Likewise.
2469 * math/s_clogl.c: Likewise.
2470 * math/s_csin.c: Likewise.
2471 * math/s_csinf.c: Likewise.
2472 * math/s_csinh.c: Likewise.
2473 * math/s_csinhf.c: Likewise.
2474 * math/s_csinhl.c: Likewise.
2475 * math/s_csinl.c: Likewise.
2476 * math/s_csqrt.c: Likewise.
2477 * math/s_csqrtf.c: Likewise.
2478 * math/s_csqrtl.c: Likewise.
2479 * math/s_ctan.c: Likewise.
2480 * math/s_ctanf.c: Likewise.
2481 * math/s_ctanh.c: Likewise.
2482 * math/s_ctanhf.c: Likewise.
2483 * math/s_ctanhl.c: Likewise.
2484 * math/s_ctanl.c: Likewise.
2485 * math/s_ldexp.c: Likewise.
2486 * math/s_ldexpf.c: Likewise.
2487 * math/s_ldexpl.c: Likewise.
2488 * math/s_significand.c: Likewise.
2489 * math/s_significandf.c: Likewise.
2490 * math/s_significandl.c: Likewise.
2491 * math/w_acos.c: Likewise.
2492 * math/w_acosf.c: Likewise.
2493 * math/w_acosh.c: Likewise.
2494 * math/w_acoshf.c: Likewise.
2495 * math/w_acoshl.c: Likewise.
2496 * math/w_acosl.c: Likewise.
2497 * math/w_asin.c: Likewise.
2498 * math/w_asinf.c: Likewise.
2499 * math/w_asinl.c: Likewise.
2500 * math/w_atan2.c: Likewise.
2501 * math/w_atan2f.c: Likewise.
2502 * math/w_atan2l.c: Likewise.
2503 * math/w_atanh.c: Likewise.
2504 * math/w_atanhf.c: Likewise.
2505 * math/w_atanhl.c: Likewise.
2506 * math/w_cosh.c: Likewise.
2507 * math/w_coshf.c: Likewise.
2508 * math/w_coshl.c: Likewise.
2509 * math/w_dremf.c: Likewise.
2510 * math/w_exp10.c: Likewise.
2511 * math/w_exp10f.c: Likewise.
2512 * math/w_exp10l.c: Likewise.
2513 * math/w_exp2.c: Likewise.
2514 * math/w_exp2f.c: Likewise.
2515 * math/w_fmod.c: Likewise.
2516 * math/w_fmodf.c: Likewise.
2517 * math/w_fmodl.c: Likewise.
2518 * math/w_hypot.c: Likewise.
2519 * math/w_hypotf.c: Likewise.
2520 * math/w_hypotl.c: Likewise.
2521 * math/w_j0.c: Likewise.
2522 * math/w_j0f.c: Likewise.
2523 * math/w_j0l.c: Likewise.
2524 * math/w_j1.c: Likewise.
2525 * math/w_j1f.c: Likewise.
2526 * math/w_j1l.c: Likewise.
2527 * math/w_jn.c: Likewise.
2528 * math/w_jnf.c: Likewise.
2529 * math/w_jnl.c: Likewise.
2530 * math/w_lgamma.c: Likewise.
2531 * math/w_lgamma_r.c: Likewise.
2532 * math/w_lgammaf.c: Likewise.
2533 * math/w_lgammaf_r.c: Likewise.
2534 * math/w_lgammal.c: Likewise.
2535 * math/w_lgammal_r.c: Likewise.
2536 * math/w_log.c: Likewise.
2537 * math/w_log10.c: Likewise.
2538 * math/w_log10f.c: Likewise.
2539 * math/w_log10l.c: Likewise.
2540 * math/w_log2.c: Likewise.
2541 * math/w_log2f.c: Likewise.
2542 * math/w_log2l.c: Likewise.
2543 * math/w_logf.c: Likewise.
2544 * math/w_logl.c: Likewise.
2545 * math/w_pow.c: Likewise.
2546 * math/w_powf.c: Likewise.
2547 * math/w_powl.c: Likewise.
2548 * math/w_remainder.c: Likewise.
2549 * math/w_remainderf.c: Likewise.
2550 * math/w_remainderl.c: Likewise.
2551 * math/w_scalb.c: Likewise.
2552 * math/w_scalbf.c: Likewise.
2553 * math/w_scalbl.c: Likewise.
2554 * math/w_sinh.c: Likewise.
2555 * math/w_sinhf.c: Likewise.
2556 * math/w_sinhl.c: Likewise.
2557 * math/w_sqrt.c: Likewise.
2558 * math/w_sqrtf.c: Likewise.
2559 * math/w_sqrtl.c: Likewise.
2560 * math/w_tgamma.c: Likewise.
2561 * math/w_tgammaf.c: Likewise.
2562 * math/w_tgammal.c: Likewise.
2563
6a621eb7
UD
2564 * po/ja.po: Update from translation team.
2565
bf582445
AJ
25662011-09-29 Andreas Jaeger <aj@suse.de>
2567
f9efbf3a
AJ
2568 [BZ #13179]
2569 * sunrpc/netname.c (netname2host): Fix logic.
2570
bf582445
AJ
2571 [BZ #6779]
2572 [BZ #6783]
2573 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2574 correctly.
2575 * math/w_remainder.c (__remainder): Likewise.
2576 * math/w_remainderf.c (__remainderf): Likewise.
2577 * math/libm-test.inc (remainder_test): Add test cases.
2578
48693bea
AK
25792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2580
2581 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
2582 sdiv_qrnnd.
2583
42622229
LD
25842011-10-07 Ulrich Drepper <drepper@gmail.com>
2585
2586 * string/test-memcmp.c: Avoid unncessary #defines.
2587 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2588
093ecf92
LD
25892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2590
2591 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2592 Use new sse2 version for core i3 - i7 as it's faster
2593 than sse42 version.
2594 (bit_Prefer_PMINUB_for_stringop): New.
2595 * sysdeps/x86_64/rawmemchr.S: Update.
2596 Replace with faster SSE2 version.
2597 * sysdeps/x86_64/memrchr.S: New file.
2598 * sysdeps/x86_64/memchr.S: Update.
2599 Replace with faster SSE2 version.
2600
fde56e5c
MP
26012011-09-12 Marek Polacek <mpolacek@redhat.com>
2602
2603 * elf/dl-load.c (lose): Add cast to avoid warning.
2604
21fd49a9
UD
26052011-10-07 Ulrich Drepper <drepper@gmail.com>
2606
5a06e643
UD
2607 * po/ca.po: Update from translation team.
2608
684ae515
UD
2609 * inet/getnetgrent_r.c: Hook up nscd.
2610 * nscd/Makefile (routines): Add nscd_netgroup.
2611 (nscd-modules): Add netgroupcache.
2612 (CFLAGS-netgroupcache.c): Define.
2613 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
2614 (cache_search): Add const to second parameter.
2615 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
2616 INNETGR.
2617 (dbs): Add netgrdb entry.
2618 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
2619 (verify_persistent_db): Handle netgrdb.
2620 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
2621 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
2622 GETFDNETGR.
2623 (netgroup_response_header): Define.
2624 (innetgroup_response_header): Define.
2625 (datahead): Add netgroup_response_header and innetgroup_response_header
2626 elements.
2627 * nscd/nscd.conf: Add entries for netgroup cache.
2628 * nscd/nscd.h (dbtype): Add netgrdb.
2629 (_PATH_NSCD_NETGROUP_DB): Define.
2630 (netgroup_iov_disabled): Declare.
2631 (xmalloc, xcalloc, xrealloc): Move declarations here.
2632 (cache_search): Adjust prototype.
2633 Add netgroup-related prototypes.
2634 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
2635 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
2636 (__nscd_innetgr): Declare.
2637 * nscd/selinux.c (perms): Use access_vector_t as element type and
2638 add netgroup-related initializers.
2639 * nscd/netgroupcache.c: New file.
2640 * nscd/nscd_netgroup.c: New file.
2641 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
2642 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
2643 For four parameters use innetgr.
2644 * nss/nss_files/files-init.c: Add definition and callback for netgr.
2645 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
2646 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
2647 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
2648
21fd49a9
UD
2649 * nscd/connections.c (register_traced_file): Don't register file
2650 for disabled databases.
2651
054c0457
UD
26522011-10-06 Ulrich Drepper <drepper@gmail.com>
2653
32b63198
UD
2654 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2655
054c0457
UD
2656 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2657 from tree and freeing node.
2658
64031225
JO
26592011-09-25 Jiri Olsa <jolsa@redhat.com>
2660
2661 * nss/nsswitch.c (__nss_database_lookup): Handle
2662 nss_parse_service_list out of memory case.
2663
0490345c
JO
26642011-09-15 Jiri Olsa <jolsa@redhat.com>
2665
2666 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2667 out of memory case.
2668
3a62d00d
AS
26692011-10-04 Andreas Schwab <schwab@redhat.com>
2670
2671 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2672 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2673 pass it down.
2674 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2675 elf_machine_rela, elf_machine_lazy_rel.
2676 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2677 (ELF_DYNAMIC_DO_REL): Likewise.
2678 (ELF_DYNAMIC_DO_RELA): Likewise.
2679 (ELF_DYNAMIC_RELOCATE): Likewise.
2680 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2681 to ELF_DYNAMIC_DO_REL.
2682 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2683 (dl_main): In trace mode always set __RTLD_NOIFUNC.
2684 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2685 elf_machine_rela.
2686 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2687 skip_ifunc, don't call ifunc function if non-zero.
2688 (elf_machine_rela): Likewise.
2689 (elf_machine_lazy_rel): Likewise.
2690 (elf_machine_lazy_rela): Likewise.
2691 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2692 (elf_machine_lazy_rel): Likewise.
2693 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2694 Likewise.
2695 (elf_machine_lazy_rel): Likewise.
2696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2697 Likewise.
2698 (elf_machine_lazy_rel): Likewise.
2699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2700 (elf_machine_lazy_rel): Likewise.
2701 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2702 (elf_machine_lazy_rel): Likewise.
2703 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2704 (elf_machine_lazy_rel): Likewise.
2705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2706 (elf_machine_lazy_rel): Likewise.
2707 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2708 (elf_machine_lazy_rel): Likewise.
2709 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2710 (elf_machine_lazy_rel): Likewise.
2711
68577918
UD
27122011-09-28 Ulrich Drepper <drepper@gmail.com>
2713
2714 * nss/nss_files/files-init.c (_nss_files_init): Use static
2715 initialization for all the *_traced_file variables.
2716
68822d74
AS
27172011-09-28 Andreas Schwab <schwab@redhat.com>
2718
2719 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2720
2056100b
RM
27212011-09-27 Roland McGrath <roland@hack.frob.com>
2722
2723 [BZ #13226]
2724 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2725
32c76b63
AS
27262011-09-27 Andreas Schwab <schwab@redhat.com>
2727
2728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2729 Reread the line before reparsing it.
2730
bf972c9d
AS
27312011-09-26 Andreas Schwab <schwab@redhat.com>
2732
2733 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2734
e057a1b5
JM
27352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
2736 Maxim Kuvyrkov <maxim@codesourcery.com>
2737 Joseph Myers <joseph@codesourcery.com>
2738
2739 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2740 if needed for __stack_chk_guard.
2741
bc7e1c36
RM
27422011-09-19 Roland McGrath <roland@hack.frob.com>
2743
ecb1482f
RM
2744 * sysdeps/posix/spawni.c (script_execute): Always define it.
2745 It will be optimized away if unused.
2746 (maybe_script_execute): New function.
2747 (__spawni): Call it.
2748
bc7e1c36
RM
2749 * Makerules: Don't include tls.make.
2750 (config-tls): Always set to thread.
2751 * tls.make.c: File removed.
2752
1c3b002b
MF
27532011-09-19 Mike Frysinger <vapier@gentoo.org>
2754
2755 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2756 * config.make.in (CPPFLAGS-config): New substituted variable.
2757
2840865d
UD
27582011-09-15 Ulrich Drepper <drepper@gmail.com>
2759
88738eb6
UD
2760 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2761
cbf645a6 2762 [BZ #13192]
2840865d
UD
2763 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2764 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2765
b402e91a
RM
27662011-09-15 Roland McGrath <roland@hack.frob.com>
2767
2768 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2769 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2771 (CALL_FAIL): Likewise.
2772 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2773 (CALL_FAIL): Macro removed.
2774 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2775
4c1a1f71
UD
27762011-09-15 Ulrich Drepper <drepper@gmail.com>
2777
2778 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2779 for __FINITE_MATH_ONLY__ == 1.
2780
edc121be
AS
27812011-09-15 Andreas Schwab <schwab@redhat.com>
2782
2783 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2784 __ieee754_sqrt instead of sqrt.
2785 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2786 __ieee754_sqrtf instead of sqrtf.
2787 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2788 __floorf instead of floorf.
2789 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2790 __floorf, __truncf instead of floorf, truncf.
2791
cd205654
UD
27922011-09-14 Ulrich Drepper <drepper@gmail.com>
2793
ee4d0315
UD
2794 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2795
cd205654
UD
2796 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2797 __extern_always_inline.
2798 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2799 32-bit.
2800
48b67d71
AS
28012011-09-14 Andreas Schwab <schwab@redhat.com>
2802
2803 * elf/rtld.c (dl_main): Also relocate in dependency order when
2804 doing symbol dependency testing.
2805
1ae12c75
AS
28062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2807
2808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2809 Always define `refsym'.
2810
995a80df
AS
28112011-09-13 Andreas Schwab <schwab@redhat.com>
2812
e529793b
AS
2813 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2814 (__FD_ELT): Renamed from __FDELT.
2815 * misc/bits/select2.h (__FD_ELT): Likewise.
2816 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2817 __FD_MASK instead of __FDELT, __FDMASK.
2818 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2819 Likewise.
2820 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2821 Likewise.
2822
52d4fef8
AS
2823 * elf/Makefile (gen-ldd): Fix pattern.
2824
995a80df
AS
2825 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2826 (init_tls): Likewise.
2827
8682f8b0
UD
28282011-09-12 Ulrich Drepper <drepper@gmail.com>
2829
2830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2831
de82006d
AS
28322011-09-12 Andreas Schwab <schwab@redhat.com>
2833
a7c8e6a1
AS
2834 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2835 `struct cmsghdr *' instead of `void *'.
2836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2837 Likewise.
2838
0f31fe77
AS
28392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2840
2841 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2842 if non-absolute.
2843 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2844 ldd_rewrite_script.
0f31fe77 2845
32b4c839
UD
28462011-09-11 Ulrich Drepper <drepper@gmail.com>
2847
83cd1420
UD
2848 * configure.in: Remove --with-tls option.
2849 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2850 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2851 out in case it is missing.
2852 * sysdeps/ia64/elf/configure.in: Likewise.
2853 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2854 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2855 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2856 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2857 * sysdeps/sh/elf/configure.in: Likewise.
2858 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2859 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2860 * sysdeps/x86_64/elf/configure.in: Likewise.
2861 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2862 * sysdeps/mach/hurd/tls.h: Likewise.
2863
633f745d
UD
2864 [BZ #13067]
2865 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2866
f318beb8
UD
2867 [BZ #13090]
2868 * configure.in: Fix use of AC_INIT.
2869
32b4c839
UD
2870 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2871
3ce1f295
UD
28722011-09-10 Ulrich Drepper <drepper@gmail.com>
2873
bb016596
UD
2874 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2875 __set_errno.
8e58439c
UD
2876 * malloc/hooks.c: Likewise.
2877
aebae053 2878 [BZ #11929]
02d46fc4
UD
2879 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
2880 variables statically.
2881 (narenas): Initialize.
2882 (list_lock): Initialize.
bb016596
UD
2883 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
2884 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
2885 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2886 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
2887 Add initializers to main_arena and mp_.
2888 (malloc_state): Remove pagesize member. Change all users to use
2889 GLRO(dl_pagesize).
2890
2891 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2892 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
2893 is always initialized.
2894
22a89187
UD
2895 * malloc/malloc.c: Removed unused configurations and dead code.
2896 * malloc/arena.c: Likewise.
2897 * malloc/hooks.c: Likewise.
02d46fc4 2898 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 2899
d063d164
UD
2900 * include/tls.h: Removed. USE___THREAD must always be defined.
2901 * bits/libc-tsd.h: Don't handle !USE___THREAD.
2902 * elf/dl-libc.c: Likewise.
2903 * elf/dl-tsd.c: Likewise.
2904 * include/errno.h: Likewise.
2905 * include/netdb.h: Likewise.
2906 * include/resolv.h: Likewise.
2907 * inet/herrno-loc.c: Likewise.
2908 * inet/herrno.c: Likewise.
2909 * malloc/arena.c: Likewise.
2910 * malloc/hooks.c: Likewise.
2911 * malloc/malloc.c: Likewise.
2912 * resolv/res-state.c: Likewise.
2913 * resolv/res_libc.c: Likewise.
2914 * sysdeps/i386/dl-machine.h: Likewise.
2915 * sysdeps/ia64/dl-machine.h: Likewise.
2916 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2917 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2918 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2919 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2920 * sysdeps/sh/dl-machine.h: Likewise.
2921 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2922 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2923 * sysdeps/unix/i386/sysdep.S: Likewise.
2924 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2925 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2926 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2928 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2930 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2934 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2935 * sysdeps/x86_64/dl-machine.h: Likewise.
2936 * tls.make.c: Likewise.
2937
3ce1f295
UD
2938 * configure.in: Remove --with-__thread option. Make tests for
2939 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2940 tls_model attribute fail if no support is available. Remove
2941 USE_IN_LIBIO.
2942 * Makeconfig: Adjust for dropped configure option. All features are
2943 now mandatory.
2944 * Makerules: Likewise.
2945 * Versions.def: Likewise.
2946 * argp/argp-fmtstream.c: Likewise.
2947 * argp/argp-fmtstream.h: Likewise.
2948 * argp/argp-help.c: Likewise.
2949 * assert/assert.c: Likewise.
2950 * config.h.in: Likewise.
2951 * config.make.in: Likewise.
2952 * configure: Likewise.
2953 * configure.in: Likewise.
2954 * csu/Versions: Likewise.
2955 * csu/init.c: Likewise.
2956 * elf/tst-audit2.c: Likewise.
2957 * elf/tst-tls10.c: Likewise.
2958 * elf/tst-tls10.h: Likewise.
2959 * elf/tst-tls11.c: Likewise.
2960 * elf/tst-tls12.c: Likewise.
2961 * elf/tst-tls14.c: Likewise.
2962 * elf/tst-tlsmod11.c: Likewise.
2963 * elf/tst-tlsmod12.c: Likewise.
2964 * elf/tst-tlsmod13.c: Likewise.
2965 * elf/tst-tlsmod13a.c: Likewise.
2966 * elf/tst-tlsmod14a.c: Likewise.
2967 * elf/tst-tlsmod15b.c: Likewise.
2968 * elf/tst-tlsmod16a.c: Likewise.
2969 * elf/tst-tlsmod16b.c: Likewise.
2970 * elf/tst-tlsmod7.c: Likewise.
2971 * elf/tst-tlsmod8.c: Likewise.
2972 * elf/tst-tlsmod9.c: Likewise.
2973 * gmon/gmon.c: Likewise.
2974 * grp/fgetgrent_r.c: Likewise.
2975 * grp/putgrent.c: Likewise.
2976 * hurd/fopenport.c: Likewise.
2977 * include/libc-symbols.h: Likewise.
2978 * include/tls.h: Likewise.
2979 * intl/gettextP.h: Likewise.
2980 * intl/loadinfo.h: Likewise.
2981 * locale/global-locale.c: Likewise.
2982 * locale/localeinfo.h: Likewise.
2983 * mach/devstream.c: Likewise.
2984 * malloc/arena.c: Likewise.
2985 * malloc/set-freeres.c: Likewise.
2986 * misc/err.c: Likewise.
2987 * misc/getttyent.c: Likewise.
2988 * misc/mntent_r.c: Likewise.
2989 * posix/getopt.c: Likewise.
2990 * posix/wordexp.c: Likewise.
2991 * pwd/fgetpwent_r.c: Likewise.
2992 * resolv/Versions: Likewise.
2993 * resolv/res_hconf.c: Likewise.
2994 * shadow/fgetspent_r.c: Likewise.
2995 * shadow/putspent.c: Likewise.
2996 * stdio-common/printf_fphex.c: Likewise.
2997 * stdio-common/tmpfile.c: Likewise.
2998 * stdlib/abort.c: Likewise.
2999 * stdlib/fmtmsg.c: Likewise.
3000 * sunrpc/auth_unix.c: Likewise.
3001 * sunrpc/clnt_perr.c: Likewise.
3002 * sunrpc/clnt_tcp.c: Likewise.
3003 * sunrpc/clnt_udp.c: Likewise.
3004 * sunrpc/clnt_unix.c: Likewise.
3005 * sunrpc/openchild.c: Likewise.
3006 * sunrpc/svc_simple.c: Likewise.
3007 * sunrpc/svc_tcp.c: Likewise.
3008 * sunrpc/svc_udp.c: Likewise.
3009 * sunrpc/svc_unix.c: Likewise.
3010 * sunrpc/xdr.c: Likewise.
3011 * sunrpc/xdr_array.c: Likewise.
3012 * sunrpc/xdr_rec.c: Likewise.
3013 * sunrpc/xdr_ref.c: Likewise.
3014 * sunrpc/xdr_stdio.c: Likewise.
3015
1248c1c4
PB
30162011-09-09 Ulrich Drepper <drepper@gmail.com>
3017
3018 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3019
30202011-07-03 Andreas Jaeger <aj@suse.de>
3021
3022 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
3023 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
3024 regenerate with gen-libm-tests.pl.
3025
30262010-05-12 Petr Baudis <pasky@suse.cz>
3027
3028 [BZ #11589]
3029 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
3030 around j0() zero points by switching to j1().
3031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3034 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3035
f22e1074
UD
30362011-09-09 Ulrich Drepper <drepper@gmail.com>
3037
f19009c1
UD
3038 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
3039 instead of 0.
3040 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3041 instead of 0. .
3042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3043 Patch in part by Pavel Roskin <proski@gnu.org>.
3044
3f8cc204
UD
3045 [BZ #13138]
3046 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
3047 realloc.
3048 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
3049 Free memory block if necessary.
3050
f22e1074
UD
3051 [BZ #12847]
3052 * libio/genops.c (INTDEF): For string streams the _lock pointer can
3053 be NULL. Don't lock in this case.
3054
0a2349f9
RM
30552011-09-09 Roland McGrath <roland@hack.frob.com>
3056
3057 * elf/elf.h (ELFOSABI_GNU): New macro.
3058 (ELFOSABI_LINUX): Define to that.
3059
f3cdd467
DZ
30602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
3061
3062 * string/strncat.c (strncat): Undef the symbol in case it has been
3063 defined in bits/string.h.
3064
74718d13
UD
30652011-09-09 Ulrich Drepper <drepper@gmail.com>
3066
633e9e0f
UD
3067 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
3068
0a2349f9 3069 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
3070 link map.
3071
f9924780
AJ
30722011-08-17 Andreas Jaeger <aj@suse.de>
3073
3074 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
3075
7f5517aa
PP
30762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3077 Ian Lance Taylor <iant@google.com>
3078
3079 * math/libm-test.inc (lround_test): New testcase.
3080 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
3081
762011fe
UD
30822011-09-08 Ulrich Drepper <drepper@gmail.com>
3083
92963737
UD
3084 * Makefile: Remove support for automatic cvs check-ins.
3085 * Makerules: Likewise.
3086 * config.make.in: Likewise.
3087 * configure.in: Likewise.
3088 * intl/Makefile: Likewise.
3089 * locale/Makefile: Likewise.
3090 * po/Makefile: Likewise.
3091 * posix/Makefile: Likewise.
3092 * sysdeps/gnu/Makefile: Likewise.
3093 * sysdeps/mach/hurd/Makefile: Likewise.
3094 * sysdeps/sparc/sparc32/Makefile: Likewise.
3095
b0727fd8
JS
3096 [BZ #13118]
3097 * posix/Makefile (bug-regex32-ENV): Define.
3098 Patch by John Stanley <jpsinthemix@verizon.net>.
3099
a0f33f99
UD
3100 * misc/Makefile (headers): Add bits/select2.h.
3101 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
3102 * misc/bits/select2.h: New file.
3103 * include/bits/select2.h: New file.
3104 * debug/Makefile (routines): Add fdelt_chk.
3105 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
3106 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
3107 FD_ISSET.
3108 * debug/fdelt_chk.c: New file.
3109
762011fe
UD
3110 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
3111 * wcsmbs/test-wmemcmp.c: Likewise.
3112 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 3113 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
3114
31152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3116
3117 * string/Makefile (strop-tests): Add memcmp.
3118 * string/test-wmemcmp.c: New file.
3119 * string/test-memcmp.c: Add wmemcmp support.
3120
7f513ec8
RM
31212011-09-08 Roland McGrath <roland@hack.frob.com>
3122
0442afb4
RM
3123 [BZ #13153]
3124 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
3125 2011-07-19 change.
3126
7f513ec8
RM
3127 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
3128 garbage value in a __mach_port_mod_refs call in the cases of the
3129 task-self and thread-self ports.
3130
a12b2239
ST
31312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3132
3133 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
3134
610f9ab4
AS
31352011-09-08 Andreas Schwab <schwab@redhat.com>
3136
7f513ec8 3137 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 3138
48882a1a
LD
31392011-09-07 Ulrich Drepper <drepper@gmail.com>
3140
b49865be
UD
3141 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
3142
fdc86bc9
UD
3143 * elf/dl-libc.c (dlerror_run): Pass back error code from
3144 dl_catch_error.
3145
c966526a
UD
3146 [BZ #13123]
3147 * elf/dl-load.c (lose): Free l_origin if it is valid.
3148
48882a1a
LD
3149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
3150 names.
3151 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3156 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3157
77a2a8b4
AZ
31582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3159
3160 * sysdeps/powerpc/fpu/e_hypot.c: New file.
3161 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3162 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3163 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3164 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3165 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3166 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3167 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3168 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3169 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3170
24f579d8
AM
31712011-08-15 Alan Modra <amodra@gmail.com>
3172
3173 [BZ #13092]
3174 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3175 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3176 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3177 ppc_mcount to static-only-routines.
3178 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3179 __mcount_internal.
3180 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3181 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3182
3d4837df
UD
31832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3184
3185 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3186 for finite and infinity parameters.
3187
22700377
WS
31882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3189
3190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3191 and add nop instructions for throughput optimization.
3192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3193
5025581e
WS
31942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3195
3196 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3197 aligned copy for power7 with vector-scalar instructions.
3198 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3199
08a300c9
L
32002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
3201
3202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3203 AVX check.
3204
59178ef9
AS
32052011-09-07 Andreas Schwab <schwab@redhat.com>
3206
3207 [BZ #13144]
3208 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3209 last change.
3210
e38ba7ab
UD
32112011-09-07 Ulrich Drepper <drepper@gmail.com>
3212
3213 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3214 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3215 syscall wrapper around clock_gettime in __vdso_clock_gettime.
3216 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3217 clock_gettime.
3218
d53a73ac
UD
32192011-09-06 Ulrich Drepper <drepper@gmail.com>
3220
fc8bffcc
UD
3221 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3222 Forgot to demangle the pointer.
3223
ceaa0c5d
UD
3224 * sysdeps/i386/sysdep.h: Define atom_text_section.
3225 * sysdeps/x86_64/sysdep.h: Likewise.
3226 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3227 section with atom_text_section.
3228 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3230 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3232 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3233
a77d3c17
UD
3234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3235 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3236 already be defined. Change to take two parameters and don't assign
3237 result to variable. Adjust all users.
3238 Define INTERNAL_GETTIME if not already defined.
3239 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3240 call.
3241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3242 HAVE_CLOCK_GETTIME_VSYSCALL.
3243 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3244
d53a73ac
UD
3245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3246 gettimeofday vsyscall, just use time.
3247
a8f84144
AS
32482011-09-06 Andreas Schwab <schwab@redhat.com>
3249
3250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3251 <errno.h>.
3252
ef606249
UD
32532011-09-06 Ulrich Drepper <drepper@gmail.com>
3254
3255 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3256 syscall on x86-64.
3257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3258 syscall.
3259 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3260 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3261 syscall if possible.
3262
6585cb60
UD
32632011-09-05 Ulrich Drepper <drepper@gmail.com>
3264
3265 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3266 e_ident. Don't pass to find_mapsXX.
3267 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3268
a5f524e4
LD
32692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3270
3271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3272 strchr-sse2-no-bsf strrchr-sse2-no-bsf
3273 * sysdeps/x86_64/multiarch/strchr.S: Update.
3274 Check bit_slow_BSF bit.
3275 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3276 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3277 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3278
554881ef
UD
32792011-09-05 Ulrich Drepper <drepper@gmail.com>
3280
d96de963
UD
3281 [BZ #13134]
3282 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3283 before glibc 2.15.
3284 (tryshell): Define.
3285 (__spawni): Change last parameter to be flag. Test
3286 SPAWN_XFLAGS_USE_PATH flag to use path or not.
3287 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3288 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3289 * posix/spawni.c: Likewise.
3290 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3291 * posix/spawnp.c: Likewise. Change normal version to use
3292 SPAWN_XFLAGS_USE_PATH.
3293 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3294 SPAWN_XFLAGS_TRY_SHELL.
3295
d48e5868
UD
3296 [BZ #13150]
3297 * posix/glob.h: Remove gcc 1.x support.
3298
554881ef
UD
3299 [BZ #13068]
3300 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3301
693fb948
LD
33022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3303
3304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3305 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3306 strrchr-sse2-bsf
3307 * sysdeps/i386/i686/multiarch/strchr.S: New file.
3308 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3309 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3311 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3312 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3313
1b48c537
UD
33142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3315
49d42c37
UD
3316 * sysdeps/x86_64/wcscmp.S: New file.
3317
1b48c537
UD
3318 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3319 wcscmp-c wcscmp-sse2
3320 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3321 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3322 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3323 * wcsmbs/wcscmp.c: Allow renaming.
3324
15c95c5d
DM
33252011-09-05 David S. Miller <davem@davemloft.net>
3326
3327 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3328 stack slot, rather than the struct return pointer slot.
3329 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3330 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3332 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3333
2f0ad8f3
UD
33342011-09-05 Ulrich Drepper <drepper@gmail.com>
3335
d88ae418
UD
3336 * po/ja.po: Update from translation team.
3337
2f0ad8f3
UD
3338 [BZ #13144]
3339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3340 kernel in 64-bit binaries.
3341
5f4318d1
DM
33422011-09-01 David S. Miller <davem@davemloft.net>
3343
3344 * elf/elf.h (HWCAP_SPARC_*): Move to..
3345 * sysdeps/sparc/sysdep.h: this new file and add new values.
3346 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3347 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3348 _DL_HWCAP_COUNT to 24.
3349 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3350 entries.
3351 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3352 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3353 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3355 instead of magic constants.
3356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3357
3ba57516
DM
33582011-08-31 David S. Miller <davem@davemloft.net>
3359
3360 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3362 Reimplement to do errno handling inline.
3363 (SYSCALL_ERROR_HANDLER): New macro.
3364 (__SYSCALL_STRING): Do not do errno handling in asm.
3365 (__CLONE_SYSCALL_STRING): Delete.
3366 (__INTERNAL_SYSCALL_STRING): Delete.
3367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3368 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3369 (PSEUDO): Reimplement to do errno handling inline.
3370 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
3371 (SYSCALL_ERROR_HANDLER): New macro.
3372 (__SYSCALL_STRING): Do not do errno handling in asm.
3373 (__CLONE_SYSCALL_STRING): Delete.
3374 (__INTERNAL_SYSCALL_STRING): Delete.
3375 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
3376 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3377 i386.
3378 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3379 (inline_syscall*): Add 'err' argument.
3380 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3381 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3382 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3383 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3384
3385 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3386 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3387
2bc17433
AS
33882011-08-30 Andreas Schwab <schwab@redhat.com>
3389
3390 * elf/rtld.c (dl_main): Relocate objects in dependency order.
3391
fbeb5f4d
JO
33922011-08-29 Jiri Olsa <jolsa@redhat.com>
3393
3394 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3395 directive.
3396
ad69cc26
DM
33972011-08-24 David S. Miller <davem@davemloft.net>
3398
3399 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3400
39dd69df
AS
34012011-08-24 Andreas Schwab <schwab@redhat.com>
3402
3403 * elf/Makefile: Add rules to build and run unload8 test.
3404 * elf/unload8.c: New file.
3405 * elf/unload8mod1.c: New file.
3406 * elf/unload8mod1x.c: New file.
3407 * elf/unload8mod2.c: New file.
3408 * elf/unload8mod3.c: New file.
3409
3410 * elf/dl-close.c (_dl_close_worker): Reset private search list if
3411 it wasn't used.
3412
2c0b250a
DM
34132011-08-23 David S. Miller <davem@davemloft.net>
3414
3415 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3416 subtract stack bias.
3417 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3418 %sp not %fp in calculations.
3419 (_JMPBUF_UNWINDS_ADJ): Likewise.
3420
22044b48
DM
3421 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3422 (aio_suspend): Call it to force an exception region around the
3423 AIO_MISC_WAIT() invocation.
3424
2cae4995
AS
34252011-08-23 Andreas Schwab <schwab@redhat.com>
3426
3427 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3428 backslash.
3429
873a772e
AJ
34302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
3431
3432 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3433 protection macro.
3434 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3435 and <dl-machine.h>.
3436 (Elf64_FuncDesc): Remove.
3437
25ad0df1
DM
34382011-08-22 David S. Miller <davem@davemloft.net>
3439
3440 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3441 sigaltstack check, add missing cfi directives.
3442 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3443 missing cfi directives, and sigaltstack handling.
3444
e888bcbe
AS
34452011-08-16 Andreas Schwab <schwab@redhat.com>
3446
3447 [BZ #11724]
3448 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3449 object is seen twice.
3450 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3451
3452 * elf/Makefile (distribute): Add tst-initorder2.c.
3453 (tests): Add tst-initorder2.
3454 (modules-names): Add tst-initorder2a tst-initorder2b
3455 tst-initorder2c tst-initorder2d. Add rules to build them.
3456 ($(objpfx)tst-initorder2.out): New rule.
3457 * elf/tst-initorder2.c: New file.
3458 * elf/tst-initorder2.exp: New file.
3459
87162f46
AS
34602011-08-22 Andreas Schwab <schwab@redhat.com>
3461
70538b7f
AS
3462 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
3463
f55ffe58
AS
3464 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
3465 dependencies back to end of function.
3466
87162f46
AS
3467 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3468 $(elfobjdir)/ld.so.
3469
91b392a4
UD
34702011-08-21 Ulrich Drepper <drepper@gmail.com>
3471
3472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
3473 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
3474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
3475 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3476 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3477 of __vdso_gettimeofday.
3478 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3479 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
3480 attribute_hidden.
3481 (_libc_vdso_platform_setup): Remove initialization of
3482 __vdso_gettimeofday and __vdso_time.
3483
5c43483f
UD
34842011-08-20 Ulrich Drepper <drepper@gmail.com>
3485
775a77e7
UD
3486 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3487 and fgetc_unlocked.
3488 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3489 getc_unlocked.
89f447ed 3490
49c74ba9
UD
3491 * elf/dl-open.c (add_to_global): Report additions to the global scope
3492 for LD_DEBUG=scopes.
3493 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 3494 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 3495
5c43483f
UD
3496 [BZ #13114]
3497 * stdio-common/Makefile (tests): Add bug24.
3498 * stdio-common/bug24.c: New file.
3499
a101b025
AJ
35002011-08-19 Andreas Jaeger <aj@suse.de>
3501
3502 [BZ #13114]
3503 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3504 non-existant file when using close-on-exec mode.
3505
c88f1766
UD
35062011-08-20 Ulrich Drepper <drepper@gmail.com>
3507
0276a718
UD
3508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3509 the very first instruction.
3510
c88f1766
UD
3511 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3512 the CFI state in the end.
3513 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3514 inclusion of dl-trampoline.h.
3515 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3516
51ccffa0
AS
35172011-08-19 Andreas Schwab <schwab@redhat.com>
3518
94d7165f
AS
3519 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3520 expectations for long double.
3521
51ccffa0
AS
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3523 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3524
fd708658 35252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
3526
3527 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3528 artificual limit depends upon the system page size.
3529
44f0a71e
UD
35302011-08-17 Ulrich Drepper <drepper@gmail.com>
3531
3532 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3533 * resolv/Makefile: Define CFLAGS-libresolv.
3534
8de79a24
AS
35352011-08-17 Andreas Schwab <schwab@redhat.com>
3536
3537 * nss/makedb.c (compute_tables): Make variables used in nested
3538 function static.
3539
27724598
UD
35402011-08-17 Ulrich Drepper <drepper@gmail.com>
3541
c5305d88
UD
3542 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3543 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3544 if buffer was too small.
3545
27724598
UD
3546 * elf/pldd.c (main): Attach to all threads in the process.
3547 Rewrite /proc handling to use *at functions.
3548
076fe015
UD
35492011-08-16 Ulrich Drepper <drepper@gmail.com>
3550
174baab3
UD
3551 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3552 specifies first scope to show.
3553 (dl_open_worker): Update callers. Move printing scope of new
3554 object to before the relocation.
44f0a71e 3555 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
3556 * sysdeps/generic/ldsodefs.h: Update declaration.
3557
076fe015
UD
3558 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3559 string for the scope number.
3560
a60df2c3
UD
35612011-08-14 Ulrich Drepper <drepper@gmail.com>
3562
3563 * nscd/servicescache.c (cache_addserv): Make sure written is always
3564 initialized.
3565
5e4287d1
RM
35662011-08-14 Roland McGrath <roland@hack.frob.com>
3567
85ae0589
RM
3568 * sysdeps/i386/i486/bits/atomic.h
3569 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3570 statement expression, so as to suppress "set but not used" warning.
3571 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3572
69f63097
RM
3573 * string/strncat.c (STRNCAT): Use prototype definition.
3574
675456ef
RM
3575 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3576 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3577 -Iprograms here.
3578 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3579 (localedef-modules): Add localedef.
3580 (locale-modules): Add locale.
3581
5e4287d1
RM
3582 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3583 * elf/rtld.c (dl_main): Invert order of assignment in last change,
3584 to avoid a warning.
3585
9c96ff23
DM
35862011-08-14 David S. Miller <davem@davemloft.net>
3587
3588 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3589 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3590
f9ddf089
UD
35912011-08-13 Ulrich Drepper <drepper@gmail.com>
3592
44f0a71e 3593 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
3594 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3595 * elf/rtld.c (dl_main): Set l_name of vDSO.
3596 Call _dl_show_scope when DL_DEBUG_SCOPES.
3597 (process_dl_debug): Recognize scopes flag and also set it for all.
3598 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3599 Declare _dl_show_scope.
3600
1dc27704
UD
3601 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
3602 (do_dlopen): Pass caller_dlopen to dl_open.
3603 (__libc_dlopen_mode): Initialize caller_dlopen.
3604
f9ddf089
UD
3605 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
3606 of libc. Make tolower call locale-independent. Optimize a bit by
3607 using isdigit instead of isalnum.
3608 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
3609
9ac533d3
UD
36102011-08-12 Ulrich Drepper <drepper@gmail.com>
3611
3612 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
3613 was a dependency or dynamically loaded.
3614
89edf2e9
UD
36152011-08-11 Ulrich Drepper <drepper@gmail.com>
3616
8e999d29
UD
3617 * intl/l10nflist.c: Allow architecture-specific pop function.
3618 * sysdeps/x86_64/l10nflist.c: New file.
3619
89edf2e9
UD
3620 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
3621 classification.
3622
14d96785
AS
36232011-08-10 Andreas Schwab <schwab@redhat.com>
3624
3625 * include/dirent.h: Add libc_hidden_proto for scandirat and
3626 scandirat64. Don't declare __scandirat64.
3627 * dirent/scandirat.c: Add libc_hidden_def.
3628 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
3629 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
3630
6761ac04
DM
36312011-08-10 David S. Miller <davem@davemloft.net>
3632
3633 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
3634 enum.
3635 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3638
c55fbd1e
UD
36392011-08-09 Ulrich Drepper <drepper@gmail.com>
3640
3641 * Versions.def [libc]: Add GLIBC_2.15.
3642 * dirent/Makefile (routines): Add scandirat and scandirat64.
3643 * dirent/Versions [libc]: Export scandirat and scandirat64 for
3644 GLIBC_2.15.
3645 * dirent/dirent.h: Declare scandirat and scandirat64.
3646 * dirent/scandirat.c: New file.
3647 * dirent/scandirat64.c: New file.
3648 * sysdeps/wordsize-64/scandirat.c: New file.
3649 * sysdeps/wordsize-64/scandirat64.c: New file.
3650 * dirent/opendir.c: Define opendirat.
3651 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
3652 using scandirat.
3653 * dirent/scandir64.c: Adjust for scandir.c change.
3654 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
3655 __scandirat64, and __scandir_cancel_handler.
3656 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
3657 additional parameter and use openat instead of open (outside of ld.so).
3658 Add new __opendir as wrapper around __opendirat.
3659 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3660 here without requiring old scandirat implementation.
3661
879165f2
UD
36622011-08-08 Ulrich Drepper <drepper@gmail.com>
3663
3664 * dirent/scandir.c (cancel_handler): Renamed to
3665 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
3666 defined. Adjust users.
3667 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3668 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3669
cb7e923b
UD
36702011-08-04 Ulrich Drepper <drepper@gmail.com>
3671
16292edd
UD
3672 * string/test-string.h (IMPL): Use __STRING to expand name and then
3673 stringify it.
3674
cb7e923b
UD
3675 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
3676 of cleanups.
3677
cff82933
LD
36782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3679
3680 * string/Makefile: Update.
3681 (strop-tests): Append strncat.
3682 * string/test-wcscmp.c: New file.
3683 New comprehensive test for wcscmp.
3684 * string/test-strcmp.c: Update.
3685 (WIDE): New define.
3686
9be9bfcc
AS
36872011-07-22 Andreas Schwab <schwab@redhat.com>
3688
3689 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3690 line.
3691
2e96f1c7
AS
36922011-07-26 Andreas Schwab <schwab@redhat.com>
3693
3694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3695 encoding to ACE if AI_IDN.
3696
85188888
JJ
36972011-08-01 Jakub Jelinek <jakub@redhat.com>
3698
3699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3700 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3701
5fa16e9b
LD
37022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3703
3704 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3705 Fix overflow bug in strncat.
3706 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3707
3708 * string/test-strncat.c: Update.
3709 Add new tests for checking overflow bugs.
3710
37112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3712
3713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3714 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3715 * sysdeps/i386/i686/multiarch/strcat.S: New file.
3716 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3717 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3718 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3719 * sysdeps/i386/i686/multiarch/strncat.S: New file.
3720 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3721 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3722
3723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3724 (USE_AS_STRCAT): Define.
3725 Add strcat and strncat support.
3726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3727
8c1a459f
AS
37282011-07-25 Andreas Schwab <schwab@redhat.com>
3729
3730 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3731 __n bigger than INT_MAX+1.
3732 (__strncmp_g): Likewise.
3733
bba33c28
UD
37342011-07-23 Ulrich Drepper <drepper@gmail.com>
3735
798be72d
UD
3736 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3737 * libio/stido.h: Likewise.
3738
8accd4dc
UD
3739 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3740 (AF_NFC): Define.
3741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3742 (AF_NFC): Define.
3743
cbff0d96
UD
3744 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3745 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3746 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3747 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3749
9191c04a
UD
3750 [BZ #13021]
3751 * scripts/test-installation.pl: Don't expect libnss_test1 to be
3752 installed.
3753
bba33c28
UD
3754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3755 typo.
3756 (_dl_x86_64_save_sse): Likewise.
3757
90f139dd
UD
37582011-07-22 Ulrich Drepper <drepper@gmail.com>
3759
1aae088a
UD
3760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3761 OSXSAVE.
3762 (_dl_x86_64_save_sse): Likewise.
3763
8e2045f5
UD
3764 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3765
90f139dd
UD
3766 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3767
1d002f25
AS
37682011-07-21 Andreas Schwab <schwab@redhat.com>
3769
3770 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3771 change.
3772 (_dl_x86_64_save_sse): Use correct AVX check.
3773
21137f89
UD
37742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3775
3776 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3777 bug in strncpy/strncat.
3778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3779
a65c0b7a
UD
37802011-07-21 Ulrich Drepper <drepper@gmail.com>
3781
3782 * string/tester.c (test_strcat): Add tests for different alignments
3783 of source and destination.
3784 (test_strncat): Likewise.
3785
6986b98a
UD
37862011-07-20 Ulrich Drepper <drepper@gmail.com>
3787
90bb2039
UD
3788 [BZ #12852]
3789 * posix/glob.c (glob): Check passed in values before using them in
3790 expressions to avoid some overflows.
3791 (glob_in_dir): Likewise.
3792
5644ef54
UD
3793 [BZ #13007]
3794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3795 check for AVX enablement so that we don't crash with old kernels and
3796 new hardware.
3797 * elf/tst-audit4.c: Add same checks here.
3798 * elf/tst-audit6.c: Likewise.
3799
3800 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 3801
bfc9dc9b
AS
38022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
3803
3804 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3805
702e64bb
UD
38062011-07-20 Ulrich Drepper <drepper@gmail.com>
3807
3808 * po/cs.po: Update from translation team.
3809 * po/bg.po: Likewise.
3810
295e904f
MP
38112011-07-12 Marek Polacek <mpolacek@redhat.com>
3812
3813 * misc/sys/cdefs.h: Add support for const attribute.
3814 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3815 to gnu_dev_{major,minor,makedev} functions.
3816
3ff94596
MP
38172011-07-20 Marek Polacek <mpolacek@redhat.com>
3818
3819 * intl/dcigettext.c (get_output_charset): Add missing bracket.
3820
28b59fca
AS
38212011-07-20 Andreas Schwab <schwab@redhat.com>
3822
3823 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3824 strlen results.
3825
19df733e
AK
38262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3827
3828 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3829 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3830 register in order to avoid conflicts with the soft frame pointer
3831 being held in r11 when necessary.
3832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3833 (INTERNAL_VSYSCALL_NCS): Likewise.
3834
c8835729
MP
38352011-07-14 Marek Polacek <mpolacek@redhat.com>
3836
3837 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3838 * elf/dl-fini.c (_dl_fini): Adjust caller.
3839 * elf/dl-close.c (_dl_close_worker): Likewise.
3840 * sysdeps/generic/ldsodefs.h: Adjust declaration.
3841
b902330c
MP
38422011-07-15 Marek Polacek <mpolacek@redhat.com>
3843
8991e135
MP
3844 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3845 "aux_cache->nlibs < 0".
3846
b902330c
MP
3847 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3848 in the reload-count case.
3849
99710781
LD
38502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3851
3852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3853 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3854 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3855 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3856 * sysdeps/x86_64/multiarch/strcat.S: New file.
3857 * sysdeps/x86_64/multiarch/strncat.S: New file.
3858 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3859 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3860 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3861 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3863 (USE_AS_STRCAT): Define.
3864 Add strcat and strncat support.
3865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3866 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3867 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3868 * string/strncat.c: Update.
3869 (USE_AS_STRNCAT): Define.
3870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3871 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3872 and i7.
3873 * sysdeps/x86_64/multiarch/init-arch.h
3874 (bit_Prefer_PMINUB_for_stringop): New.
3875 (index_Prefer_PMINUB_for_stringop): Likewise.
3876 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3877 bit_Prefer_PMINUB_for_stringop.
3878
7dc6bd90
UD
38792011-07-19 Ulrich Drepper <drepper@gmail.com>
3880
3881 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3882 buffer64.
3883 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3884 of casting of buffer.
3885 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3886 buffer32 and buffer64.
3887 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3888 writes instead of casting of buffer.
3889 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3890 buffer32.
3891 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3892 casting of buffer.
3893
e0e72284
AS
38942011-07-19 Andreas Schwab <schwab@redhat.com>
3895
3896 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3897
feb1eb0b
UD
38982011-07-19 Ulrich Drepper <drepper@gmail.com>
3899
3900 * nscd/nscd.c (termination_handler): Don't do anything for a database
3901 if it has not yet been initialized.
3902
298711ff
UD
39032011-07-18 Ulrich Drepper <drepper@gmail.com>
3904
3905 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3906
39072011-07-15 Marek Polacek <mpolacek@redhat.com>
3908
3909 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3910
f9d68389
UD
39112011-07-18 Ulrich Drepper <drepper@gmail.com>
3912
3913 * po/nl.po: Update from translation team.
3914 * po/sv.po: Likewise.
3915
db290cf5
RM
39162011-07-16 Roland McGrath <roland@hack.frob.com>
3917
3918 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3919 now disallowed by GCC.
5c550700 3920
fd5e21c7
RM
3921 * configure.in (use-default-link): Default to yes if a test -shared
3922 link meets our qualifications.
3923 * configure: Regenerated.
3924
5c550700
RM
3925 * config.make.in (output-format): New variable.
3926 * configure.in: Check for ld --print-output-format support.
3927 * configure: Regenerated.
3928 * Makerules ($(common-objpfx)format.lds)
3929 [$(output-format) != unknown]: Just use $(output-format),
3930 instead of the linker-script munging.
3931
9fa2c032
RM
39322011-07-14 Roland McGrath <roland@hack.frob.com>
3933
a6928d51
RM
3934 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3935 of $(common-objpfx)shlib.lds.
3936 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3937
661607b3
RM
3938 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3939 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3940
9fa2c032
RM
3941 * configure.in (-z relro check): Adjust test code to add a large
3942 writable data section after it.
3943 * configure: Regenerated.
3944
defe9061
RM
39452011-07-11 Roland McGrath <roland@hack.frob.com>
3946
3947 * configure.in (-z relro check): Fix test code to make the variable
3948 truly const.
3949 * configure: Regenerated.
3950
319b9ad4
UD
39512011-07-11 Ulrich Drepper <drepper@gmail.com>
3952
3953 * nscd/nscd.h (struct traced_file): Define.
3954 (struct database_dyn): Remove inotify_descr, reset_res, and filename
3955 elements. Add traced_files.
3956 (inotify_fd): Declare.
3957 (register_traced_file): Declare.
3958 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3959 (inotify_fd): Export.
3960 (resolv_conf_descr): Remove.
3961 (nscd_init): Move inotify descriptor creation to main.
3962 Don't register files for notification here.
3963 (register_traced_file): New function.
3964 (invalidate_cache): Don't use reset_res to determine whether to call
3965 res_init, go through the list of registered files.
3966 (main_loop_poll): The inotify descriptors are now stored in the
3967 structures for the traced files.
3968 (main_loop_epoll): Likewise
3969 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
3970 to __nss_disable_nscd.
3971 * nscd/cache.c (prune_cache): There is no single inotify descriptor
3972 for a database anymore. Check the records for all the registered
3973 files instead.
3974 * nss/Makefile (libnss_files-routines): Add files-init.
3975 (libnss_db-routines): Add db-init.
3976 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3977 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3978 * nss/nss_db/db-init.c: New file.
3979 * nss/nss_files/files-init.c: New file.
3980 * nss/nsswitch.c (nss_load_library): New function. Broken out of
3981 __nss_lookup_function.
3982 (__nss_lookup_function): Call nss_load_library.
3983 (nss_load_all_libraries): New function.
3984 (__nss_disable_nscd): Take parameter with callback function for files
3985 to register. Set is_nscd. Load all the DSOs for the NSS modules
3986 used for the cached services.
3987 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3988 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3989 options for features to all the files in nscd.
3990
3991 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3992
23bee3e8
RM
39932011-07-10 Roland McGrath <roland@hack.frob.com>
3994
3995 * csu/elf-init.c (__libc_csu_init): Comment typo.
3996
46a5b7f0
UD
39972011-07-09 Ulrich Drepper <drepper@gmail.com>
3998
3999 * po/pl.po: Update from translation team.
4000 * po/ja.po: Likewise.
4001 * po/ru.po: Likewise.
4002 * po/ko.po: Likewise.
4003 * po/fr.po: Likewise.
4004
d30cf5bb
RM
40052011-07-09 Roland McGrath <roland@hack.frob.com>
4006
113ddea4
RM
4007 * configure.in (.ctors/.dtors header and trailer check):
4008 Use an empirical test on a built program.
4009 * configure: Regenerated.
4010
574920b4
RM
4011 * configure.in (-z relro check): Use an empirical test on a built DSO.
4012 Detect, but do not require, on ia64.
4013 * configure: Regenerated.
4014
d30cf5bb
RM
4015 * configure.in (READELF): Find it with AC_CHECK_TOOL.
4016 Update tests that use readelf to use $READELF instead.
4017 * configure: Regenerated.
4018
8538fdb3
UD
40192011-07-08 Ulrich Drepper <drepper@gmail.com>
4020
4021 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
4022 if the result is not used.
4023
04d08991
AJ
40242011-07-05 Andreas Jaeger <aj@suse.de>
4025
4026 [BZ#9696]
4027 * stdlib/tst-strtod.c: Add testcase.
4028
de283087
AD
40292011-07-07 Ulrich Drepper <drepper@gmail.com>
4030
4e5f31c8 4031 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 4032 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
4033 The latter has a higher limit. Take additional parameter to pass to
4034 the new function.
4035 (__pathconf): Pass file to __statfs_link_max.
4036 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
4037 __statfs_link_max.
4038 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
4039 __statfs_link_max.
4040
de283087
AD
4041 [BZ #12868]
4042 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
4043 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4044 Handle Lustre.
4045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
4046 (__statfs_filesize_max): Likewise.
4047 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
4048
c75fa153
AJ
40492011-07-05 Andreas Jaeger <aj@suse.de>
4050
4051 * resolv/res_comp.c (dn_skipname): Remove unused variable.
4052
1a544854
UD
40532011-07-06 Marek Polacek <mpolacek@redhat.com>
4054
4055 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
4056 `status' variable.
4057 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
4058 Likewise.
4059
6f0eec67
UD
40602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
4061
4062 * Makefile (strop-tests): Add strncat.
4063 * string/test-strncat.c: New file.
4064
aae30307
UD
40652011-06-30 Marek Polacek <mpolacek@redhat.com>
4066
4067 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
4068
c0cfb5eb
UD
40692011-06-21 Andreas Jaeger <aj@suse.de>
4070
4071 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
4072 Copy rule from iconvdata/Makefile.
4073
01636b21
UD
40742011-07-06 Ulrich Drepper <drepper@gmail.com>
4075
4076 [BZ #12922]
4077 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
4078 but no long options are defined, just return 'W'.
4079
9895c8bc
UD
40802011-06-22 Marek Polacek <mpolacek@redhat.com>
4081
4082 [BZ #9696]
4083 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
4084
5d4cf042
UD
40852011-07-06 Ulrich Drepper <drepper@gmail.com>
4086
4087 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
4088 netgroups to read.
960e5535 4089 (innetgr): Likewise.
5d4cf042 4090
751eb97e
RM
40912011-07-05 Roland McGrath <roland@hack.frob.com>
4092
4093 * config.make.in (install_root): Default to $(DESTDIR).
4094
f15f1e45
UD
40952011-07-05 Ulrich Drepper <drepper@gmail.com>
4096
4097 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
4098
4e34ac6a
RM
40992011-07-02 Roland McGrath <roland@hack.frob.com>
4100
5e9b6af4
RM
4101 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
4102
84f9ea0f
RM
4103 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
4104 containing directory rather than embedding absolute directory names.
4105
ea5ee9f7
RM
4106 * scripts/check-local-headers.sh: Rewritten using awk.
4107 Match by word, not by line. Print error messages for matches.
4108 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
4109
1b74661a
RM
4110 * Makerules [shlib-lds-flags empty]:
4111 ($(common-objpfx)libc_pic.opts): New target.
4112 ($(common-objpfx)libc_pic.os.clean): New target.
4113 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
4114
4115 * config.make.in (OBJCOPY): New variable.
4116 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
4117 * configure: Regenerated.
4118
f781ef40
RM
4119 * config.make.in (use-default-link): New variable.
4120 * configure.in (use_default_link): Grok --with-default-link to set it.
4121 * configure: Regenerated.
4122 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
4123 (shlib-lds, shlib-lds-flags): Define to empty.
4124
2d4fa81e
RM
4125 * Makerules (shlib-lds): New variable.
4126 (shlib-lds-flags): New variable.
4127 (build-shlib, build-moduile, build-module-asneeded): Use it.
4128 ($(common-objpfx)libc.so): Use $(shlib-lds).
4129 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
4130 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
4131
31fffa6b
RM
4132 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
4133 DT_FLAGS/DT_FLAGS_1 with zero flags.
4134
4e34ac6a
RM
4135 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
4136 linker script munging.
4137
fcfc776b
UD
41382011-07-02 Ulrich Drepper <drepper@gmail.com>
4139
4140 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
4141 as 128-bit value.
4142 * crypt/sha512.c (sha512_process_block): Perform total addition using
4143 128-bit if possible.
4144 (__sha512_finish_ctx): Likewise.
4145 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
4146 as 64-bit value.
4147 * crypt/sha256.c (SWAP64): Define.
4148 (sha256_process_block): Perform total addition using 64-bit if
4149 possible.
4150 (__sha256_finish_ctx): Likewise.
4151
99231d9a
UD
41522011-07-01 Ulrich Drepper <drepper@gmail.com>
4153
4154 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
4155 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4156 * nscd/hstcache.c (cache_addhst): Likewise.
4157 * nscd/grpcache.c (cache_addgr): Likewise.
4158 * nscd/aicache.c (addhstaiX): Likewise
4159 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4160
445b4a53
TK
41612011-07-01 Thorsten Kukuk <kukuk@suse.de>
4162
4163 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4165 * nscd/hstcache.c (cache_addhst): Likewise.
4166 * nscd/grpcache.c (cache_addgr): Likewise.
4167 * nscd/aicache.c (addhstaiX): Likewise
4168
6d4d8e8e
AS
41692011-07-01 Andreas Schwab <schwab@redhat.com>
4170
4171 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4172 domain only when needed.
4173
89f654c5
AS
41742011-06-30 Andreas Schwab <schwab@redhat.com>
4175
4176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4177 is always restored.
4178
cf3b23ff
UD
41792011-06-29 Ulrich Drepper <drepper@gmail.com>
4180
4181 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4182 are re-adding the entry.
4183 * nscd/servicescache.c (cache_addserv): Likewise.
4184
751626f9
AJ
41852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4186
4187 * sysdeps/generic/dl-irel.h: fix protection against multiple
4188 inclusions.
4189 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4190
9113ea1f
UD
41912011-06-28 Ulrich Drepper <drepper@gmail.com>
4192
5c0b8d90
UD
4193 [BZ #12935]
4194 * malloc/memusage.sh: Fix quoting in message.
4195 * debug/xtrace.sh: Likewise.
4196
9113ea1f
UD
4197 * configure.in: Remove support for --experimental-malloc option, make
4198 it the default.
4199 * config.make.in: Likewise.
4200 * malloc/Makefile: Likewise.
4201
a4172181
AS
42022011-06-27 Andreas Schwab <schwab@redhat.com>
4203
4204 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4205 two-byte characters.
4206
78a7eee7
RM
42072011-06-27 Roland McGrath <roland@hack.frob.com>
4208
62bede13
RM
4209 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4210 AC_CACHE_CHECK invocation.
4211 * configure: Regenerated.
4212
78a7eee7
RM
4213 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4214
5ce33a62
UD
42152011-06-27 Ulrich Drepper <drepper@gmail.com>
4216
034807a9
UD
4217 [BZ #12350]
4218 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
4219 bit from old_res_options.
4220
4902da17
UD
4221 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4222
5ce33a62
UD
4223 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4224 value type for setfct.
4225
c2344f56
L
42262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
4227
4228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4229 __gettimeofday instead of gettimeofday.
4230
68468076
UD
42312011-06-26 Ulrich Drepper <drepper@gmail.com>
4232
4233 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4234
acb0d739
L
42352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
4236
4237 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4238
4239 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4240 info.
4241
8912479f
L
42422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4243
4244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4245 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4246 strcpy-sse2-unaligned strncpy-sse2-unaligned
4247 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4248 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4249 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4250 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4251 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4253 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4254 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4255 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4256 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4257 (STRCPY): Support SSE2 and SSSE3 versions.
4258
d5495a11
UD
42592011-06-24 Ulrich Drepper <drepper@gmail.com>
4260
4261 [BZ #12874]
4262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4263 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4264 kernels which artificially limit size of requests.
4265
0b1cbaae
L
42662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4269 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4270 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4271 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4272 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4273 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4274 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4275 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4276 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4278 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4279 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4280 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4281 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4282 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4284 Enable unaligned load optimization for Intel Core i3, i5 and i7
4285 processors.
4286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4287 Define.
4288 (index_Fast_Unaligned_Load): Define.
4289 (HAS_FAST_UNALIGNED_LOAD): Define.
4290
07f494a0
MP
42912011-06-23 Marek Polacek <mpolacek@redhat.com>
4292
4293 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4294
fa3fc0fe
UD
42952011-06-22 Ulrich Drepper <drepper@gmail.com>
4296
4297 [BZ #12907]
4298 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4299 until it is clear that the information is realy needed.
4300 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4301
e12df166
AS
43022011-06-22 Andreas Schwab <schwab@redhat.com>
4303
4304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4305
852eb34d
UD
43062011-06-22 Ulrich Drepper <drepper@gmail.com>
4307
84e2a551
UD
4308 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4309 /sys/devices/system/cpu/online if it is usable.
4310
852eb34d
UD
4311 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4312 reading the information from the /proc filesystem to once a second.
4313
6e502e19
UD
43142011-06-21 Andreas Jaeger <aj@suse.de>
4315
4316 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4317 NULL after inclusion of kernel headers.
4318
75d39ff2
UD
43192011-06-21 Ulrich Drepper <drepper@gmail.com>
4320
51f9aa6a
UD
4321 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4322 calls to internal_setent.
4323
c0244a9d
UD
4324 [BZ #12885]
4325 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4326 addresses using gethostbyname4_r ignore IPv4 addresses.
4327
c5e3c2ae
UD
4328 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4329 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
4330
75d39ff2
UD
4331 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4332
42675c6f
DM
43332011-06-20 David S. Miller <davem@davemloft.net>
4334
4335 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4336 inclusions.
4337 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4338
4339 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4340 (elf_irel): Use it.
4341 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4342 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4343 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4344 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4345 * sysdeps/x86_64/dl-irel.h: Likewise.
4346
4347 * elf/dl-runtime.c: Use elf_ifunc_invoke.
4348 * elf/dl-sym.c: Likewise.
4349
57912a71
UD
43502011-06-15 Ulrich Drepper <drepper@gmail.com>
4351
4352 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4353 need to dereference resplen2.
4354
ee22793d
AS
43552011-06-14 Andreas Schwab <schwab@redhat.com>
4356
4357 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4358
a9e836b0
UD
43592011-06-15 Ulrich Drepper <drepper@gmail.com>
4360
77fb9117
UD
4361 * Makeconfig: Define vardbdir and inst_vardbdir.
4362 * nss/Makefile: Add rules to install db-Makefile.
4363
40c1b22c
UD
4364 * nss/nss_db/db-XXX.c: Cleanup.
4365
9f2da732
UD
4366 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4367 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4368 GLIBC_PRIVATE.
4369 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4370 * nss/makedb.c: Implement -g option to specify that value strings
4371 are generated and should not be added to table iterated over for
4372 get*ent calls.
4373 * nss/nss_db/db-initgroups.c: New file.
4374
82e9a1f7
UD
4375 * nss/getent.c: Add support for initgroups lookups through getgrouplist
4376 interface.
4377
c41af17e
UD
4378 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4379 (internal_getgrouplist): Adjust to name change.
4380 Update use_initgroups_entry if this is not the first call.
4381 * nss/databases.def: Add initgroups entry.
4382
a9e836b0
UD
4383 * nss/makedb.c (compute_tables): Check result of multiple hash table
4384 sizes to minimize maximum chain length.
4385
2666d441
UD
43862011-06-14 Ulrich Drepper <drepper@gmail.com>
4387
4388 * Versions.def: Add entry for libnss_db.
4389 * shlib-versions: Likewise.
4390 * nss/Makefile: Add rules to build libnss_db.
4391 * nss/Versions: Add libnss_db information. Organize libnss_files
4392 entries better.
4393 * nss/db-Makefile: Add gshadow support. Change rules for the new
4394 makedb progra. Some minor improvements to generate smaller files.
4395 * nss/nss_db/nss_db.h: Move NSS database header data structures to
4396 here from...
4397 * nss/makedb.c: ...here.
4398 Improve database format to be smaller and require less memory at
4399 runtime.
4400 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
4401 db anymore.
4402 * nss/nss_db/db-netgrp.c: Likewise.
4403 * nss/nss_db/db-open.c: Likewise.
4404 * nss/nss_files/flies-XXX.x: Adjust comments.
4405 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4406 * nss/nss_files/files-grp.c: Likewise.
4407 * nss/nss_files/files-hosts.c: Likewise.
4408 * nss/nss_files/files-network.c: Likewise.
4409 * nss/nss_files/files-proto.c: Likewise.
4410 * nss/nss_files/files-pwd.c: Likewise.
4411 * nss/nss_files/files-rpc.c: Likewise.
4412 * nss/nss_files/files-service.c: Likewise.
4413 * nss/nss_files/files-sgrp.c: Likewise.
4414 * nss/nss_files/files-spwd.c: Likewise.
4415 * nss/nss_db/db-alias.c: Removed.
4416 * nss/nss_db/dummy-db.h: Removed.
4417
9ee76b5a
UD
44182011-06-02 Ulrich Drepper <drepper@gmail.com>
4419
4420 * nss/makedb.c: Rewritten to not use database library.
4421 * nss/Makefile: Update to build new makedb program.
4422
c71ca1f8
AJ
44232011-06-14 Andreas Jaeger <aj@suse.de>
4424
4425 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4426 memset declaration.
4427
3154bfb8
UD
44282011-06-10 Andreas Schwab <schwab@redhat.com>
4429
4430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4431 tmpbuf.
4432
b350afab
RM
44332011-06-10 Roland McGrath <roland@hack.frob.com>
4434
decd4e50
RM
4435 * Makerules (shlib.lds): Fail if the linker script comes out empty.
4436 * elf/Makefile ($(objpfx)ld.so): Likewise.
4437
5615eaf2
RM
4438 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4439 Don't list ld.so twice in dependencies.
4440
4441 * posix/bug-regex31.c: Include <stdlib.h>.
4442
4443 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4444
4445 * nis/nss_compat/compat-spwd.c
4446 (getspent_next_nss_netgr): Remove unused variable.
4447 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4448
4449 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4450 nonmembers" output to use the right array.
4451
4452 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4453
4454 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
4455
4456 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
4457 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
4458 * catgets/gencat.c (read_input_file): Likewise.
4459 * locale/programs/locarchive.c (enlarge_archive): Likewise.
4460
4461 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
4462 variable definition inside #if's controlling its use.
4463
4464 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
4465
4466 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
4467
4468 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
4469
4470 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
4471 unreachable code.
4472
4473 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
4474
b68e08db
RM
4475 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4476 * configure: Regenerated.
4477
b350afab
RM
4478 * Makerules: Revert last change.
4479 * elf/Makefile: Likewise.
4480
28368601
RM
44812011-06-09 Roland McGrath <roland@hack.frob.com>
4482
4483 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4484 * elf/Makefile ($(objpfx)librtld.os): Likewise.
4485 (reloc-link): Likewise.
4486
11988f8f
UD
44872011-06-09 Ulrich Drepper <drepper@gmail.com>
4488
4489 * elf/Makefile: Add rules to build pldd.
4490 * elf/pldd.c: New file.
4491 * elf/pldd-xx.c: New file.
4492
e80fab37
UD
44932011-06-07 Ulrich Drepper <drepper@gmail.com>
4494
4495 * version.h: Update for 2.15 development version.
4496
9b849836
DM
44972011-06-07 David S. Miller <davem@davemloft.net>
4498
4499 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4500 ifuncs.
4501 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4502 elf_machine_lazy_rel): Likewise.
4503 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4505 elf_machine_lazy_rel): Likewise.
4506 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4507 dl_hwcap via passed in argument.
4508 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4509 Likewise.
4510
5a31b283
AK
45112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4512
4513 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
4514
069e52f8
RM
45152011-06-06 Roland McGrath <roland@hack.frob.com>
4516
4517 [BZ #12849]
4518 * manual/fdl-1.1.texi: New file, verbatim from:
4519 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4520 * manual/lgpl-2.1.texi: New file, verbatim from:
4521 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4522 * manual/Makefile (licenses): New variable, list those new file names.
4523 (texis): Use it.
4524 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4525
4526 * manual/fdl.texi: File removed.
4527 * manual/lesser.texi: File removed.
4528 * manual/libc.texinfo (Copying, Documentation License):
4529 Use new @include file names, put @appendix directive before @include.
4530
f16846a5
JJ
45312011-06-04 Jakub Jelinek <jakub@redhat.com>
4532
4533 [BZ #12841]
4534 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4535 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4536 (mq_open): Add __NTH.
4537
3d29045b
L
45382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
4539
4540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4541 Assume Intel Core i3/i5/i7 processor if AVX is available.
4542
8c297311
UD
45432011-05-31 Ulrich Drepper <drepper@gmail.com>
4544
4545 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4546 typo.
4547
c8fc0c91
UD
45482011-05-31 Andreas Schwab <schwab@redhat.com>
4549
4550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4551 memory. Use alloca_account. Fix memory leak when retrying.
4552
5b27a807
UD
45532011-05-31 Ulrich Drepper <drepper@gmail.com>
4554
356f8bc6
UD
4555 * version.h (RELEASE): Bump for 2.14 release.
4556 * include/features.h (__GLIBC_MINOR__): Bump to 14.
4557
5b27a807
UD
4558 * config.make.in (RANLIB): Remove entry.
4559
01f16ab0
UD
45602011-05-30 Ulrich Drepper <drepper@gmail.com>
4561
41fce8bd
UD
4562 * po/Makefile (po-sed-cmd): Add ksh to extensions.
4563 (libc.pot): Work around missing support for .ksh extension in xgettext.
4564
4769ae77
UD
4565 [BZ #12684]
4566 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4567 if both request failed.
4568 (send_dg): In case of server errors clear resplen or *resplen2.
4569
6b1e7d19
UD
4570 [BZ #12454]
4571 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4572 when there are multiple maps.
4573 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4574 (_dl_fini): Remove test here.
4575
01f16ab0
UD
4576 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4577
b1ebd700
UD
45782011-05-29 Ulrich Drepper <drepper@gmail.com>
4579
7ae22829
UD
4580 [BZ #12350]
4581 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4582 bit from old_res_options.
4583 (gaih_inet): Likewise.
4584
553149f6 4585 [BZ #11099]
18a84741 4586 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
4587 as signed.
4588
652ffab1
UD
4589 * resolv/res_init.c (res_setoptions): Make the code more compact.
4590
16985fd0
UD
4591 [BZ #11558]
4592 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4593 set RES_USEVC.
4594
0464f746
UD
4595 [BZ #11634]
4596 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4597
7d17596c
UD
4598 * malloc/malloc.h: Mark malloc hook variables as deprecated.
4599
cf6bbbd7
UD
4600 [BZ #11781]
4601 * malloc/malloc.h: Declare malloc hook variables as volatile.
4602
13f1ab36
UD
4603 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
4604 in last patch.
4605
b1ebd700
UD
4606 [BZ #11799]
4607 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 4608 raise in the comment.
80e2212d
UD
4609 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4610 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4611 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 4612
ce67228d
UD
46132011-05-28 Ulrich Drepper <drepper@gmail.com>
4614
8887a920
UD
4615 [BZ #12811]
4616 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
4617 grow the buffers more if it already has to be sufficient.
4618 (build_wcs_upper_buffer): Likewise.
4619 * posix/regexec.c (check_matching): Likewise.
4620 (clean_state_log_if_needed): Likewise.
4621 (extend_buffers): Don't enlarge buffers beyond size of the input
4622 buffer.
4623 Patches mostly by Emil Wojak <emil@wojak.eu>.
4624 * posix/bug-regex32.c: New file.
4625 * posix/Makefile (tests): Add bug-regex32.
4626
4f031072
UD
4627 * locale/findlocale.c (_nl_find_locale): Return right away if
4628 _nl_explode_name failed.
4629 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4630
d0478f0c
UD
4631 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
4632
de81b246
UD
4633 * debug/xtrace.sh: Unify messages.
4634 * malloc/memusage.sh: Likewise.
4635
c738465a
UD
4636 [BZ #12813]
4637 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
4638 time symbol from vDSO. Substitute with vsyscall if not available.
4639 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
4640 __vdso_time.
4641
f1f929d7
UD
4642 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
4643 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
4644 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
4645 Add sendmmsg and internal_sendmmsg.
4646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
4647 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
4648 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
4649
ce67228d
UD
4650 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
4651 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
4652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
4653
e57420c6
UD
46542011-05-27 Ulrich Drepper <drepper@gmail.com>
4655
a8509ca5
UD
4656 [BZ #12813]
4657 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4658 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
4659 available.
4660 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4661 __vdso_getcpu.
4662
e57420c6
UD
4663 [BZ #12814]
4664 * iconvdata/Makefile (tests): Add bug-iconv9.
4665 * iconvdata/bug-iconv9.c: New file.
4666
4d07db15
AS
46672011-05-27 Andreas Schwab <schwab@redhat.com>
4668
4669 [BZ #12814]
4670 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4671
ea486f69
JJ
46722011-05-25 Jakub Jelinek <jakub@redhat.com>
4673
4674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4675 (struct user_regs_struct): Change intcs field back to cs.
4676
6f038433
UD
46772011-05-25 Ulrich Drepper <drepper@gmail.com>
4678
4679 * po/ja.po: Update from translation team.
4680
67f86a25
UD
46812011-05-23 Ulrich Drepper <drepper@gmail.com>
4682
4683 [BZ #12795]
4684 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4685 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4686
def7fbd6
AS
46872011-05-20 Andreas Schwab <schwab@redhat.com>
4688
4689 * stdlib/longlong.h: Update from GCC.
4690
f50ef8f1
AS
46912011-05-23 Andreas Schwab <schwab@redhat.com>
4692
4693 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4694 parameter name.
4695 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4696 Add parameter name.
4697 (__sysconf): Pass it down.
4698
de7ce8f1
UD
46992011-05-22 Ulrich Drepper <drepper@gmail.com>
4700
f2962a71
UD
4701 [BZ #12671]
4702 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4703 some situations.
4704 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4705 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4706 add in in __libc_use_alloca calls. Adjust callers.
4707 (glob): Use malloc in some situations.
4708
de7ce8f1
UD
4709 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4710 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4711 pltexit.
4712
aec84f53
UD
47132011-05-21 Ulrich Drepper <drepper@gmail.com>
4714
05bb4a68
UD
4715 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4716 and CLOCK_BOOTTIME_ALARM.
4717
7ea72f99
UD
4718 [BZ #12782]
4719 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4720 is returned.
4721
7e4afad5
UD
4722 * string/_strerror.c (__strerror_r): Print negative errors as signed
4723 numbers.
4724
8e211fec
UD
4725 [BZ #12777]
4726 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4727 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4728 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4729
f7d82dc9
UD
4730 * configure.in: Fix typo in redirection and correct removal of test
4731 files in two cases.
4732
cc9e536d
UD
4733 [BZ #12788]
4734 * locale/setlocale.c (new_composite_name): Fix test to check for
4735 identical name of all categories.
4736
aec84f53
UD
4737 [BZ #12792]
4738 * libio/filedoalloc.c (local_isatty): New function.
4739 (_IO_file_doallocate): Use local_isatty.
4740 * stdio-common/perror.c (perror): In case a new stream is used
4741 forward the stream error.
4742 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4743 error flag.
4744
78e64fdc
RT
47452011-05-20 Ulrich Drepper <drepper@gmail.com>
4746
34a9094f
UD
4747 [BZ #11869]
4748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4749 alloca.
4750 * include/alloca.h (extend_alloca_account): Define.
4751
78e64fdc
RT
4752 [BZ #11857]
4753 * posix/regex.h: Fix comments with documentation of user-accessible
4754 fields after compilation and describe correct free'ing of pattern
4755 after re_compile_pattern.
4756 Patch by Reuben Thomas <rrt@sc3d.org>.
4757
457bddfc
RA
47582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4759
4760 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4761 and -mno-altivec to prevent the compiler from using Altivec and/or
4762 VSX instructions when the corresponding registers are not available.
4763
a4527b51
AS
47642011-05-19 Andreas Schwab <schwab@redhat.com>
4765
4766 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4767
ed690b2f
UD
47682011-05-19 Ulrich Drepper <drepper@gmail.com>
4769
4770 * libio/freopen.c (freopen): Use __dup2, not dup2.
4771 * libio/freopen64.c (freopen64): Likewise.
4772
8db73634
L
47732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 [BZ #12775]
4776 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4777 * math/Makefile (tests): Add test-powl.
4778 (CFLAGS-test-powl.c): Define.
4779 * math/test-powl.c: New file.
4780
0a197a9d
L
47812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
4782
4783 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4784
ee30c380
UD
47852011-05-17 Ulrich Drepper <drepper@gmail.com>
4786
4787 [BZ #11837]
4788 * iconvdata/gb18030.c: Update to GB18020-2005.
4789
6ce75379
UD
47902011-05-16 Ulrich Drepper <drepper@gmail.com>
4791
a4b89fd8
AR
4792 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4793 RE_SYNTAX_POSIX_AWK): Update to match recent development.
4794 Patch by Aharon Robbins <arnold@skeeve.com>.
4795
ea389b12
UD
4796 [BZ #11892]
4797 * stdlib/putenv.c (putenv): Don't always create copy of the variable
4798 on the stack.
4799
68a3f91f
UD
4800 [BZ #11895]
4801 * misc/pselect.c (__pselect): Handle timeout value errors hidden
4802 through underflows.
4803
15cc7dd1
UD
4804 [BZ #12766]
4805 * misc/error.c (error_at_line): Ensure file_name and old_file_name
4806 point to strings before performing equality test for error_one_per_line
4807 mode.
4808
f3799213
UD
4809 [BZ #11697]
4810 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4811
d79a9c94
UD
4812 [BZ #11820]
4813 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4814 (struct user_fpregs_struct): Avoid __uint*_t types.
4815
56e5eb46
UD
4816 [BZ #6420]
4817 * malloc/mtrace.c (tr_where): Add additional parameter to point to
4818 symbol info. Use it instead of calling _dl_addr locally.
4819 (lock_and_info): New function.
4820 (tr_freehook): Call lock_and_info and pass symbol info as additional
4821 parameter to tr_where.
4822 (tr_mallochook): Likewise.
4823 (tr_reallochook): Likewise.
4824 (tr_memalignhook): Likewise.
4825
6ce75379
UD
4826 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
4827 used and couldn't be at all thread-safe.
4828
f8a3b5bf
UD
48292011-05-15 Ulrich Drepper <drepper@gmail.com>
4830
94b7cc37
UD
4831 * libio/freopen.c (freopen): Don't close old file descriptor
4832 before the new one is opened. Instead dup the new file descriptor
4833 to the old one after the new stream is created.
4834 * libio/freopen64.c (freopen64): Likewise.
4835 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4836 * libio/fileops.c (_IO_new_file_close_it): Handle new
4837 _IO_FLAGS2_NOCLOSE flag.
4838 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4839 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4840 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4841 _IO_FLAGS2_NOCLOSE flag.
4842 * include/unistd.h: Add hidden_proto for dup3.
4843 Define __have_dup3.
4844 * io/dup3.c: Define hidden symbol.
4845 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4846
bd25564e
UD
4847 [BZ #7101]
4848 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4849 when an incomplete long option is used.
4850 * posix/tst-getopt_long1.c: New file.
4851 * posix/Makefile (tests): Add tst-getopt_long1.
4852
c84cfef4
UD
4853 [BZ #10138]
4854 * scripts/config.guess: Update from autoconf-2.68.
4855 * scripts/config.sub: Likewise.
4856
3b85df27
UD
4857 [BZ #10157]
4858 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4859 tests into ...
4860 (has_cpuclock): ...this. New function.
4861 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4862 macro here based on has_cpuclock code.
4863
15a856b1
UD
4864 [BZ #10149]
4865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4866 First byte (not low byte) is now always NUL.
4867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4868
05f399e6
UD
4869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4870 Use non-cancelable interfaces.
4871
10a52685 4872 [BZ #9809]
94ecc67d
UD
4873 * locale/iso-639.def: Add entry for Sorani.
4874
f8a3b5bf
UD
4875 [BZ #11901]
4876 * include/stdlib.h: Move include protection to the right place.
4877 Define abort_msg_s. Declare __abort_msg with it.
4878 * stdlib/abort.c (__abort_msg): Adjust type.
4879 * assert/assert.c (__assert_fail_base): New function. Majority
4880 of code from __assert_fail. Allocate memory for __abort_msg with
4881 mmap.
4882 (__assert_fail): Now call __assert_fail_base.
4883 * assert/assert-perr.c: Remove bulk of implementation. Use
4884 __assert_fail_base.
4885 * include/assert.hL Declare __assert_fail_base.
4886 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4887 mmap.
4888 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4889
1af4e298
UD
48902011-05-14 Ulrich Drepper <drepper@gmail.com>
4891
f8a3b5bf 4892 [BZ #11952]
d26dfc60
MG
4893 [BZ #12453]
4894 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4895 until all modules are registered in the DTV.
4896 * elf/Makefile: Add rules to build and run tst-tls19.
4897 * elf/tst-tls19.c: New file.
4898 * elf/tst-tls19mod1.c: New file.
4899 * elf/tst-tls19mod2.c: New file.
4900 * elf/tst-tls19mod3.c: New file.
4901 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4902
2fc54d6f
UD
4903 [BZ #12083]
4904 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4905 correctly.
4906
98d76b46
UD
4907 [BZ #12601]
4908 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4909 two-byte sequence errors.
4910 * iconvdata/Makefile (tests): Add bug-iconv8.
4911 * iconvdata/bug-iconv8.c: New file.
4912
da3c19ef
UD
4913 [BZ #12626]
4914 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4915 buf2 definition.
4916
ca408c15
UD
4917 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4918
d6f67f7d
UD
4919 [BZ #12432]
4920 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4921 (dummy_getcfa): New function.
4922 (init): Get _Unwind_GetCFA address, use dummy if not found.
4923 (backtrace_helper): In recursion check, also check whether CFA changes.
4924 (__backtrace): Completely initialize arg.
4925
1af4e298 4926 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
4927 storing incomplete byte sequence in state object. Avoid testing for
4928 guaranteed too small input if we know there is enough data available.
1af4e298 4929
da62f81b
AS
49302011-05-11 Andreas Schwab <schwab@redhat.com>
4931
4932 * Makeconfig (+link-pie): Indent.
4933 * Rules (binaries-pie): Define if $(have-fpie) and
4934 $(build-shared).
4935 (binaries-shared): Also filter out $(binaries-pie).
4936 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4937 * nscd/Makefile (others-pie): Add nscd.
4938 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4939 ($(objpfx)nscd): Remove command override.
4940 * login/Makefile (others-pie): Add pt_chown.
4941 ($(objpfx)pt_chown): Remove command override.
4942 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4943 remove command overrides.
4944
fcabc0f8
UD
49452011-05-13 Ulrich Drepper <drepper@gmail.com>
4946
20030ae6
UD
4947 * libio/tst_putwc.c: Fix error messages.
4948
fcabc0f8
UD
4949 [BZ #12724]
4950 * libio/fileops.c (_IO_new_file_close_it): Always flush when
4951 currently writing and seek to current position when not.
4952 * libio/Makefile (tests): Add bug-fclose1.
4953 * libio/bug-fclose1.c: New file.
4954
320a5dc0
PB
49552011-05-12 Ulrich Drepper <drepper@gmail.com>
4956
4957 [BZ #12511]
4958 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4959 don't set DF_1_NODELETE here.
4960 (do_lookup_x): When entering new entry test for copy relocation
4961 and if necessary set DF_1_NODELETE flag.
4962 * elf/tst-unique4.cc: New file.
4963 * elf/tst-unique4.h: New file.
4964 * elf/tst-unique4lib.cc: New file.
4965 * elf/Makefile: Add rules to build and run tst-unique4.
4966 Patch by Piotr Bury <pbury@goahead.com>.
4967
22836f52
UD
49682011-05-11 Ulrich Drepper <drepper@gmail.com>
4969
f574184a
UD
4970 [BZ #12052]
4971 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4972
e1fb097f
UD
4973 [BZ #12625]
4974 * misc/mntent_r.c (addmntent): Flush the stream after the output
4975
22836f52
UD
4976 [BZ #12393]
4977 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4978 (is_trusted_path_normalize): Skip initial colon. Append slash
4979 to empty buffer. Duplicate is_trusted_path code but allow
4980 constructed patch to be prefix.
4981 (is_dst): Allow $ORIGIN followed by /.
4982 (_dl_dst_substitute): Correct clearing of check_for_trusted.
4983 Correct testing of result of is_trusted_path_normalize
4984 (decompose_rpath): Fix warning.
4985
7b3b0b2a
UD
49862011-05-10 Ulrich Drepper <drepper@gmail.com>
4987
4988 [BZ #11257]
4989 * grp/initgroups.c (internal_getgrouplist): When we found the service
4990 list through the initgroups entry in nsswitch.conf do not always
4991 continue on a successful lookup. Don't always use the
eac80ce2 4992 __nss_group_database value if it is set.
7b3b0b2a
UD
4993 * nss/nsswitch.conf (initgroups): Change action for successful db
4994 lookup to continue for compatibility.
4995
2a81eaa5
UD
49962011-05-09 Ulrich Drepper <drepper@gmail.com>
4997
be97a69e
UD
4998 [BZ #11532]
4999 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
5000 and CP774 modules.
5001 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
5002 and CP774 modules.
5003 * iconvdata/tst-tables.sh: Likewise.
5004 * iconvdata/cp770.c: New file.
5005 * iconvdata/cp771.c: New file.
5006 * iconvdata/cp772.c: New file.
5007 * iconvdata/cp773.c: New file.
5008 * iconvdata/cp774.c: New file.
5009 * iconvdata/testdata/CP770: New file.
5010 * iconvdata/testdata/CP770..UTF8: New file.
5011 * iconvdata/testdata/CP771: New file.
5012 * iconvdata/testdata/CP771..UTF8: New file.
5013 * iconvdata/testdata/CP772: New file.
5014 * iconvdata/testdata/CP772..UTF8: New file.
5015 * iconvdata/testdata/CP773: New file.
5016 * iconvdata/testdata/CP773..UTF8: New file.
5017 * iconvdata/testdata/CP774: New file.
5018 * iconvdata/testdata/CP774..UTF8: New file.
5019
5020 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
5021 END CHARMAP line.
5022 * iconvdata/gen-8bit-gap.sh: Likewise.
5023 * iconvdata/gen-8bit.sh: Likewise.
5024
c1e9e399
UD
5025 * locale/iso-639.def: Add ary entry.
5026
24c55fb3 5027 [BZ #11258]
96b4b1b0
UD
5028 * locale/C-translit.h.in: Add U20A1 transliteration.
5029
bdc2f971
KB
5030 [BZ #12178]
5031 * locale/iso-639.def: Add wae entry.
5032 Patch by Kevin Bortis <bortis@translate-wae.ch>.
5033
2952b117
UD
5034 [BZ #12545]
5035 * locale/programs/localedef.c (construct_output_path): Use ssize_t
5036 for n.
5037
2a81eaa5
UD
5038 [BZ #12711]
5039 * locale/C-translit.h.in: Add entry for U20B9.
5040 Patch by pravin.d.s@gmail.com.
5041
28377d1b
UD
50422011-05-08 Ulrich Drepper <drepper@gmail.com>
5043
7fb90fb8
UD
5044 [BZ #12713]
5045 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
5046 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
5047 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
5048 in rtld. Use *stat64.
7fb90fb8 5049 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 5050 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 5051 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
5052 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
5053 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
5054 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
5055 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
5056 __fstatat64 macros.
7fb90fb8
UD
5057 * include/dirent.h: Add libc_hidden_proto for rewinddir.
5058 * dirent/rewinddir.c: Add libc_hidden_def.
5059 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 5060 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 5061
28377d1b
UD
5062 * include/dirent.h (__alloc_dir): Add flags parameter.
5063 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
5064 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
5065 __alloc_dir.
5066 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
5067 from fdopendir if O_CLOEXEC is already set.
5068
66bdbaa4
AM
50692011-03-15 Alan Modra <amodra@gmail.com>
5070
5071 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
5072 l_tls_firstbyte_offset non-zero. Save padding offset in
5073 l_tls_firstbyte_offset for later use.
5074 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
5075 freeing static tls block.
5076
95721191
JN
50772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
5078
5079 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
5080 where #ifdef was intended. The intent is to prevent ARG_MAX from
5081 being defined by the kernel headers.
5082
f87dfb1f
UD
50832011-05-07 Ulrich Drepper <drepper@gmail.com>
5084
5085 [BZ #12734]
5086 * resolv/resolv.h: Define RES_NOTLDQUERY.
5087 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
5088 no-tld-query and set RES_NOTLDQUERY.
5089 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
5090 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
5091 modern BIND to search name as TLD unless forbidden.
5092
47c3cd7a
UD
50932011-05-07 Petr Baudis <pasky@suse.cz>
5094 Ulrich Drepper <drepper@gmail.com>
5095
5096 [BZ #12393]
5097 * elf/dl-load.c (fillin_rpath): Move trusted path check...
5098 (is_trusted_path): ...to here.
c1e9ea35 5099 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 5100 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 5101 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 5102
8a35c912
PP
51032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5104
5105 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
5106 __BEGIN/__END_DECLS.
5107
acd41f47
UD
51082011-05-06 Ulrich Drepper <drepper@gmail.com>
5109
5110 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
5111 NSS_STATUS_NOTFOUND if no record was found.
5112
597df647
AS
51132011-05-05 Andreas Schwab <schwab@redhat.com>
5114
5115 * sunrpc/Makefile (headers): Add rpc/netdb.h.
5116 (headers-not-in-tirpc): Remove rpc/netdb.h
5117 * resolv/netdb.h: Revert last change.
5118
b9af1301
PP
51192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5120
5121 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
5122 circular dependency between libgcc.a and libc.a.
5123
4e34d5f5
AS
51242011-05-05 Andreas Schwab <schwab@redhat.com>
5125
5126 * resolv/netdb.h: Don't include <rpc/netdb.h>.
5127 * nis/Makefile: Don't install rpcsvc/*.
5128 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
5129 instead of <rpc/types.h>.
5130 (MAXHOSTNAMELEN): Define.
5131
00ee369c
AS
51322011-05-03 Andreas Schwab <schwab@redhat.com>
5133
5134 * elf/ldconfig.c (add_dir): Don't crash on empty path.
5135
0b592a30
MB
51362011-04-28 Maciej Babinski <mbabinski@google.com>
5137
5138 [BZ #12714]
5139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
5140 gethostbyname4_r when IPv6 results are possible.
5141
6e04cbbe
UD
51422011-05-02 Ulrich Drepper <drepper@gmail.com>
5143
5144 [BZ #12723]
5145 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
5146 _PC_PIPE_BUF handling.
5147
e4ecafe0
BH
51482011-04-30 Bruno Haible <bruno@clisp.org>
5149
5150 [BZ #12717]
5151 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
5152 * resolv/netdb.h (getnameinfo): Change type of flags parameter
5153 to 'int'.
5154 * inet/getnameinfo.c (getnameinfo): Likewise.
5155
125ee683
UD
51562011-04-29 Ulrich Drepper <drepper@gmail.com>
5157
5158 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5159 to groups setting in database lookup.
5160 * nss/nsswitch.conf: Add initgroups entry.
5161
b722481a
EB
51622011-04-22 Ulrich Drepper <drepper@gmail.com>
5163
5164 [BZ #12685]
5165 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5166 mode string.
5167 Patch by Eric Blake <eblake@redhat.com>.
5168
4df46dbd
L
51692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5170
5171 * sunrpc/Makefile (need-export-routines): Add svc_run.
5172 (routines): Remove svc_run.
5173 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5174 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5175 * sunrpc/svc_run.c (svc_run): Likewise.
5176 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5177
e84142d2
UD
51782011-04-21 Ulrich Drepper <drepper@gmail.com>
5179
5180 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5181 problem in reallocation in last patch.
5182
877175d8
UD
51832011-04-20 Ulrich Drepper <drepper@gmail.com>
5184
5185 * sunrpc/Makefile: Move inclusion of Rules.
5186
ab8eed78
UD
51872011-04-19 Ulrich Drepper <drepper@gmail.com>
5188
5189 * nss/nss_files/files-initgroups.c: New file.
5190 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5191 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5192 _nss_files_initgroups_dyn.
5193
e3d8f584
RS
51942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5195
5196 * elf/elf.h (R_ARM_IRELATIVE): Define.
5197
af190f45
UD
51982011-04-19 Ulrich Drepper <drepper@gmail.com>
5199
5200 * po/ru.po: Update from translation team.
5201
53cf59ef
UD
52022011-04-17 Ulrich Drepper <drepper@gmail.com>
5203
5204 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5205 dependencies.
5206
4c559bcd
MF
52072011-02-06 Mike Frysinger <vapier@gentoo.org>
5208
5209 [BZ #12653]
5210 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5211 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5212 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5213 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5215
4420675c
AS
52162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
5217
5218 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5219 differing bytes.
5220 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5221 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5222 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5223
75ea32ab
UD
52242011-04-17 Ulrich Drepper <drepper@gmail.com>
5225
5226 [BZ #12420]
5227 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5228 storing it.
5229 * stdlib/bug-getcontext.c: New file.
5230 * stdlib/Makefile: Add rules to build and run bug-getcontext.
5231
27390476
AK
52322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5233
5234 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5235 instructions into .machine "z9-109".
5236 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5237 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5238
10442705
AK
52392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5240
5241 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5242 between environment variables and auxiliary vector.
5243
7b57bfe5
UD
52442011-04-16 Ulrich Drepper <drepper@gmail.com>
5245
5246 * Makefile: Add rules to build linkobj/libc.so.
5247 * include/libc-symbols.h: Define libc_hidden_nolink.
5248 * include/rpc/auth.h: Mark functions which are to be hidden.
5249 * include/rpc/auth_des.h: Likewise.
5250 * include/rpc/auth_unix.h: Likewise.
5251 * include/rpc/clnt.h: Likewise.
5252 * include/rpc/des_crypt.h: Likewise.
5253 * include/rpc/key_prot.h: Likewise.
5254 * include/rpc/pmap_clnt.h: Likewise.
5255 * include/rpc/pmap_prot.h: Likewise.
5256 * include/rpc/pmap_rmt.h: Likewise.
5257 * include/rpc/rpc_msg.h: Likewise.
5258 * include/rpc/svc.h: Likewise.
5259 * include/rpc/svc_auth.h: Likewise.
5260 * include/rpc/xdr.h: Likewise.
5261 * nis/Makefile: Link all DSOs against linkobj/libc.so.
5262 * nss/Makefile: Likewise.
5263 * sunrpc/Makefile: Don't install headers. Build library with normal
5264 entry points. Don't build rpcinfo. Link RPC tests appropriately.
5265 * sunrpc/auth_des.c: Hide exported symbols by default, export some
5266 for the compat linking library. Remove use of INTDEF/INTUSE.
5267 * sunrpc/auth_none.c: Likewise.
5268 * sunrpc/auth_unix.c: Likewise.
5269 * sunrpc/authdes_prot.c: Likewise.
5270 * sunrpc/authuxprot.c: Likewise.
5271 * sunrpc/clnt_gen.c: Likewise.
5272 * sunrpc/clnt_perr.c: Likewise.
5273 * sunrpc/clnt_raw.c: Likewise.
5274 * sunrpc/clnt_simp.c: Likewise.
5275 * sunrpc/clnt_tcp.c: Likewise.
5276 * sunrpc/clnt_udp.c: Likewise.
5277 * sunrpc/clnt_unix.c: Likewise.
5278 * sunrpc/des_crypt.c: Likewise.
5279 * sunrpc/des_soft.c: Likewise.
5280 * sunrpc/get_myaddr.c: Likewise.
5281 * sunrpc/key_call.c: Likewise.
5282 * sunrpc/key_prot.c: Likewise.
5283 * sunrpc/netname.c: Likewise.
5284 * sunrpc/pm_getmaps.c: Likewise.
5285 * sunrpc/pm_getport.c: Likewise.
5286 * sunrpc/pmap_clnt.c: Likewise.
5287 * sunrpc/pmap_prot.c: Likewise.
5288 * sunrpc/pmap_prot2.c: Likewise.
5289 * sunrpc/pmap_rmt.c: Likewise.
5290 * sunrpc/publickey.c: Likewise.
5291 * sunrpc/rpc_cmsg.c: Likewise.
5292 * sunrpc/rpc_common.c: Likewise.
5293 * sunrpc/rpc_dtable.c: Likewise.
5294 * sunrpc/rpc_prot.c: Likewise.
5295 * sunrpc/rpc_thread.c: Likewise.
5296 * sunrpc/rtime.c: Likewise.
5297 * sunrpc/svc.c: Likewise.
5298 * sunrpc/svc_auth.c: Likewise.
5299 * sunrpc/svc_authux.c: Likewise.
5300 * sunrpc/svc_raw.c: Likewise.
5301 * sunrpc/svc_run.c: Likewise.
5302 * sunrpc/svc_simple.c: Likewise.
5303 * sunrpc/svc_tcp.c: Likewise.
5304 * sunrpc/svc_udp.c: Likewise.
5305 * sunrpc/svc_unix.c: Likewise.
5306 * sunrpc/svcauth_des.c: Likewise.
5307 * sunrpc/xcrypt.c: Likewise.
5308 * sunrpc/xdr.c: Likewise.
5309 * sunrpc/xdr_array.c: Likewise.
5310 * sunrpc/xdr_float.c: Likewise.
5311 * sunrpc/xdr_intXX_t.c: Likewise.
5312 * sunrpc/xdr_mem.c: Likewise.
5313 * sunrpc/xdr_rec.c: Likewise.
5314 * sunrpc/xdr_ref.c: Likewise.
5315 * sunrpc/xdr_sizeof.c: Likewise.
5316 * sunrpc/xdr_stdio.c: Likewise.
5317
e6c61494
UD
53182011-04-10 Ulrich Drepper <drepper@gmail.com>
5319
5320 [BZ #12650]
5321 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5322 * sysdeps/ia64/dl-tls.h: Likewise.
5323 * sysdeps/powerpc/dl-tls.h: Likewise.
5324 * sysdeps/s390/dl-tls.h: Likewise.
5325 * sysdeps/sh/dl-tls.h: Likewise.
5326 * sysdeps/sparc/dl-tls.h: Likewise.
5327 * sysdeps/x86_64/dl-tls.h: Likewise.
5328 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5329
34fe483e
AS
53302011-03-14 Andreas Schwab <schwab@redhat.com>
5331
5332 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5333 rpath element also skip the following colon.
5334 (expand_dynamic_string_token): Add is_path parameter and pass
5335 down to DL_DST_REQUIRED and _dl_dst_substitute.
5336 (decompose_rpath): Call expand_dynamic_string_token with
5337 non-zero is_path. Ignore empty rpaths.
5338 (_dl_map_object_from_fd): Call expand_dynamic_string_token
5339 with zero is_path.
5340
f12a32e6
AS
53412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
5342
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5344 Make cancelable.
5345
38a7d692
UD
53462011-04-09 Ulrich Drepper <drepper@gmail.com>
5347
5348 [BZ #12655]
5349 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5350 Patch by Filipe David Manana <fdmanana@apache.org>.
5351
e451d22b
AS
53522011-04-07 Andreas Schwab <schwab@redhat.com>
5353
5354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5355 Maintain aligned stack.
5356 (CHECK_RSP): Remove unused macro.
5357
dedc7c7b
UD
53582011-04-03 Ulrich Drepper <drepper@gmail.com>
5359
5360 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5361 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5362
94521213
UD
53632011-04-02 Ulrich Drepper <drepper@gmail.com>
5364
5365 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5366
8cb700c0 5367 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 5368
0354e355
L
53692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
5370
5371 [BZ #12518]
5372 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5373 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5374 * sysdeps/x86_64/memmove.c: New file.
5375 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5376 (memcpy): Renamed to ...
5377 (__new_memcpy): This.
5378 (memcpy): Provide GLIBC_2_14 memcpy.
5379 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5380 (memcpy): Provide GLIBC_2_2_5 memcpy.
5381
8593482f
UD
53822011-04-01 Ulrich Drepper <drepper@gmail.com>
5383
5384 [BZ #12631]
5385 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5386
81a5726b
AS
53872011-03-30 Andreas Schwab <schwab@redhat.com>
5388
5389 * misc/syncfs.c: New file.
5390 * misc/Makefile (routines): Add syncfs.
5391 * posix/unistd.h: Declare syncfs.
5392 * sysdeps/unix/syscalls.list: Add syncfs.
5393
00e5419f
AS
53942011-04-01 Andreas Schwab <schwab@redhat.com>
5395
5396 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5397 open_by_handle_at.
5398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5403 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5405
748876bf
UD
54062011-04-01 Ulrich Drepper <drepper@gmail.com>
5407
658e451d
UD
5408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5409 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5410 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5411 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5412 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5415
748876bf
UD
5416 * io/Makefile: Compile fallocate.c, fallocate64.c, and
5417 sync_file_range.c with -fexceptions.
5418 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5419 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5420 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5421 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5422 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5423 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5424 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
5425 sync_file_range as cancellation point
5426 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
5427 now a wrapper around __call_sync_file_range with cancellation handling.
5428 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5429 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
5430 function name to __call_sync_file_range.
5431 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5432 Add call_sync_file_range.
748876bf 5433
6e63d5e1
AS
54342011-04-01 Andreas Schwab <schwab@redhat.com>
5435
5436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 5437 bits/timex.h.
6e63d5e1 5438
46998f74
UD
54392011-04-01 Ulrich Drepper <drepper@gmail.com>
5440
4c1423ed
UD
5441 * iconv/iconv.h: Fix typo in comment.
5442 * io/fcntl.h: Likewise.
5443 * libio/stdio.h: Likewise.
5444 * posix/spawn.h: Likewise.
5445 * posix/unistd.h: Likewise.
5446 * stdlib/stdlib.h: Likewise.
5447 * time/time.h: Likewise.
5448 * wcsmbs/wchar.h: Likewise.
5449
158648c0
UD
5450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5451 open_by_handle): Add.
5452 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5453 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
5454 Augment a few comments.
5455 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5460 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
5461 open_by_handle.
5462
46998f74
UD
5463 * io/fcntl.h (AT_EMPTY_PATH): Define.
5464
83fe108b
UD
54652011-03-30 Ulrich Drepper <drepper@gmail.com>
5466
5467 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
5468 * sysdeps/unix/sysv/linux/bits/time.h: New file.
5469 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
5470 to...
5471 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
5472 * Versions.def: Add GLIBC_2.14.
5473 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
5474 Export.
83fe108b 5475
bb242059
UD
54762011-03-22 Ulrich Drepper <drepper@gmail.com>
5477
5478 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5479 round counter.
5480 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5481
c97a1282
L
54822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
5483
5484 [BZ #12597]
5485 * string/test-strncmp.c (do_page_test): New function.
5486 (check2): Likewise.
5487 (test_main): Call check2.
5488 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5489
2a115601
UD
54902011-03-20 Ulrich Drepper <drepper@gmail.com>
5491
5492 [BZ #12587]
5493 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5494 Handle cache information in CPU leaf 4.
5495 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5496
8126d904
UD
54972011-03-18 Ulrich Drepper <drepper@gmail.com>
5498
042c49c6 5499 [BZ #12583]
8126d904
UD
5500 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5501 character representation.
5502 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5503
ccfe366e
RA
55042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
5505
5506 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5507 END(__isnan) to END(__isnanf) to match function entry point/label
5508 EALIGN(__isnanf,...).
5509
c6e13027
JJ
55102011-03-10 Jakub Jelinek <jakub@redhat.com>
5511
5512 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5513
33f85a3f
UD
55142011-03-10 Ulrich Drepper <drepper@gmail.com>
5515
028478fa
UD
5516 [BZ #12510]
5517 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5518 copy from the symbol referenced in the relocation to initialize the
5519 used variable.
5520 Patch by Piotr Bury <pbury@goahead.com>.
5521 * elf/Makefile: Add rules to build and tst-unique3.
5522 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5523 * elf/tst-unique3.cc: New file.
5524 * elf/tst-unique3.h: New file.
5525 * elf/tst-unique3lib.cc: New file.
5526 * elf/tst-unique3lib2.cc: New file.
5527
33f85a3f
UD
5528 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5529
03592fc7
MF
55302011-03-10 Mike Frysinger <vapier@gentoo.org>
5531
5532 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5533 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
5534 to _start.
03592fc7 5535
6a5ee102
UD
55362011-03-06 Ulrich Drepper <drepper@gmail.com>
5537
5538 * elf/dl-load.c (_dl_map_object): If we are looking for the first
5539 to-be-loaded object along a path to loader is ld.so.
5540
7e4ba49c
HJ
55412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5542 Ulrich Drepper <drepper@gmail.com>
5543
5544 * sysdeps/x86_64/memset.S: After aligning destination, code
5545 branches to different locations depending on the value of
5546 misalignment, when multiarch is enabled. Fix this.
5547
55482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5549
5550 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5551 Set _x86_64_preferred_memory_instruction for AMD processsors.
5552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5553 Set bit_Prefer_SSE_for_memop for AMD processors.
5554
13a804de
UD
55552011-03-04 Ulrich Drepper <drepper@gmail.com>
5556
5557 * libio/fmemopen.c (fmemopen): Optimize a bit.
5558
9d25c392
AS
55592011-03-03 Andreas Schwab <schwab@redhat.com>
5560
5561 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5562
a5543c6a
RM
55632011-03-03 Roland McGrath <roland@redhat.com>
5564
5565 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5566
012d35f7
DM
55672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
5568
7e4ba49c 5569 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
5570 __bzero_ultra1 instead of __memset_ultra1.
5571
4bff6e01
AS
55722011-02-23 Andreas Schwab <schwab@redhat.com>
5573 Ulrich Drepper <drepper@gmail.com>
5574
5575 [BZ #12509]
5576 * include/link.h (struct link_map): Add l_orig_initfini.
5577 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5578 returning unsuccessfully.
5579 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5580 close of a file loaded at startup, restore the original l_initfini
5581 list.
5582 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5583 list, store the pointer.
5584 * elf/Makefile ($(objpfx)noload-mem): New rule.
5585 (noload-ENV): Define.
5586 (tests): Add $(objpfx)noload-mem.
5587 * elf/noload.c: Include <memcheck.h>.
5588 (main): Call mtrace. Close all opened handles.
5589
f2092faf
AS
55902011-02-17 Andreas Schwab <schwab@redhat.com>
5591
5592 [BZ #12454]
5593 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5594 dependencies are missing.
5595
6c8a2e88
ST
55962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5597
f2092faf 5598 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
5599 Hurd needs munmap.
5600 * sysdeps/mach/hurd/ifreq.h: New file.
5601
84a42118
PB
56022011-01-27 Petr Baudis <pasky@suse.cz>
5603 Ulrich Drepper <drepper@gmail.com>
5604
071f805e 5605 [BZ 12445]#
84a42118
PB
5606 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
5607 to extend_alloca().
5608 * stdio-common/bug23.c: New file.
5609 * stdio-common/Makefile (tests): Add bug23.
5610
e23fe25b
AS
56112010-09-28 Andreas Schwab <schwab@redhat.com>
5612 Ulrich Drepper <drepper@gmail.com>
5613
5614 [BZ #12489]
5615 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
5616 before performing relro protection. At old place add assertion
5617 to make sure nothing changed.
5618
d3f02e10
NS
56192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
5620 Glauber de Oliveira Costa <glommer@gmail.com>
5621
5622 * elf/elf.h: Add new ARM TLS relocs.
5623
d55fd7a5
RA
56242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
5625
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5627 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
5628 cast from r3.
5629 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
5630 'tests' variable.
5631 * sysdeps/wordsize-64/tst-writev.c: New file.
5632
2206397e
RA
56332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
5634
5635 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
5636 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
5637 insns in _dl_start to prevent a TOC reference before relocs are
5638 resolved.
5639
e9433893
UD
56402011-02-15 Ulrich Drepper <drepper@gmail.com>
5641
5642 [BZ #12469]
5643 * Makeconfig: Remove RANLIB definition.
5644 * Makerules: Don't use RANLIB.
5645 * aclocal.m4: Remove ranlib test.
5646 * configure.in: No need to check for ranlib.
5647 * elf/rtld-Rules: Don't use RANLIB.
5648
f75286c6
ST
56492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5650
8e31c82d
ST
5651 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
5652 protection macro.
5653 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5654 inclusion protection macro.
5655
f75286c6
ST
5656 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5657 SIGRTMIN and SIGRTMAX and print information in that case only when
5658 SIGRTMIN is defined.
5659
c1d0e639
JJ
56602011-02-11 Jakub Jelinek <jakub@redhat.com>
5661
5662 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5663 arginfo fn returning -1.
5664
5665 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5666 and thousands string is zero terminated.
5667
edf9294e
AS
56682011-02-03 Andreas Schwab <schwab@redhat.com>
5669
5670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5671 sysdeps/unix/sysv/linux/bits/socket.h.
5672
2b7e92df
ST
56732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5674
edf9294e
AS
5675 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5676 (__CPU_COUNT): Remove old macros.
5677 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5678 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5679 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
5680 (__sched_cpualloc, __sched_cpufree): Add declarations.
5681
a4c7ea7b
UD
56822011-02-05 Ulrich Drepper <drepper@gmail.com>
5683
5684 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5685 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5686 * nscd/aicache.c (addhstaiX): Return timeout of added value.
5687 (readdhstai): Return value of addhstaiX call.
5688 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5689 (addgrbyX): Return value returned by cache_addgr.
5690 (readdgrbyname): Return value returned by addgrbyX.
5691 (readdgrbygid): Likewise.
5692 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5693 (addpwbyX): Return value returned by cache_addpw.
5694 (readdpwbyname): Return value returned by addhstbyX.
5695 (readdpwbyuid): Likewise.
5696 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5697 (addservbyX): Return value returned by cache_addserv.
5698 (readdservbyname): Return value returned by addservbyX:
5699 (readdservbyport): Likewise.
5700 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5701 (addhstbyX): Return value returned by cache_addhst.
5702 (readdhstbyname): Return value returned by addhstbyX.
5703 (readdhstbyaddr): Likewise.
5704 (readdhstbynamev6): Likewise.
5705 (readdhstbyaddrv6): Likewise.
5706 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5707 (readdinitgroups): Return value returned by addinitgroupsX.
5708 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5709 (prune_cache): Keep track of timeout value of re-added entries.
5710 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5711 * nscd/nscd.h: Adjust prototypes of readd* functions.
5712
a0bf67cc
RM
57132011-02-04 Roland McGrath <roland@redhat.com>
5714
5715 * nis/nis_server.c (nis_servstate): Use the right name for 0.
5716 (nis_stats): Likewise.
5717 * nis/nis_modify.c (nis_modify): Likewise.
5718 * nis/nis_remove.c (nis_remove): Likewise.
5719 * nis/nis_add.c (nis_add): Likewise.
5720
5721 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5722
5723 * posix/fnmatch_loop.c: Add some consts.
5724
5725 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5726
435b95eb
L
57272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
5728
5729 [BZ #12460]
5730 * config.make.in (config-cflags-novzeroupper): Define.
5731 * configure.in: Substitute libc_cv_cc_novzeroupper.
5732 * elf/Makefile (AVX-CFLAGS): Define.
5733 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5734 (CFLAGS-tst-auditmod4a.c): Likewise.
5735 (CFLAGS-tst-auditmod4b.c): Likewise.
5736 (CFLAGS-tst-auditmod6b.c): Likewise.
5737 (CFLAGS-tst-auditmod6c.c): Likewise.
5738 (CFLAGS-tst-auditmod7b.c): Likewise.
5739 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5740
8517b15e
UD
57412011-02-02 Ulrich Drepper <drepper@gmail.com>
5742
5743 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5744 function to the callback.
5745 Patch partly by Jiri Olsa <jolsa@redhat.com>.
5746
10a656fe
AS
57472011-02-02 Andreas Schwab <schwab@redhat.com>
5748
5749 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5750 of errno.
5751
968dad0a
UD
57522011-01-19 Ulrich Drepper <drepper@gmail.com>
5753
9f94d2ea 5754 [BZ #11724]
968dad0a
UD
5755 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5756 of constructors.
5757 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5758 of destructors.
5759 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5760
5761 [BZ #11724]
5762 * elf/Makefile: Add rules to build and run new test.
5763 * elf/tst-initorder.c: New file.
5764 * elf/tst-initorder.exp: New file.
5765 * elf/tst-initordera1.c: New file.
5766 * elf/tst-initordera2.c: New file.
5767 * elf/tst-initordera3.c: New file.
5768 * elf/tst-initordera4.c: New file.
5769 * elf/tst-initorderb1.c: New file.
5770 * elf/tst-initorderb2.c: New file.
5771 * elf/tst-order-a1.c: New file.
5772 * elf/tst-order-a2.c: New file.
5773 * elf/tst-order-a3.c: New file.
5774 * elf/tst-order-a4.c: New file.
5775 * elf/tst-order-b1.c: New file.
5776 * elf/tst-order-b2.c: New file.
5777 * elf/tst-order-main.c: New file.
5778 New test case by George Gensure <werkt0@gmail.com>.
5779
86e92359
UD
57802010-10-01 Andreas Schwab <schwab@redhat.com>
5781
5782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5783 decoding ACE if AI_CANONIDN.
5784
5d5732b0
UD
57852011-01-18 Ulrich Drepper <drepper@gmail.com>
5786
5787 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5788
a77e8cbc
UD
57892011-01-17 Ulrich Drepper <drepper@gmail.com>
5790
6392473f
UD
5791 * version.h (RELEASE): Bump for 2.13 release.
5792 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5793
620a0529
UD
5794 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5795
18ba70a5
UD
5796 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5797 MADV_NOHUGEPAGE.
32465c3e
UD
5798 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5799 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5801 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5803 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5804
c0dafcf1
UD
5805 * posix/getconf.c: Update copyright year.
5806 * catgets/gencat.c: Likewise.
5807 * csu/version.c: Likewise.
5808 * debug/catchsegv.sh: Likewise.
5809 * debug/xtrace.sh: Likewise.
5810 * elf/ldconfig.c: Likewise.
5811 * elf/ldd.bash.in: Likewise.
5812 * elf/sprof.c (print_version): Likewise.
5813 * iconv/iconv_prog.c: Likewise.
5814 * iconv/iconvconfig.c: Likewise.
5815 * locale/programs/locale.c: Likewise.
5816 * locale/programs/localedef.c: Likewise.
5817 * malloc/memusage.sh: Likewise.
5818 * malloc/mtrace.pl: Likewise.
5819 * nscd/nscd.c (print_version): Likewise.
5820 * nss/getent.c: Likewise.
5821
a77e8cbc
UD
5822 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5823 PF_CAIF, and PF_ALG.
5824 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5825
77e8bddf
AS
58262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
5827
1f20b93a
AS
5828 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5829 (modules-names): Use them.
5830 (ifunc-test-modules, ifunc-pie-tests): Define.
5831 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5832 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5833 (test-extras): Likewise.
5834 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5835 $(compile-command.c).
5836 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5837 (all-built-dso): Define.
5838 (check-textrel.out, check-execstack.out): Depend on it.
5839
77e8bddf
AS
5840 * configure.in: Don't override --enable-multi-arch.
5841
bc425b33
UD
58422011-01-15 Ulrich Drepper <drepper@gmail.com>
5843
5844 [BZ #6812]
5845 * nscd/hstcache.c (tryagain): Define.
5846 (cache_addhst): Return tryagain not notfound for temporary errors.
5847 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5848 failed.
5849
794c3ad3
UD
58502011-01-14 Ulrich Drepper <drepper@gmail.com>
5851
70181fdd
UD
5852 [BZ #10563]
5853 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5854 to make the syscall.
5855 * sysdeps/unix/sysv/linux/setgroups.c: New file.
5856
794c3ad3
UD
5857 [BZ #12378]
5858 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5859 and fall back to matching as normal character if the string ends before
5860 the matching ']' is found. This is what POSIX requires.
5861 * posix/testfnm.c: Adjust test result.
5862 * posix/globtest.sh: Adjust test result. Add new test.
5863 * posix/tst-fnmatch.input: Likewise.
5864 * posix/tst-fnmatch2.c: Add new test.
5865
68dc9497
AS
58662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
5867
5868 * elf/Makefile (check-execstack): Revert last change. Depend on
5869 check-execstack.h.
5870 (check-execstack.h): New target.
5871 (generated): Add check-execstack.h.
5872 * elf/check-execstack.c: Include "check-execstack.h".
5873 (main): Revert last change.
5874 (handle_file): Return zero if GNU_STACK is absent and
5875 DEFAULT_STACK_PERMS doesn't include PF_X.
5876
451f001b
UD
58772011-01-13 Ulrich Drepper <drepper@gmail.com>
5878
cfa28e56
UD
5879 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5880 in child fails because the descriptor is already closed.
8cf8ce17
UD
5881 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5882 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5883 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 5884
1086d70d
UD
5885 [BZ #12397]
5886 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5887 syscall.
5888
451f001b
UD
5889 [BZ #10484]
5890 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5891 temporary buffer used to handle multi lookups locally.
a85b5cb4 5892 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 5893
08769175
UD
58942011-01-12 Ulrich Drepper <drepper@gmail.com>
5895
5896 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5897 loader is ld.so.
5898
5e49c52e
UD
58992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
5900
5901 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5902 alignment for SSE2.
5903
60522a5f
UD
59042011-01-12 Ulrich Drepper <drepper@gmail.com>
5905
5906 [BZ #12394]
5907 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5908 characters. When rounding increased number of integer digits recompute
5909 number of groups.
5910 * stdio-common/tst-grouping.c: New file.
5911 * stdio-common/Makefile: Add rules to build and run tst-grouping.
5912
f257bbd7
UD
59132011-01-09 Ulrich Drepper <drepper@gmail.com>
5914
5915 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5916 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
5917
5918 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5919 void.
5920 * bits/select.h: Likewise.
5921
fa9c15cb
UD
59222011-01-08 Ulrich Drepper <drepper@gmail.com>
5923
5924 * po/ja.po: Update from translation team.
5925
16c2895f
DM
59262011-01-04 David S. Miller <davem@sunset.davemloft.net>
5927
5928 [BZ #11155]
5929 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5930 implementation just like for lxstat, fxstatat, et al.
5931
2543fef2
JM
59322010-12-27 Jim Meyering <meyering@redhat.com>
5933
5934 [BZ #12348]
5935 * posix/regexec.c (build_trtable): Return failure indication upon
5936 calloc failure. Otherwise, re_search_internal could infloop on OOM.
5937
98727dbe
UD
59382010-12-25 Ulrich Drepper <drepper@gmail.com>
5939
5bd6dc5c
UD
5940 [BZ #12201]
5941 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5942 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5943 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5944 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5945
97983464
UD
5946 [BZ #12207]
5947 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5948
98727dbe
UD
5949 [BZ #12204]
5950 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5951 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5952
4a531bb0
L
59532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5956 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5957 script has SORT_BY_INIT_PRIORITY.
5958 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5959 NO_CTORS_DTORS_SECTIONS is defined.
5960 * elf/soinit.c: Likewise.
5961 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5962 NO_CTORS_DTORS_SECTIONS is defined.
5963 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5964 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5965 * sysdeps/sh/init-first.c: Likewise.
5966 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5967
07eb4b71
UD
59682010-12-24 Ulrich Drepper <drepper@gmail.com>
5969
5970 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5971 always use the slow path.
5972
30950a5f
RA
59732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
5974
5975 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5976 similar rule which adds the sysdep directories to the header search in
5977 order to pick up the correct platform stackinfo.h.
5978 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5979 perform test if it is, otherwise return successfully without testing.
5980 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5981 DEFAULT_STACK_PERMS define in stackinfo.h.
5982 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5983 defined in stackinfo.h.
5984 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5985 DEFAULT_STACK_PERMS defined in stackinfo.h.
5986 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5987 * sysdeps/ia64/stackinfo.h: Likewise.
5988 * sysdeps/s390/stackinfo.h: Likewise.
5989 * sysdeps/sh/stackinfo.h: Likewise.
5990 * sysdeps/sparc/stackinfo.h: Likewise.
5991 * sysdeps/x86_64/stackinfo.h: Likewise.
5992 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5993 PF_X for powerpc64. Retain PF_X for powerpc32.
5994
db753e2c
UD
59952010-12-19 Ulrich Drepper <drepper@gmail.com>
5996
14b697f7
UD
5997 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5998 accurately.
db753e2c
UD
5999 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
6000 GETDENTS_64BIT_ALIGNED.
6001
28300719
UD
60022010-12-14 Ulrich Drepper <dreper@gmail.com>
6003
14b697f7 6004 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 6005
4f197237
AS
60062010-12-10 Andreas Schwab <schwab@redhat.com>
6007
dbb0472f
AS
6008 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
6009 _GNU_SOURCE.
6010
4f197237
AS
6011 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
6012 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
6013 Remove __restrict.
6014 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
6015 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
6016
fb88ac72
UD
60172010-12-09 Ulrich Drepper <drepper@gmail.com>
6018
6019 [BZ #11655]
6020 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
6021 are initialized.
6022
42acbb92
JJ
60232010-12-09 Jakub Jelinek <jakub@redhat.com>
6024
6025 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
6026
c038d98d
UD
60272010-12-03 Ulrich Drepper <drepper@gmail.com>
6028
6029 * po/it.po: Update from translation team.
6030
3a4a2499
L
60312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
6032
6033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
6034 unused codes.
6035
1e24cf6e
UD
60362010-11-30 Ulrich Drepper <drepper@gmail.com>
6037
6038 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
6039
a7690819
AS
60402010-11-24 Andreas Schwab <schwab@redhat.com>
6041
6042 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
6043 specially.
6044 (gaih_getanswer_slice): Likewise.
6045
3bf8d1b1
JJ
60462010-10-20 Jakub Jelinek <jakub@redhat.com>
6047
6048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
6049
6db52fbb
PB
60502010-05-31 Petr Baudis <pasky@suse.cz>
6051
6052 [BZ #11149]
6053 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
6054 silently even in the chroot mode.
6055
eaca7569
UD
60562010-11-22 Ulrich Drepper <drepper@gmail.com>
6057
6058 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
6059 last patch a bit. Pretty printing
6060
3056dcdb
UD
60612010-05-31 Petr Baudis <pasky@suse.cz>
6062
6063 [BZ #10085]
6064 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
6065 initialization of skip_initgroups_dyn.
6066
cf7c9078
UD
60672010-11-19 Ulrich Drepper <drepper@gmail.com>
6068
6069 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
6070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6071
a1fb5e3e
UD
60722010-11-16 Ulrich Drepper <drepper@gmail.com>
6073
6074 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
6075
3540d66b
AS
60762010-11-11 Andreas Schwab <schwab@redhat.com>
6077
6078 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
6079 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
6080 (tst-fnmatch-ENV): Set MALLOC_TRACE.
6081 ($(objpfx)tst-fnmatch-mem): New rule.
6082 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
6083 * posix/tst-fnmatch.c (main): Call mtrace.
6084
13b69574
L
60852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
6086
6087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6088 Support Intel processor model 6 and model 0x2c.
6089
da93d214
LM
60902010-11-10 Luis Machado <luisgpm@br.ibm.com>
6091
6092 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
6093 signed comparison.
6094
8ca52c6e
L
60952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
6096
6097 [BZ #12205]
6098 * string/test-strncasecmp.c (check_result): New function.
6099 (do_one_test): Use it.
6100 (check1): New function.
6101 (test_main): Use it.
6102 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
6103 Support strcasecmp and strncasecmp.
6104
69da074d
UD
61052010-11-08 Ulrich Drepper <drepper@gmail.com>
6106
6107 [BZ #12194]
6108 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
6109 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6110
ff02d528
L
61112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
6112
6113 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
6114 IFUNC support.
6115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6116 memset-x86-64.
6117 * sysdeps/x86_64/multiarch/bzero.S: New file.
6118 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
6119 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
6120 * sysdeps/x86_64/multiarch/memset.S: New file.
6121 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
6122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6123 Set bit_Prefer_SSE_for_memop for Intel processors.
6124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
6125 Define.
6126 (index_Prefer_SSE_for_memop): Define.
6127 (HAS_PREFER_SSE_FOR_MEMOP): Define.
6128
344d0b54
LM
61292010-11-04 Luis Machado <luisgpm@br.ibm.com>
6130
6131 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
6132 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
6133
c0dde15b
UD
61342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
6135
6136 [BZ #12191]
6137 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6138 (__x86_64_raw_data_cache_size_half): Likewise.
6139 (__x86_64_raw_shared_cache_size): Likewise.
6140 (__x86_64_raw_shared_cache_size_half): Likewise.
6141
6142 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6143 (__x86_64_raw_data_cache_size_half): Likewise.
6144 (__x86_64_raw_shared_cache_size): Likewise.
6145 (__x86_64_raw_shared_cache_size_half): Likewise.
6146 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
6147 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
6148 and __x86_64_raw_shared_cache_size_half. Round
6149 __x86_64_data_cache_size_half, __x86_64_data_cache_size
6150 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
6151 to multiple of 256 bytes.
6152
0e516e0e
MS
61532010-11-03 Ulrich Drepper <drepper@gmail.com>
6154
6155 [BZ #12167]
6156 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6157 of inacessible symlinks. Verify result of symlink before returning it.
6158 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6159 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6160
0e012e87
ER
61612010-10-28 Erich Ritz <erichritz@gmail.com>
6162
6163 * math/math.h (isinf): Fix typo in comment.
6164
de0ff7bc
UD
61652010-11-01 Ulrich Drepper <drepper@gmail.com>
6166
6167 * po/da.po: Update from translation team.
6168
fa41c84d
UD
61692010-10-26 Ulrich Drepper <drepper@gmail.com>
6170
6171 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6172 is added to the list.
6173
f0967738
AK
61742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6175 Ulrich Drepper <drepper@gmail.com>
6176
6177 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6178 the global list here. Move code to...
6179 (_dl_add_to_namespace_list): ...here. New function.
6180 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6181 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6182 * elf/dl-load.c (lose): Don't remove the element from the list.
6183 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6184 (_dl_map_object): Likewise.
6185
61862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
6187
6188 [BZ #12159]
6189 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6190 into all bytes of SSE register.
6191 Patch by Richard Li <richardpku@gmail.com>.
6192
f0967738 61932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
6194
6195 [BZ #12140]
6196 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6197 perturbing.
6198
d0b9e94f
MB
61992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
6200
6201 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6202 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6203 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6204 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6206 submachine.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6208
8e9f92e9
AS
62092010-10-22 Andreas Schwab <schwab@redhat.com>
6210
6211 * include/dlfcn.h (__RTLD_SECURE): Define.
6212 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
6213 mode & __RTLD_SECURE instead.
6214 (open_path): Rename preloaded parameter to secure.
6215 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6216 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6217 * elf/dl-deps.c (openaux): Likewise.
6218 * elf/rtld.c (struct map_args): Remove is_preloaded.
6219 (map_doit): Don't use it.
6220 (dl_main): Likewise.
6221 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6222 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6223
bc96fbda
AS
62242010-09-09 Andreas Schwab <schwab@redhat.com>
6225
6226 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6227 (sysd-rules-targets): Remove duplicates.
6228 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6229 rtld-%.$o dependency.
6230
22cd1c9b
AS
62312010-10-18 Andreas Schwab <schwab@redhat.com>
6232
6233 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6234 _dl_map_object do it.
6235
18edac48
UD
62362010-10-19 Ulrich Drepper <drepper@gmail.com>
6237
6238 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6239 fast fma builtins, define the macros in the C99 standard.
6240 (FP_FAST_FMAF): Likewise.
6241 (FP_FAST_FMAL): Likewise.
6242 * sysdeps/x86_64/bits/mathdef.h: Likewise.
6243
6244 * bits/mathdef.h: Update copyright year.
6245 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6246
d2050124
MM
62472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
6248
6249 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6250 builtins, define the macros in the C99 standard.
6251 (FP_FAST_FMAF): Likewise.
6252 (FP_FAST_FMAL): Likewise.
6253 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6254 multiply/add.
6255 (FP_FAST_FMAF): Likewise.
6256
475facd1
JJ
62572010-10-15 Jakub Jelinek <jakub@redhat.com>
6258
6259 [BZ #3268]
6260 * math/libm-test.inc (fma_test): Some new testcases.
6261 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6263 y and infinite z. Do multiplication by C already in long double.
6264 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6266 y and infinite z. Do bitwise or of inexact bit into u.d.
6267 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6268 * sysdeps/i386/fpu/s_fmaf.S: Removed.
6269 * sysdeps/i386/fpu/s_fma.S: Removed.
6270 * sysdeps/i386/fpu/s_fmal.S: Removed.
6271
7c08a05c
JJ
62722010-10-16 Jakub Jelinek <jakub@redhat.com>
6273
6274 [BZ #3268]
6275 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6277 computation is not scheduled after fetestexcept. Fix value
6278 of minimum denormal long double.
6279
f3f7372d
JJ
62802010-10-14 Jakub Jelinek <jakub@redhat.com>
6281
6282 [BZ #3268]
6283 * math/libm-test.inc (fma_test): Add some more tests.
6284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6285 correctly.
6286
14d43591
AS
62872010-10-15 Andreas Schwab <schwab@redhat.com>
6288
6289 * scripts/data/localplt-s390-linux-gnu.data: New file.
6290 * scripts/data/localplt-s390x-linux-gnu.data: New file.
6291
5e908464
JJ
62922010-10-13 Jakub Jelinek <jakub@redhat.com>
6293
6294 [BZ #3268]
6295 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6296 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6297 instead of dbl-64.
6298 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6299 inlines.
6300 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6302 if one of x and y is very large and the other is subnormal.
6303 * sysdeps/s390/fpu/s_fmaf.c: New file.
6304 * sysdeps/s390/fpu/s_fma.c: New file.
6305 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6306 * sysdeps/powerpc/fpu/s_fma.S: New file.
6307 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6308 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6309 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6310
63112010-10-12 Jakub Jelinek <jakub@redhat.com>
6312
6313 [BZ #3268]
6314 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6315 fma tests.
6316 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6317 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6318 * sysdeps/i386/i686/multiarch/s_fma.c: Include
6319 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6320 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6321 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6323
b833d51f
UD
63242010-10-12 Ulrich Drepper <drepper@redhat.com>
6325
6326 [BZ #12078]
6327 * posix/regcomp.c (parse_branch): One more memory leak plugged.
6328 * posix/bug-regex31.input: Add test case.
6329
1751705d
UD
63302010-10-11 Ulrich Drepper <drepper@gmail.com>
6331
e9b9cbf5
UD
6332 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6333 * posix/bug-regex31.input: New file.
6334
6335 [BZ #12078]
6336 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6337 (parse_sub_exp): Fix last change, use postorder.
6338
ef06edbe
UD
6339 * posix/bug-regex31.c: New file.
6340 * posix/Makefile: Add rules to build and run bug-regex31.
6341
a129c80d
UD
6342 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6343
6344 [BZ #12078]
6345 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6346
b76b818e
UD
6347 [BZ #12108]
6348 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6349 to have entries in sys_siglist.
6350
1751705d
UD
6351 [BZ #12093]
6352 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6353 be NULL.
6354
9ff8d36f
JJ
63552010-10-07 Jakub Jelinek <jakub@redhat.com>
6356
6357 [BZ #3268]
6358 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6359 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6360 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6361 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6362 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6363 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6364 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6365 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6366 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6367 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6368 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6369 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6370 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6371 * math/ftestexcept.c (fetestexcept): Likewise.
6372 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6373 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6374 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6375 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6376 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6377 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6378 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6379
af325969
UD
63802010-10-11 Ulrich Drepper <drepper@gmail.com>
6381
c579b202 6382 [BZ #12107]
af325969
UD
6383 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6384 newline.
6385
67a67b95
UD
63862010-10-06 Ulrich Drepper <drepper@gmail.com>
6387
6388 * string/bug-strstr1.c: New file.
6389 * string/Makefile: Add rules to build and run bug-strstr1.
6390
5fb308bc
EB
63912010-10-05 Eric Blake <eblake@redhat.com>
6392
6393 [BZ #12092]
6394 * string/str-two-way.h (two_way_long_needle): Always clear memory
6395 when skipping input due to the shift table.
6396
45db99c7
UD
63972010-10-03 Ulrich Drepper <drepper@gmail.com>
6398
3b111893
UD
6399 [BZ #12005]
6400 * malloc/mcheck.c: Handle large requests.
6401
45db99c7
UD
6402 [BZ #12077]
6403 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6404 for strncmp and strncasecmp.
6405 * string/stratcliff.c: Add tests for strcmp and strncmp.
6406 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6407
cf7a1eb8
NI
64082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6409
6410 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6411 __set_fpscr.
6412
6484ba5e
AJ
64132010-09-30 Andreas Jaeger <aj@suse.de>
6414
6415 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6416 (CGROUP_SUPER_MAGIC): Define.
6417 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6418 Handle btrfs and cgroup file systems.
6419 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6420 Likewise.
6421
91c42559
LM
64222010-09-27 Luis Machado <luisgpm@br.ibm.com>
6423
6424 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6425 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6426
87a97932
AK
64272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6428
6429 [BZ #12067]
6430 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6431 trying to locate the ELF header.
6432
c21cc9bc
AS
64332010-09-27 Andreas Schwab <schwab@redhat.com>
6434
6435 [BZ #11611]
6436 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6437 Mask out sign-bit copies when constructing f_fsid.
6438
315970f6
PB
64392010-09-24 Petr Baudis <pasky@suse.cz>
6440
6441 * debug/stack_chk_fail_local.c: Add missing licence exception.
6442 * debug/warning-nop.c: Likewise.
6443
1ac7a2c7
JM
64442010-09-15 Joseph Myers <joseph@codesourcery.com>
6445
6446 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6447 implementing getdents64 using getdents syscall, set d_type if
6448 __ASSUME_GETDENTS32_D_TYPE.
6449
56801c50
AS
64502010-09-16 Andreas Schwab <schwab@redhat.com>
6451
6452 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6453 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
6454
dda51327
UD
64552010-09-21 Ulrich Drepper <drepper@redhat.com>
6456
6457 [BZ #12037]
6458 * posix/unistd.h: Undo change of feature selection for ftruncate from
6459 2010-01-11.
6460
8ffcee4a
UD
64612010-09-20 Ulrich Drepper <drepper@redhat.com>
6462
a545ecd9 6463 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
6464 detection.
6465
e24f0a8b
AS
64662010-09-20 Andreas Schwab <schwab@redhat.com>
6467
6468 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
6469 fanotify_mark.
6470 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6471
7291c56f
AS
64722010-09-14 Andreas Schwab <schwab@redhat.com>
6473
6474 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
6475 variables after CHECK_SP call.
6476 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6477
bc5fb037
AS
64782010-09-13 Andreas Schwab <schwab@redhat.com>
6479 Ulrich Drepper <drepper@redhat.com>
6480
6481 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6482 re-relocationg ld.so.
6483 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6484 _dl_init_paths call.
6485 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
6486 here anymore.
6487
e66e7419
UD
64882010-09-14 Ulrich Drepper <drepper@redhat.com>
6489
6490 * resolv/res_init.c (__res_vinit): Count the default server we added.
6491
c044aa75
CLT
64922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
6493 Ulrich Drepper <drepper@redhat.com>
6494
6495 [BZ #11968]
6496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6497 (____longjmp_chk): Use %ebx for saving value across system call.
6498 Add unwind info.
6499
32cf4069
AS
65002010-09-06 Andreas Schwab <schwab@redhat.com>
6501
6502 * manual/Makefile: Don't mix pattern rules with normal rules.
6503
817328ee
AS
65042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
6505
6506 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6507 operation.
6508 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6509 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6510 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6511 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6513 Likewise.
6514
29fddf61
UD
65152010-09-04 Ulrich Drepper <drepper@redhat.com>
6516
6517 [BZ #11979]
6518 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6519 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6520
0959ffc9
UD
65212010-09-02 Ulrich Drepper <drepper@redhat.com>
6522
6523 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6524 * sysdeps/x86_64/addmul_1.S: Likewise.
6525 * sysdeps/x86_64/lshift.S: Likewise.
6526 * sysdeps/x86_64/mul_1.S: Likewise.
6527 * sysdeps/x86_64/rshift.S: Likewise.
6528 * sysdeps/x86_64/sub_n.S: Likewise.
6529 * sysdeps/x86_64/submul_1.S: Likewise.
6530
ece29840
ST
65312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6532
0959ffc9
UD
6533 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6534 Define __sched_param instead of SCHED_* and sched_param when
ece29840 6535 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 6536 * bits/sched.h [__need_schedparam]
ece29840 6537 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
6538 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6539 (__defined_schedparam): Define to 1.
ece29840
ST
6540 (__sched_param): New structure, identical to sched_param.
6541 (__need_schedparam): Undefine.
6542
e53a31fe
MF
65432010-08-31 Mike Frysinger <vapier@gentoo.org>
6544
fdc0c10d
MF
6545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6546 (epoll_create1): Declare.
6547
e53a31fe
MF
6548 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6549
a726d796
AS
65502010-08-31 Andreas Schwab <schwab@redhat.com>
6551
6552 [BZ #7066]
6553 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6554 shifting retval into place.
6555
2f3e3dc7
UD
65562010-09-01 Ulrich Drepper <drepper@redhat.com>
6557
f2933da9
UD
6558 * nis/rpcsvc/nis.h: Update copyright notice.
6559 * nis/rpcsvc/nis.x: Likewise.
6560 * nis/rpcsvc/nis_callback.h: Likewise.
6561 * nis/rpcsvc/nis_callback.x: Likewise.
6562 * nis/rpcsvc/nis_object.x: Likewise.
6563 * nis/rpcsvc/nis_tags.h: Likewise.
6564 * nis/rpcsvc/yp.h: Likewise.
6565 * nis/rpcsvc/yp.x: Likewise.
6566 * nis/rpcsvc/ypupd.h: Likewise.
6567 * nis/yp_xdr.c: Likewise.
6568 * nis/ypupdate_xdr.c: Likewise.
6569
2f3e3dc7
UD
6570 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
6571 mainly the body of pmap_getport. Add parameters to specify timeouts.
6572 (pmap_getport): Use __libc_rpc_getport.
6573 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6574 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6575 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6576
f3dcc2f9
AS
65772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
6578
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6580 fanotify_mark.
6581
6d34eb5b
RM
65822010-08-27 Roland McGrath <roland@redhat.com>
6583
6584 * sysdeps/i386/i686/multiarch/Makefile
6585 (CFLAGS-varshift.c): New variable.
6586
9ea3de11
UD
65872010-08-27 Ulrich Drepper <drepper@redhat.com>
6588
c96d23fc
UD
6589 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6590 * sysdeps/i386/i686/multiarch/varshift.c: New file.
6591
9ea3de11
UD
6592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6593
6594 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6595
623aac7f
L
65962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
6597
6598 * sysdeps/x86_64/strlen.S: Unroll the loop.
6599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6600 strlen-sse2 strlen-sse2-bsf.
6601 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
6602 __strlen_no_bsf if bit_Slow_BSF is set.
6603 (__strlen_sse42): Removed.
6604 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
6605 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
6606
8b2b7715
RM
66072010-08-25 Roland McGrath <roland@redhat.com>
6608
6609 * sysdeps/x86_64/multiarch/varshift.S: File removed.
6610 * sysdeps/x86_64/multiarch/varshift.c: New file.
6611 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
6612 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
6613 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
6614 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6615
e73015f2
L
66162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
6617
6618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6619 strlen-sse2 strlen-sse2-bsf.
6620 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
6621 __strlen_sse2_bsf if bit_Slow_BSF is unset.
6622 (__strlen_sse2): Removed.
6623 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
6624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
6625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6626 bit_Slow_BSF for Atom.
6627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
6628 (index_Slow_BSF): Define.
6629 (HAS_SLOW_BSF): Define.
6630
df24a73e
UD
66312010-08-25 Ulrich Drepper <drepper@redhat.com>
6632
6633 [BZ #10851]
6634 * resolv/res_init.c (__res_vinit): When no server address at all
6635 is given default to loopback.
6636
f2ac4868
RM
66372010-08-24 Roland McGrath <roland@redhat.com>
6638
09055553
RM
6639 * configure.in: Remove config-name.h generation.
6640 * configure: Regenerated.
6641 * config-name.in: File removed.
6642 * scripts/config-uname.sh: New file.
6643 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
6644 ($(objdir)config-name.h): New target.
6645
f2ac4868
RM
6646 * sunrpc/rpc_parse.h: Avoid nested comment.
6647
73f27d5e
RH
66482010-08-24 Richard Henderson <rth@redhat.com>
6649 Ulrich Drepper <drepper@redhat.com>
6650 H.J. Lu <hongjiu.lu@intel.com>
6651
6652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
6653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6654 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6655 Replace _mm_srli_si128 with __m128i_shift_right. Replace
6656 _mm_alignr_epi8 with _mm_loadu_si128.
6657 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6658 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6659 (__m128i_shift_right): Removed.
6660 * sysdeps/i386/i686/multiarch/varshift.h: New file.
6661 * sysdeps/i386/i686/multiarch/varshift.S: New file.
6662 * sysdeps/x86_64/multiarch/varshift.h: New file.
6663 * sysdeps/x86_64/multiarch/varshift.S: New file.
6664
84b9230c
MF
66652010-08-21 Mike Frysinger <vapier@gentoo.org>
6666
6667 * configure.in: Move assembler checks to before sysdep dir checking.
6668
9bbd0ddc
PB
66692010-08-20 Petr Baudis <pasky@suse.cz>
6670
6671 * LICENSES: Sync the sunrpc license.
6672
9da4bb31
UD
66732010-08-19 Ulrich Drepper <drepper@redhat.com>
6674
a7ab6ec8
UD
6675 * sunrpc/auth_des.c: Update copyright notice once again.
6676 * sunrpc/auth_none.c: Likewise.
6677 * sunrpc/auth_unix.c: Likewise.
6678 * sunrpc/authdes_prot.c: Likewise.
6679 * sunrpc/authuxprot.c: Likewise.
6680 * sunrpc/bindrsvprt.c: Likewise.
6681 * sunrpc/clnt_gen.c: Likewise.
6682 * sunrpc/clnt_perr.c: Likewise.
6683 * sunrpc/clnt_raw.c: Likewise.
6684 * sunrpc/clnt_simp.c: Likewise.
6685 * sunrpc/clnt_tcp.c: Likewise.
6686 * sunrpc/clnt_udp.c: Likewise.
6687 * sunrpc/clnt_unix.c: Likewise.
6688 * sunrpc/des_crypt.c: Likewise.
6689 * sunrpc/des_soft.c: Likewise.
6690 * sunrpc/get_myaddr.c: Likewise.
6691 * sunrpc/getrpcport.c: Likewise.
6692 * sunrpc/key_call.c: Likewise.
6693 * sunrpc/key_prot.c: Likewise.
6694 * sunrpc/openchild.c: Likewise.
6695 * sunrpc/pm_getmaps.c: Likewise.
6696 * sunrpc/pm_getport.c: Likewise.
6697 * sunrpc/pmap_clnt.c: Likewise.
6698 * sunrpc/pmap_prot.c: Likewise.
6699 * sunrpc/pmap_prot2.c: Likewise.
6700 * sunrpc/pmap_rmt.c: Likewise.
6701 * sunrpc/rpc/auth.h: Likewise.
6702 * sunrpc/rpc/auth_unix.h: Likewise.
6703 * sunrpc/rpc/clnt.h: Likewise.
6704 * sunrpc/rpc/des_crypt.h: Likewise.
6705 * sunrpc/rpc/key_prot.h: Likewise.
6706 * sunrpc/rpc/netdb.h: Likewise.
6707 * sunrpc/rpc/pmap_clnt.h: Likewise.
6708 * sunrpc/rpc/pmap_prot.h: Likewise.
6709 * sunrpc/rpc/pmap_rmt.h: Likewise.
6710 * sunrpc/rpc/rpc.h: Likewise.
6711 * sunrpc/rpc/rpc_des.h: Likewise.
6712 * sunrpc/rpc/rpc_msg.h: Likewise.
6713 * sunrpc/rpc/svc.h: Likewise.
6714 * sunrpc/rpc/svc_auth.h: Likewise.
6715 * sunrpc/rpc/types.h: Likewise.
6716 * sunrpc/rpc/xdr.h: Likewise.
6717 * sunrpc/rpc_clntout.c: Likewise.
6718 * sunrpc/rpc_cmsg.c: Likewise.
6719 * sunrpc/rpc_common.c: Likewise.
6720 * sunrpc/rpc_cout.c: Likewise.
6721 * sunrpc/rpc_dtable.c: Likewise.
6722 * sunrpc/rpc_hout.c: Likewise.
6723 * sunrpc/rpc_main.c: Likewise.
6724 * sunrpc/rpc_parse.c: Likewise.
6725 * sunrpc/rpc_parse.h: Likewise.
6726 * sunrpc/rpc_prot.c: Likewise.
6727 * sunrpc/rpc_sample.c: Likewise.
6728 * sunrpc/rpc_scan.c: Likewise.
6729 * sunrpc/rpc_scan.h: Likewise.
6730 * sunrpc/rpc_svcout.c: Likewise.
6731 * sunrpc/rpc_tblout.c: Likewise.
6732 * sunrpc/rpc_util.c: Likewise.
6733 * sunrpc/rpc_util.h: Likewise.
6734 * sunrpc/rpcinfo.c: Likewise.
6735 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6736 * sunrpc/rpcsvc/key_prot.x: Likewise.
6737 * sunrpc/rpcsvc/klm_prot.x: Likewise.
6738 * sunrpc/rpcsvc/mount.x: Likewise.
6739 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6740 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6741 * sunrpc/rpcsvc/rex.x: Likewise.
6742 * sunrpc/rpcsvc/rstat.x: Likewise.
6743 * sunrpc/rpcsvc/rusers.x: Likewise.
6744 * sunrpc/rpcsvc/sm_inter.x: Likewise.
6745 * sunrpc/rpcsvc/spray.x: Likewise.
6746 * sunrpc/rpcsvc/yppasswd.x: Likewise.
6747 * sunrpc/rtime.c: Likewise.
6748 * sunrpc/svc.c: Likewise.
6749 * sunrpc/svc_auth.c: Likewise.
6750 * sunrpc/svc_authux.c: Likewise.
6751 * sunrpc/svc_raw.c: Likewise.
6752 * sunrpc/svc_run.c: Likewise.
6753 * sunrpc/svc_simple.c: Likewise.
6754 * sunrpc/svc_tcp.c: Likewise.
6755 * sunrpc/svc_udp.c: Likewise.
6756 * sunrpc/svc_unix.c: Likewise.
6757 * sunrpc/svcauth_des.c: Likewise.
6758 * sunrpc/xcrypt.c: Likewise.
6759 * sunrpc/xdr.c: Likewise.
6760 * sunrpc/xdr_array.c: Likewise.
6761 * sunrpc/xdr_float.c: Likewise.
6762 * sunrpc/xdr_mem.c: Likewise.
6763 * sunrpc/xdr_rec.c: Likewise.
6764 * sunrpc/xdr_ref.c: Likewise.
6765 * sunrpc/xdr_sizeof.c: Likewise.
6766 * sunrpc/xdr_stdio.c: Likewise.
6767
9da4bb31
UD
6768 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6769 handling.
6770
bdaa77bc
AS
67712010-08-19 Andreas Schwab <schwab@redhat.com>
6772
6773 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6774
fe2f79db
LM
67752010-08-19 Luis Machado <luisgpm@br.ibm.com>
6776
6777 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6778 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6779 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6780 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6781 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6782 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6783 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6784 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6785 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6786 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6787 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6788 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6789 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6790 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6791
b9b42ee0
AB
67922010-07-26 Anton Blanchard <anton@samba.org>
6793
6794 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6795 * malloc/arena.c (heap_trim): Likewise.
6796
1c06ba31
UD
67972010-08-16 Ulrich Drepper <drepper@redhat.com>
6798
6799 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6800 here. Not...
6801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6802 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6803
f8392f40
L
68042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
6805
6806 * sysdeps/i386/elf/Makefile: New file.
6807
3162f12e
AS
68082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6809
6810 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6811 from fanotify_init.
6812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6814
28c90b2c
UD
68152010-08-15 Ulrich Drepper <drepper@redhat.com>
6816
6817 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6818 of strncasecmp_l.
1feccb6c 6819 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 6820
ca6bb004
UD
68212010-08-14 Ulrich Drepper <drepper@redhat.com>
6822
e9f82e0d
UD
6823 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6824 strncase_l-nonascii.
6825 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6826 Add strncase_l-ssse3.
6827 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6828 * sysdeps/x86_64/strcmp.S: Likewise.
6829 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6830 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6831 * sysdeps/x86_64/strncase.S: New file.
6832 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6833 * sysdeps/x86_64/strncase_l.S: New file.
6834 * string/Makefile (strop-tests): Add strncasecmp.
6835 * string/test-strncasecmp.c: New file.
6836
6837 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6838 warning.
6839
ca6bb004
UD
6840 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6841 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6842
052fa7b3
AS
68432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6844
6845 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6846
962dba78
UD
68472010-08-12 Ulrich Drepper <drepper@redhat.com>
6848
6849 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6850 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6851 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6852
bebff237
AM
68532010-05-01 Alan Modra <amodra@gmail.com>
6854
6855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6856 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6857 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6858 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6859 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6860 tidying. Don't tail-call __sigjmp_save for static lib.
6861 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6862 save location.
6863 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6864 (CALL_MCOUNT): Add eh info, and nop after bl.
6865 (TAIL_CALL_SYSCALL_ERROR): New macro.
6866 (PSEUDO_RET): Use it.
6867 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6868 Correct save location of integer regs and cr.
6869 (_dl_profile_resolve): Correct cr save location. Delete nops
6870 after bl when SHARED. Reduce cfi size a little by better
6871 placement of cfi directives.
6872 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6873 make a stack frame. Instead use parm save area as a temp.
6874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6875 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6877 Don't make a stack frame for parent, use parm save area.
6878 Increase child stack frame to 112 bytes. Don't save unused reg,
6879 and adjust reg usage. Set up cfi on error recovery and
6880 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6882 (__makecontext): Add dummy nop after jump to exit.
6883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6884 Use correct parm save area and cr save, reduce stack frame.
6885 Correct cfi for possible PSEUDO_RET frame setup.
6886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6887 Branch to local label emitted by PSEUDO_RET rather than
6888 __syscall_error.
6889
02637374
AS
68902010-08-12 Andreas Schwab <schwab@redhat.com>
6891
6892 [BZ #11904]
6893 * locale/programs/locale.c (print_assignment): New function.
6894 (show_locale_vars): Use it.
6895
c3e2f19b
UD
68962010-08-11 Ulrich Drepper <drepper@redhat.com>
6897
3cdaa6ad
UD
6898 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6899 field.
6900 (struct statfs64): Likewise.
6901 (_STATFS_F_FLAGS): Define.
6902 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6903 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6904 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6905 (ST_VALID): Define locally.
6906 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6907 __statvfs_getflags, use the provided value.
6908 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6909 __ASSUME_STATFS_F_FLAGS.
6910
754f7da3
UD
6911 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6912
10b3bedc
UD
6913 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6914 Add sys/fanotify.h.
6915 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6916 fanotify_mask for GLIBC_2.13.
6917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6918 fanotify_init and fanotify_mark.
6919 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6920 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6921
c08fb0d7
UD
6922 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6923 Add prlimit.
6924 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6925 prlimit64 for GLIBC_2.13.
6926 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6927 prlimit64.
6928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6929 syscall.
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6932 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
6935 add prlimit alias.
6936 * sysdeps/unix/sysv/linux/prlimit.c: New file.
6937
15bac72b
UD
6938 [BZ #11903]
6939 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6940 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6941
c3e2f19b
UD
6942 * nss/Makefile: Add rules to build and run tst-nss-test1.
6943 * shlib-versions: Add entry for libnss_test1.
6944 * nss/nss_test1.c: New file.
6945 * nss/tst-nss-test1.c: New file.
6946
6947 * nss/nsswitch.c (__nss_database_custom): Define new variable.
6948 (__nss_configure_lookup): Set appropriate entry in
6949 __nss_configure_lookup to true.
6950 * nss/nsswitch.h: Define enum with indeces of databases in
6951 databases and __nss_database_custom arrays. Declare
6952 __nss_database_custom.
6953 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6954 to avoid using nscd when custom rules are installed.
6955 * nss/getXXbyYY_r.c: Likewise.
6956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6957
6958 * nss/nss_files/files-parse.c: Whitespace fixes.
6959
f15ce4d8
UD
69602010-08-09 Ulrich Drepper <drepper@redhat.com>
6961
6962 [BZ #11883]
6963 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6964 * posix/fnmatch_loop.c: Likewise.
6965
d22e4cc9
AK
69662010-07-17 Andi Kleen <ak@linux.intel.com>
6967
6968 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6969 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6970 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6971 * Versions.def [GLIBC_2.13]: Add.
6972
805bc17d
UD
69732010-08-06 Ulrich Drepper <drepper@redhat.com>
6974
6975 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6976 Also fail if tpwd after pwuid call is NULL.
6977
5a42321d
ST
69782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6979
6980 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6981 when converting to ms.
6982
fd3ebeda
ST
69832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6984
6985 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6986 EOPNOTSUPP errors with ENOTTY.
6987 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6988 EOPNOTSUPP errors with ENOTTY.
6989
73507d3a
UD
69902010-07-31 Ulrich Drepper <drepper@redhat.com>
6991
6992 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6993 Add strcasecmp_l-ssse3.
6994 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6995 strcasecmp.
6996 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6997 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6998 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6999
fe36dd02
UD
70002010-07-30 Ulrich Drepper <drepper@redhat.com>
7001
66f6765a
UD
7002 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
7003
42e08a54
UD
7004 * string/Makefile (strop-tests): Add strcasecmp.
7005 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7006 strcasecmp_l-nonascii.
7007 (gen-as-const-headers): Add locale-defines.sym.
7008 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
7009 * sysdeps/x86_64/strcasecmp.S: New file.
7010 * sysdeps/x86_64/strcasecmp_l.S: New file.
7011 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
7012 * sysdeps/x86_64/locale-defines.sym: New file.
7013 * string/test-strcasecmp.c: New file.
7014
fe36dd02
UD
7015 * string/test-strcasestr.c: Test both ends of the range of characters.
7016 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
7017
48cbc0d6
RM
70182010-07-29 Roland McGrath <roland@redhat.com>
7019
76e6d6bc 7020 [BZ #11856]
48cbc0d6
RM
7021 * manual/locale.texi (Yes-or-No Questions): Fix example code.
7022
880113d9
UD
70232010-07-27 Ulrich Drepper <drepper@redhat.com>
7024
7025 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
7026 for ld.so.
7027
deb9cabb
AS
70282010-07-27 Andreas Schwab <schwab@redhat.com>
7029
7030 * manual/memory.texi (Malloc Tunable Parameters): Document
7031 M_PERTURB.
7032
1c7570ff
RM
70332010-07-26 Roland McGrath <roland@redhat.com>
7034
7035 [BZ #11840]
7036 * configure.in (-fgnu89-inline check): Set and substitute
7037 gnu89_inline, not libc_cv_gnu89_inline.
7038 * configure: Regenerated.
7039 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
7040
24fb0f88
UD
70412010-07-26 Ulrich Drepper <drepper@redhat.com>
7042
7043 * string/test-strnlen.c: New file.
7044 * string/Makefile (strop-tests): Add strnlen.
7045 * string/tester.c (test_strnlen): Add a few more test cases.
7046 * string/tst-strlen.c: Better error reporting.
7047
7048 * sysdeps/x86_64/strnlen.S: New file.
7049
8e96b93a
UD
70502010-07-24 Ulrich Drepper <drepper@redhat.com>
7051
7052 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
7053 lower-latency instructions.
7054
dbc676d4
UD
70552010-07-23 Ulrich Drepper <drepper@redhat.com>
7056
7057 * string/test-strcasestr.c: New file.
7058 * string/test-strstr.c: New file.
7059 * string/Makefile (strop-tests): Add strstr and strcasestr.
7060 * string/str-two-way.h: Don't undefine MAX.
7061 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
7062
f6a31e0e
AS
70632010-07-21 Andreas Schwab <schwab@redhat.com>
7064
7065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7066 strcasestr-nonascii.
7067 (CFLAGS-strcasestr-nonascii.c): Define.
7068 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
7069 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
7070 Remove unused attribute.
7071
5dbc3b6c
RM
70722010-07-20 Roland McGrath <roland@redhat.com>
7073
7074 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
7075 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
7076 ld.so.cache was broken. With it, there is no way to disable dsocaps
7077 like LD_HWCAP_MASK can disable hwcaps.
7078
23d101d8
EPM
70792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7080
7081 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
7082
cc9f2e47
UD
70832010-07-16 Ulrich Drepper <drepper@redhat.com>
7084
7085 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
7086 call in strcasestr.
7087 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
7088 __strcasestr_sse42_nonascii.
7089 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
7090 strcasestr-nonascii.c.
7091 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
7092
77c1b069
LM
70932010-06-15 Luis Machado <luisgpm@br.ibm.com>
7094
7095 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
7096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
7097 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
7098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
7099
440566c3
UD
71002010-07-09 Ulrich Drepper <drepper@redhat.com>
7101
7102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
7103 fcntl.
7104
5be9d05d
AS
71052010-07-06 Andreas Schwab <schwab@redhat.com>
7106
c30b7ee2 7107 [BZ #11577]
5be9d05d
AS
7108 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
7109 dl_signal_cerror.
7110
8a492a67
UD
71112010-07-06 Ulrich Drepper <drepper@redhat.com>
7112
7113 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
7114 _PC_PIPE_BUF using F_GETPIPE_SZ.
7115
713df3d5
RM
71162010-07-05 Roland McGrath <roland@redhat.com>
7117
7118 * manual/arith.texi (Rounding Functions): Fix rint description
7119 implicit in round description.
7120
702e8f14
UD
71212010-07-02 Ulrich Drepper <drepper@redhat.com>
7122
7123 * elf/Makefile: Fix linking for a few tests to make recent linker
7124 happy.
7125
52ed8be9
AS
71262010-06-30 Andreas Schwab <schwab@redhat.com>
7127
7128 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7129 $(common-objpfx)libc_nonshared.a.
7130
f47c9a11
LM
71312010-06-21 Luis Machado <luisgpm@br.ibm.com>
7132
7133 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
7134 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
7135 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7136 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7137 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
7138 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
7139 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7140 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7155 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7156 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7157 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7158 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7159 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7160 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7161 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7162 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7163 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7164 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7165 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7166 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7181
6fb8cbcb
L
71822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7185 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7186 * string/memmove.c (memmove): Renamed to ...
7187 (MEMMOVE): ...this. Default to memmove.
7188 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7189 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7190 (END_CHK): Define.
7191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7192 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7193 mempcpy-ssse3-back memmove-ssse3-back.
7194 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7196 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7197 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7198 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7199 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7200 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7201 * sysdeps/x86_64/multiarch/memmove.c: New file.
7202 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7203 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7204 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7205 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7206 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7207 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7208 Define.
7209 (index_Fast_Copy_Backward): Define.
7210 (HAS_ARCH_FEATURE): Define.
7211 (HAS_FAST_REP_STRING): Define.
7212 (HAS_FAST_COPY_BACKWARD): Define.
7213
4e733bac 72142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
7215
7216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7217 Restore proper fallback handling.
7218
63c4ed22
UD
72192010-06-19 Ulrich Drepper <drepper@redhat.com>
7220
ac2b484c
UD
7221 [BZ #11701]
7222 * posix/group_member.c (__group_member): Correct checking loop.
7223
63c4ed22
UD
7224 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7225 OOM in getpwuid_r correctly. Return error number when the caller
7226 should return, otherwise -1.
7227 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7228 call returning > 0 value.
7229 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7230
765ade4b
AS
72312010-06-07 Andreas Schwab <schwab@redhat.com>
7232
7233 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7234 libc_nonshared.a from targets in modules-names.
7235
80da2e09
KS
72362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
7237
7238 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7239 requires it.
7240
158db122
LM
72412010-06-10 Luis Machado <luisgpm@br.ibm.com>
7242
7243 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7244 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7246 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7247
caa78cf8
AS
72482010-06-02 Andreas Schwab <schwab@redhat.com>
7249
7250 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7251
b2ef2c01
UD
72522010-06-14 Ulrich Drepper <drepper@redhat.com>
7253
7254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7255 and F_GETPIPE_SZ.
7256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7262
fbd643b6
RM
72632010-06-14 Roland McGrath <roland@redhat.com>
7264
7265 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7266
f32f2869
JJ
72672010-06-07 Jakub Jelinek <jakub@redhat.com>
7268
7269 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7270 __REDIRECT followed by __THROW.
7271 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7272 * posix/getopt.h (getopt): Likewise.
7273
2a50c078
EPM
72742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7275
7276 * hurd/lookup-at.c (__file_name_lookup_at): Accept
7277 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
7278 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7279 in AT_FLAGS.
7280 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7281 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7282
eb5ad2eb
LM
72832010-05-28 Luis Machado <luisgpm@br.ibm.com>
7284
7285 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7286
3c88fe1e
L
72872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
7288
7289 [BZ #11640]
7290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7291 Properly check family and model.
7292
d2f73151
TY
72932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
7294
7295 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7296
ebd2e13d
LM
72972010-05-24 Luis Machado <luisgpm@br.ibm.com>
7298
7299 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7300
b32b8b45
UD
73012010-05-21 Ulrich Drepper <drepper@redhat.com>
7302
7303 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7304 symbol reference.
7305
9acbe24d
AS
73062010-05-19 Andreas Schwab <schwab@redhat.com>
7307
7308 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7309 symbol reference.
7310
f0ccf6ea
AS
73112010-05-21 Andreas Schwab <schwab@redhat.com>
7312
3d04ff3a
AS
7313 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7314 and internal_recvmmsg.
7315 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7316 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7318 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7319
f0ccf6ea
AS
7320 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7321 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7322 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7323
5b08ac57
AS
73242010-05-20 Andreas Schwab <schwab@redhat.com>
7325
7326 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7327
4828935d
LM
73282010-05-17 Luis Machado <luisgpm@br.ibm.com>
7329
7330 POWER7 optimizations.
7331 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7332 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7333
373d545e
UD
73342010-05-19 Ulrich Drepper <drepper@redhat.com>
7335
7336 * version.h: Update for 2.13 development version.
7337
21a2b1ae
AS
73382010-05-12 Andrew Stubbs <ams@codesourcery.com>
7339
7340 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7341 exceptions. Return 0.
7342
3f7dcb2b
RM
73432010-05-07 Roland McGrath <roland@redhat.com>
7344
7345 * elf/ldconfig.c (main): Add a const.
7346
5f24d53a 73472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 7348
a160f8d8
UD
7349 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7350 (args_options): Add no-idn option.
7351 (ahosts_keys_int): Add idn_flags to ai_flags.
7352 (parse_option): Handle 'i' option to clear idn_flags.
7353
5f24d53a
UD
7354 * malloc/malloc.c (_int_free): Possible race in the most recently
7355 added check. Only act on the data if no current modification
7356 happened.
265bb1ce
UD
7357
7358See ChangeLog.17 for earlier changes.