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