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