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