Remove pwd tst from configure
[glibc.git] / ChangeLog
blob0834b907d0ec34cc739c0ecdfc80b1ecba36f539
1 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3         * configure.in: PWD_P is not used anymore.
4         * config.make.in: Remove PWD_P entry.
6         * configure.in: Remove last remnants of RANLIB.
7         No need to check for signed size_t anymore.
8         Don't set libc_commonpagesize and libc_relro_required here for Alpha
9         and IA-64.
10         Remove __builtin_expect test because we require at least gcc 3.4.
12         * aclocal.m4: Likewise.
14         * wcsmbs/mbrtoc16.c: Implement using towc function.
15         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16         * wcsmbs/wcsmbsload.c: Likewise.
17         * iconv/gconv_simple.c: Likewise.
18         * iconv/gconv_int.h: Likewise.
19         * iconv/gconv_builtin.h: Likewise.
20         * iconv/iconv_prog.c: Remove CHAR16 handling.
22         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26         * configure.in: Remove --with-elf and --enable-bounded options.
27         Dont set base_machine for ia64.  More non-ELF conditions removed.
28         Remove testing and setting of leading underscore information.
29         * config.make.in (build-bounded): Set to no.
30         * config.h.in: Remove NO_UNDERSCORES entry.
31         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32         them.
33         * csu/start.c: Remove !NO_UNDERSCORE code.
34         * locale/localeinfo.h: Likewise.
35         * sysdeps/generic/machine-gmon.h: Likewise.
36         * sysdeps/generic/sysdep.h: Likewise.
37         * sysdeps/i386/sysdep.h: Likewise.
38         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39         * sysdeps/mach/sysdep.h: Likewise.
40         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42         * sysdeps/sh/sysdep.h: Likewise.
43         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44         * sysdeps/unix/i386/sysdep.S: Likewise.
45         * sysdeps/unix/sparc/start.c: Likewise.
46         * sysdeps/unix/sparc/sysdep.S: Likewise.
47         * sysdeps/unix/sparc/sysdep.h: Likewise.
48         * sysdeps/unix/start.c: Likewise.
49         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50         * sysdeps/x86_64/sysdep.h: Likewise.
52 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54         [BZ #13553]
55         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56         for non-gcc.
57         * argp/argp-fmtstream.h: Use const instead __const.
58         * argp/argp.h: Likewise.
59         * assert/assert.h: Likewise.
60         * bits/fenv.h: Likewise.
61         * bits/sched.h: Likewise.
62         * bits/sigset.h: Likewise.
63         * bits/sigthread.h: Likewise.
64         * catgets/nl_types.h: Likewise.
65         * conform/data/pthread.h-data: Likewise.
66         * crypt/crypt-private.h: Likewise.
67         * crypt/crypt.h: Likewise.
68         * crypt/crypt_util.c: Likewise.
69         * ctype/ctype.h: Likewise.
70         * debug/execinfo.h: Likewise.
71         * debug/mbsnrtowcs_chk.c: Likewise.
72         * debug/mbsrtowcs_chk.c: Likewise.
73         * debug/wcsnrtombs_chk.c: Likewise.
74         * debug/wcsrtombs_chk.c: Likewise.
75         * debug/wcstombs_chk.c: Likewise.
76         * dirent/dirent.h: Likewise.
77         * dlfcn/dlfcn.h: Likewise.
78         * elf/neededtest4.c: Likewise.
79         * grp/grp.h: Likewise.
80         * gshadow/gshadow.h: Likewise.
81         * iconv/gconv.h: Likewise.
82         * iconv/gconv_int.h: Likewise.
83         * iconv/gconv_simple.c: Likewise.
84         * iconv/iconv.h: Likewise.
85         * iconv/loop.c: Likewise.
86         * iconv/skeleton.c: Likewise.
87         * include/aio.h: Likewise.
88         * include/aliases.h: Likewise.
89         * include/argz.h: Likewise.
90         * include/arpa/inet.h: Likewise.
91         * include/assert.h: Likewise.
92         * include/dirent.h: Likewise.
93         * include/dlfcn.h: Likewise.
94         * include/execinfo.h: Likewise.
95         * include/fcntl.h: Likewise.
96         * include/fenv.h: Likewise.
97         * include/glob.h: Likewise.
98         * include/grp.h: Likewise.
99         * include/libintl.h: Likewise.
100         * include/mntent.h: Likewise.
101         * include/netdb.h: Likewise.
102         * include/pwd.h: Likewise.
103         * include/rpc/netdb.h: Likewise.
104         * include/sched.h: Likewise.
105         * include/search.h: Likewise.
106         * include/shadow.h: Likewise.
107         * include/signal.h: Likewise.
108         * include/stdio.h: Likewise.
109         * include/stdlib.h: Likewise.
110         * include/string.h: Likewise.
111         * include/sys/socket.h: Likewise.
112         * include/sys/stat.h: Likewise.
113         * include/sys/statfs.h: Likewise.
114         * include/sys/statvfs.h: Likewise.
115         * include/sys/syslog.h: Likewise.
116         * include/sys/time.h: Likewise.
117         * include/sys/uio.h: Likewise.
118         * include/time.h: Likewise.
119         * include/unistd.h: Likewise.
120         * include/utmp.h: Likewise.
121         * include/wchar.h: Likewise.
122         * include/wctype.h: Likewise.
123         * inet/aliases.h: Likewise.
124         * inet/arpa/inet.h: Likewise.
125         * inet/netinet/ether.h: Likewise.
126         * inet/netinet/in.h: Likewise.
127         * intl/libintl.h: Likewise.
128         * io/bits/fcntl2.h: Likewise.
129         * io/fcntl.h: Likewise.
130         * io/ftw.h: Likewise.
131         * io/sys/poll.h: Likewise.
132         * io/sys/stat.h: Likewise.
133         * io/sys/statfs.h: Likewise.
134         * io/sys/statvfs.h: Likewise.
135         * io/utime.h: Likewise.
136         * libio/bits/stdio.h: Likewise.
137         * libio/bits/stdio2.h: Likewise.
138         * libio/libio.h: Likewise.
139         * libio/libioP.h: Likewise.
140         * libio/stdio.h: Likewise.
141         * locale/lc-ctype.c: Likewise.
142         * locale/locale.h: Likewise.
143         * login/utmp.h: Likewise.
144         * malloc/arena.c: Likewise.
145         * malloc/malloc.c: Likewise.
146         * malloc/malloc.h: Likewise.
147         * malloc/mcheck.c: Likewise.
148         * malloc/mtrace.c: Likewise.
149         * math/bits/mathcalls.h: Likewise.
150         * math/fenv.h: Likewise.
151         * math/math_private.h: Likewise.
152         * misc/bits/error.h: Likewise.
153         * misc/bits/syslog.h: Likewise.
154         * misc/err.h: Likewise.
155         * misc/error.h: Likewise.
156         * misc/fstab.h: Likewise.
157         * misc/mntent.h: Likewise.
158         * misc/regexp.h: Likewise.
159         * misc/search.h: Likewise.
160         * misc/sgtty.h: Likewise.
161         * misc/sys/mman.h: Likewise.
162         * misc/sys/syslog.h: Likewise.
163         * misc/sys/uio.h: Likewise.
164         * misc/sys/xattr.h: Likewise.
165         * misc/ttyent.h: Likewise.
166         * nis/rpcsvc/ypclnt.h: Likewise.
167         * nss/nss.h: Likewise.
168         * posix/bits/unistd.h: Likewise.
169         * posix/fnmatch.h: Likewise.
170         * posix/glob.h: Likewise.
171         * posix/sched.h: Likewise.
172         * posix/spawn.h: Likewise.
173         * posix/sys/wait.h: Likewise.
174         * posix/unistd.h: Likewise.
175         * posix/wordexp.h: Likewise.
176         * pwd/pwd.h: Likewise.
177         * resolv/netdb.h: Likewise.
178         * resource/sys/resource.h: Likewise.
179         * rt/aio.h: Likewise.
180         * rt/bits/mqueue2.h: Likewise.
181         * rt/mqueue.h: Likewise.
182         * shadow/shadow.h: Likewise.
183         * signal/signal.h: Likewise.
184         * socket/send.c: Likewise.
185         * socket/sendto.c: Likewise.
186         * socket/sys/socket.h: Likewise.
187         * stdio-common/printf.h: Likewise.
188         * stdlib/bits/stdlib.h: Likewise.
189         * stdlib/fmtmsg.h: Likewise.
190         * stdlib/monetary.h: Likewise.
191         * stdlib/stdlib.h: Likewise.
192         * stdlib/ucontext.h: Likewise.
193         * streams/stropts.h: Likewise.
194         * string/argz.h: Likewise.
195         * string/bits/string2.h: Likewise.
196         * string/string.h: Likewise.
197         * string/strings.h: Likewise.
198         * sunrpc/rpc/auth.h: Likewise.
199         * sunrpc/rpc/auth_des.h: Likewise.
200         * sunrpc/rpc/clnt.h: Likewise.
201         * sunrpc/rpc/netdb.h: Likewise.
202         * sunrpc/rpc/pmap_clnt.h: Likewise.
203         * sunrpc/rpc/xdr.h: Likewise.
204         * sysdeps/generic/inttypes.h: Likewise.
205         * sysdeps/generic/net/if.h: Likewise.
206         * sysdeps/generic/sys/swap.h: Likewise.
207         * sysdeps/gnu/net/if.h: Likewise.
208         * sysdeps/gnu/utmpx.h: Likewise.
209         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
210         * sysdeps/i386/i486/bits/string.h: Likewise.
211         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
212         * sysdeps/s390/bits/string.h: Likewise.
213         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
214         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
215         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
216         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
217         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
218         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
219         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
220         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
221         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
222         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
223         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
224         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
225         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
226         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
227         * sysdeps/unix/sysv/linux/readv.c: Likewise.
228         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
229         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
230         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
231         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
232         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
233         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
234         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
235         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
236         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
237         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
238         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
239         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
240         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
241         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
242         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
243         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
244         * sysvipc/sys/ipc.h: Likewise.
245         * sysvipc/sys/msg.h: Likewise.
246         * sysvipc/sys/sem.h: Likewise.
247         * sysvipc/sys/shm.h: Likewise.
248         * termios/termios.h: Likewise.
249         * time/sys/time.h: Likewise.
250         * time/time.h: Likewise.
251         * wcsmbs/bits/wchar2.h: Likewise.
252         * wcsmbs/uchar.h: Likewise.
253         * wcsmbs/wchar.h: Likewise.
254         * wctype/wctype.h: Likewise.
256         [BZ #13551]
257         * Makeconfig: Remove all but ELF support including AIX support.
258         * Makerules: Likewise.
259         * config.h.in: Likewise.
260         * config.make.in: Likewise.
261         * configure: Likewise.
262         * configure.in: Likewise.
263         * csu/Makefile: Likewise.
264         * csu/version.c: Likewise.
265         * debug/Makefile: Likewise.
266         * dlfcn/Makefile: Likewise.
267         * elf/Makefile: Likewise.
268         * extra-lib.mk: Likewise.
269         * iconv/Makefile: Likewise.
270         * include/libc-symbols.h: Likewise.
271         * include/shlib-compat.h: Likewise.
272         * resolv/Makefile: Likewise.
273         * resolv/res_libc.c: Likewise.
274         * rt/Makefile: Likewise.
275         * sysdeps/i386/asm-syntax.h: Likewise.
276         * sysdeps/i386/sysdep.h: Likewise.
277         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
278         * sysdeps/mach/sysdep.h: Likewise.
279         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
280         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
281         * sysdeps/s390/asm-syntax.h: Likewise.
282         * sysdeps/s390/s390-32/sysdep.h: Likewise.
283         * sysdeps/s390/s390-64/sysdep.h: Likewise.
284         * sysdeps/sh/sysdep.h: Likewise.
285         * sysdeps/unix/sparc/sysdep.h: Likewise.
286         * sysdeps/wordsize-32/divdi3.c: Likewise.
287         * sysdeps/x86_64/sysdep.h: Likewise.
289         * argp/Versions: Remove _argp_unlock_xxx.
291         [BZ #13559]
292         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
293         * abilist/libBrokenLocale.abilist: Likewise.
294         * abilist/libanl.abilist: Likewise.
295         * abilist/libc.abilist: Likewise.
296         * abilist/libcrypt.abilist: Likewise.
297         * abilist/libdl.abilist: Likewise.
298         * abilist/libm.abilist: Likewise.
299         * abilist/libnsl.abilist: Likewise.
300         * abilist/libpthread.abilist: Likewise.
301         * abilist/libresolv.abilist: Likewise.
302         * abilist/librt.abilist: Likewise.
303         * abilist/libthread_db.abilist: Likewise.
304         * abilist/libutil.abilist: Likewise.
305         * abilist/libnss_db.abilist: New file.
307         * scripts/abilist.awk: Add support for indirect functions.
309         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
311         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
313         * shlib-versions: Remove entries for ports architectures.
315         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
316         files in ports.
317         * elf/stackguard-macros.h: Remove support for IA-64.
318         * elf/tst-auditmod1.c: Likewise.
319         * sysdeps/generic/ldsodefs.h: Likewise.
321         * sysdeps/unix/sysv/linux/configure.in: Ports should define
322         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
323         configure files.
325         [BZ #13552]
326         * configure.in: Remove --enable-omitfp support.
327         * FAQ.in: Adjust.
328         * config.make.in: Likewise.
329         * Makeconfig: Likewise.
330         * manual/install.texi: Likewise.
332         In case anyone cares, the IA-64 architecture could move to ports.
333         * sysdeps/ia64/*: Removed.
334         * sysdeps/unix/sysv/linux/ia64/*: Removed.
335         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
337         [BZ #13555]
338         * configure.in: Remove entries for unsupported architectures.
340         [BZ #13533]
341         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
342         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
343         routines.
344         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
345         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
346         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
347         fall back to using wcrtomb.
348         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
349         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
350         renaming.
351         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
352         * wcsmbs/tst-c16c32-1.c: New file.
354         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
355         local variable.
357         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
359         * elf/tst-unique3.cc: Add explicit declaration of gets.
360         * elf/tst-unique3lib.cc: Likewise.
361         * elf/tst-unique3lib2.cc: Likewise.
362         * elf/tst-unique4.cc: Likewise.
364         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
366 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
368         [BZ #13566]
369         * assert/assert.h (static_assert): Don't define for C++.
370         * libio/stdio.h (gets): Do declare for C++ <= C++11.
371         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
373 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
375         * iconv/loop.c (single loop): Fix assertion in storing of
376         remaining bytes.
378         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
380 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
382         * posix/getconf.c: Update copyright year.
383         * nss/getent.c: Likewise.
384         * nss/makedb.c: Likewise.
385         * iconv/iconvconfig.c: Likewise.
386         * iconv/iconv_prog.c: Likewise.
387         * elf/ldconfig.c: Likewise.
388         * elf/pldd.c: Likewise.
389         * elf/sotruss.ksh: Likewise.
390         * catgets/gencat.c: Likewise.
391         * csu/version.c: Likewise.
392         * elf/ldd.bash.in: Likewise.
393         * elf/sprof.c (print_version): Likewise.
394         * locale/programs/locale.c: Likewise.
395         * locale/programs/localedef.c: Likewise.
396         * login/programs/pt_chown.c: Likewise.
397         * nscd/nscd.c (print_version): Likewise.
398         * debug/xtrace.sh: Likewise.
399         * malloc/memusage.sh: Likewise.
400         * malloc/mtrace.pl: Likewise.
401         * debug/catchsegv.sh: Likewise.
403 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
405         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
406         pure attribute.
408 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
410         [BZ #13533]
411         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
412         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
413         transformations.
414         * iconv/gconv_int.h: Likewise.
415         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
416         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
417         from libc for GLIBC_2.16.
418         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
419         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
420         * wcsmbs/uchar.h: Really define mbstate_t.
421         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
422         * wcsmbs/c16rtomb.c: New file.
423         * wcsmbs/mbrtoc16.c: New file.
424         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
425         for C/POSIX locale.
426         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
427         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
429         * wcsmbs/wchar.h: Add missing __restrict.
431 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
433         [BZ #13532]
434         * time/Makefile (routines): Add timespec_get.
435         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
436         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
437         timespec for ISO C11.
438         * time/timespec_get.c: New file.
439         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
440         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
442         [BZ #13531]
443         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
444         * stdlib/stdlib.h: Declare aligned_alloc.
445         * Versions.def: Add GLIBC_2.16 for libc.
446         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
448         [BZ 13527]
449         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
450         ISO C11.
452         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
453         code.
455         [BZ #13528]
456         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
458         [BZ #13529]
459         * assert/assert.h (static_assert): Define.
461         * version.h: Update for 2.16 development version.
463         [BZ #13526]
464         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
465         _ISOC11_SOURCE.
467         * version.h (RELEASE): Bump for 2.15 release.
468         * include/features.h (__GLIBC_MINOR__): Bump to 15.
470         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
471         Patch by Marek Polacek <mpolacek@redhat.com>.
473         * bits/byteswap.h: Protect long long constants with __extension__.
474         * sysdeps/i386/bits/byteswap.h: Likewise.
475         * sysdeps/ia64/bits/byteswap.h: Likewise.
476         * sysdeps/s390/bits/byteswap.h: Likewise.
477         * sysdeps/x86_64/bits/byteswap.h: Likewise.
479 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
481         [BZ #13540]
482         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
483         destination buffer.
484         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
486 2011-12-23  Marek Polacek  <polacek@redhat.com>
488         * elf/dl-addr.c (determine_info): Add inline keyword.
489         * elf/tst-auditmod4b.c (check_avx): Likewise.
490         * elf/tst-auditmod6b.c (check_avx): Likewise.
491         * elf/tst-auditmod6c.c (check_avx): Likewise.
492         * elf/tst-auditmod7b.c (check_avx): Likewise.
494 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
496         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
497         !__SSE_MATH__.
499 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
501         [BZ #13540]
502         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
503         processing for last bytes.
505 2011-08-06  Bruno Haible  <bruno@clisp.org>
507         [BZ #13061]
508         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
509         U+0385, not to U+1FEE.
511         [BZ #13062]
512         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
513         entry for U+00A5 U+0301.
515 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
517         [BZ #13166]
518         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
519         buffer for the output is too small.
521         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
522         optimization.
524         [BZ #13185]
525         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
526         SSE flags if possible.
528 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
530         [BZ #13540]
531         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
532         processing for last bytes.
534 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
536         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
537         (syscall-list-default-options, syscall-list-default-condition)
538         (syscall-list-includes): Define.
539         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
540         list of ABIs and options and #if conditions for each ABI.  Do not
541         handle common syscalls between ABIs specially.
542         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
543         Remove.
544         (syscall-list-variants, syscall-list-32bit-options)
545         (syscall-list-32bit-condition, syscall-list-64bit-options)
546         (syscall-list-64bit-condition): Define.
547         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
548         (syscall-list-variants, syscall-list-32bit-options)
549         (syscall-list-32bit-condition, syscall-list-64bit-options)
550         (syscall-list-64bit-condition): Define.
551         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
552         Remove.
553         (syscall-list-variants, syscall-list-32bit-options)
554         (syscall-list-32bit-condition, syscall-list-64bit-options)
555         (syscall-list-64bit-condition): Define.
556         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
557         Remove.
558         (syscall-list-variants, syscall-list-32bit-options)
559         (syscall-list-32bit-condition, syscall-list-64bit-options)
560         (syscall-list-64bit-condition): Define.
562 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
564         * locale/iso-639.def: Add brx entry.
566         [BZ #13328]
567         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
568         Proposed by Mariusz_Cukr <marcukr@op.pl>.
570         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
571         __feraiseexcept_renamed.
573 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
575         [BZ #13538]
576         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
577         EPOLLET with unsigned values.
578         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
579         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
581         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
582         to large cancellation.
583         * math/s_cacoshf.c: Likewise.
584         * math/s_cacoshl.c: Likewise.
586 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
588         [BZ #13305]
589         [BZ #12786]
590         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
591         * math/s_cacoshf.c: Likewise.
592         * math/s_cacoshl.c: Likewise.
594 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
596         [BZ #13439]
597         * iconv/gconv.h: Define __GCONV_SWAP.
598         * iconvdata/unicode.c: The swap bit must be stored in __flags.
599         * iconvdata/utf-16.c: Likewise.
600         * iconvdata/utf-32.c: Likewise.
602 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
604         [BZ #13524]
605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
606         numerator after shifting it by one limb.
608 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
610         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
611         under [__USE_EXTERN_INLINES].
613 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
615         [BZ #13446]
616         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
618 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
620         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
621         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
622         optimized code.
623         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
624         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
625         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
626         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
627         for strncasecmp/strncasecmp_l compilation.
628         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
629         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
631 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
633         [BZ #13484]
634         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
635         of __asm__.
637 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
639         [BZ #13506]
640         * time/tzfile.c (__tzfile_read): Check values from file header.
642 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
644         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
645         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
646         * powerpc/powerpc32/dl-start.S: Likewise.
647         * powerpc/powerpc32/elf/start.S: Likewise.
648         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
649         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
650         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
651         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
652         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
653         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
654         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
655         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
656         * powerpc/powerpc32/fpu/s_round.S: Likewise.
657         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
658         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
659         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
660         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
661         * powerpc/powerpc32/memset.S: Likewise.
662         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
663         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
664         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
665         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
666         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
667         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
668         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
669         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
670         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
671         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
672         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
673         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
674         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
676 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
678         * math/libm-test.inc: Added more nearbyint tests.
679         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
680         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
681         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
682         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
684 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
686         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
687         FD_CLOEXEC.
689 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
691         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
692         Add wcscpy-ssse3 wcscpy-c.
693         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
694         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
695         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
696         * sysdeps/x86_64/wcschr.S: New file.
697         * sysdeps/x86_64/wcsrchr.S: New file.
698         * string/test-strcmp.c: Remove checking of wcscmp function for
699         wrong alignments.
700         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
701         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
702         wcsrchr-sse2 wcsrchr-c.
703         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
704         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
705         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
706         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
707         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
708         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
709         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
710         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
711         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
712         * wcsmbc/wcschr.c (WCSCHR): New macro.
714 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
716         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
717         * wcsmbs/test-wcsrchr.c: New file.
718         * string/test-strrchr.c: Add wcsrchr support.
719         (WIDE): New macro.
720         * wcsmbs/test-wcscpy.c: New file.
721         * string/test-strcpy.c: Add wcscpy support.
722         (WIDE): New macro.
724 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
726         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
727         the inner loop.
729 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
731         [BZ #13472]
732         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
734 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
736         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
737         Minor optimizations.
739         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
740         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
741         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
743 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
745         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
746         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
747         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
748         for gcc to avoid warnings.
749         * inet/Makefile (tests): Add tst-checks.
750         * inet/tst-checks.c: New file.
752         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
753         warning.
755         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
756         __wmemcmp_sse2.
758         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
759         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
761         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
763 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
765         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
766         problem.
768         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
770 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
772         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
773         conditional on GCC version.
774         (__arch_compare_and_exchange_val_8_acq)
775         (__arch_compare_and_exchange_val_16_acq)
776         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
777         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
778         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
780 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
782         * sysdeps/sh/backtrace.c: New file.
784 2011-12-02  Andreas Schwab  <schwab@redhat.com>
786         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
787         parenthesis.
789 2011-12-01  Andreas Schwab  <schwab@redhat.com>
791         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
792         falling back to utime.
794 2011-11-30  Andreas Schwab  <schwab@redhat.com>
796         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
797         expectations for float.
799 2011-11-29  Andreas Schwab  <schwab@redhat.com>
801         * locale/weight.h (findidx): Add parameter len.
802         * locale/weightwc.h (findidx): Likewise.
803         * posix/fnmatch_loop.c (FCT): Adjust caller.
804         * posix/regcomp.c (build_equiv_class): Likewise.
805         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
806         * posix/regexec.c (check_node_accept_bytes): Likewise.
807         * string/strcoll_l.c (STRCOLL): Likewise.
808         * string/strxfrm_l.c (STRXFRM): Likewise.
810 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
812         * Makefile.in: Remove CVSOPT handling.
813         * configure.in: Remove use of AC_REVISION.
814         * iconvdata/Makefile (distribute): No need to filter out CVS.
815         * scripts/list-sources.sh: Remove CVS, subversion and monotone
816         handling.
818 2011-11-16  Andreas Schwab  <schwab@redhat.com>
820         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
821         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
822         [USE_AS_STRNCASECMP_L]: Likewise.
823         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
824         NO_TLS_DIRECT_SEG_REFS.
825         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
826         Fix argument offsets for non-PIC.
827         [USE_AS_STRNCASECMP_L]: Likewise.
828         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
829         NO_TLS_DIRECT_SEG_REFS.
831 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
833         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
834         O_CLOEXEC.
835         * locale/loadlocale.c (_nl_load_locale): Likewise.
837 2011-11-15  Andreas Schwab  <schwab@redhat.com>
839         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
840         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
841         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
842         (SYSCALL_GETTIME): Set errno on error.
844         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
845         count references to noai6ai_cached.
847 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
849         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
851         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
852         FD_CLOEXEC for /proc/self/maps.
854         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
855         FD_CLOEXEC for /proc/meminfo.
857         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
858         gai.conf.
860         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
861         FD_CLOEXEC for given file.
863         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
865         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
866         FD_CLOEXEC for /etc/hosts.
867         (_gethtent): Likewise.
869         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
871         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
872         cancellation and set FD_CLOEXEC for /etc/netgroup.
874         * nss/nss_files/files-key.c (search): Don't allow cancellation when
875         reading /etc/publickey.
877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
878         allow cancellation when reading /etc/group.
880         * nss/nss_files/files-alias.c (internal_setent): Don't allow
881         cancellation.
882         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
884         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
885         when using data file.
887         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
889         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
890         (write_nis_obj): Use "c" and "e" in fopen.
892         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
894         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
896         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
898         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
900         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
901         locale.alias.
903         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
905         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
907         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
909         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
910         file parsing and set FD_CLOEXEC.
912 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
914         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
916 2011-11-14  Andreas Schwab  <schwab@redhat.com>
918         * malloc/arena.c (arena_get2): Don't call reused_arena when
919         _int_new_arena failed.
921 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
923         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
924         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
925         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
926         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
927         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
928         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
929         to compile strcasecmp and strncasecmp.
930         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
931         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
933         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
935 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
937         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
938         locale-defines.sym to gen-as-const-headers.
939         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
940         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
941         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
942         to compile strcasecmp and strncasecmp.
943         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
944         strcasecmp_l and strncasecmp_l.
945         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
946         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
947         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
948         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
949         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
950         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
951         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
952         * sysdeps/i386/i686/multiarch/strncase.S: New file.
953         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
954         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
955         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
957 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
959         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
960         result of SYSDEP_GETTIME_CPU to retval.
961         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
962         parameter list to macro.  Remove trailing semicolon.  Adjust users.
964         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
965         variable.
967         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
968         mantissa words.
969         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
971         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
972         from unused variable.
974         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
975         DWARF definitions.
976         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
977         for assembling.
979         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
980         over namespaces.
982         * sunrpc/rpc_prot.c (rejected): Fix case value.
984         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
985         unsigned long long int to avoid warnings in shift.
987         * posix/regex_internal.c (re_string_reconstruct): Actually use result
988         of use of trans.
989         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
990         variable tmp.
992         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
993         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
994         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
996         * nis/nis_table.c (nis_list): Use variable of correct type for
997         result of __follow_path call.
999 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1001         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1002         of math functions ceil, trunc, floor, round, and sqrt, when
1003         avaliable on the platform.
1004         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1005         name clash.
1006         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1007         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1008         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1010 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
1012         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1013         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1015 2011-11-11  Roland McGrath  <roland@hack.frob.com>
1017         * include/unistd.h: Fix __readlink return type.
1018         Reported by Chris Metcalf <cmetcalf@tilera.com>.
1020 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
1022         * stdlib/ucontext.h: Undo last change for makecontext.
1024 2011-11-11  Andreas Schwab  <schwab@redhat.com>
1026         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1028         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1029         * setjmp/setjmp.h: Mark functions as non-leaf.
1030         * setjmp/bits/setjmp2.h: Likewise.
1031         * stdlib/ucontext.h: Likewise.
1033 2011-11-10  Andreas Schwab  <schwab@redhat.com>
1035         * malloc/arena.c (_int_new_arena): Don't increment narenas.
1036         (reused_arena): Don't check arena limit.
1037         (arena_get2): Atomically check arena limit.
1039 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
1041         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1042         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1044         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1045         instructions.
1047 2011-11-07  Andreas Schwab  <schwab@redhat.com>
1049         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1050         handler when locking.
1052         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1053         Fix size of allocated buffer.
1055 2011-11-04  Andreas Schwab  <schwab@redhat.com>
1057         [BZ #10103]
1058         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1059         declarations for long double functions.
1060         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1062         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1064 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1066         * nscd/nscd.c (main): Don't start AVC thread until credentials are
1067         installed.
1069         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1070         is disabled.
1072 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1074         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1076 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
1078         * include/alloca.h (stackinfo_alloca_round): Define.
1079         (extend_alloca): Use it.
1080         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1081         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1082         here.
1084         * scripts/check-local-headers.sh: Ignore libaudit.h.
1086         * nscd/Makefile (extra-objs): Make recursively expanded.
1088 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
1090         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1091         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1093         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1094         * posix/tst-rfc3484-2.c: Likewise.
1095         * posix/tst-rfc3484-3.c: Likewise.
1097         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1098         process_vm_writev.
1099         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1100         process_vm_writev.
1101         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1102         process_vm_writev from libc using GLIBC_2.15 version.
1104         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1106 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
1108         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1109         stack usage.
1111 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
1113         [BZ #13367]
1114         * nss/getent.c (initgroups_keys): Show error message in case no group
1115         names are given.
1117         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1118         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1119         __bump_nl_timestamp.
1120         * nscd/connections (nscd_init): When host database is served open
1121         netlink socket and request notification about configuration changes.
1122         (main_loop_poll): Track netlink file descriptor and bump timestamp
1123         in case data becomes available.
1124         (main_loop_epoll): Likewise.
1125         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1126         (database_pers_head): Add extra_data fileds.
1127         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1128         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1129         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1130         Adjust caller.
1131         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1132         in6ai data, call __free_in6ai.
1133         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1134         Add -DHAVE_NETLINK.
1135         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
1136         interface information.  Reuse previous data if netlink timestamp
1137         is not changed.
1138         (__bump_nl_timestamp): New function.
1139         (__free_in6ai): New function.
1141 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
1143         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1144         close_not_cancel_no_status here.
1145         (__check_pf): Reorganize code a bit to not call close twice if OOM.
1147 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
1149         [BZ #13276]
1150         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1151         return value.
1153         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
1154         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1155         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1157 2011-07-03  Andreas Jaeger  <aj@suse.de>
1159         [BZ #10709]
1160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1161         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1162         * math/libm-test.inc (sin_test): Add test case.
1164 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
1166         [BZ #13337]
1167         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1168         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1170         * elf/chroot_canon.c (chroot_canon): Cleanups.
1172         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1174         [BZ #13335]
1175         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1176         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1178         * string/test-strchr.c: Make usable for strchrnul testing.
1179         * string/test-strchrnul.c: New file.
1180         * string/Makefile (strop-tests): Add strchrnul.
1182         * po/it.po: Update from translation team.
1183         * po/es.po: Likewise.
1185 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
1187         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1188         the three constants needed as parameters.  Drop the others.
1189         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1190         __m128i_strloadu_tolower.
1191         Create and initialize variable zero and use it in all the places
1192         where _mm_setzero_si128 was used.
1194         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1195         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1196         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1197         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1198         anymore.
1199         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1200         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1201         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1202         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1203         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1204         __mpranred, __mptan.
1205         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1206         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1207         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1208         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1209         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1210         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1211         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1212         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1213         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1215 2011-10-28  Andreas Schwab  <schwab@redhat.com>
1217         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1218         redefine if SHARED.
1219         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1222         wide char related routines to wcsmbs subdir.
1224 2011-10-27  Andreas Schwab  <schwab@redhat.com>
1226         [BZ #13344]
1227         * misc/sys/cdefs.h (__THROWNL): Define.
1228         * posix/unistd.h: Use __THREADNL instead of __THREAD
1229         for memory synchronization functions.
1231 2011-10-26  Roland McGrath  <roland@hack.frob.com>
1233         [BZ #13349]
1234         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1235         doesn't exist.
1236         * manual/stdio.texi (Obstack Streams): Node removed.
1238 2011-10-26  Andreas Schwab  <schwab@redhat.com>
1240         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1241         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1242         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1244         * math/math_private.h (math_force_eval): Allow non-addressable
1245         arguments.
1246         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1248 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
1250         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1251         file is not needed.
1253         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1254         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1255         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1256         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1257         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1258         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1259         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1260         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1261         Add AVX variants.
1262         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1263         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1264         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1265         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1266         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1267         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1268         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1269         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1270         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1271         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1272         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1273         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1274         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1275         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1276         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1277         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1278         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1279         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1280         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1282         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1283         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
1285         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1286         place.  Use VEX encoding when compiling for AVX.
1288 2011-10-25  Andreas Schwab  <schwab@redhat.com>
1290         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1291         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1293         * string/test-strchr.c (do_test): Don't generate NUL bytes.
1295 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
1297         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
1298         useless if() expression.
1299         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1300         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1301         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1302         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1303         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1304         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1305         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1306         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1307         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1308         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1309         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1310         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1311         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1312         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1313         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1314         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1315         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1317         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1319         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
1321 2011-10-25  Andreas Schwab  <schwab@redhat.com>
1323         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1324         condition.
1325         * elf/dl-fini.c (_dl_sort_fini): Likewise.
1327 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
1329         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1330         .text section.  Avoid duplicate constants.
1331         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1332         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1333         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1334         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1335         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1336         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1338         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1339         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1340         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1341         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1342         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1343         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1344         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1345         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1346         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1347         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1348         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1349         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1350         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1351         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1352         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1353         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1354         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1355         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1356         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1357         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1358         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1359         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1360         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1361         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1362         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1363         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1364         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1365         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1366         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1367         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1368         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1369         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1370         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1371         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1372         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1373         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1374         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1375         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1377 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
1379         * sysdeps/x86_64/dla.h: Move to ...
1380         * sysdeps/x86_64/fpu/dla.h: ...here.
1381         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1382         situations.  Use __builtin_fma only for gcc 4.6 and up.
1384         * config.make.in: Add have-mfma4 entry.
1385         * configure.in: Substitute libc_cv_cc_fma4.
1386         * math/Makefile (dbl-only-routines): Add sincostab.
1387         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1388         Use __sincostab not sincos.
1389         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1390         name is a macro.
1391         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1392         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1393         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1394         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
1395         using __copysign.
1396         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
1397         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
1398         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1399         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1400         and __inv.
1401         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1402         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1403         __copysign.
1404         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
1405         define aliases when function name is a macro.
1406         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1407         sysdeps/ieee754/dbl-64/sincos.tbl.
1408         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1409         fma4-enabled routines.
1410         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1411         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1412         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1413         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1414         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1415         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1416         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1417         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1418         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1419         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1420         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1421         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1422         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1423         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1424         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1425         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1426         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1427         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1428         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1429         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1430         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1431         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1432         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1433         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1434         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1435         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1436         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1437         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1438         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1439         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1441         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1442         rename.
1443         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1444         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1445         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1446         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1447         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1448         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1449         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1450         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1452 2011-10-24  Andreas Schwab  <schwab@redhat.com>
1454         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
1456 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
1458         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
1460         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
1461         prediction.
1462         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
1464         * string/strnlen.c: Don't define STRNLEN, reverse logic.
1465         Remove unused variable magic_bits.
1466         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
1468         * string/strnlen.c: Define and use STRNLEN macro.
1469         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
1470         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
1471         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
1472         * wcsmbs/wcslen.c: Define and use WCSLEN.
1473         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
1474         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
1475         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
1476         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
1477         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
1478         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
1479         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1481 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1484         strnlen-sse2-no-bsf.
1485         Rename strlen-no-bsf to strlen-sse2-no-bsf.
1486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
1487         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
1488         Add strnlen support.
1489         (USE_AS_STRNLEN): New macro.
1490         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
1491         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
1492         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
1493         * sysdeps/x86_64/wcslen.S: New file.
1495 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
1497         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1498         XMM-moves are used for copying on small sizes.
1500 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1502         * wcsmbs/Makefile (strop-tests): Add wcschr.
1503         * wcsmbs/test-wcschr.c: New file.
1504         * string/test-strchr.c: Update.
1505         Add wcschr support.
1506         (WIDE): New macro.
1508 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1510         * wcsmbs/Makefile (strop-tests): Add wcslen.
1511         * wcsmbs/test-wcslen.c: New file.
1512         * string/test-strlen.c: Update.
1513         Add wcslen support.
1514         (WIDE): New macro.
1516 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
1518         * po/it.po: Update from translation team.
1520 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1522         * sysdeps/x86_64/wcscmp.S: Update.
1523         Fix wrong comparison semantics.
1524         wcscmp shall use signed comparison not unsigned.
1525         Don't use substraction to avoid overflow bug.
1526         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1527         * wcsmbc/wcscmp.c: Likewise.
1528         * string/test-strcmp.c: Likewise.
1529         Add new tests to check cases with negative values.
1531 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
1533         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1534         * sysdeps/x86_64/dla.h: ...here.  New file.
1535         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1536         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1538         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1539         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1540         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1541         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1542         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1543         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1545 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
1547         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1548         __ynl_finite aliases.
1550 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
1552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1554         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1555         define DLA_FMA.
1556         [DLA_FMA] (EMULV): Use DLA_FMA.
1557         [DLA_FMA] (MUL12): Use EMULV.
1558         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1559         that are not needed.
1560         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1561         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1564         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1565         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1566         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1568 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
1570         * math/s_nan.c: Undef __nan.
1571         * math/s_nanf.c: Undef __nanf.
1572         * math/s_nanl.c: Undef __nanl.
1573         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1574         "math_private.h".
1576 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
1578         * math/s_catan.c: Add branch predictions.
1579         * math/s_catanf.c: Likewise.
1580         * math/s_catanh.c: Likewise.
1581         * math/s_catanhf.c: Likewise.
1582         * math/s_catanhl.c: Likewise.
1583         * math/s_catanl.c: Likewise.
1584         * math/s_cexp.c: Likewise.
1585         * math/s_cexpf.c: Likewise.
1586         * math/s_cexpl.c: Likewise.
1587         * math/s_clog.c: Likewise.
1588         * math/s_clog10.c: Likewise.
1589         * math/s_clog10f.c: Likewise.
1590         * math/s_clog10l.c: Likewise.
1591         * math/s_clogf.c: Likewise.
1592         * math/s_clogl.c: Likewise.
1593         * math/s_csqrt.c: Likewise.
1594         * math/s_csqrtf.c: Likewise.
1595         * math/s_csqrtl.c: Likewise.
1596         * math/s_ctanf.c: Likewise.
1597         * math/s_ctanh.c: Likewise.
1598         * math/s_ctanhf.c: Likewise.
1599         * math/s_ctanhl.c: Likewise.
1600         * math/s_ctanl.c: Likewise.
1602         * math/math_private.h: Define __nan, __nanf, __nanl.
1603         * math/s_cacosh.c: Include <math_private.h>.
1604         * math/s_cacoshl.c: Likewise.
1605         * math/s_casinh.c: Likewise.
1606         * math/s_casinhf.c: Likewise.
1607         * math/s_casinhl.c: Likewise.
1608         * math/s_ccos.c: Rely entire on ccosh.
1609         * math/s_ccosf.c: Rely entire on ccoshf.
1610         * math/s_ccosl.c: Rely entirely on ccoshl.
1611         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
1612         Remove tests for FE_INVALID.
1613         * math/s_ccoshf.c: Likewise.
1614         * math/s_ccoshl.c: Likewise.
1615         * math/s_csin.c: Likewise.
1616         * math/s_csinf.c: Likewise.
1617         * math/s_csinh.c Likewise.
1618         * math/s_csinhf.c: Likewise.
1619         * math/s_csinhl.c: Likewise.
1620         * math/s_csinl.c: Likewise.
1621         * math/s_ctan.c: Likewise.
1622         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1623         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1624         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1626 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
1628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1629         compilation problems.
1631         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1632         __builtin_expect.
1634 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
1636         * sysdeps/i386/configure.in: Test for -mfma4 option.
1637         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1638         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1639         COMMON_CPUID_INDEX_80000001.
1640         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1641         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1642         use it if FMA3 is not supported.
1643         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1645         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1646         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1648 2011-10-20  Andreas Schwab  <schwab@redhat.com>
1650         [BZ #12892]
1651         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1652         it would create a cycle with a link time dependency.
1654 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
1656         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1657         instruction.
1658         * string/Makefile (strop-tests): Add rawmemchr.
1659         * string/test-rawmemchr.c: New file.
1661         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1662         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
1663         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
1664         when compiling str{,n}casecmp and when AVX is available.  Hook up
1665         new optimized code in initializers.
1667 2011-10-19  Andreas Schwab  <schwab@redhat.com>
1669         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1670         __feraiseexcept instead of feraiseexcept.
1672 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
1674         * math/math_private.h: Define defaults for libc_fetestexcept and
1675         libc_feupdateenv.
1676         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1677         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1678         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1679         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1680         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1681         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1682         libc_fetestexcept and libc_feupdateenv.
1684         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1685         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1686         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1687         * sysdeps/x86_64/fpu/math_private.h: Define special version of
1688         libc_feholdexcept_setround.
1690         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1691         Add s_nearbyint-c and s_nearbyintf-c.
1692         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1693         nearbyintf inlines.
1694         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1695         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1696         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1697         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1699         * math/math_private.h: Define defaults for libc_fegetround,
1700         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1701         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1702         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1703         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1704         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1705         standard functions.
1706         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1707         Remove comments and hacks for old compiler versions.
1708         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1709         libc_fegetround, libc_fesetround, libc_feholdexcept, and
1710         libc_feholdexceptl.
1712 2011-10-18  Andreas Schwab  <schwab@redhat.com>
1714         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
1715         (__feraiseexcept_renamed): Add __NTH.
1716         (feraiseexcept): Add __NTH.  Rename local variables to fix
1717         namespace violations.
1719 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
1721         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1723         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1725         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1726         recently added interfaces.
1727         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1729         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1730         about macro parameter expansion.
1732         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1733         __NO_MATH_INLINES is defined.  Cleanups.
1735         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1736         and __floorf is target has SSE4.1.
1737         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1738         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1739         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1740         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1742         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1743         name.
1744         (floorf): Likewise.
1746         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1748 2011-10-17  Andreas Schwab  <schwab@redhat.com>
1750         * misc/sys/cdefs.h: Fix last change.
1752         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1753         database lookup.
1755 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
1757         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1759         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1761         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1762         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1763         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1764         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1765         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1766         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1767         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1768         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1769         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1770         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1771         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1772         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1773         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1774         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1775         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1776         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1777         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1778         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1779         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1780         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1782         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1783         ceil, ceilf, floor, floorf.
1785         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1786         Perform IRELATIVE relocations last.
1788         * elf/do-rel.h: Add another parameter nrelative, replacing the
1789         local variable with the same name.  Change name of the function
1790         to end in Rel or Rela (uppercase).
1791         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1792         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
1793         elf_dynamic_do_##reloc function.
1795 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
1797         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1798         is sufficient, at least on modern CPUs.
1800         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1802         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1803         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1805         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1806         __expl_finite.
1807         * math/bits/math-finite.h: Add entries for exp.
1808         * math/e_expl.c: Add __*_finite alias.
1809         * sysdeps/i386/fpu/e_exp.S: Likewise.
1810         * sysdeps/i386/fpu/e_expf.S: Likewise.
1811         * sysdeps/i386/fpu/e_expl.c: Likewise.
1812         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1813         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1814         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1815         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1816         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1817         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1818         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1820         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1821         is sufficient, at least on modern CPUs.
1823         * ctype/ctype-info.c (__ctype_init): Define.
1824         * include/ctype.h (__ctype_init): Declare.
1825         (__ctype_b_loc): The variable is always initialized.
1826         (__ctype_toupper_loc): Likewise.
1827         (__ctype_tolower_loc): Likewise.
1828         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1829         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1831 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
1833         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1835         * configure.in: Also look in $cxxmachine/include for C++ system
1836         headers.
1838 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1840         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1841         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1842         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1843         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
1844         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1845         (USE_AS_WMEMCMP): New macro.
1846         Fixing indents.
1847         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
1848         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
1849         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
1850         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
1851         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1852         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
1853         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
1854         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
1855         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
1856         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
1857         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
1858         (USE_AS_WMEMCMP): New macro.
1859         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
1860         * sysdeps/string/test-memcmp.c: Update.
1861         Fix simple_wmemcmp.
1862         Add new tests.
1863         * wcsmbs/wmemcmp.c: Update.
1864         (WMEMCMP): New macro.
1865         Fix overflow bug.
1867 2011-10-12  Andreas Jaeger  <aj@suse.de>
1869         [BZ #13268]
1870         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
1872 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
1874         * libio/iofwide.c (do_length): Avoid warning.
1876         * ctype/ctype.h (__isctype_f): Add missing __THROW.
1878 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
1880         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
1882         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
1883         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
1884         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
1885         * sysdeps/i386/i686/fpu/e_log.S: New file.
1886         * sysdeps/i386/i686/fpu/e_logf.S: New file.
1887         * sysdeps/i386/i686/fpu/e_logl.S: New file.
1889         * ctype/ctype.h: Add support for inlined isXXX functions when
1890         compiling C++ code.
1892 2011-10-14  Andreas Schwab  <schwab@redhat.com>
1894         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1896         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
1898 2011-10-13  Roland McGrath  <roland@hack.frob.com>
1900         [BZ #13291]
1901         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
1903 2011-10-13  Andreas Schwab  <schwab@redhat.com>
1905         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
1906         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
1907         feraiseexcept.
1909         * sysdeps/x86_64/memrchr.S: Check for zero size.
1911         * string/stratcliff.c: Add memrchr tests.
1913 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1915         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1916         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
1917         rawmemchr-sse2 rawmemchr-sse2-bsf.
1918         * sysdeps/i386/i686/multiarch/memchr.S: New file.
1919         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
1920         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
1921         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
1922         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
1923         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
1924         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
1925         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
1926         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
1927         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
1928         * string/memrchr.c (MEMRCHR): New macro.
1930 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
1932         Add integration with gcc's -ffinite-math-only and optimize wrapper
1933         functions in libm.
1934         * Versions.def: Define GLIBC_2.15 version for libm.
1935         * math/Makefile (headers): Add bits/math-finite.h.
1936         * math/bits/math-finite.h: New file.
1937         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
1938         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
1939         * math/e_acoshl.c: Add __*_finite alias.
1940         * math/e_acosl.c: Likewise.
1941         * math/e_asinl.c: Likewise.
1942         * math/e_atan2l.c: Likewise.
1943         * math/e_atanhl.c: Likewise.
1944         * math/e_coshl.c: Likewise.
1945         * math/e_exp10.c: Likewise.
1946         * math/e_exp10f.c: Likewise.
1947         * math/e_exp10l.c: Likewise.
1948         * math/e_exp2l.c: Likewise.
1949         * math/e_fmodl.c: Likewise.
1950         * math/e_gammal_r.c: Likewise.
1951         * math/e_hypotl.c: Likewise.
1952         * math/e_j0l.c: Likewise.
1953         * math/e_j1l.c: Likewise.
1954         * math/e_jnl.c: Likewise.
1955         * math/e_lgammal_r.c: Likewise.
1956         * math/e_log10l.c: Likewise.
1957         * math/e_log2l.c: Likewise.
1958         * math/e_logl.c: Likewise.
1959         * math/e_powl.c: Likewise.
1960         * math/e_sinhl.c: Likewise.
1961         * math/e_sqrtl.c: Likewise.
1962         * math/e_scalb.c: Completely rewritten and optimized.
1963         * math/e_scalbf.c: Likewise.
1964         * math/e_scalbl.c: Likewise.
1965         * math/w_acos.c: Likewise.
1966         * math/w_acosf.c: Likewise.
1967         * math/w_acosl.c: Likewise.
1968         * math/w_acosh.c: Likewise.
1969         * math/w_acoshf.c: Likewise.
1970         * math/w_acoshl.c: Likewise.
1971         * math/w_asin.c: Likewise.
1972         * math/w_asinf.c: Likewise.
1973         * math/w_asinl.c: Likewise.
1974         * math/w_atan2.c: Likewise.
1975         * math/w_atan2f.c: Likewise.
1976         * math/w_atan2l.c: Likewise.
1977         * math/w_atanh.c: Likewise.
1978         * math/w_atanhf.c: Likewise.
1979         * math/w_atanhl.c: Likewise.
1980         * math/w_exp10.c: Likewise.
1981         * math/w_exp10f.c: Likewise.
1982         * math/w_exp10l.c: Likewise.
1983         * math/w_fmod.c: Likewise.
1984         * math/w_fmodf.c: Likewise.
1985         * math/w_fmodl.c: Likewise.
1986         * math/w_j0.c: Likewise.
1987         * math/w_j0f.c: Likewise.
1988         * math/w_j0l.c: Likewise.
1989         * math/w_j1.c: Likewise.
1990         * math/w_j1f.c: Likewise.
1991         * math/w_j1l.c: Likewise.
1992         * math/w_jn.c: Likewise.
1993         * math/w_jnf.c: Likewise.
1994         * math/w_log.c: Likewise.
1995         * math/w_logf.c: Likewise.
1996         * math/w_logl.c: Likewise.
1997         * math/w_log10.c: Likewise.
1998         * math/w_log10f.c: Likewise.
1999         * math/w_log10l.c: Likewise.
2000         * math/w_log2.c: Likewise.
2001         * math/w_log2f.c: Likewise.
2002         * math/w_log2l.c: Likewise.
2003         * math/w_pow.c: Likewise.
2004         * math/w_powf.c: Likewise.
2005         * math/w_powl.c: Likewise.
2006         * math/w_remainder.c: Likewise.
2007         * math/w_remainderf.c: Likewise.
2008         * math/w_remainderl.c: Likewise.
2009         * math/w_scalb.c: Likewise.
2010         * math/w_scalbf.c: Likewise.
2011         * math/w_scalbl.c: Likewise.
2012         * math/w_sqrt.c: Likewise.
2013         * math/w_sqrtf.c: Likewise.
2014         * math/w_sqrtl.c: Likewise.
2015         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2016         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
2017         used.
2018         * math/math_private.h: Declare __kernel_standard_f.
2019         * math/w_cosh.c: Remove cruft and optimize a bit.
2020         * math/w_coshf.c: Likewise.
2021         * math/w_coshl.c: Likewise.
2022         * math/w_exp2.c: Likewise.
2023         * math/w_exp2f.c: Likewise.
2024         * math/w_exp2l.c: Likewise.
2025         * math/w_hypot.c: Likewise.
2026         * math/w_hypotf.c: Likewise.
2027         * math/w_hypotl.c: Likewise.
2028         * math/w_lgamma.c: Likewise.
2029         * math/w_lgamma_r.c: Likewise.
2030         * math/w_lgammaf.c: Likewise.
2031         * math/w_lgammaf_r.c: Likewise.
2032         * math/w_lgammal.c: Likewise.
2033         * math/w_lgammal_r.c: Likewise.
2034         * math/w_sinh.c: Likewise.
2035         * math/w_sinhf.c: Likewise.
2036         * math/w_sinhl.c: Likewise.
2037         * math/w_tgamma.c: Likewise.
2038         * math/w_tgammaf.c: Likewise.
2039         * math/w_tgammal.c: Likewise.
2040         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2041         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2042         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2043         Minor optimizations.  Pretty printing.  Remove cruft.
2044         * sysdeps/i386/fpu/e_acosf.S: Likewise.
2045         * sysdeps/i386/fpu/e_acosh.S: Likewise.
2046         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2047         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2048         * sysdeps/i386/fpu/e_acosl.c: Likewise.
2049         * sysdeps/i386/fpu/e_asin.S: Likewise.
2050         * sysdeps/i386/fpu/e_asinf.S: Likewise.
2051         * sysdeps/i386/fpu/e_atan2.S: Likewise.
2052         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2053         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2054         * sysdeps/i386/fpu/e_atanh.S: Likewise.
2055         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2056         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2057         * sysdeps/i386/fpu/e_exp10.S: Likewise.
2058         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2059         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2060         * sysdeps/i386/fpu/e_exp2.S: Likewise.
2061         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2062         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2063         * sysdeps/i386/fpu/e_fmod.S: Likewise.
2064         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2065         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2066         * sysdeps/i386/fpu/e_hypot.S: Likewise.
2067         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2068         * sysdeps/i386/fpu/e_log.S: Likewise.
2069         * sysdeps/i386/fpu/e_log10.S: Likewise.
2070         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2071         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2072         * sysdeps/i386/fpu/e_log2.S: Likewise.
2073         * sysdeps/i386/fpu/e_log2f.S: Likewise.
2074         * sysdeps/i386/fpu/e_log2l.S: Likewise.
2075         * sysdeps/i386/fpu/e_logf.S: Likewise.
2076         * sysdeps/i386/fpu/e_logl.S: Likewise.
2077         * sysdeps/i386/fpu/e_pow.S: Likewise.
2078         * sysdeps/i386/fpu/e_powf.S: Likewise.
2079         * sysdeps/i386/fpu/e_powl.S: Likewise.
2080         * sysdeps/i386/fpu/e_remainder.S: Likewise.
2081         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2082         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2083         * sysdeps/i386/fpu/e_scalb.S: Likewise.
2084         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2085         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2086         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2087         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2088         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2089         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2090         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2092         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2093         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2094         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2095         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2096         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2097         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2098         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2099         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2100         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2101         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2102         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2103         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2104         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2105         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2106         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2109         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2110         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2111         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2112         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2113         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2114         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2115         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2116         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2117         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2118         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2119         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2120         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2121         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2122         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2123         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2124         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2125         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2126         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2127         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2128         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2129         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2130         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2131         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2132         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2133         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2134         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2135         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2136         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2137         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2138         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2139         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2140         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2141         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2142         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2143         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2144         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2145         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2146         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2147         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2148         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2149         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2150         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2151         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2152         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2153         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2154         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2155         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2156         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2157         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2158         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2159         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2160         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2161         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2162         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2163         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2164         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2165         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2166         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2167         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2168         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2169         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2170         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2171         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2172         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2173         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2174         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2175         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2176         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2177         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2178         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2179         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2180         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2181         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2182         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2183         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2184         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2185         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2186         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2187         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2188         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2189         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2190         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2191         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2192         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2193         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2194         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2195         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2196         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2197         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2198         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2199         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
2200         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2201         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2202         (__isnanf): Likewise.
2203         (__isinf_ns): Likewise.
2204         (__isinf_nsf): Likewise.
2205         (__finite): Likewise.
2206         (__finitef): Likewise.
2207         (__ieee754_sqrt): Define as macro.
2208         (__ieee754_sqrtf): Define as macro.
2209         (__ieee754_sqrtl): Define as macro.
2210         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2211         inlined copy.
2212         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2213         __FINITE_MATH_ONLY__ consistent.
2214         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2216 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
2218         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2219         of rawmemchr.
2221         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2223 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
2225         * po/ja.po: Update from translation team.
2227 2011-10-08  Roland McGrath  <roland@hack.frob.com>
2229         * locale/programs/locarchive.c (prepare_address_space): New function.
2230         (create_archive, enlarge_archive, open_archive): Use it.
2232         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2233         inside [SHARED], where it is used.
2235         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2237         * nss/getent.c (netgroup_keys): Remove unused variable.
2238         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2240 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
2242         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2243         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2244         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2245         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2246         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2247         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2248         * math/Makefile (libm-calls): Add s_isinf_ns.
2249         * math/divtc3.c: Use __isinf_nsl instead of isinf.
2250         * math/multc3.c: Likewise.
2251         * math/s_casin.c: Likewise.
2252         * math/s_casinf.c: Likewise.
2253         * math/s_casinl.c: Likewise.
2254         * math/s_ccos.c: Likewise.
2255         * math/s_ccosf.c: Likewise.
2256         * math/s_ccosl.c: Likewise.
2257         * math/s_ctan.c: Likewise.
2258         * math/s_ctanf.c: Likewise.
2259         * math/s_ctanh.c: Likewise.
2260         * math/s_ctanhf.c: Likewise.
2261         * math/s_ctanhl.c: Likewise.
2262         * math/s_ctanl.c: Likewise.
2263         * math/w_fmod.c: Likewise.
2264         * math/w_fmodf.c: Likewise.
2265         * math/w_fmodl.c: Likewise.
2266         * math/w_remainder.c: Likewise.
2267         * math/w_remainderf.c: Likewise.
2268         * math/w_remainderl.c: Likewise.
2269         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2270         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2271         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2272         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2273         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2274         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2275         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2276         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2278         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2279         of the number.
2280         * stdio-common/printf_fphex.c: Likewise.
2281         * stdio-common/printf_size.c: Likewise.
2283         * math/e_exp10.c: Include math_private.h using <...> not "...".
2284         * math/e_exp10f.c: Likewise.
2285         * math/e_exp10l.c: Likewise.
2286         * math/e_exp2l.c: Likewise.
2287         * math/e_j0l.c: Likewise.
2288         * math/e_j1l.c: Likewise.
2289         * math/e_jnl.c: Likewise.
2290         * math/e_lgammal_r.c: Likewise.
2291         * math/e_rem_pio2l.c: Likewise.
2292         * math/e_scalb.c: Likewise.
2293         * math/e_scalbf.c: Likewise.
2294         * math/e_scalbl.c: Likewise.
2295         * math/k_cosl.c: Likewise.
2296         * math/k_sinl.c: Likewise.
2297         * math/k_tanl.c: Likewise.
2298         * math/s_cacoshf.c: Likewise.
2299         * math/s_catan.c: Likewise.
2300         * math/s_catanf.c: Likewise.
2301         * math/s_catanh.c: Likewise.
2302         * math/s_catanhf.c: Likewise.
2303         * math/s_catanhl.c: Likewise.
2304         * math/s_catanl.c: Likewise.
2305         * math/s_ccosh.c: Likewise.
2306         * math/s_ccoshf.c: Likewise.
2307         * math/s_ccoshl.c: Likewise.
2308         * math/s_cexp.c: Likewise.
2309         * math/s_cexpf.c: Likewise.
2310         * math/s_cexpl.c: Likewise.
2311         * math/s_clog.c: Likewise.
2312         * math/s_clog10.c: Likewise.
2313         * math/s_clog10f.c: Likewise.
2314         * math/s_clog10l.c: Likewise.
2315         * math/s_clogf.c: Likewise.
2316         * math/s_clogl.c: Likewise.
2317         * math/s_csin.c: Likewise.
2318         * math/s_csinf.c: Likewise.
2319         * math/s_csinh.c: Likewise.
2320         * math/s_csinhf.c: Likewise.
2321         * math/s_csinhl.c: Likewise.
2322         * math/s_csinl.c: Likewise.
2323         * math/s_csqrt.c: Likewise.
2324         * math/s_csqrtf.c: Likewise.
2325         * math/s_csqrtl.c: Likewise.
2326         * math/s_ctan.c: Likewise.
2327         * math/s_ctanf.c: Likewise.
2328         * math/s_ctanh.c: Likewise.
2329         * math/s_ctanhf.c: Likewise.
2330         * math/s_ctanhl.c: Likewise.
2331         * math/s_ctanl.c: Likewise.
2332         * math/s_ldexp.c: Likewise.
2333         * math/s_ldexpf.c: Likewise.
2334         * math/s_ldexpl.c: Likewise.
2335         * math/s_significand.c: Likewise.
2336         * math/s_significandf.c: Likewise.
2337         * math/s_significandl.c: Likewise.
2338         * math/w_acos.c: Likewise.
2339         * math/w_acosf.c: Likewise.
2340         * math/w_acosh.c: Likewise.
2341         * math/w_acoshf.c: Likewise.
2342         * math/w_acoshl.c: Likewise.
2343         * math/w_acosl.c: Likewise.
2344         * math/w_asin.c: Likewise.
2345         * math/w_asinf.c: Likewise.
2346         * math/w_asinl.c: Likewise.
2347         * math/w_atan2.c: Likewise.
2348         * math/w_atan2f.c: Likewise.
2349         * math/w_atan2l.c: Likewise.
2350         * math/w_atanh.c: Likewise.
2351         * math/w_atanhf.c: Likewise.
2352         * math/w_atanhl.c: Likewise.
2353         * math/w_cosh.c: Likewise.
2354         * math/w_coshf.c: Likewise.
2355         * math/w_coshl.c: Likewise.
2356         * math/w_dremf.c: Likewise.
2357         * math/w_exp10.c: Likewise.
2358         * math/w_exp10f.c: Likewise.
2359         * math/w_exp10l.c: Likewise.
2360         * math/w_exp2.c: Likewise.
2361         * math/w_exp2f.c: Likewise.
2362         * math/w_fmod.c: Likewise.
2363         * math/w_fmodf.c: Likewise.
2364         * math/w_fmodl.c: Likewise.
2365         * math/w_hypot.c: Likewise.
2366         * math/w_hypotf.c: Likewise.
2367         * math/w_hypotl.c: Likewise.
2368         * math/w_j0.c: Likewise.
2369         * math/w_j0f.c: Likewise.
2370         * math/w_j0l.c: Likewise.
2371         * math/w_j1.c: Likewise.
2372         * math/w_j1f.c: Likewise.
2373         * math/w_j1l.c: Likewise.
2374         * math/w_jn.c: Likewise.
2375         * math/w_jnf.c: Likewise.
2376         * math/w_jnl.c: Likewise.
2377         * math/w_lgamma.c: Likewise.
2378         * math/w_lgamma_r.c: Likewise.
2379         * math/w_lgammaf.c: Likewise.
2380         * math/w_lgammaf_r.c: Likewise.
2381         * math/w_lgammal.c: Likewise.
2382         * math/w_lgammal_r.c: Likewise.
2383         * math/w_log.c: Likewise.
2384         * math/w_log10.c: Likewise.
2385         * math/w_log10f.c: Likewise.
2386         * math/w_log10l.c: Likewise.
2387         * math/w_log2.c: Likewise.
2388         * math/w_log2f.c: Likewise.
2389         * math/w_log2l.c: Likewise.
2390         * math/w_logf.c: Likewise.
2391         * math/w_logl.c: Likewise.
2392         * math/w_pow.c: Likewise.
2393         * math/w_powf.c: Likewise.
2394         * math/w_powl.c: Likewise.
2395         * math/w_remainder.c: Likewise.
2396         * math/w_remainderf.c: Likewise.
2397         * math/w_remainderl.c: Likewise.
2398         * math/w_scalb.c: Likewise.
2399         * math/w_scalbf.c: Likewise.
2400         * math/w_scalbl.c: Likewise.
2401         * math/w_sinh.c: Likewise.
2402         * math/w_sinhf.c: Likewise.
2403         * math/w_sinhl.c: Likewise.
2404         * math/w_sqrt.c: Likewise.
2405         * math/w_sqrtf.c: Likewise.
2406         * math/w_sqrtl.c: Likewise.
2407         * math/w_tgamma.c: Likewise.
2408         * math/w_tgammaf.c: Likewise.
2409         * math/w_tgammal.c: Likewise.
2411         * po/ja.po: Update from translation team.
2413 2011-09-29  Andreas Jaeger  <aj@suse.de>
2415         [BZ #13179]
2416         * sunrpc/netname.c (netname2host): Fix logic.
2418         [BZ #6779]
2419         [BZ #6783]
2420         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2421         correctly.
2422         * math/w_remainder.c (__remainder): Likewise.
2423         * math/w_remainderf.c (__remainderf): Likewise.
2424         * math/libm-test.inc (remainder_test): Add test cases.
2426 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2428         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
2429         sdiv_qrnnd.
2431 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
2433         * string/test-memcmp.c: Avoid unncessary #defines.
2434         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2436 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2438         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2439         Use new sse2 version for core i3 - i7 as it's faster
2440         than sse42 version.
2441         (bit_Prefer_PMINUB_for_stringop): New.
2442         * sysdeps/x86_64/rawmemchr.S: Update.
2443         Replace with faster SSE2 version.
2444         * sysdeps/x86_64/memrchr.S: New file.
2445         * sysdeps/x86_64/memchr.S: Update.
2446         Replace with faster SSE2 version.
2448 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
2450         * elf/dl-load.c (lose): Add cast to avoid warning.
2452 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
2454         * po/ca.po: Update from translation team.
2456         * inet/getnetgrent_r.c: Hook up nscd.
2457         * nscd/Makefile (routines): Add nscd_netgroup.
2458         (nscd-modules): Add netgroupcache.
2459         (CFLAGS-netgroupcache.c): Define.
2460         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
2461         (cache_search): Add const to second parameter.
2462         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
2463         INNETGR.
2464         (dbs): Add netgrdb entry.
2465         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
2466         (verify_persistent_db): Handle netgrdb.
2467         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
2468         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
2469         GETFDNETGR.
2470         (netgroup_response_header): Define.
2471         (innetgroup_response_header): Define.
2472         (datahead): Add netgroup_response_header and innetgroup_response_header
2473         elements.
2474         * nscd/nscd.conf: Add entries for netgroup cache.
2475         * nscd/nscd.h (dbtype): Add netgrdb.
2476         (_PATH_NSCD_NETGROUP_DB): Define.
2477         (netgroup_iov_disabled): Declare.
2478         (xmalloc, xcalloc, xrealloc): Move declarations here.
2479         (cache_search): Adjust prototype.
2480         Add netgroup-related prototypes.
2481         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
2482         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
2483         (__nscd_innetgr): Declare.
2484         * nscd/selinux.c (perms): Use access_vector_t as element type and
2485         add netgroup-related initializers.
2486         * nscd/netgroupcache.c: New file.
2487         * nscd/nscd_netgroup.c: New file.
2488         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
2489         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
2490         For four parameters use innetgr.
2491         * nss/nss_files/files-init.c: Add definition and callback for netgr.
2492         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
2493         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
2494         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
2496         * nscd/connections.c (register_traced_file): Don't register file
2497         for disabled databases.
2499 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
2501         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2503         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2504         from tree and freeing node.
2506 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
2508         * nss/nsswitch.c (__nss_database_lookup): Handle
2509         nss_parse_service_list out of memory case.
2511 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
2513         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2514         out of memory case.
2516 2011-10-04  Andreas Schwab  <schwab@redhat.com>
2518         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2519         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2520         pass it down.
2521         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2522         elf_machine_rela, elf_machine_lazy_rel.
2523         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2524         (ELF_DYNAMIC_DO_REL): Likewise.
2525         (ELF_DYNAMIC_DO_RELA): Likewise.
2526         (ELF_DYNAMIC_RELOCATE): Likewise.
2527         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2528         to ELF_DYNAMIC_DO_REL.
2529         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2530         (dl_main): In trace mode always set __RTLD_NOIFUNC.
2531         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2532         elf_machine_rela.
2533         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2534         skip_ifunc, don't call ifunc function if non-zero.
2535         (elf_machine_rela): Likewise.
2536         (elf_machine_lazy_rel): Likewise.
2537         (elf_machine_lazy_rela): Likewise.
2538         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2539         (elf_machine_lazy_rel): Likewise.
2540         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2541         Likewise.
2542         (elf_machine_lazy_rel): Likewise.
2543         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2544         Likewise.
2545         (elf_machine_lazy_rel): Likewise.
2546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2547         (elf_machine_lazy_rel): Likewise.
2548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2549         (elf_machine_lazy_rel): Likewise.
2550         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2551         (elf_machine_lazy_rel): Likewise.
2552         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2553         (elf_machine_lazy_rel): Likewise.
2554         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2555         (elf_machine_lazy_rel): Likewise.
2556         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2557         (elf_machine_lazy_rel): Likewise.
2559 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
2561         * nss/nss_files/files-init.c (_nss_files_init): Use static
2562         initialization for all the *_traced_file variables.
2564 2011-09-28  Andreas Schwab  <schwab@redhat.com>
2566         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2568 2011-09-27  Roland McGrath  <roland@hack.frob.com>
2570         [BZ #13226]
2571         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2573 2011-09-27  Andreas Schwab  <schwab@redhat.com>
2575         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2576         Reread the line before reparsing it.
2578 2011-09-26  Andreas Schwab  <schwab@redhat.com>
2580         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2582 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
2583             Maxim Kuvyrkov  <maxim@codesourcery.com>
2584             Joseph Myers  <joseph@codesourcery.com>
2586         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2587         if needed for __stack_chk_guard.
2589 2011-09-19  Roland McGrath  <roland@hack.frob.com>
2591         * sysdeps/posix/spawni.c (script_execute): Always define it.
2592         It will be optimized away if unused.
2593         (maybe_script_execute): New function.
2594         (__spawni): Call it.
2596         * Makerules: Don't include tls.make.
2597         (config-tls): Always set to thread.
2598         * tls.make.c: File removed.
2600 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
2602         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2603         * config.make.in (CPPFLAGS-config): New substituted variable.
2605 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
2607         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2609         [BZ #13192]
2610         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2611         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2613 2011-09-15  Roland McGrath  <roland@hack.frob.com>
2615         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2616         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2617         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2618         (CALL_FAIL): Likewise.
2619         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2620         (CALL_FAIL): Macro removed.
2621         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2623 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
2625         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2626         for __FINITE_MATH_ONLY__ == 1.
2628 2011-09-15  Andreas Schwab  <schwab@redhat.com>
2630         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2631         __ieee754_sqrt instead of sqrt.
2632         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2633         __ieee754_sqrtf instead of sqrtf.
2634         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2635         __floorf instead of floorf.
2636         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2637         __floorf, __truncf instead of floorf, truncf.
2639 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
2641         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2643         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2644         __extern_always_inline.
2645         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2646         32-bit.
2648 2011-09-14  Andreas Schwab  <schwab@redhat.com>
2650         * elf/rtld.c (dl_main): Also relocate in dependency order when
2651         doing symbol dependency testing.
2653 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
2655         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2656         Always define `refsym'.
2658 2011-09-13  Andreas Schwab  <schwab@redhat.com>
2660         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2661         (__FD_ELT): Renamed from __FDELT.
2662         * misc/bits/select2.h (__FD_ELT): Likewise.
2663         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2664         __FD_MASK instead of __FDELT, __FDMASK.
2665         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2666         Likewise.
2667         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2668         Likewise.
2670         * elf/Makefile (gen-ldd): Fix pattern.
2672         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2673         (init_tls): Likewise.
2675 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
2677         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2679 2011-09-12  Andreas Schwab  <schwab@redhat.com>
2681         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2682         `struct cmsghdr *' instead of `void *'.
2683         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2684         Likewise.
2686 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
2688         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2689         if non-absolute.
2690         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2691         ldd_rewrite_script.
2693 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
2695         * configure.in: Remove --with-tls option.
2696         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2697         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2698         out in case it is missing.
2699         * sysdeps/ia64/elf/configure.in: Likewise.
2700         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2701         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2702         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2703         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2704         * sysdeps/sh/elf/configure.in: Likewise.
2705         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2706         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2707         * sysdeps/x86_64/elf/configure.in: Likewise.
2708         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2709         * sysdeps/mach/hurd/tls.h: Likewise.
2711         [BZ #13067]
2712         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2714         [BZ #13090]
2715         * configure.in: Fix use of AC_INIT.
2717         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2719 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
2721         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2722         __set_errno.
2723         * malloc/hooks.c: Likewise.
2725         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
2726         variables statically.
2727         (narenas): Initialize.
2728         (list_lock): Initialize.
2729         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
2730         initializtion of main_arena and list_lock.  Small cleanups.
2731         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2732         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
2733         Add initializers to main_arena and mp_.
2734         (malloc_state): Remove pagesize member.  Change all users to use
2735         GLRO(dl_pagesize).
2737         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2738         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
2739         is always initialized.
2741         * malloc/malloc.c: Removed unused configurations and dead code.
2742         * malloc/arena.c: Likewise.
2743         * malloc/hooks.c: Likewise.
2744         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
2746         * include/tls.h: Removed.  USE___THREAD must always be defined.
2747         * bits/libc-tsd.h: Don't handle !USE___THREAD.
2748         * elf/dl-libc.c: Likewise.
2749         * elf/dl-tsd.c: Likewise.
2750         * include/errno.h: Likewise.
2751         * include/netdb.h: Likewise.
2752         * include/resolv.h: Likewise.
2753         * inet/herrno-loc.c: Likewise.
2754         * inet/herrno.c: Likewise.
2755         * malloc/arena.c: Likewise.
2756         * malloc/hooks.c: Likewise.
2757         * malloc/malloc.c: Likewise.
2758         * resolv/res-state.c: Likewise.
2759         * resolv/res_libc.c: Likewise.
2760         * sysdeps/i386/dl-machine.h: Likewise.
2761         * sysdeps/ia64/dl-machine.h: Likewise.
2762         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2763         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2764         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2765         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2766         * sysdeps/sh/dl-machine.h: Likewise.
2767         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2768         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2769         * sysdeps/unix/i386/sysdep.S: Likewise.
2770         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2771         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2776         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2780         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2781         * sysdeps/x86_64/dl-machine.h: Likewise.
2782         * tls.make.c: Likewise.
2784         * configure.in: Remove --with-__thread option.  Make tests for
2785         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2786         tls_model attribute fail if no support is available.  Remove
2787         USE_IN_LIBIO.
2788         * Makeconfig: Adjust for dropped configure option.  All features are
2789         now mandatory.
2790         * Makerules: Likewise.
2791         * Versions.def: Likewise.
2792         * argp/argp-fmtstream.c: Likewise.
2793         * argp/argp-fmtstream.h: Likewise.
2794         * argp/argp-help.c: Likewise.
2795         * assert/assert.c: Likewise.
2796         * config.h.in: Likewise.
2797         * config.make.in: Likewise.
2798         * configure: Likewise.
2799         * configure.in: Likewise.
2800         * csu/Versions: Likewise.
2801         * csu/init.c: Likewise.
2802         * elf/tst-audit2.c: Likewise.
2803         * elf/tst-tls10.c: Likewise.
2804         * elf/tst-tls10.h: Likewise.
2805         * elf/tst-tls11.c: Likewise.
2806         * elf/tst-tls12.c: Likewise.
2807         * elf/tst-tls14.c: Likewise.
2808         * elf/tst-tlsmod11.c: Likewise.
2809         * elf/tst-tlsmod12.c: Likewise.
2810         * elf/tst-tlsmod13.c: Likewise.
2811         * elf/tst-tlsmod13a.c: Likewise.
2812         * elf/tst-tlsmod14a.c: Likewise.
2813         * elf/tst-tlsmod15b.c: Likewise.
2814         * elf/tst-tlsmod16a.c: Likewise.
2815         * elf/tst-tlsmod16b.c: Likewise.
2816         * elf/tst-tlsmod7.c: Likewise.
2817         * elf/tst-tlsmod8.c: Likewise.
2818         * elf/tst-tlsmod9.c: Likewise.
2819         * gmon/gmon.c: Likewise.
2820         * grp/fgetgrent_r.c: Likewise.
2821         * grp/putgrent.c: Likewise.
2822         * hurd/fopenport.c: Likewise.
2823         * include/libc-symbols.h: Likewise.
2824         * include/tls.h: Likewise.
2825         * intl/gettextP.h: Likewise.
2826         * intl/loadinfo.h: Likewise.
2827         * locale/global-locale.c: Likewise.
2828         * locale/localeinfo.h: Likewise.
2829         * mach/devstream.c: Likewise.
2830         * malloc/arena.c: Likewise.
2831         * malloc/set-freeres.c: Likewise.
2832         * misc/err.c: Likewise.
2833         * misc/getttyent.c: Likewise.
2834         * misc/mntent_r.c: Likewise.
2835         * posix/getopt.c: Likewise.
2836         * posix/wordexp.c: Likewise.
2837         * pwd/fgetpwent_r.c: Likewise.
2838         * resolv/Versions: Likewise.
2839         * resolv/res_hconf.c: Likewise.
2840         * shadow/fgetspent_r.c: Likewise.
2841         * shadow/putspent.c: Likewise.
2842         * stdio-common/printf_fphex.c: Likewise.
2843         * stdio-common/tmpfile.c: Likewise.
2844         * stdlib/abort.c: Likewise.
2845         * stdlib/fmtmsg.c: Likewise.
2846         * sunrpc/auth_unix.c: Likewise.
2847         * sunrpc/clnt_perr.c: Likewise.
2848         * sunrpc/clnt_tcp.c: Likewise.
2849         * sunrpc/clnt_udp.c: Likewise.
2850         * sunrpc/clnt_unix.c: Likewise.
2851         * sunrpc/openchild.c: Likewise.
2852         * sunrpc/svc_simple.c: Likewise.
2853         * sunrpc/svc_tcp.c: Likewise.
2854         * sunrpc/svc_udp.c: Likewise.
2855         * sunrpc/svc_unix.c: Likewise.
2856         * sunrpc/xdr.c: Likewise.
2857         * sunrpc/xdr_array.c: Likewise.
2858         * sunrpc/xdr_rec.c: Likewise.
2859         * sunrpc/xdr_ref.c: Likewise.
2860         * sunrpc/xdr_stdio.c: Likewise.
2862 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
2864         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2866 2011-07-03  Andreas Jaeger  <aj@suse.de>
2868         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
2869         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
2870         regenerate with gen-libm-tests.pl.
2872 2010-05-12  Petr Baudis  <pasky@suse.cz>
2874         [BZ #11589]
2875         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
2876         around j0() zero points by switching to j1().
2877         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2882 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
2884         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
2885         instead of 0.
2886         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
2887         instead of 0.                              .
2888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2889         Patch in part by Pavel Roskin <proski@gnu.org>.
2891         [BZ #13138]
2892         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
2893         realloc.
2894         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
2895         Free memory block if necessary.
2897         [BZ #12847]
2898         * libio/genops.c (INTDEF): For string streams the _lock pointer can
2899         be NULL.  Don't lock in this case.
2901 2011-09-09  Roland McGrath  <roland@hack.frob.com>
2903         * elf/elf.h (ELFOSABI_GNU): New macro.
2904         (ELFOSABI_LINUX): Define to that.
2906 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
2908         * string/strncat.c (strncat): Undef the symbol in case it has been
2909         defined in bits/string.h.
2911 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
2913         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
2915         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
2916         link map.
2918 2011-08-17  Andreas Jaeger  <aj@suse.de>
2920         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
2922 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2923             Ian Lance Taylor  <iant@google.com>
2925         * math/libm-test.inc (lround_test): New testcase.
2926         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
2928 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
2930         * Makefile: Remove support for automatic cvs check-ins.
2931         * Makerules: Likewise.
2932         * config.make.in: Likewise.
2933         * configure.in: Likewise.
2934         * intl/Makefile: Likewise.
2935         * locale/Makefile: Likewise.
2936         * po/Makefile: Likewise.
2937         * posix/Makefile: Likewise.
2938         * sysdeps/gnu/Makefile: Likewise.
2939         * sysdeps/mach/hurd/Makefile: Likewise.
2940         * sysdeps/sparc/sparc32/Makefile: Likewise.
2942         [BZ #13118]
2943         * posix/Makefile (bug-regex32-ENV): Define.
2944         Patch by John Stanley <jpsinthemix@verizon.net>.
2946         * misc/Makefile (headers): Add bits/select2.h.
2947         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
2948         * misc/bits/select2.h: New file.
2949         * include/bits/select2.h: New file.
2950         * debug/Makefile (routines): Add fdelt_chk.
2951         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
2952         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
2953         FD_ISSET.
2954         * debug/fdelt_chk.c: New file.
2956         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
2957         * wcsmbs/test-wmemcmp.c: Likewise.
2958         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
2959         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
2961 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2963         * string/Makefile (strop-tests): Add memcmp.
2964         * string/test-wmemcmp.c: New file.
2965         * string/test-memcmp.c: Add wmemcmp support.
2967 2011-09-08  Roland McGrath  <roland@hack.frob.com>
2969         [BZ #13153]
2970         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
2971         2011-07-19 change.
2973         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
2974         garbage value in a __mach_port_mod_refs call in the cases of the
2975         task-self and thread-self ports.
2977 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2979         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2981 2011-09-08  Andreas Schwab  <schwab@redhat.com>
2983         * elf/dl-load.c (lose): Check for non-null L.
2985 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
2987         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
2989         * elf/dl-libc.c (dlerror_run): Pass back error code from
2990         dl_catch_error.
2992         [BZ #13123]
2993         * elf/dl-load.c (lose): Free l_origin if it is valid.
2995         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
2996         names.
2997         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2998         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2999         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3000         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3001         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3002         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3004 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3006         * sysdeps/powerpc/fpu/e_hypot.c: New file.
3007         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3008         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3009         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3010         * sysdeps/powerpc/fpu/k_cosf.c: New file.
3011         * sysdeps/powerpc/fpu/k_sinf.c: New file.
3012         * sysdeps/powerpc/fpu/s_cosf.c: New file.
3013         * sysdeps/powerpc/fpu/s_sinf.c: New file.
3014         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3015         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3017 2011-08-15  Alan Modra  <amodra@gmail.com>
3019         [BZ #13092]
3020         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3021         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3022         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
3023         ppc_mcount to static-only-routines.
3024         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3025         __mcount_internal.
3026         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3027         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
3029 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
3031         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3032         for finite and infinity parameters.
3034 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
3036         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3037         and add nop instructions for throughput optimization.
3038         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3040 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
3042         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3043         aligned copy for power7 with vector-scalar instructions.
3044         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3046 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
3048         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3049         AVX check.
3051 2011-09-07  Andreas Schwab  <schwab@redhat.com>
3053         [BZ #13144]
3054         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3055         last change.
3057 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
3059         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3060         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3061         syscall wrapper around clock_gettime in __vdso_clock_gettime.
3062         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3063         clock_gettime.
3065 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
3067         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3068         Forgot to demangle the pointer.
3070         * sysdeps/i386/sysdep.h: Define atom_text_section.
3071         * sysdeps/x86_64/sysdep.h: Likewise.
3072         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3073         section with atom_text_section.
3074         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3075         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3076         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3078         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3080         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3081         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3082         already be defined.  Change to take two parameters and don't assign
3083         result to variable.  Adjust all users.
3084         Define INTERNAL_GETTIME if not already defined.
3085         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3086         call.
3087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3088         HAVE_CLOCK_GETTIME_VSYSCALL.
3089         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3091         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3092         gettimeofday vsyscall, just use time.
3094 2011-09-06  Andreas Schwab  <schwab@redhat.com>
3096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3097         <errno.h>.
3099 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
3101         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3102         syscall on x86-64.
3103         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3104         syscall.
3105         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3106         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3107         syscall if possible.
3109 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
3111         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3112         e_ident.  Don't pass to find_mapsXX.
3113         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3115 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3118         strchr-sse2-no-bsf strrchr-sse2-no-bsf
3119         * sysdeps/x86_64/multiarch/strchr.S: Update.
3120         Check bit_slow_BSF bit.
3121         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3122         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3123         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3125 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
3127         [BZ #13134]
3128         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3129         before glibc 2.15.
3130         (tryshell): Define.
3131         (__spawni): Change last parameter to be flag.  Test
3132         SPAWN_XFLAGS_USE_PATH flag to use path or not.
3133         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3134         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3135         * posix/spawni.c: Likewise.
3136         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3137         * posix/spawnp.c: Likewise.  Change normal version to use
3138         SPAWN_XFLAGS_USE_PATH.
3139         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3140         SPAWN_XFLAGS_TRY_SHELL.
3142         [BZ #13150]
3143         * posix/glob.h: Remove gcc 1.x support.
3145         [BZ #13068]
3146         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3148 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3150         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3151         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3152         strrchr-sse2-bsf
3153         * sysdeps/i386/i686/multiarch/strchr.S: New file.
3154         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3155         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3156         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3157         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3158         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3160 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3162         * sysdeps/x86_64/wcscmp.S: New file.
3164         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3165         wcscmp-c wcscmp-sse2
3166         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3167         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3168         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3169         * wcsmbs/wcscmp.c: Allow renaming.
3171 2011-09-05  David S. Miller  <davem@davemloft.net>
3173         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3174         stack slot, rather than the struct return pointer slot.
3175         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3176         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3178         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3180 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
3182         * po/ja.po: Update from translation team.
3184         [BZ #13144]
3185         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3186         kernel in 64-bit binaries.
3188 2011-09-01  David S. Miller  <davem@davemloft.net>
3190         * elf/elf.h (HWCAP_SPARC_*): Move to..
3191         * sysdeps/sparc/sysdep.h: this new file and add new values.
3192         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3193         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3194         _DL_HWCAP_COUNT to 24.
3195         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3196         entries.
3197         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3198         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3199         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3200         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3201         instead of magic constants.
3202         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3204 2011-08-31  David S. Miller  <davem@davemloft.net>
3206         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3208         Reimplement to do errno handling inline.
3209         (SYSCALL_ERROR_HANDLER): New macro.
3210         (__SYSCALL_STRING): Do not do errno handling in asm.
3211         (__CLONE_SYSCALL_STRING): Delete.
3212         (__INTERNAL_SYSCALL_STRING): Delete.
3213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3214         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3215         (PSEUDO): Reimplement to do errno handling inline.
3216         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
3217         (SYSCALL_ERROR_HANDLER): New macro.
3218         (__SYSCALL_STRING): Do not do errno handling in asm.
3219         (__CLONE_SYSCALL_STRING): Delete.
3220         (__INTERNAL_SYSCALL_STRING): Delete.
3221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
3222         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3223         i386.
3224         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3225         (inline_syscall*): Add 'err' argument.
3226         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3227         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3228         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3229         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3231         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3232         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3234 2011-08-30  Andreas Schwab  <schwab@redhat.com>
3236         * elf/rtld.c (dl_main): Relocate objects in dependency order.
3238 2011-08-29  Jiri Olsa <jolsa@redhat.com>
3240         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3241         directive.
3243 2011-08-24  David S. Miller  <davem@davemloft.net>
3245         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3247 2011-08-24  Andreas Schwab  <schwab@redhat.com>
3249         * elf/Makefile: Add rules to build and run unload8 test.
3250         * elf/unload8.c: New file.
3251         * elf/unload8mod1.c: New file.
3252         * elf/unload8mod1x.c: New file.
3253         * elf/unload8mod2.c: New file.
3254         * elf/unload8mod3.c: New file.
3256         * elf/dl-close.c (_dl_close_worker): Reset private search list if
3257         it wasn't used.
3259 2011-08-23  David S. Miller  <davem@davemloft.net>
3261         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3262         subtract stack bias.
3263         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3264         %sp not %fp in calculations.
3265         (_JMPBUF_UNWINDS_ADJ): Likewise.
3267         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3268         (aio_suspend): Call it to force an exception region around the
3269         AIO_MISC_WAIT() invocation.
3271 2011-08-23  Andreas Schwab  <schwab@redhat.com>
3273         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3274         backslash.
3276 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
3278         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3279         protection macro.
3280         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3281         and <dl-machine.h>.
3282         (Elf64_FuncDesc): Remove.
3284 2011-08-22  David S. Miller  <davem@davemloft.net>
3286         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3287         sigaltstack check, add missing cfi directives.
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3289         missing cfi directives, and sigaltstack handling.
3291 2011-08-16  Andreas Schwab  <schwab@redhat.com>
3293         [BZ #11724]
3294         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3295         object is seen twice.
3296         * elf/dl-fini.c (_dl_sort_fini): Likewise.
3298         * elf/Makefile (distribute): Add tst-initorder2.c.
3299         (tests): Add tst-initorder2.
3300         (modules-names): Add tst-initorder2a tst-initorder2b
3301         tst-initorder2c tst-initorder2d.  Add rules to build them.
3302         ($(objpfx)tst-initorder2.out): New rule.
3303         * elf/tst-initorder2.c: New file.
3304         * elf/tst-initorder2.exp: New file.
3306 2011-08-22  Andreas Schwab  <schwab@redhat.com>
3308         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
3310         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
3311         dependencies back to end of function.
3313         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3314         $(elfobjdir)/ld.so.
3316 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
3318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
3319         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
3320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
3321         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3322         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3323         of __vdso_gettimeofday.
3324         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3325         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
3326         attribute_hidden.
3327         (_libc_vdso_platform_setup): Remove initialization of
3328         __vdso_gettimeofday and __vdso_time.
3330 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
3332         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3333         and fgetc_unlocked.
3334         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3335         getc_unlocked.
3337         * elf/dl-open.c (add_to_global): Report additions to the global scope
3338         for LD_DEBUG=scopes.
3339         (dl_open_worker): Also print scope of newly loaded dependencies.
3340         (_dl_show_scope): Indicate if there is no scope.
3342         [BZ #13114]
3343         * stdio-common/Makefile (tests): Add bug24.
3344         * stdio-common/bug24.c: New file.
3346 2011-08-19  Andreas Jaeger  <aj@suse.de>
3348         [BZ #13114]
3349         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3350         non-existant file when using close-on-exec mode.
3352 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
3354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3355         the very first instruction.
3357         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3358         the CFI state in the end.
3359         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3360         inclusion of dl-trampoline.h.
3361         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3363 2011-08-19  Andreas Schwab  <schwab@redhat.com>
3365         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3366         expectations for long double.
3368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3369         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3371 2011-08-14  David S. Miller  <davem@davemloft.net>
3373         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3374         artificual limit depends upon the system page size.
3376 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
3378         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3379         * resolv/Makefile: Define CFLAGS-libresolv.
3381 2011-08-17  Andreas Schwab  <schwab@redhat.com>
3383         * nss/makedb.c (compute_tables): Make variables used in nested
3384         function static.
3386 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
3388         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3389         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3390         if buffer was too small.
3392         * elf/pldd.c (main): Attach to all threads in the process.
3393         Rewrite /proc handling to use *at functions.
3395 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
3397         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3398         specifies first scope to show.
3399         (dl_open_worker): Update callers.  Move printing scope of new
3400         object to before the relocation.
3401         * elf/rtld.c (dl_main): Update _dl_show_scope call.
3402         * sysdeps/generic/ldsodefs.h: Update declaration.
3404         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3405         string for the scope number.
3407 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
3409         * nscd/servicescache.c (cache_addserv): Make sure written is always
3410         initialized.
3412 2011-08-14  Roland McGrath  <roland@hack.frob.com>
3414         * sysdeps/i386/i486/bits/atomic.h
3415         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3416         statement expression, so as to suppress "set but not used" warning.
3417         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3419         * string/strncat.c (STRNCAT): Use prototype definition.
3421         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3422         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3423         -Iprograms here.
3424         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3425         (localedef-modules): Add localedef.
3426         (locale-modules): Add locale.
3428         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3429         * elf/rtld.c (dl_main): Invert order of assignment in last change,
3430         to avoid a warning.
3432 2011-08-14  David S. Miller  <davem@davemloft.net>
3434         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3435         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3437 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
3439         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
3440         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3441         * elf/rtld.c (dl_main): Set l_name of vDSO.
3442         Call _dl_show_scope when DL_DEBUG_SCOPES.
3443         (process_dl_debug): Recognize scopes flag and also set it for all.
3444         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3445         Declare _dl_show_scope.
3447         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
3448         (do_dlopen): Pass caller_dlopen to dl_open.
3449         (__libc_dlopen_mode): Initialize caller_dlopen.
3451         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
3452         of libc.  Make tolower call locale-independent.  Optimize a bit by
3453         using isdigit instead of isalnum.
3454         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
3456 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
3458         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
3459         was a dependency or dynamically loaded.
3461 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
3463         * intl/l10nflist.c: Allow architecture-specific pop function.
3464         * sysdeps/x86_64/l10nflist.c: New file.
3466         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
3467         classification.
3469 2011-08-10  Andreas Schwab  <schwab@redhat.com>
3471         * include/dirent.h: Add libc_hidden_proto for scandirat and
3472         scandirat64.  Don't declare __scandirat64.
3473         * dirent/scandirat.c: Add libc_hidden_def.
3474         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
3475         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
3477 2011-08-10  David S. Miller  <davem@davemloft.net>
3479         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
3480         enum.
3481         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3482         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3483         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3485 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
3487         * Versions.def [libc]: Add GLIBC_2.15.
3488         * dirent/Makefile (routines): Add scandirat and scandirat64.
3489         * dirent/Versions [libc]: Export scandirat and scandirat64 for
3490         GLIBC_2.15.
3491         * dirent/dirent.h: Declare scandirat and scandirat64.
3492         * dirent/scandirat.c: New file.
3493         * dirent/scandirat64.c: New file.
3494         * sysdeps/wordsize-64/scandirat.c: New file.
3495         * sysdeps/wordsize-64/scandirat64.c: New file.
3496         * dirent/opendir.c: Define opendirat.
3497         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
3498         using scandirat.
3499         * dirent/scandir64.c: Adjust for scandir.c change.
3500         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
3501         __scandirat64, and __scandir_cancel_handler.
3502         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
3503         additional parameter and use openat instead of open (outside of ld.so).
3504         Add new __opendir as wrapper around __opendirat.
3505         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3506         here without requiring old scandirat implementation.
3508 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
3510         * dirent/scandir.c (cancel_handler): Renamed to
3511         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
3512         defined.  Adjust users.
3513         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3514         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3516 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
3518         * string/test-string.h (IMPL): Use __STRING to expand name and then
3519         stringify it.
3521         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
3522         of cleanups.
3524 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3526         * string/Makefile: Update.
3527         (strop-tests): Append strncat.
3528         * string/test-wcscmp.c: New file.
3529         New comprehensive test for wcscmp.
3530         * string/test-strcmp.c: Update.
3531         (WIDE): New define.
3533 2011-07-22  Andreas Schwab  <schwab@redhat.com>
3535         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3536         line.
3538 2011-07-26  Andreas Schwab  <schwab@redhat.com>
3540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3541         encoding to ACE if AI_IDN.
3543 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
3545         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3546         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3548 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3550         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3551         Fix overflow bug in strncat.
3552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3554         * string/test-strncat.c: Update.
3555         Add new tests for checking overflow bugs.
3557 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3560         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3561         * sysdeps/i386/i686/multiarch/strcat.S: New file.
3562         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3563         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3564         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3565         * sysdeps/i386/i686/multiarch/strncat.S: New file.
3566         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3567         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3570         (USE_AS_STRCAT): Define.
3571         Add strcat and strncat support.
3572         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3574 2011-07-25  Andreas Schwab  <schwab@redhat.com>
3576         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3577         __n bigger than INT_MAX+1.
3578         (__strncmp_g): Likewise.
3580 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
3582         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3583         * libio/stido.h: Likewise.
3585         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3586         (AF_NFC): Define.
3587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3588         (AF_NFC): Define.
3590         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3591         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3592         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3593         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3594         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3596         [BZ #13021]
3597         * scripts/test-installation.pl: Don't expect libnss_test1 to be
3598         installed.
3600         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3601         typo.
3602         (_dl_x86_64_save_sse): Likewise.
3604 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
3606         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3607         OSXSAVE.
3608         (_dl_x86_64_save_sse): Likewise.
3610         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3612         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3614 2011-07-21  Andreas Schwab  <schwab@redhat.com>
3616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3617         change.
3618         (_dl_x86_64_save_sse): Use correct AVX check.
3620 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3622         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3623         bug in strncpy/strncat.
3624         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3626 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
3628         * string/tester.c (test_strcat): Add tests for different alignments
3629         of source and destination.
3630         (test_strncat): Likewise.
3632 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
3634         [BZ #12852]
3635         * posix/glob.c (glob): Check passed in values before using them in
3636         expressions to avoid some overflows.
3637         (glob_in_dir): Likewise.
3639         [BZ #13007]
3640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3641         check for AVX enablement so that we don't crash with old kernels and
3642         new hardware.
3643         * elf/tst-audit4.c: Add same checks here.
3644         * elf/tst-audit6.c: Likewise.
3646         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
3648 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
3650         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3652 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
3654         * po/cs.po: Update from translation team.
3655         * po/bg.po: Likewise.
3657 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
3659         * misc/sys/cdefs.h: Add support for const attribute.
3660         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3661         to gnu_dev_{major,minor,makedev} functions.
3663 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
3665         * intl/dcigettext.c (get_output_charset): Add missing bracket.
3667 2011-07-20  Andreas Schwab  <schwab@redhat.com>
3669         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3670         strlen results.
3672 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3675         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3676         register in order to avoid conflicts with the soft frame pointer
3677         being held in r11 when necessary.
3678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3679         (INTERNAL_VSYSCALL_NCS): Likewise.
3681 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
3683         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3684         * elf/dl-fini.c (_dl_fini): Adjust caller.
3685         * elf/dl-close.c (_dl_close_worker): Likewise.
3686         * sysdeps/generic/ldsodefs.h: Adjust declaration.
3688 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
3690         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3691         "aux_cache->nlibs < 0".
3693         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3694         in the reload-count case.
3696 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3699         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3700         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3701         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3702         * sysdeps/x86_64/multiarch/strcat.S: New file.
3703         * sysdeps/x86_64/multiarch/strncat.S: New file.
3704         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3705         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3706         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3707         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3708         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3709         (USE_AS_STRCAT): Define.
3710         Add strcat and strncat support.
3711         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3712         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3713         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3714         * string/strncat.c: Update.
3715         (USE_AS_STRNCAT): Define.
3716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3717         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3718         and i7.
3719         * sysdeps/x86_64/multiarch/init-arch.h
3720         (bit_Prefer_PMINUB_for_stringop): New.
3721         (index_Prefer_PMINUB_for_stringop): Likewise.
3722         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3723         bit_Prefer_PMINUB_for_stringop.
3725 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
3727         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3728         buffer64.
3729         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3730         of casting of buffer.
3731         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3732         buffer32 and buffer64.
3733         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3734         writes instead of casting of buffer.
3735         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3736         buffer32.
3737         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3738         casting of buffer.
3740 2011-07-19  Andreas Schwab  <schwab@redhat.com>
3742         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3744 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
3746         * nscd/nscd.c (termination_handler): Don't do anything for a database
3747         if it has not yet been initialized.
3749 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
3751         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3753 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
3755         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3757 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
3759         * po/nl.po: Update from translation team.
3760         * po/sv.po: Likewise.
3762 2011-07-16  Roland McGrath  <roland@hack.frob.com>
3764         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3765         now disallowed by GCC.
3767         * configure.in (use-default-link): Default to yes if a test -shared
3768         link meets our qualifications.
3769         * configure: Regenerated.
3771         * config.make.in (output-format): New variable.
3772         * configure.in: Check for ld --print-output-format support.
3773         * configure: Regenerated.
3774         * Makerules ($(common-objpfx)format.lds)
3775         [$(output-format) != unknown]: Just use $(output-format),
3776         instead of the linker-script munging.
3778 2011-07-14  Roland McGrath  <roland@hack.frob.com>
3780         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3781         of $(common-objpfx)shlib.lds.
3782         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3784         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3785         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3787         * configure.in (-z relro check): Adjust test code to add a large
3788         writable data section after it.
3789         * configure: Regenerated.
3791 2011-07-11  Roland McGrath  <roland@hack.frob.com>
3793         * configure.in (-z relro check): Fix test code to make the variable
3794         truly const.
3795         * configure: Regenerated.
3797 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
3799         * nscd/nscd.h (struct traced_file): Define.
3800         (struct database_dyn): Remove inotify_descr, reset_res, and filename
3801         elements.  Add traced_files.
3802         (inotify_fd): Declare.
3803         (register_traced_file): Declare.
3804         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3805         (inotify_fd): Export.
3806         (resolv_conf_descr): Remove.
3807         (nscd_init): Move inotify descriptor creation to main.
3808         Don't register files for notification here.
3809         (register_traced_file): New function.
3810         (invalidate_cache): Don't use reset_res to determine whether to call
3811         res_init, go through the list of registered files.
3812         (main_loop_poll): The inotify descriptors are now stored in the
3813         structures for the traced files.
3814         (main_loop_epoll): Likewise
3815         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
3816         to __nss_disable_nscd.
3817         * nscd/cache.c (prune_cache): There is no single inotify descriptor
3818         for a database anymore.  Check the records for all the registered
3819         files instead.
3820         * nss/Makefile (libnss_files-routines): Add files-init.
3821         (libnss_db-routines): Add db-init.
3822         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3823         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3824         * nss/nss_db/db-init.c: New file.
3825         * nss/nss_files/files-init.c: New file.
3826         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
3827         __nss_lookup_function.
3828         (__nss_lookup_function): Call nss_load_library.
3829         (nss_load_all_libraries): New function.
3830         (__nss_disable_nscd): Take parameter with callback function for files
3831         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
3832         used for the cached services.
3833         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3834         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3835         options for features to all the files in nscd.
3837         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3839 2011-07-10  Roland McGrath  <roland@hack.frob.com>
3841         * csu/elf-init.c (__libc_csu_init): Comment typo.
3843 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
3845         * po/pl.po: Update from translation team.
3846         * po/ja.po: Likewise.
3847         * po/ru.po: Likewise.
3848         * po/ko.po: Likewise.
3849         * po/fr.po: Likewise.
3851 2011-07-09  Roland McGrath  <roland@hack.frob.com>
3853         * configure.in (.ctors/.dtors header and trailer check):
3854         Use an empirical test on a built program.
3855         * configure: Regenerated.
3857         * configure.in (-z relro check): Use an empirical test on a built DSO.
3858         Detect, but do not require, on ia64.
3859         * configure: Regenerated.
3861         * configure.in (READELF): Find it with AC_CHECK_TOOL.
3862         Update tests that use readelf to use $READELF instead.
3863         * configure: Regenerated.
3865 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
3867         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
3868         if the result is not used.
3870 2011-07-05  Andreas Jaeger  <aj@suse.de>
3872         [BZ#9696]
3873         * stdlib/tst-strtod.c: Add testcase.
3875 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
3877         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
3878         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
3879         The latter has a higher limit.  Take additional parameter to pass to
3880         the new function.
3881         (__pathconf): Pass file to __statfs_link_max.
3882         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
3883         __statfs_link_max.
3884         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
3885         __statfs_link_max.
3887         [BZ #12868]
3888         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
3889         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3890         Handle Lustre.
3891         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
3892         (__statfs_filesize_max): Likewise.
3893         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
3895 2011-07-05  Andreas Jaeger  <aj@suse.de>
3897         * resolv/res_comp.c (dn_skipname): Remove unused variable.
3899 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
3901         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
3902         `status' variable.
3903         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
3904         Likewise.
3906 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
3908         * Makefile (strop-tests): Add strncat.
3909         * string/test-strncat.c: New file.
3911 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
3913         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
3915 2011-06-21  Andreas Jaeger  <aj@suse.de>
3917         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
3918         Copy rule from iconvdata/Makefile.
3920 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
3922         [BZ #12922]
3923         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
3924         but no long options are defined, just return 'W'.
3926 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
3928         [BZ #9696]
3929         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
3931 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
3933         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
3934         netgroups to read.
3935         (innetgr): Likewise.
3937 2011-07-05  Roland McGrath  <roland@hack.frob.com>
3939         * config.make.in (install_root): Default to $(DESTDIR).
3941 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
3943         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
3945 2011-07-02  Roland McGrath  <roland@hack.frob.com>
3947         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
3949         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
3950         containing directory rather than embedding absolute directory names.
3952         * scripts/check-local-headers.sh: Rewritten using awk.
3953         Match by word, not by line.  Print error messages for matches.
3954         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
3956         * Makerules [shlib-lds-flags empty]:
3957         ($(common-objpfx)libc_pic.opts): New target.
3958         ($(common-objpfx)libc_pic.os.clean): New target.
3959         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
3961         * config.make.in (OBJCOPY): New variable.
3962         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
3963         * configure: Regenerated.
3965         * config.make.in (use-default-link): New variable.
3966         * configure.in (use_default_link): Grok --with-default-link to set it.
3967         * configure: Regenerated.
3968         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
3969         (shlib-lds, shlib-lds-flags): Define to empty.
3971         * Makerules (shlib-lds): New variable.
3972         (shlib-lds-flags): New variable.
3973         (build-shlib, build-moduile, build-module-asneeded): Use it.
3974         ($(common-objpfx)libc.so): Use $(shlib-lds).
3975         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
3976         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
3978         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
3979         DT_FLAGS/DT_FLAGS_1 with zero flags.
3981         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
3982         linker script munging.
3984 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
3986         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
3987         as 128-bit value.
3988         * crypt/sha512.c (sha512_process_block): Perform total addition using
3989         128-bit if possible.
3990         (__sha512_finish_ctx): Likewise.
3991         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
3992         as 64-bit value.
3993         * crypt/sha256.c (SWAP64): Define.
3994         (sha256_process_block): Perform total addition using 64-bit if
3995         possible.
3996         (__sha256_finish_ctx): Likewise.
3998 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
4000         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
4001         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4002         * nscd/hstcache.c (cache_addhst): Likewise.
4003         * nscd/grpcache.c (cache_addgr): Likewise.
4004         * nscd/aicache.c (addhstaiX): Likewise
4005         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4007 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
4009         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4010         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4011         * nscd/hstcache.c (cache_addhst): Likewise.
4012         * nscd/grpcache.c (cache_addgr): Likewise.
4013         * nscd/aicache.c (addhstaiX): Likewise
4015 2011-07-01  Andreas Schwab  <schwab@redhat.com>
4017         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4018         domain only when needed.
4020 2011-06-30  Andreas Schwab  <schwab@redhat.com>
4022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4023         is always restored.
4025 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
4027         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4028         are re-adding the entry.
4029         * nscd/servicescache.c (cache_addserv): Likewise.
4031 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4033         * sysdeps/generic/dl-irel.h: fix protection against multiple
4034         inclusions.
4035         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4037 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
4039         [BZ #12935]
4040         * malloc/memusage.sh: Fix quoting in message.
4041         * debug/xtrace.sh: Likewise.
4043         * configure.in: Remove support for --experimental-malloc option, make
4044         it the default.
4045         * config.make.in: Likewise.
4046         * malloc/Makefile: Likewise.
4048 2011-06-27  Andreas Schwab  <schwab@redhat.com>
4050         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4051         two-byte characters.
4053 2011-06-27  Roland McGrath  <roland@hack.frob.com>
4055         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4056         AC_CACHE_CHECK invocation.
4057         * configure: Regenerated.
4059         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4061 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
4063         [BZ #12350]
4064         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
4065         bit from old_res_options.
4067         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4069         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4070         value type for setfct.
4072 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
4074         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4075         __gettimeofday instead of gettimeofday.
4077 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
4079         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4081 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
4083         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4085         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4086         info.
4088 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
4090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4091         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4092         strcpy-sse2-unaligned strncpy-sse2-unaligned
4093         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4094         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4095         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4096         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4097         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4098         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4099         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4100         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4101         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4102         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4103         (STRCPY): Support SSE2 and SSSE3 versions.
4105 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
4107         [BZ #12874]
4108         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4109         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4110         kernels which artificially limit size of requests.
4112 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
4114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4115         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4116         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4117         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4118         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4119         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4120         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4121         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4122         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4123         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4124         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4125         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4126         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4127         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4128         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4130         Enable unaligned load optimization for Intel Core i3, i5 and i7
4131         processors.
4132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4133         Define.
4134         (index_Fast_Unaligned_Load): Define.
4135         (HAS_FAST_UNALIGNED_LOAD): Define.
4137 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
4139         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4141 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
4143         [BZ #12907]
4144         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4145         until it is clear that the information is realy needed.
4146         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4148 2011-06-22  Andreas Schwab  <schwab@redhat.com>
4150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4152 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
4154         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4155         /sys/devices/system/cpu/online if it is usable.
4157         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4158         reading the information from the /proc filesystem to once a second.
4160 2011-06-21  Andreas Jaeger  <aj@suse.de>
4162         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4163         NULL after inclusion of kernel headers.
4165 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
4167         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4168         calls to internal_setent.
4170         [BZ #12885]
4171         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4172         addresses using gethostbyname4_r ignore IPv4 addresses.
4174         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4175         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
4177         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4179 2011-06-20  David S. Miller  <davem@davemloft.net>
4181         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4182         inclusions.
4183         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4185         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4186         (elf_irel): Use it.
4187         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4188         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4189         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4190         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4191         * sysdeps/x86_64/dl-irel.h: Likewise.
4193         * elf/dl-runtime.c: Use elf_ifunc_invoke.
4194         * elf/dl-sym.c: Likewise.
4196 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
4198         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
4199         need to dereference resplen2.
4201 2011-06-14  Andreas Schwab  <schwab@redhat.com>
4203         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4205 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
4207         * Makeconfig: Define vardbdir and inst_vardbdir.
4208         * nss/Makefile: Add rules to install db-Makefile.
4210         * nss/nss_db/db-XXX.c: Cleanup.
4212         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4213         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4214         GLIBC_PRIVATE.
4215         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4216         * nss/makedb.c: Implement -g option to specify that value strings
4217         are generated and should not be added to table iterated over for
4218         get*ent calls.
4219         * nss/nss_db/db-initgroups.c: New file.
4221         * nss/getent.c: Add support for initgroups lookups through getgrouplist
4222         interface.
4224         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4225         (internal_getgrouplist): Adjust to name change.
4226         Update use_initgroups_entry if this is not the first call.
4227         * nss/databases.def: Add initgroups entry.
4229         * nss/makedb.c (compute_tables): Check result of multiple hash table
4230         sizes to minimize maximum chain length.
4232 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
4234         * Versions.def: Add entry for libnss_db.
4235         * shlib-versions: Likewise.
4236         * nss/Makefile: Add rules to build libnss_db.
4237         * nss/Versions: Add libnss_db information.  Organize libnss_files
4238         entries better.
4239         * nss/db-Makefile: Add gshadow support.  Change rules for the new
4240         makedb progra.  Some minor improvements to generate smaller files.
4241         * nss/nss_db/nss_db.h: Move NSS database header data structures to
4242         here from...
4243         * nss/makedb.c: ...here.
4244         Improve database format to be smaller and require less memory at
4245         runtime.
4246         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
4247         db anymore.
4248         * nss/nss_db/db-netgrp.c: Likewise.
4249         * nss/nss_db/db-open.c: Likewise.
4250         * nss/nss_files/flies-XXX.x: Adjust comments.
4251         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4252         * nss/nss_files/files-grp.c: Likewise.
4253         * nss/nss_files/files-hosts.c: Likewise.
4254         * nss/nss_files/files-network.c: Likewise.
4255         * nss/nss_files/files-proto.c: Likewise.
4256         * nss/nss_files/files-pwd.c: Likewise.
4257         * nss/nss_files/files-rpc.c: Likewise.
4258         * nss/nss_files/files-service.c: Likewise.
4259         * nss/nss_files/files-sgrp.c: Likewise.
4260         * nss/nss_files/files-spwd.c: Likewise.
4261         * nss/nss_db/db-alias.c: Removed.
4262         * nss/nss_db/dummy-db.h: Removed.
4264 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
4266         * nss/makedb.c: Rewritten to not use database library.
4267         * nss/Makefile: Update to build new makedb program.
4269 2011-06-14  Andreas Jaeger  <aj@suse.de>
4271         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4272         memset declaration.
4274 2011-06-10  Andreas Schwab  <schwab@redhat.com>
4276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4277         tmpbuf.
4279 2011-06-10  Roland McGrath  <roland@hack.frob.com>
4281         * Makerules (shlib.lds): Fail if the linker script comes out empty.
4282         * elf/Makefile ($(objpfx)ld.so): Likewise.
4284         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4285         Don't list ld.so twice in dependencies.
4287         * posix/bug-regex31.c: Include <stdlib.h>.
4289         * nscd/hstcache.c (cache_addhst): Remove unused variable.
4291         * nis/nss_compat/compat-spwd.c
4292         (getspent_next_nss_netgr): Remove unused variable.
4293         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4295         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4296         nonmembers" output to use the right array.
4298         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4300         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
4302         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
4303         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
4304         * catgets/gencat.c (read_input_file): Likewise.
4305         * locale/programs/locarchive.c (enlarge_archive): Likewise.
4307         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
4308         variable definition inside #if's controlling its use.
4310         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
4312         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
4314         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
4316         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
4317         unreachable code.
4319         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
4321         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4322         * configure: Regenerated.
4324         * Makerules: Revert last change.
4325         * elf/Makefile: Likewise.
4327 2011-06-09  Roland McGrath  <roland@hack.frob.com>
4329         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4330         * elf/Makefile ($(objpfx)librtld.os): Likewise.
4331         (reloc-link): Likewise.
4333 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
4335         * elf/Makefile: Add rules to build pldd.
4336         * elf/pldd.c: New file.
4337         * elf/pldd-xx.c: New file.
4339 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
4341         * version.h: Update for 2.15 development version.
4343 2011-06-07  David S. Miller  <davem@davemloft.net>
4345         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4346         ifuncs.
4347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4348         elf_machine_lazy_rel): Likewise.
4349         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4351         elf_machine_lazy_rel): Likewise.
4352         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4353         dl_hwcap via passed in argument.
4354         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4355         Likewise.
4357 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4359         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
4361 2011-06-06  Roland McGrath  <roland@hack.frob.com>
4363         [BZ #12849]
4364         * manual/fdl-1.1.texi: New file, verbatim from:
4365         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4366         * manual/lgpl-2.1.texi: New file, verbatim from:
4367         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4368         * manual/Makefile (licenses): New variable, list those new file names.
4369         (texis): Use it.
4370         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4372         * manual/fdl.texi: File removed.
4373         * manual/lesser.texi: File removed.
4374         * manual/libc.texinfo (Copying, Documentation License):
4375         Use new @include file names, put @appendix directive before @include.
4377 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
4379         [BZ #12841]
4380         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4381         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4382         (mq_open): Add __NTH.
4384 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
4386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4387         Assume Intel Core i3/i5/i7 processor if AVX is available.
4389 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
4391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4392         typo.
4394 2011-05-31  Andreas Schwab  <schwab@redhat.com>
4396         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4397         memory.  Use alloca_account.  Fix memory leak when retrying.
4399 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
4401         * version.h (RELEASE): Bump for 2.14 release.
4402         * include/features.h (__GLIBC_MINOR__): Bump to 14.
4404         * config.make.in (RANLIB): Remove entry.
4406 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
4408         * po/Makefile (po-sed-cmd): Add ksh to extensions.
4409         (libc.pot): Work around missing support for .ksh extension in xgettext.
4411         [BZ #12684]
4412         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4413         if both request failed.
4414         (send_dg): In case of server errors clear resplen or *resplen2.
4416         [BZ #12454]
4417         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4418         when there are multiple maps.
4419         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4420         (_dl_fini): Remove test here.
4422         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4424 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
4426         [BZ #12350]
4427         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4428         bit from old_res_options.
4429         (gaih_inet): Likewise.
4431         [BZ #11099]
4432         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
4433         as signed.
4435         * resolv/res_init.c (res_setoptions): Make the code more compact.
4437         [BZ #11558]
4438         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4439         set RES_USEVC.
4441         [BZ #11634]
4442         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4444         * malloc/malloc.h: Mark malloc hook variables as deprecated.
4446         [BZ #11781]
4447         * malloc/malloc.h: Declare malloc hook variables as volatile.
4449         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
4450         in last patch.
4452         [BZ #11799]
4453         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4454         raise in the comment.
4455         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4456         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4457         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4459 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
4461         [BZ #12811]
4462         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
4463         grow the buffers more if it already has to be sufficient.
4464         (build_wcs_upper_buffer): Likewise.
4465         * posix/regexec.c (check_matching): Likewise.
4466         (clean_state_log_if_needed): Likewise.
4467         (extend_buffers): Don't enlarge buffers beyond size of the input
4468         buffer.
4469         Patches mostly by Emil Wojak <emil@wojak.eu>.
4470         * posix/bug-regex32.c: New file.
4471         * posix/Makefile (tests): Add bug-regex32.
4473         * locale/findlocale.c (_nl_find_locale): Return right away if
4474         _nl_explode_name failed.
4475         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4477         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
4479         * debug/xtrace.sh: Unify messages.
4480         * malloc/memusage.sh: Likewise.
4482         [BZ #12813]
4483         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
4484         time symbol from vDSO.  Substitute with vsyscall if not available.
4485         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
4486         __vdso_time.
4488         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
4489         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
4490         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
4491         Add sendmmsg and internal_sendmmsg.
4492         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
4493         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
4494         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
4496         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
4497         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
4498         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
4500 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
4502         [BZ #12813]
4503         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4504         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
4505         available.
4506         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4507         __vdso_getcpu.
4509         [BZ #12814]
4510         * iconvdata/Makefile (tests): Add bug-iconv9.
4511         * iconvdata/bug-iconv9.c: New file.
4513 2011-05-27  Andreas Schwab  <schwab@redhat.com>
4515         [BZ #12814]
4516         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4518 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
4520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4521         (struct user_regs_struct): Change intcs field back to cs.
4523 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
4525         * po/ja.po: Update from translation team.
4527 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
4529         [BZ #12795]
4530         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4531         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4533 2011-05-20  Andreas Schwab  <schwab@redhat.com>
4535         * stdlib/longlong.h: Update from GCC.
4537 2011-05-23  Andreas Schwab  <schwab@redhat.com>
4539         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4540         parameter name.
4541         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4542         Add parameter name.
4543         (__sysconf): Pass it down.
4545 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
4547         [BZ #12671]
4548         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4549         some situations.
4550         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4551         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4552         add in in __libc_use_alloca calls.  Adjust callers.
4553         (glob): Use malloc in some situations.
4555         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4556         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4557         pltexit.
4559 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
4561         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4562         and CLOCK_BOOTTIME_ALARM.
4564         [BZ #12782]
4565         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4566         is returned.
4568         * string/_strerror.c (__strerror_r): Print negative errors as signed
4569         numbers.
4571         [BZ #12777]
4572         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4573         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4574         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4576         * configure.in: Fix typo in redirection and correct removal of test
4577         files in two cases.
4579         [BZ #12788]
4580         * locale/setlocale.c (new_composite_name): Fix test to check for
4581         identical name of all categories.
4583         [BZ #12792]
4584         * libio/filedoalloc.c (local_isatty): New function.
4585         (_IO_file_doallocate): Use local_isatty.
4586         * stdio-common/perror.c (perror): In case a new stream is used
4587         forward the stream error.
4588         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4589         error flag.
4591 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
4593         [BZ #11869]
4594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4595         alloca.
4596         * include/alloca.h (extend_alloca_account): Define.
4598         [BZ #11857]
4599         * posix/regex.h: Fix comments with documentation of user-accessible
4600         fields after compilation and describe correct free'ing of pattern
4601         after re_compile_pattern.
4602         Patch by Reuben Thomas <rrt@sc3d.org>.
4604 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
4606         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4607         and -mno-altivec to prevent the compiler from using Altivec and/or
4608         VSX instructions when the corresponding registers are not available.
4610 2011-05-19  Andreas Schwab  <schwab@redhat.com>
4612         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4614 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
4616         * libio/freopen.c (freopen): Use __dup2, not dup2.
4617         * libio/freopen64.c (freopen64): Likewise.
4619 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4621         [BZ #12775]
4622         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4623         * math/Makefile (tests): Add test-powl.
4624         (CFLAGS-test-powl.c): Define.
4625         * math/test-powl.c: New file.
4627 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4629         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4631 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
4633         [BZ #11837]
4634         * iconvdata/gb18030.c: Update to GB18020-2005.
4636 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
4638         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4639         RE_SYNTAX_POSIX_AWK): Update to match recent development.
4640         Patch by Aharon Robbins <arnold@skeeve.com>.
4642         [BZ #11892]
4643         * stdlib/putenv.c (putenv): Don't always create copy of the variable
4644         on the stack.
4646         [BZ #11895]
4647         * misc/pselect.c (__pselect): Handle timeout value errors hidden
4648         through underflows.
4650         [BZ #12766]
4651         * misc/error.c (error_at_line): Ensure file_name and old_file_name
4652         point to strings before performing equality test for error_one_per_line
4653         mode.
4655         [BZ #11697]
4656         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4658         [BZ #11820]
4659         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4660         (struct user_fpregs_struct): Avoid __uint*_t types.
4662         [BZ #6420]
4663         * malloc/mtrace.c (tr_where): Add additional parameter to point to
4664         symbol info.  Use it instead of calling _dl_addr locally.
4665         (lock_and_info): New function.
4666         (tr_freehook): Call lock_and_info and pass symbol info as additional
4667         parameter to tr_where.
4668         (tr_mallochook): Likewise.
4669         (tr_reallochook): Likewise.
4670         (tr_memalignhook): Likewise.
4672         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
4673         used and couldn't be at all thread-safe.
4675 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
4677         * libio/freopen.c (freopen): Don't close old file descriptor
4678         before the new one is opened.  Instead dup the new file descriptor
4679         to the old one after the new stream is created.
4680         * libio/freopen64.c (freopen64): Likewise.
4681         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4682         * libio/fileops.c (_IO_new_file_close_it): Handle new
4683         _IO_FLAGS2_NOCLOSE flag.
4684         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4685         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4686         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4687         _IO_FLAGS2_NOCLOSE flag.
4688         * include/unistd.h: Add hidden_proto for dup3.
4689         Define __have_dup3.
4690         * io/dup3.c: Define hidden symbol.
4691         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4693         [BZ #7101]
4694         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4695         when an incomplete long option is used.
4696         * posix/tst-getopt_long1.c: New file.
4697         * posix/Makefile (tests): Add tst-getopt_long1.
4699         [BZ #10138]
4700         * scripts/config.guess: Update from autoconf-2.68.
4701         * scripts/config.sub: Likewise.
4703         [BZ #10157]
4704         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4705         tests into ...
4706         (has_cpuclock): ...this.  New function.
4707         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4708         macro here based on has_cpuclock code.
4710         [BZ #10149]
4711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4712         First byte (not low byte) is now always NUL.
4713         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4715         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4716         Use non-cancelable interfaces.
4718         [BZ #9809]
4719         * locale/iso-639.def: Add entry for Sorani.
4721         [BZ #11901]
4722         * include/stdlib.h: Move include protection to the right place.
4723         Define abort_msg_s.  Declare __abort_msg with it.
4724         * stdlib/abort.c (__abort_msg): Adjust type.
4725         * assert/assert.c (__assert_fail_base): New function.  Majority
4726         of code from __assert_fail.  Allocate memory for __abort_msg with
4727         mmap.
4728         (__assert_fail): Now call __assert_fail_base.
4729         * assert/assert-perr.c: Remove bulk of implementation.  Use
4730         __assert_fail_base.
4731         * include/assert.hL Declare __assert_fail_base.
4732         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4733         mmap.
4734         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4736 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
4738         [BZ #11952]
4739         [BZ #12453]
4740         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4741         until all modules are registered in the DTV.
4742         * elf/Makefile: Add rules to build and run tst-tls19.
4743         * elf/tst-tls19.c: New file.
4744         * elf/tst-tls19mod1.c: New file.
4745         * elf/tst-tls19mod2.c: New file.
4746         * elf/tst-tls19mod3.c: New file.
4747         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4749         [BZ #12083]
4750         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4751         correctly.
4753         [BZ #12601]
4754         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4755         two-byte sequence errors.
4756         * iconvdata/Makefile (tests): Add bug-iconv8.
4757         * iconvdata/bug-iconv8.c: New file.
4759         [BZ #12626]
4760         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4761         buf2 definition.
4763         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4765         [BZ #12432]
4766         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4767         (dummy_getcfa): New function.
4768         (init): Get _Unwind_GetCFA address, use dummy if not found.
4769         (backtrace_helper): In recursion check, also check whether CFA changes.
4770         (__backtrace): Completely initialize arg.
4772         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
4773         storing incomplete byte sequence in state object.  Avoid testing for
4774         guaranteed too small input if we know there is enough data available.
4776 2011-05-11  Andreas Schwab  <schwab@redhat.com>
4778         * Makeconfig (+link-pie): Indent.
4779         * Rules (binaries-pie): Define if $(have-fpie) and
4780         $(build-shared).
4781         (binaries-shared): Also filter out $(binaries-pie).
4782         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4783         * nscd/Makefile (others-pie): Add nscd.
4784         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4785         ($(objpfx)nscd): Remove command override.
4786         * login/Makefile (others-pie): Add pt_chown.
4787         ($(objpfx)pt_chown): Remove command override.
4788         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4789         remove command overrides.
4791 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
4793         * libio/tst_putwc.c: Fix error messages.
4795         [BZ #12724]
4796         * libio/fileops.c (_IO_new_file_close_it): Always flush when
4797         currently writing and seek to current position when not.
4798         * libio/Makefile (tests): Add bug-fclose1.
4799         * libio/bug-fclose1.c: New file.
4801 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
4803         [BZ #12511]
4804         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4805         don't set DF_1_NODELETE here.
4806         (do_lookup_x): When entering new entry test for copy relocation
4807         and if necessary set DF_1_NODELETE flag.
4808         * elf/tst-unique4.cc: New file.
4809         * elf/tst-unique4.h: New file.
4810         * elf/tst-unique4lib.cc: New file.
4811         * elf/Makefile: Add rules to build and run tst-unique4.
4812         Patch by Piotr Bury <pbury@goahead.com>.
4814 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
4816         [BZ #12052]
4817         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4819         [BZ #12625]
4820         * misc/mntent_r.c (addmntent): Flush the stream after the output
4822         [BZ #12393]
4823         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4824         (is_trusted_path_normalize): Skip initial colon.  Append slash
4825         to empty buffer.  Duplicate is_trusted_path code but allow
4826         constructed patch to be prefix.
4827         (is_dst): Allow $ORIGIN followed by /.
4828         (_dl_dst_substitute): Correct clearing of check_for_trusted.
4829         Correct testing of result of is_trusted_path_normalize
4830         (decompose_rpath): Fix warning.
4832 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
4834         [BZ #11257]
4835         * grp/initgroups.c (internal_getgrouplist): When we found the service
4836         list through the initgroups entry in nsswitch.conf do not always
4837         continue on a successful lookup.  Don't always use the
4838         __nss_group_database value if it is set.
4839         * nss/nsswitch.conf (initgroups): Change action for successful db
4840         lookup to continue for compatibility.
4842 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
4844         [BZ #11532]
4845         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
4846         and CP774 modules.
4847         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
4848         and CP774 modules.
4849         * iconvdata/tst-tables.sh: Likewise.
4850         * iconvdata/cp770.c: New file.
4851         * iconvdata/cp771.c: New file.
4852         * iconvdata/cp772.c: New file.
4853         * iconvdata/cp773.c: New file.
4854         * iconvdata/cp774.c: New file.
4855         * iconvdata/testdata/CP770: New file.
4856         * iconvdata/testdata/CP770..UTF8: New file.
4857         * iconvdata/testdata/CP771: New file.
4858         * iconvdata/testdata/CP771..UTF8: New file.
4859         * iconvdata/testdata/CP772: New file.
4860         * iconvdata/testdata/CP772..UTF8: New file.
4861         * iconvdata/testdata/CP773: New file.
4862         * iconvdata/testdata/CP773..UTF8: New file.
4863         * iconvdata/testdata/CP774: New file.
4864         * iconvdata/testdata/CP774..UTF8: New file.
4866         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
4867         END CHARMAP line.
4868         * iconvdata/gen-8bit-gap.sh: Likewise.
4869         * iconvdata/gen-8bit.sh: Likewise.
4871         * locale/iso-639.def: Add ary entry.
4873         [BZ #11258]
4874         * locale/C-translit.h.in: Add U20A1 transliteration.
4876         [BZ #12178]
4877         * locale/iso-639.def: Add wae entry.
4878         Patch by Kevin Bortis <bortis@translate-wae.ch>.
4880         [BZ #12545]
4881         * locale/programs/localedef.c (construct_output_path): Use ssize_t
4882         for n.
4884         [BZ #12711]
4885         * locale/C-translit.h.in: Add entry for U20B9.
4886         Patch by pravin.d.s@gmail.com.
4888 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
4890         [BZ #12713]
4891         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
4892         ENAMETOOLONG use generic getcwd.
4893         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
4894         in rtld.  Use *stat64.
4895         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
4896         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
4897         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
4898         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
4899         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
4900         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
4901         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
4902         __fstatat64 macros.
4903         * include/dirent.h: Add libc_hidden_proto for rewinddir.
4904         * dirent/rewinddir.c: Add libc_hidden_def.
4905         * sysdeps/mach/hurd/rewinddir.c: Likewise.
4906         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
4908         * include/dirent.h (__alloc_dir): Add flags parameter.
4909         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
4910         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
4911         __alloc_dir.
4912         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
4913         from fdopendir if O_CLOEXEC is already set.
4915 2011-03-15  Alan Modra  <amodra@gmail.com>
4917         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
4918         l_tls_firstbyte_offset non-zero.  Save padding offset in
4919         l_tls_firstbyte_offset for later use.
4920         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
4921         freeing static tls block.
4923 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
4925         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
4926         where #ifdef was intended.  The intent is to prevent ARG_MAX from
4927         being defined by the kernel headers.
4929 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
4931         [BZ #12734]
4932         * resolv/resolv.h: Define RES_NOTLDQUERY.
4933         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
4934         no-tld-query and set RES_NOTLDQUERY.
4935         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
4936         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
4937         modern BIND to search name as TLD unless forbidden.
4939 2011-05-07  Petr Baudis  <pasky@suse.cz>
4940             Ulrich Drepper  <drepper@gmail.com>
4942         [BZ #12393]
4943         * elf/dl-load.c (fillin_rpath): Move trusted path check...
4944         (is_trusted_path): ...to here.
4945         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
4946         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
4947         using is_trusted_path_normalize() in setuid scripts.
4949 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4951         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
4952         __BEGIN/__END_DECLS.
4954 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
4956         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
4957         NSS_STATUS_NOTFOUND if no record was found.
4959 2011-05-05  Andreas Schwab  <schwab@redhat.com>
4961         * sunrpc/Makefile (headers): Add rpc/netdb.h.
4962         (headers-not-in-tirpc): Remove rpc/netdb.h
4963         * resolv/netdb.h: Revert last change.
4965 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4967         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
4968         circular dependency between libgcc.a and libc.a.
4970 2011-05-05  Andreas Schwab  <schwab@redhat.com>
4972         * resolv/netdb.h: Don't include <rpc/netdb.h>.
4973         * nis/Makefile: Don't install rpcsvc/*.
4974         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
4975         instead of <rpc/types.h>.
4976         (MAXHOSTNAMELEN): Define.
4978 2011-05-03  Andreas Schwab  <schwab@redhat.com>
4980         * elf/ldconfig.c (add_dir): Don't crash on empty path.
4982 2011-04-28  Maciej Babinski  <mbabinski@google.com>
4984         [BZ #12714]
4985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
4986         gethostbyname4_r when IPv6 results are possible.
4988 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
4990         [BZ #12723]
4991         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
4992         _PC_PIPE_BUF handling.
4994 2011-04-30  Bruno Haible  <bruno@clisp.org>
4996         [BZ #12717]
4997         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
4998         * resolv/netdb.h (getnameinfo): Change type of flags parameter
4999         to 'int'.
5000         * inet/getnameinfo.c (getnameinfo): Likewise.
5002 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
5004         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5005         to groups setting in database lookup.
5006         * nss/nsswitch.conf: Add initgroups entry.
5008 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
5010         [BZ #12685]
5011         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5012         mode string.
5013         Patch by Eric Blake <eblake@redhat.com>.
5015 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
5017         * sunrpc/Makefile (need-export-routines): Add svc_run.
5018         (routines): Remove svc_run.
5019         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5020         * sunrpc/clnt_perr.c (clnt_perrno): Export.
5021         * sunrpc/svc_run.c (svc_run): Likewise.
5022         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5024 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
5026         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5027         problem in reallocation in last patch.
5029 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
5031         * sunrpc/Makefile: Move inclusion of Rules.
5033 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
5035         * nss/nss_files/files-initgroups.c: New file.
5036         * nss/Makefile (libnss_files-routines): Add files-initgroups.
5037         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5038         _nss_files_initgroups_dyn.
5040 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
5042         * elf/elf.h (R_ARM_IRELATIVE): Define.
5044 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
5046         * po/ru.po: Update from translation team.
5048 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
5050         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5051         dependencies.
5053 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
5055         [BZ #12653]
5056         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5057         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5058         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5059         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5060         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5062 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
5064         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5065         differing bytes.
5066         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5067         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5068         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5070 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
5072         [BZ #12420]
5073         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5074         storing it.
5075         * stdlib/bug-getcontext.c: New file.
5076         * stdlib/Makefile: Add rules to build and run bug-getcontext.
5078 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5080         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5081         instructions into .machine "z9-109".
5082         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5083         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5085 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5087         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5088         between environment variables and auxiliary vector.
5090 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
5092         * Makefile: Add rules to build linkobj/libc.so.
5093         * include/libc-symbols.h: Define libc_hidden_nolink.
5094         * include/rpc/auth.h: Mark functions which are to be hidden.
5095         * include/rpc/auth_des.h: Likewise.
5096         * include/rpc/auth_unix.h: Likewise.
5097         * include/rpc/clnt.h: Likewise.
5098         * include/rpc/des_crypt.h: Likewise.
5099         * include/rpc/key_prot.h: Likewise.
5100         * include/rpc/pmap_clnt.h: Likewise.
5101         * include/rpc/pmap_prot.h: Likewise.
5102         * include/rpc/pmap_rmt.h: Likewise.
5103         * include/rpc/rpc_msg.h: Likewise.
5104         * include/rpc/svc.h: Likewise.
5105         * include/rpc/svc_auth.h: Likewise.
5106         * include/rpc/xdr.h: Likewise.
5107         * nis/Makefile: Link all DSOs against linkobj/libc.so.
5108         * nss/Makefile: Likewise.
5109         * sunrpc/Makefile: Don't install headers.  Build library with normal
5110         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
5111         * sunrpc/auth_des.c: Hide exported symbols by default, export some
5112         for the compat linking library.  Remove use of INTDEF/INTUSE.
5113         * sunrpc/auth_none.c: Likewise.
5114         * sunrpc/auth_unix.c: Likewise.
5115         * sunrpc/authdes_prot.c: Likewise.
5116         * sunrpc/authuxprot.c: Likewise.
5117         * sunrpc/clnt_gen.c: Likewise.
5118         * sunrpc/clnt_perr.c: Likewise.
5119         * sunrpc/clnt_raw.c: Likewise.
5120         * sunrpc/clnt_simp.c: Likewise.
5121         * sunrpc/clnt_tcp.c: Likewise.
5122         * sunrpc/clnt_udp.c: Likewise.
5123         * sunrpc/clnt_unix.c: Likewise.
5124         * sunrpc/des_crypt.c: Likewise.
5125         * sunrpc/des_soft.c: Likewise.
5126         * sunrpc/get_myaddr.c: Likewise.
5127         * sunrpc/key_call.c: Likewise.
5128         * sunrpc/key_prot.c: Likewise.
5129         * sunrpc/netname.c: Likewise.
5130         * sunrpc/pm_getmaps.c: Likewise.
5131         * sunrpc/pm_getport.c: Likewise.
5132         * sunrpc/pmap_clnt.c: Likewise.
5133         * sunrpc/pmap_prot.c: Likewise.
5134         * sunrpc/pmap_prot2.c: Likewise.
5135         * sunrpc/pmap_rmt.c: Likewise.
5136         * sunrpc/publickey.c: Likewise.
5137         * sunrpc/rpc_cmsg.c: Likewise.
5138         * sunrpc/rpc_common.c: Likewise.
5139         * sunrpc/rpc_dtable.c: Likewise.
5140         * sunrpc/rpc_prot.c: Likewise.
5141         * sunrpc/rpc_thread.c: Likewise.
5142         * sunrpc/rtime.c: Likewise.
5143         * sunrpc/svc.c: Likewise.
5144         * sunrpc/svc_auth.c: Likewise.
5145         * sunrpc/svc_authux.c: Likewise.
5146         * sunrpc/svc_raw.c: Likewise.
5147         * sunrpc/svc_run.c: Likewise.
5148         * sunrpc/svc_simple.c: Likewise.
5149         * sunrpc/svc_tcp.c: Likewise.
5150         * sunrpc/svc_udp.c: Likewise.
5151         * sunrpc/svc_unix.c: Likewise.
5152         * sunrpc/svcauth_des.c: Likewise.
5153         * sunrpc/xcrypt.c: Likewise.
5154         * sunrpc/xdr.c: Likewise.
5155         * sunrpc/xdr_array.c: Likewise.
5156         * sunrpc/xdr_float.c: Likewise.
5157         * sunrpc/xdr_intXX_t.c: Likewise.
5158         * sunrpc/xdr_mem.c: Likewise.
5159         * sunrpc/xdr_rec.c: Likewise.
5160         * sunrpc/xdr_ref.c: Likewise.
5161         * sunrpc/xdr_sizeof.c: Likewise.
5162         * sunrpc/xdr_stdio.c: Likewise.
5164 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
5166         [BZ #12650]
5167         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5168         * sysdeps/ia64/dl-tls.h: Likewise.
5169         * sysdeps/powerpc/dl-tls.h: Likewise.
5170         * sysdeps/s390/dl-tls.h: Likewise.
5171         * sysdeps/sh/dl-tls.h: Likewise.
5172         * sysdeps/sparc/dl-tls.h: Likewise.
5173         * sysdeps/x86_64/dl-tls.h: Likewise.
5174         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5176 2011-03-14  Andreas Schwab  <schwab@redhat.com>
5178         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5179         rpath element also skip the following colon.
5180         (expand_dynamic_string_token): Add is_path parameter and pass
5181         down to DL_DST_REQUIRED and _dl_dst_substitute.
5182         (decompose_rpath): Call expand_dynamic_string_token with
5183         non-zero is_path.  Ignore empty rpaths.
5184         (_dl_map_object_from_fd): Call expand_dynamic_string_token
5185         with zero is_path.
5187 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
5189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5190         Make cancelable.
5192 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
5194         [BZ #12655]
5195         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5196         Patch by Filipe David Manana <fdmanana@apache.org>.
5198 2011-04-07  Andreas Schwab  <schwab@redhat.com>
5200         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5201         Maintain aligned stack.
5202         (CHECK_RSP): Remove unused macro.
5204 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
5206         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5207         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5209 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
5211         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5213         * include/features.h: Mention __USE_XOPEN2K8 in comment.
5215 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
5217         [BZ #12518]
5218         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5219         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5220         * sysdeps/x86_64/memmove.c: New file.
5221         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5222         (memcpy): Renamed to ...
5223         (__new_memcpy): This.
5224         (memcpy): Provide GLIBC_2_14 memcpy.
5225         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5226         (memcpy): Provide GLIBC_2_2_5 memcpy.
5228 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
5230         [BZ #12631]
5231         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5233 2011-03-30  Andreas Schwab  <schwab@redhat.com>
5235         * misc/syncfs.c: New file.
5236         * misc/Makefile (routines): Add syncfs.
5237         * posix/unistd.h: Declare syncfs.
5238         * sysdeps/unix/syscalls.list: Add syncfs.
5240 2011-04-01  Andreas Schwab  <schwab@redhat.com>
5242         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5243         open_by_handle_at.
5244         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5245         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5246         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5247         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5249         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5250         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5252 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
5254         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5255         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5256         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5258         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5259         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5260         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5262         * io/Makefile: Compile fallocate.c, fallocate64.c, and
5263         sync_file_range.c with -fexceptions.
5264         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5265         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5266         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5267         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5268         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5269         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5270         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
5271         sync_file_range as cancellation point
5272         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
5273         now a wrapper around __call_sync_file_range with cancellation handling.
5274         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5275         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
5276         function name to __call_sync_file_range.
5277         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5278         Add call_sync_file_range.
5280 2011-04-01  Andreas Schwab  <schwab@redhat.com>
5282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5283         bits/timex.h.
5285 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
5287         * iconv/iconv.h: Fix typo in comment.
5288         * io/fcntl.h: Likewise.
5289         * libio/stdio.h: Likewise.
5290         * posix/spawn.h: Likewise.
5291         * posix/unistd.h: Likewise.
5292         * stdlib/stdlib.h: Likewise.
5293         * time/time.h: Likewise.
5294         * wcsmbs/wchar.h: Likewise.
5296         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5297         open_by_handle): Add.
5298         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5299         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
5300         Augment a few comments.
5301         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5302         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5303         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5305         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5306         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
5307         open_by_handle.
5309         * io/fcntl.h (AT_EMPTY_PATH): Define.
5311 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
5313         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
5314         * sysdeps/unix/sysv/linux/bits/time.h: New file.
5315         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
5316         to...
5317         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
5318         * Versions.def: Add GLIBC_2.14.
5319         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
5320         Export.
5322 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
5324         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5325         round counter.
5326         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5328 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5330         [BZ #12597]
5331         * string/test-strncmp.c (do_page_test): New function.
5332         (check2): Likewise.
5333         (test_main): Call check2.
5334         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5336 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
5338         [BZ #12587]
5339         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5340         Handle cache information in CPU leaf 4.
5341         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5343 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
5345         [BZ #12583]
5346         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5347         character representation.
5348         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5350 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
5352         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5353         END(__isnan) to END(__isnanf) to match function entry point/label
5354         EALIGN(__isnanf,...).
5356 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
5358         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5360 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
5362         [BZ #12510]
5363         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5364         copy from the symbol referenced in the relocation to initialize the
5365         used variable.
5366         Patch by Piotr Bury <pbury@goahead.com>.
5367         * elf/Makefile: Add rules to build and tst-unique3.
5368         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5369         * elf/tst-unique3.cc: New file.
5370         * elf/tst-unique3.h: New file.
5371         * elf/tst-unique3lib.cc: New file.
5372         * elf/tst-unique3lib2.cc: New file.
5374         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5376 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
5378         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5379         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
5380         to _start.
5382 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
5384         * elf/dl-load.c (_dl_map_object): If we are looking for the first
5385         to-be-loaded object along a path to loader is ld.so.
5387 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
5388             Ulrich Drepper  <drepper@gmail.com>
5390         * sysdeps/x86_64/memset.S: After aligning destination, code
5391         branches to different locations depending on the value of
5392         misalignment, when multiarch is enabled. Fix this.
5394 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
5396         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5397         Set _x86_64_preferred_memory_instruction for AMD processsors.
5398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5399         Set bit_Prefer_SSE_for_memop for AMD processors.
5401 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
5403         * libio/fmemopen.c (fmemopen): Optimize a bit.
5405 2011-03-03  Andreas Schwab  <schwab@redhat.com>
5407         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5409 2011-03-03  Roland McGrath  <roland@redhat.com>
5411         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5413 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
5415         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
5416         __bzero_ultra1 instead of __memset_ultra1.
5418 2011-02-23  Andreas Schwab  <schwab@redhat.com>
5419             Ulrich Drepper  <drepper@gmail.com>
5421         [BZ #12509]
5422         * include/link.h (struct link_map): Add l_orig_initfini.
5423         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5424         returning unsuccessfully.
5425         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5426         close of a file loaded at startup, restore the original l_initfini
5427         list.
5428         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5429         list, store the pointer.
5430         * elf/Makefile ($(objpfx)noload-mem): New rule.
5431         (noload-ENV): Define.
5432         (tests): Add $(objpfx)noload-mem.
5433         * elf/noload.c: Include <memcheck.h>.
5434         (main): Call mtrace.  Close all opened handles.
5436 2011-02-17  Andreas Schwab  <schwab@redhat.com>
5438         [BZ #12454]
5439         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5440         dependencies are missing.
5442 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5444         Fix __if_freereq crash: Unlike the generic version which uses free,
5445         Hurd needs munmap.
5446         * sysdeps/mach/hurd/ifreq.h: New file.
5448 2011-01-27  Petr Baudis  <pasky@suse.cz>
5449             Ulrich Drepper  <drepper@gmail.com>
5451         [BZ 12445]#
5452         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
5453         to extend_alloca().
5454         * stdio-common/bug23.c: New file.
5455         * stdio-common/Makefile (tests): Add bug23.
5457 2010-09-28  Andreas Schwab  <schwab@redhat.com>
5458             Ulrich Drepper  <drepper@gmail.com>
5460         [BZ #12489]
5461         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
5462         before performing relro protection.  At old place add assertion
5463         to make sure nothing changed.
5465 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
5466             Glauber de Oliveira Costa  <glommer@gmail.com>
5468         * elf/elf.h: Add new ARM TLS relocs.
5470 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
5472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5473         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
5474         cast from r3.
5475         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
5476         'tests' variable.
5477         * sysdeps/wordsize-64/tst-writev.c: New file.
5479 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
5481         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
5482         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
5483         insns in _dl_start to prevent a TOC reference before relocs are
5484         resolved.
5486 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
5488         [BZ #12469]
5489         * Makeconfig: Remove RANLIB definition.
5490         * Makerules: Don't use RANLIB.
5491         * aclocal.m4: Remove ranlib test.
5492         * configure.in: No need to check for ranlib.
5493         * elf/rtld-Rules: Don't use RANLIB.
5495 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5497         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
5498         protection macro.
5499         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5500         inclusion protection macro.
5502         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5503         SIGRTMIN and SIGRTMAX and print information in that case only when
5504         SIGRTMIN is defined.
5506 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
5508         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5509         arginfo fn returning -1.
5511         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5512         and thousands string is zero terminated.
5514 2011-02-03  Andreas Schwab  <schwab@redhat.com>
5516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5517         sysdeps/unix/sysv/linux/bits/socket.h.
5519 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5521         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5522         (__CPU_COUNT): Remove old macros.
5523         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5524         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5525         (__CPU_ALLOC, __CPU_FREE): Add macros.
5526         (__sched_cpualloc, __sched_cpufree): Add declarations.
5528 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
5530         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5531         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5532         * nscd/aicache.c (addhstaiX): Return timeout of added value.
5533         (readdhstai): Return value of addhstaiX call.
5534         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5535         (addgrbyX): Return value returned by cache_addgr.
5536         (readdgrbyname): Return value returned by addgrbyX.
5537         (readdgrbygid): Likewise.
5538         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5539         (addpwbyX): Return value returned by cache_addpw.
5540         (readdpwbyname): Return value returned by addhstbyX.
5541         (readdpwbyuid): Likewise.
5542         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5543         (addservbyX): Return value returned by cache_addserv.
5544         (readdservbyname): Return value returned by addservbyX:
5545         (readdservbyport): Likewise.
5546         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5547         (addhstbyX): Return value returned by cache_addhst.
5548         (readdhstbyname): Return value returned by addhstbyX.
5549         (readdhstbyaddr): Likewise.
5550         (readdhstbynamev6): Likewise.
5551         (readdhstbyaddrv6): Likewise.
5552         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5553         (readdinitgroups): Return value returned by addinitgroupsX.
5554         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5555         (prune_cache): Keep track of timeout value of re-added entries.
5556         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5557         * nscd/nscd.h: Adjust prototypes of readd* functions.
5559 2011-02-04  Roland McGrath  <roland@redhat.com>
5561         * nis/nis_server.c (nis_servstate): Use the right name for 0.
5562         (nis_stats): Likewise.
5563         * nis/nis_modify.c (nis_modify): Likewise.
5564         * nis/nis_remove.c (nis_remove): Likewise.
5565         * nis/nis_add.c (nis_add): Likewise.
5567         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5569         * posix/fnmatch_loop.c: Add some consts.
5571         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5573 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
5575         [BZ #12460]
5576         * config.make.in (config-cflags-novzeroupper): Define.
5577         * configure.in: Substitute libc_cv_cc_novzeroupper.
5578         * elf/Makefile (AVX-CFLAGS): Define.
5579         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5580         (CFLAGS-tst-auditmod4a.c): Likewise.
5581         (CFLAGS-tst-auditmod4b.c): Likewise.
5582         (CFLAGS-tst-auditmod6b.c): Likewise.
5583         (CFLAGS-tst-auditmod6c.c): Likewise.
5584         (CFLAGS-tst-auditmod7b.c): Likewise.
5585         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5587 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
5589         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5590         function to the callback.
5591         Patch partly by Jiri Olsa <jolsa@redhat.com>.
5593 2011-02-02  Andreas Schwab  <schwab@redhat.com>
5595         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5596         of errno.
5598 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
5600         [BZ #11724]
5601         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5602         of constructors.
5603         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5604         of destructors.
5605         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5607         [BZ #11724]
5608         * elf/Makefile: Add rules to build and run new test.
5609         * elf/tst-initorder.c: New file.
5610         * elf/tst-initorder.exp: New file.
5611         * elf/tst-initordera1.c: New file.
5612         * elf/tst-initordera2.c: New file.
5613         * elf/tst-initordera3.c: New file.
5614         * elf/tst-initordera4.c: New file.
5615         * elf/tst-initorderb1.c: New file.
5616         * elf/tst-initorderb2.c: New file.
5617         * elf/tst-order-a1.c: New file.
5618         * elf/tst-order-a2.c: New file.
5619         * elf/tst-order-a3.c: New file.
5620         * elf/tst-order-a4.c: New file.
5621         * elf/tst-order-b1.c: New file.
5622         * elf/tst-order-b2.c: New file.
5623         * elf/tst-order-main.c: New file.
5624         New test case by George Gensure <werkt0@gmail.com>.
5626 2010-10-01  Andreas Schwab  <schwab@redhat.com>
5628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5629         decoding ACE if AI_CANONIDN.
5631 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
5633         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5635 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
5637         * version.h (RELEASE): Bump for 2.13 release.
5638         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5640         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5642         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5643         MADV_NOHUGEPAGE.
5644         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5645         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5647         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5648         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5649         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5651         * posix/getconf.c: Update copyright year.
5652         * catgets/gencat.c: Likewise.
5653         * csu/version.c: Likewise.
5654         * debug/catchsegv.sh: Likewise.
5655         * debug/xtrace.sh: Likewise.
5656         * elf/ldconfig.c: Likewise.
5657         * elf/ldd.bash.in: Likewise.
5658         * elf/sprof.c (print_version): Likewise.
5659         * iconv/iconv_prog.c: Likewise.
5660         * iconv/iconvconfig.c: Likewise.
5661         * locale/programs/locale.c: Likewise.
5662         * locale/programs/localedef.c: Likewise.
5663         * malloc/memusage.sh: Likewise.
5664         * malloc/mtrace.pl: Likewise.
5665         * nscd/nscd.c (print_version): Likewise.
5666         * nss/getent.c: Likewise.
5668         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5669         PF_CAIF, and PF_ALG.
5670         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5672 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
5674         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5675         (modules-names): Use them.
5676         (ifunc-test-modules, ifunc-pie-tests): Define.
5677         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5678         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5679         (test-extras): Likewise.
5680         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5681         $(compile-command.c).
5682         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5683         (all-built-dso): Define.
5684         (check-textrel.out, check-execstack.out): Depend on it.
5686         * configure.in: Don't override --enable-multi-arch.
5688 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
5690         [BZ #6812]
5691         * nscd/hstcache.c (tryagain): Define.
5692         (cache_addhst): Return tryagain not notfound for temporary errors.
5693         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5694         failed.
5696 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
5698         [BZ #10563]
5699         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5700         to make the syscall.
5701         * sysdeps/unix/sysv/linux/setgroups.c: New file.
5703         [BZ #12378]
5704         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5705         and fall back to matching as normal character if the string ends before
5706         the matching ']' is found.  This is what POSIX requires.
5707         * posix/testfnm.c: Adjust test result.
5708         * posix/globtest.sh: Adjust test result.  Add new test.
5709         * posix/tst-fnmatch.input: Likewise.
5710         * posix/tst-fnmatch2.c: Add new test.
5712 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
5714         * elf/Makefile (check-execstack): Revert last change.  Depend on
5715         check-execstack.h.
5716         (check-execstack.h): New target.
5717         (generated): Add check-execstack.h.
5718         * elf/check-execstack.c: Include "check-execstack.h".
5719         (main): Revert last change.
5720         (handle_file): Return zero if GNU_STACK is absent and
5721         DEFAULT_STACK_PERMS doesn't include PF_X.
5723 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
5725         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5726         in child fails because the descriptor is already closed.
5727         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5728         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5729         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5731         [BZ #12397]
5732         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5733         syscall.
5735         [BZ #10484]
5736         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5737         temporary buffer used to handle multi lookups locally.
5738         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
5740 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
5742         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5743         loader is ld.so.
5745 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
5747         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5748         alignment for SSE2.
5750 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
5752         [BZ #12394]
5753         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5754         characters.  When rounding increased number of integer digits recompute
5755         number of groups.
5756         * stdio-common/tst-grouping.c: New file.
5757         * stdio-common/Makefile: Add rules to build and run tst-grouping.
5759 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
5761         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5762         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
5764         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5765         void.
5766         * bits/select.h: Likewise.
5768 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
5770         * po/ja.po: Update from translation team.
5772 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
5774         [BZ #11155]
5775         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5776         implementation just like for lxstat, fxstatat, et al.
5778 2010-12-27  Jim Meyering  <meyering@redhat.com>
5780         [BZ #12348]
5781         * posix/regexec.c (build_trtable): Return failure indication upon
5782         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
5784 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
5786         [BZ #12201]
5787         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5788         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5789         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5790         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5792         [BZ #12207]
5793         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5795         [BZ #12204]
5796         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5797         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5799 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5801         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5802         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5803         script has SORT_BY_INIT_PRIORITY.
5804         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5805         NO_CTORS_DTORS_SECTIONS is defined.
5806         * elf/soinit.c: Likewise.
5807         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5808         NO_CTORS_DTORS_SECTIONS is defined.
5809         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5810         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5811         * sysdeps/sh/init-first.c: Likewise.
5812         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5814 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
5816         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5817         always use the slow path.
5819 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
5821         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5822         similar rule which adds the sysdep directories to the header search in
5823         order to pick up the correct platform stackinfo.h.
5824         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5825         perform test if it is, otherwise return successfully without testing.
5826         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5827         DEFAULT_STACK_PERMS define in stackinfo.h.
5828         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5829         defined in stackinfo.h.
5830         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5831         DEFAULT_STACK_PERMS defined in stackinfo.h.
5832         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5833         * sysdeps/ia64/stackinfo.h: Likewise.
5834         * sysdeps/s390/stackinfo.h: Likewise.
5835         * sysdeps/sh/stackinfo.h: Likewise.
5836         * sysdeps/sparc/stackinfo.h: Likewise.
5837         * sysdeps/x86_64/stackinfo.h: Likewise.
5838         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5839         PF_X for powerpc64.  Retain PF_X for powerpc32.
5841 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
5843         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5844         accurately.
5845         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
5846         GETDENTS_64BIT_ALIGNED.
5848 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
5850         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
5852 2010-12-10  Andreas Schwab  <schwab@redhat.com>
5854         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
5855         _GNU_SOURCE.
5857         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
5858         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
5859         Remove __restrict.
5860         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
5861         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
5863 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
5865         [BZ #11655]
5866         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
5867         are initialized.
5869 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
5871         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
5873 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
5875         * po/it.po: Update from translation team.
5877 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
5880         unused codes.
5882 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
5884         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
5886 2010-11-24  Andreas Schwab  <schwab@redhat.com>
5888         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
5889         specially.
5890         (gaih_getanswer_slice): Likewise.
5892 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
5894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
5896 2010-05-31  Petr Baudis  <pasky@suse.cz>
5898         [BZ #11149]
5899         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
5900         silently even in the chroot mode.
5902 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
5904         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
5905         last patch a bit.  Pretty printing
5907 2010-05-31  Petr Baudis <pasky@suse.cz>
5909         [BZ #10085]
5910         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
5911         initialization of skip_initgroups_dyn.
5913 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
5915         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
5916         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5918 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
5920         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
5922 2010-11-11  Andreas Schwab  <schwab@redhat.com>
5924         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
5925         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
5926         (tst-fnmatch-ENV): Set MALLOC_TRACE.
5927         ($(objpfx)tst-fnmatch-mem): New rule.
5928         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
5929         * posix/tst-fnmatch.c (main): Call mtrace.
5931 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
5933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5934         Support Intel processor model 6 and model 0x2c.
5936 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
5938         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
5939           signed comparison.
5941 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
5943         [BZ #12205]
5944         * string/test-strncasecmp.c (check_result): New function.
5945         (do_one_test): Use it.
5946         (check1): New function.
5947         (test_main): Use it.
5948         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
5949         Support strcasecmp and strncasecmp.
5951 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
5953         [BZ #12194]
5954         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
5955         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5957 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5959         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
5960         IFUNC support.
5961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5962         memset-x86-64.
5963         * sysdeps/x86_64/multiarch/bzero.S: New file.
5964         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
5965         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
5966         * sysdeps/x86_64/multiarch/memset.S: New file.
5967         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
5968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5969         Set bit_Prefer_SSE_for_memop for Intel processors.
5970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
5971         Define.
5972         (index_Prefer_SSE_for_memop): Define.
5973         (HAS_PREFER_SSE_FOR_MEMOP): Define.
5975 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
5977         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
5978         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
5980 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
5982         [BZ #12191]
5983         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5984         (__x86_64_raw_data_cache_size_half): Likewise.
5985         (__x86_64_raw_shared_cache_size): Likewise.
5986         (__x86_64_raw_shared_cache_size_half): Likewise.
5988         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5989         (__x86_64_raw_data_cache_size_half): Likewise.
5990         (__x86_64_raw_shared_cache_size): Likewise.
5991         (__x86_64_raw_shared_cache_size_half): Likewise.
5992         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
5993         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
5994         and __x86_64_raw_shared_cache_size_half.  Round
5995         __x86_64_data_cache_size_half, __x86_64_data_cache_size
5996         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
5997         to multiple of 256 bytes.
5999 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
6001         [BZ #12167]
6002         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6003         of inacessible symlinks.  Verify result of symlink before returning it.
6004         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6005         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6007 2010-10-28  Erich Ritz  <erichritz@gmail.com>
6009         * math/math.h (isinf): Fix typo in comment.
6011 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
6013         * po/da.po: Update from translation team.
6015 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
6017         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6018         is added to the list.
6020 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6021             Ulrich Drepper  <drepper@gmail.com>
6023         * elf/dl-object.c (_dl_new_object): Don't append the new object to
6024         the global list here.  Move code to...
6025         (_dl_add_to_namespace_list): ...here.  New function.
6026         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6027         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6028         * elf/dl-load.c (lose): Don't remove the element from the list.
6029         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6030         (_dl_map_object): Likewise.
6032 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
6034         [BZ #12159]
6035         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6036         into all bytes of SSE register.
6037         Patch by Richard Li <richardpku@gmail.com>.
6039 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
6041         [BZ #12140]
6042         * malloc/malloc.c (_int_free): Fill correct number of bytes when
6043         perturbing.
6045 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
6047         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6048         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6049         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6050         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6052         submachine.
6053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6055 2010-10-22  Andreas Schwab  <schwab@redhat.com>
6057         * include/dlfcn.h (__RTLD_SECURE): Define.
6058         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
6059         mode & __RTLD_SECURE instead.
6060         (open_path): Rename preloaded parameter to secure.
6061         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6062         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6063         * elf/dl-deps.c (openaux): Likewise.
6064         * elf/rtld.c (struct map_args): Remove is_preloaded.
6065         (map_doit): Don't use it.
6066         (dl_main): Likewise.
6067         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6068         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6070 2010-09-09  Andreas Schwab  <schwab@redhat.com>
6072         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6073         (sysd-rules-targets): Remove duplicates.
6074         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6075         rtld-%.$o dependency.
6077 2010-10-18  Andreas Schwab  <schwab@redhat.com>
6079         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6080         _dl_map_object do it.
6082 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
6084         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6085         fast fma builtins, define the macros in the C99 standard.
6086         (FP_FAST_FMAF): Likewise.
6087         (FP_FAST_FMAL): Likewise.
6088         * sysdeps/x86_64/bits/mathdef.h: Likewise.
6090         * bits/mathdef.h: Update copyright year.
6091         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6093 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
6095         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6096         builtins, define the macros in the C99 standard.
6097         (FP_FAST_FMAF): Likewise.
6098         (FP_FAST_FMAL): Likewise.
6099         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6100         multiply/add.
6101         (FP_FAST_FMAF): Likewise.
6103 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
6105         [BZ #3268]
6106         * math/libm-test.inc (fma_test): Some new testcases.
6107         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6108         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6109         y and infinite z.  Do multiplication by C already in long double.
6110         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6112         y and infinite z.  Do bitwise or of inexact bit into u.d.
6113         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6114         * sysdeps/i386/fpu/s_fmaf.S: Removed.
6115         * sysdeps/i386/fpu/s_fma.S: Removed.
6116         * sysdeps/i386/fpu/s_fmal.S: Removed.
6118 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
6120         [BZ #3268]
6121         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6123         computation is not scheduled after fetestexcept.  Fix value
6124         of minimum denormal long double.
6126 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
6128         [BZ #3268]
6129         * math/libm-test.inc (fma_test): Add some more tests.
6130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6131         correctly.
6133 2010-10-15  Andreas Schwab  <schwab@redhat.com>
6135         * scripts/data/localplt-s390-linux-gnu.data: New file.
6136         * scripts/data/localplt-s390x-linux-gnu.data: New file.
6138 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
6140         [BZ #3268]
6141         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6142         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6143         instead of dbl-64.
6144         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6145         inlines.
6146         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6148         if one of x and y is very large and the other is subnormal.
6149         * sysdeps/s390/fpu/s_fmaf.c: New file.
6150         * sysdeps/s390/fpu/s_fma.c: New file.
6151         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6152         * sysdeps/powerpc/fpu/s_fma.S: New file.
6153         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6154         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6155         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6157 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
6159         [BZ #3268]
6160         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6161         fma tests.
6162         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6163         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6164         * sysdeps/i386/i686/multiarch/s_fma.c: Include
6165         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6166         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6167         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6168         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6170 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
6172         [BZ #12078]
6173         * posix/regcomp.c (parse_branch): One more memory leak plugged.
6174         * posix/bug-regex31.input: Add test case.
6176 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
6178         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6179         * posix/bug-regex31.input: New file.
6181         [BZ #12078]
6182         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6183         (parse_sub_exp): Fix last change, use postorder.
6185         * posix/bug-regex31.c: New file.
6186         * posix/Makefile: Add rules to build and run bug-regex31.
6188         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6190         [BZ #12078]
6191         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6193         [BZ #12108]
6194         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6195         to have entries in sys_siglist.
6197         [BZ #12093]
6198         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6199         be NULL.
6201 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
6203         [BZ #3268]
6204         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6205         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6206         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6207         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6208         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6209         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6210         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6211         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6212         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6213         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6214         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6215         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6216         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6217         * math/ftestexcept.c (fetestexcept): Likewise.
6218         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6219         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6220         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6221         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6222         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6223         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6224         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6226 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
6228         [BZ #12107]
6229         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6230         newline.
6232 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
6234         * string/bug-strstr1.c: New file.
6235         * string/Makefile: Add rules to build and run bug-strstr1.
6237 2010-10-05  Eric Blake  <eblake@redhat.com>
6239         [BZ #12092]
6240         * string/str-two-way.h (two_way_long_needle): Always clear memory
6241         when skipping input due to the shift table.
6243 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
6245         [BZ #12005]
6246         * malloc/mcheck.c: Handle large requests.
6248         [BZ #12077]
6249         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6250         for strncmp and strncasecmp.
6251         * string/stratcliff.c: Add tests for strcmp and strncmp.
6252         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6254 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6256         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6257         __set_fpscr.
6259 2010-09-30  Andreas Jaeger  <aj@suse.de>
6261         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6262         (CGROUP_SUPER_MAGIC): Define.
6263         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6264         Handle btrfs and cgroup file systems.
6265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6266         Likewise.
6268 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
6270         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6271         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6273 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6275         [BZ #12067]
6276         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6277         trying to locate the ELF header.
6279 2010-09-27  Andreas Schwab  <schwab@redhat.com>
6281         [BZ #11611]
6282         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6283         Mask out sign-bit copies when constructing f_fsid.
6285 2010-09-24  Petr Baudis <pasky@suse.cz>
6287         * debug/stack_chk_fail_local.c: Add missing licence exception.
6288         * debug/warning-nop.c: Likewise.
6290 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
6292         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6293         implementing getdents64 using getdents syscall, set d_type if
6294         __ASSUME_GETDENTS32_D_TYPE.
6296 2010-09-16  Andreas Schwab  <schwab@redhat.com>
6298         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6299         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
6301 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
6303         [BZ #12037]
6304         * posix/unistd.h: Undo change of feature selection for ftruncate from
6305         2010-01-11.
6307 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
6309         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
6310         detection.
6312 2010-09-20  Andreas Schwab  <schwab@redhat.com>
6314         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
6315         fanotify_mark.
6316         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6318 2010-09-14  Andreas Schwab  <schwab@redhat.com>
6320         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
6321         variables after CHECK_SP call.
6322         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6324 2010-09-13  Andreas Schwab  <schwab@redhat.com>
6325             Ulrich Drepper  <drepper@redhat.com>
6327         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6328         re-relocationg ld.so.
6329         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6330         _dl_init_paths call.
6331         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
6332         here anymore.
6334 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
6336         * resolv/res_init.c (__res_vinit): Count the default server we added.
6338 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
6339             Ulrich Drepper  <drepper@redhat.com>
6341         [BZ #11968]
6342         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6343         (____longjmp_chk): Use %ebx for saving value across system call.
6344         Add unwind info.
6346 2010-09-06  Andreas Schwab  <schwab@redhat.com>
6348         * manual/Makefile: Don't mix pattern rules with normal rules.
6350 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
6352         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6353         operation.
6354         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6355         * libio/iofopncook.c (_IO_cookie_init): Likewise.
6356         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6357         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6359         Likewise.
6361 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
6363         [BZ #11979]
6364         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6365         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6367 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
6369         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6370         * sysdeps/x86_64/addmul_1.S: Likewise.
6371         * sysdeps/x86_64/lshift.S: Likewise.
6372         * sysdeps/x86_64/mul_1.S: Likewise.
6373         * sysdeps/x86_64/rshift.S: Likewise.
6374         * sysdeps/x86_64/sub_n.S: Likewise.
6375         * sysdeps/x86_64/submul_1.S: Likewise.
6377 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6379         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6380         Define __sched_param instead of SCHED_* and sched_param when
6381         <bits/sched.h> is included with __need_schedparam defined.
6382         * bits/sched.h [__need_schedparam]
6383         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
6384         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6385         (__defined_schedparam): Define to 1.
6386         (__sched_param): New structure, identical to sched_param.
6387         (__need_schedparam): Undefine.
6389 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
6391         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6392         (epoll_create1): Declare.
6394         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6396 2010-08-31  Andreas Schwab  <schwab@redhat.com>
6398         [BZ #7066]
6399         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6400         shifting retval into place.
6402 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
6404         * nis/rpcsvc/nis.h: Update copyright notice.
6405         * nis/rpcsvc/nis.x: Likewise.
6406         * nis/rpcsvc/nis_callback.h: Likewise.
6407         * nis/rpcsvc/nis_callback.x: Likewise.
6408         * nis/rpcsvc/nis_object.x: Likewise.
6409         * nis/rpcsvc/nis_tags.h: Likewise.
6410         * nis/rpcsvc/yp.h: Likewise.
6411         * nis/rpcsvc/yp.x: Likewise.
6412         * nis/rpcsvc/ypupd.h: Likewise.
6413         * nis/yp_xdr.c: Likewise.
6414         * nis/ypupdate_xdr.c: Likewise.
6416         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
6417         mainly the body of pmap_getport.  Add parameters to specify timeouts.
6418         (pmap_getport): Use __libc_rpc_getport.
6419         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6420         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6421         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6423 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
6425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6426         fanotify_mark.
6428 2010-08-27  Roland McGrath  <roland@redhat.com>
6430         * sysdeps/i386/i686/multiarch/Makefile
6431         (CFLAGS-varshift.c): New variable.
6433 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
6435         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6436         * sysdeps/i386/i686/multiarch/varshift.c: New file.
6438         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6440         * sysdeps/x86_64/strlen.S: Minimal code improvement.
6442 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6444         * sysdeps/x86_64/strlen.S: Unroll the loop.
6445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6446         strlen-sse2 strlen-sse2-bsf.
6447         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
6448         __strlen_no_bsf if bit_Slow_BSF is set.
6449         (__strlen_sse42): Removed.
6450         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
6451         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
6453 2010-08-25  Roland McGrath  <roland@redhat.com>
6455         * sysdeps/x86_64/multiarch/varshift.S: File removed.
6456         * sysdeps/x86_64/multiarch/varshift.c: New file.
6457         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
6458         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
6459         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
6460         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6462 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6465         strlen-sse2 strlen-sse2-bsf.
6466         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
6467         __strlen_sse2_bsf if bit_Slow_BSF is unset.
6468         (__strlen_sse2): Removed.
6469         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
6470         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
6471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6472         bit_Slow_BSF for Atom.
6473         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
6474         (index_Slow_BSF): Define.
6475         (HAS_SLOW_BSF): Define.
6477 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
6479         [BZ #10851]
6480         * resolv/res_init.c (__res_vinit): When no server address at all
6481         is given default to loopback.
6483 2010-08-24  Roland McGrath  <roland@redhat.com>
6485         * configure.in: Remove config-name.h generation.
6486         * configure: Regenerated.
6487         * config-name.in: File removed.
6488         * scripts/config-uname.sh: New file.
6489         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
6490         ($(objdir)config-name.h): New target.
6492         * sunrpc/rpc_parse.h: Avoid nested comment.
6494 2010-08-24  Richard Henderson  <rth@redhat.com>
6495             Ulrich Drepper  <drepper@redhat.com>
6496             H.J. Lu  <hongjiu.lu@intel.com>
6498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
6499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6500         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6501         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
6502         _mm_alignr_epi8 with _mm_loadu_si128.
6503         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6504         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6505         (__m128i_shift_right): Removed.
6506         * sysdeps/i386/i686/multiarch/varshift.h: New file.
6507         * sysdeps/i386/i686/multiarch/varshift.S: New file.
6508         * sysdeps/x86_64/multiarch/varshift.h: New file.
6509         * sysdeps/x86_64/multiarch/varshift.S: New file.
6511 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
6513         * configure.in: Move assembler checks to before sysdep dir checking.
6515 2010-08-20  Petr Baudis  <pasky@suse.cz>
6517         * LICENSES: Sync the sunrpc license.
6519 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
6521         * sunrpc/auth_des.c: Update copyright notice once again.
6522         * sunrpc/auth_none.c: Likewise.
6523         * sunrpc/auth_unix.c: Likewise.
6524         * sunrpc/authdes_prot.c: Likewise.
6525         * sunrpc/authuxprot.c: Likewise.
6526         * sunrpc/bindrsvprt.c: Likewise.
6527         * sunrpc/clnt_gen.c: Likewise.
6528         * sunrpc/clnt_perr.c: Likewise.
6529         * sunrpc/clnt_raw.c: Likewise.
6530         * sunrpc/clnt_simp.c: Likewise.
6531         * sunrpc/clnt_tcp.c: Likewise.
6532         * sunrpc/clnt_udp.c: Likewise.
6533         * sunrpc/clnt_unix.c: Likewise.
6534         * sunrpc/des_crypt.c: Likewise.
6535         * sunrpc/des_soft.c: Likewise.
6536         * sunrpc/get_myaddr.c: Likewise.
6537         * sunrpc/getrpcport.c: Likewise.
6538         * sunrpc/key_call.c: Likewise.
6539         * sunrpc/key_prot.c: Likewise.
6540         * sunrpc/openchild.c: Likewise.
6541         * sunrpc/pm_getmaps.c: Likewise.
6542         * sunrpc/pm_getport.c: Likewise.
6543         * sunrpc/pmap_clnt.c: Likewise.
6544         * sunrpc/pmap_prot.c: Likewise.
6545         * sunrpc/pmap_prot2.c: Likewise.
6546         * sunrpc/pmap_rmt.c: Likewise.
6547         * sunrpc/rpc/auth.h: Likewise.
6548         * sunrpc/rpc/auth_unix.h: Likewise.
6549         * sunrpc/rpc/clnt.h: Likewise.
6550         * sunrpc/rpc/des_crypt.h: Likewise.
6551         * sunrpc/rpc/key_prot.h: Likewise.
6552         * sunrpc/rpc/netdb.h: Likewise.
6553         * sunrpc/rpc/pmap_clnt.h: Likewise.
6554         * sunrpc/rpc/pmap_prot.h: Likewise.
6555         * sunrpc/rpc/pmap_rmt.h: Likewise.
6556         * sunrpc/rpc/rpc.h: Likewise.
6557         * sunrpc/rpc/rpc_des.h: Likewise.
6558         * sunrpc/rpc/rpc_msg.h: Likewise.
6559         * sunrpc/rpc/svc.h: Likewise.
6560         * sunrpc/rpc/svc_auth.h: Likewise.
6561         * sunrpc/rpc/types.h: Likewise.
6562         * sunrpc/rpc/xdr.h: Likewise.
6563         * sunrpc/rpc_clntout.c: Likewise.
6564         * sunrpc/rpc_cmsg.c: Likewise.
6565         * sunrpc/rpc_common.c: Likewise.
6566         * sunrpc/rpc_cout.c: Likewise.
6567         * sunrpc/rpc_dtable.c: Likewise.
6568         * sunrpc/rpc_hout.c: Likewise.
6569         * sunrpc/rpc_main.c: Likewise.
6570         * sunrpc/rpc_parse.c: Likewise.
6571         * sunrpc/rpc_parse.h: Likewise.
6572         * sunrpc/rpc_prot.c: Likewise.
6573         * sunrpc/rpc_sample.c: Likewise.
6574         * sunrpc/rpc_scan.c: Likewise.
6575         * sunrpc/rpc_scan.h: Likewise.
6576         * sunrpc/rpc_svcout.c: Likewise.
6577         * sunrpc/rpc_tblout.c: Likewise.
6578         * sunrpc/rpc_util.c: Likewise.
6579         * sunrpc/rpc_util.h: Likewise.
6580         * sunrpc/rpcinfo.c: Likewise.
6581         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6582         * sunrpc/rpcsvc/key_prot.x: Likewise.
6583         * sunrpc/rpcsvc/klm_prot.x: Likewise.
6584         * sunrpc/rpcsvc/mount.x: Likewise.
6585         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6586         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6587         * sunrpc/rpcsvc/rex.x: Likewise.
6588         * sunrpc/rpcsvc/rstat.x: Likewise.
6589         * sunrpc/rpcsvc/rusers.x: Likewise.
6590         * sunrpc/rpcsvc/sm_inter.x: Likewise.
6591         * sunrpc/rpcsvc/spray.x: Likewise.
6592         * sunrpc/rpcsvc/yppasswd.x: Likewise.
6593         * sunrpc/rtime.c: Likewise.
6594         * sunrpc/svc.c: Likewise.
6595         * sunrpc/svc_auth.c: Likewise.
6596         * sunrpc/svc_authux.c: Likewise.
6597         * sunrpc/svc_raw.c: Likewise.
6598         * sunrpc/svc_run.c: Likewise.
6599         * sunrpc/svc_simple.c: Likewise.
6600         * sunrpc/svc_tcp.c: Likewise.
6601         * sunrpc/svc_udp.c: Likewise.
6602         * sunrpc/svc_unix.c: Likewise.
6603         * sunrpc/svcauth_des.c: Likewise.
6604         * sunrpc/xcrypt.c: Likewise.
6605         * sunrpc/xdr.c: Likewise.
6606         * sunrpc/xdr_array.c: Likewise.
6607         * sunrpc/xdr_float.c: Likewise.
6608         * sunrpc/xdr_mem.c: Likewise.
6609         * sunrpc/xdr_rec.c: Likewise.
6610         * sunrpc/xdr_ref.c: Likewise.
6611         * sunrpc/xdr_sizeof.c: Likewise.
6612         * sunrpc/xdr_stdio.c: Likewise.
6614         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6615         handling.
6617 2010-08-19  Andreas Schwab  <schwab@redhat.com>
6619         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6621 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
6623         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6624         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6625         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6626         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6627         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6628         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6629         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6630         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6631         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6632         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6633         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6634         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6635         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6636         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6638 2010-07-26  Anton Blanchard  <anton@samba.org>
6640         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6641         * malloc/arena.c (heap_trim): Likewise.
6643 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
6645         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6646         here.  Not...
6647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6648         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6650 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6652         * sysdeps/i386/elf/Makefile: New file.
6654 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
6656         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6657         from fanotify_init.
6658         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6661 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
6663         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6664         of strncasecmp_l.
6665         * sysdeps/multiarch/strcmp.S: Likewise.
6667 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
6669         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6670         strncase_l-nonascii.
6671         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6672         Add strncase_l-ssse3.
6673         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6674         * sysdeps/x86_64/strcmp.S: Likewise.
6675         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6676         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6677         * sysdeps/x86_64/strncase.S: New file.
6678         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6679         * sysdeps/x86_64/strncase_l.S: New file.
6680         * string/Makefile (strop-tests): Add strncasecmp.
6681         * string/test-strncasecmp.c: New file.
6683         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6684         warning.
6686         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6687         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6689 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
6691         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6693 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
6695         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6696         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6697         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6699 2010-05-01  Alan Modra  <amodra@gmail.com>
6701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6702         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6703         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6704         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6705         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6706         tidying.  Don't tail-call __sigjmp_save for static lib.
6707         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6708         save location.
6709         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6710         (CALL_MCOUNT): Add eh info, and nop after bl.
6711         (TAIL_CALL_SYSCALL_ERROR): New macro.
6712         (PSEUDO_RET): Use it.
6713         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6714         Correct save location of integer regs and cr.
6715         (_dl_profile_resolve): Correct cr save location.  Delete nops
6716         after bl when SHARED.  Reduce cfi size a little by better
6717         placement of cfi directives.
6718         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6719         make a stack frame.  Instead use parm save area as a temp.
6720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6721         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6723         Don't make a stack frame for parent, use parm save area.
6724         Increase child stack frame to 112 bytes.  Don't save unused reg,
6725         and adjust reg usage.  Set up cfi on error recovery and
6726         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6728         (__makecontext): Add dummy nop after jump to exit.
6729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6730         Use correct parm save area and cr save, reduce stack frame.
6731         Correct cfi for possible PSEUDO_RET frame setup.
6732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6733         Branch to local label emitted by PSEUDO_RET rather than
6734         __syscall_error.
6736 2010-08-12  Andreas Schwab  <schwab@redhat.com>
6738         [BZ #11904]
6739         * locale/programs/locale.c (print_assignment): New function.
6740         (show_locale_vars): Use it.
6742 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
6744         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6745         field.
6746         (struct statfs64): Likewise.
6747         (_STATFS_F_FLAGS): Define.
6748         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6749         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6750         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6751         (ST_VALID): Define locally.
6752         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6753         __statvfs_getflags, use the provided value.
6754         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6755         __ASSUME_STATFS_F_FLAGS.
6757         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6759         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6760         Add sys/fanotify.h.
6761         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6762         fanotify_mask for GLIBC_2.13.
6763         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6764         fanotify_init and fanotify_mark.
6765         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6766         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6768         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6769         Add prlimit.
6770         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6771         prlimit64 for GLIBC_2.13.
6772         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6773         prlimit64.
6774         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6775         syscall.
6776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6777         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6778         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6779         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
6781         add prlimit alias.
6782         * sysdeps/unix/sysv/linux/prlimit.c: New file.
6784         [BZ #11903]
6785         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6786         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6788         * nss/Makefile: Add rules to build and run tst-nss-test1.
6789         * shlib-versions: Add entry for libnss_test1.
6790         * nss/nss_test1.c: New file.
6791         * nss/tst-nss-test1.c: New file.
6793         * nss/nsswitch.c (__nss_database_custom): Define new variable.
6794         (__nss_configure_lookup): Set appropriate entry in
6795         __nss_configure_lookup to true.
6796         * nss/nsswitch.h: Define enum with indeces of databases in
6797         databases and __nss_database_custom arrays.  Declare
6798         __nss_database_custom.
6799         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6800         to avoid using nscd when custom rules are installed.
6801         * nss/getXXbyYY_r.c: Likewise.
6802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6804         * nss/nss_files/files-parse.c: Whitespace fixes.
6806 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
6808         [BZ #11883]
6809         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6810         * posix/fnmatch_loop.c: Likewise.
6812 2010-07-17  Andi Kleen  <ak@linux.intel.com>
6814         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6815         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6816         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6817         * Versions.def [GLIBC_2.13]: Add.
6819 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
6821         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6822         Also fail if tpwd after pwuid call is NULL.
6824 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6826         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6827         when converting to ms.
6829 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6831         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6832         EOPNOTSUPP errors with ENOTTY.
6833         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6834         EOPNOTSUPP errors with ENOTTY.
6836 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
6838         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6839         Add strcasecmp_l-ssse3.
6840         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6841         strcasecmp.
6842         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6843         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6844         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6846 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
6848         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
6850         * string/Makefile (strop-tests): Add strcasecmp.
6851         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6852         strcasecmp_l-nonascii.
6853         (gen-as-const-headers): Add locale-defines.sym.
6854         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
6855         * sysdeps/x86_64/strcasecmp.S: New file.
6856         * sysdeps/x86_64/strcasecmp_l.S: New file.
6857         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
6858         * sysdeps/x86_64/locale-defines.sym: New file.
6859         * string/test-strcasecmp.c: New file.
6861         * string/test-strcasestr.c: Test both ends of the range of characters.
6862         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
6864 2010-07-29  Roland McGrath  <roland@redhat.com>
6866         [BZ #11856]
6867         * manual/locale.texi (Yes-or-No Questions): Fix example code.
6869 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
6871         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
6872         for ld.so.
6874 2010-07-27  Andreas Schwab  <schwab@redhat.com>
6876         * manual/memory.texi (Malloc Tunable Parameters): Document
6877         M_PERTURB.
6879 2010-07-26  Roland McGrath  <roland@redhat.com>
6881         [BZ #11840]
6882         * configure.in (-fgnu89-inline check): Set and substitute
6883         gnu89_inline, not libc_cv_gnu89_inline.
6884         * configure: Regenerated.
6885         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
6887 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
6889         * string/test-strnlen.c: New file.
6890         * string/Makefile (strop-tests): Add strnlen.
6891         * string/tester.c (test_strnlen): Add a few more test cases.
6892         * string/tst-strlen.c: Better error reporting.
6894         * sysdeps/x86_64/strnlen.S: New file.
6896 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
6898         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
6899         lower-latency instructions.
6901 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
6903         * string/test-strcasestr.c: New file.
6904         * string/test-strstr.c: New file.
6905         * string/Makefile (strop-tests): Add strstr and strcasestr.
6906         * string/str-two-way.h: Don't undefine MAX.
6907         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
6909 2010-07-21  Andreas Schwab  <schwab@redhat.com>
6911         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6912         strcasestr-nonascii.
6913         (CFLAGS-strcasestr-nonascii.c): Define.
6914         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
6915         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
6916         Remove unused attribute.
6918 2010-07-20  Roland McGrath  <roland@redhat.com>
6920         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
6921         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
6922         ld.so.cache was broken.  With it, there is no way to disable dsocaps
6923         like LD_HWCAP_MASK can disable hwcaps.
6925 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
6927         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
6929 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
6931         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
6932         call in strcasestr.
6933         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6934         __strcasestr_sse42_nonascii.
6935         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
6936         strcasestr-nonascii.c.
6937         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
6939 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
6941         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
6942         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
6943         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
6944         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
6946 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
6948         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
6949         fcntl.
6951 2010-07-06  Andreas Schwab  <schwab@redhat.com>
6953         [BZ #11577]
6954         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
6955         dl_signal_cerror.
6957 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
6959         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
6960         _PC_PIPE_BUF using F_GETPIPE_SZ.
6962 2010-07-05  Roland McGrath  <roland@redhat.com>
6964         * manual/arith.texi (Rounding Functions): Fix rint description
6965         implicit in round description.
6967 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
6969         * elf/Makefile: Fix linking for a few tests to make recent linker
6970         happy.
6972 2010-06-30  Andreas Schwab  <schwab@redhat.com>
6974         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6975         $(common-objpfx)libc_nonshared.a.
6977 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
6979         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
6980         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
6981         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6982         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6983         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
6984         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
6985         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6986         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
6988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
6994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
6996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
6997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
6999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7001         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7002         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7003         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7004         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7005         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7006         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7007         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7008         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7009         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7010         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7011         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7012         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7028 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7030         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7031         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
7032         * string/memmove.c (memmove): Renamed to ...
7033         (MEMMOVE): ...this.  Default to memmove.
7034         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7035         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7036         (END_CHK): Define.
7037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7038         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7039         mempcpy-ssse3-back memmove-ssse3-back.
7040         * sysdeps/x86_64/multiarch/bcopy.S: New file .
7041         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7042         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7043         * sysdeps/x86_64/multiarch/memcpy.S: New file.
7044         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7045         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7046         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7047         * sysdeps/x86_64/multiarch/memmove.c: New file.
7048         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7049         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7050         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7051         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7052         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7053         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7054         Define.
7055         (index_Fast_Copy_Backward): Define.
7056         (HAS_ARCH_FEATURE): Define.
7057         (HAS_FAST_REP_STRING): Define.
7058         (HAS_FAST_COPY_BACKWARD): Define.
7060 2010-06-21  Andreas Schwab  <schwab@redhat.com>
7062         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7063         Restore proper fallback handling.
7065 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
7067         [BZ #11701]
7068         * posix/group_member.c (__group_member): Correct checking loop.
7070         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7071         OOM in getpwuid_r correctly.  Return error number when the caller
7072         should return, otherwise -1.
7073         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7074         call returning > 0 value.
7075         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7077 2010-06-07  Andreas Schwab  <schwab@redhat.com>
7079         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7080         libc_nonshared.a from targets in modules-names.
7082 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
7084         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7085         requires it.
7087 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
7089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7090         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7091         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7092         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7094 2010-06-02  Andreas Schwab  <schwab@redhat.com>
7096         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7098 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
7100         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7101         and F_GETPIPE_SZ.
7102         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7103         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7104         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7106         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7107         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7109 2010-06-14  Roland McGrath  <roland@redhat.com>
7111         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7113 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
7115         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7116         __REDIRECT followed by __THROW.
7117         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7118         * posix/getopt.h (getopt): Likewise.
7120 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
7122         * hurd/lookup-at.c (__file_name_lookup_at): Accept
7123         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
7124         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7125         in AT_FLAGS.
7126         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7127         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7129 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
7131         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7133 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
7135         [BZ #11640]
7136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7137         Properly check family and model.
7139 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
7141         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7143 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
7145         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7147 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
7149         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7150         symbol reference.
7152 2010-05-19  Andreas Schwab  <schwab@redhat.com>
7154         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7155         symbol reference.
7157 2010-05-21  Andreas Schwab  <schwab@redhat.com>
7159         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7160         and internal_recvmmsg.
7161         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7162         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7163         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7164         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7166         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7167         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7168         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7170 2010-05-20  Andreas Schwab  <schwab@redhat.com>
7172         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7174 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
7176         POWER7 optimizations.
7177         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7178         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7180 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
7182         * version.h: Update for 2.13 development version.
7184 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
7186         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7187         exceptions.  Return 0.
7189 2010-05-07  Roland McGrath  <roland@redhat.com>
7191         * elf/ldconfig.c (main): Add a const.
7193 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
7195         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7196         (args_options): Add no-idn option.
7197         (ahosts_keys_int): Add idn_flags to ai_flags.
7198         (parse_option): Handle 'i' option to clear idn_flags.
7200         * malloc/malloc.c (_int_free): Possible race in the most recently
7201         added check.  Only act on the data if no current modification
7202         happened.
7204 See ChangeLog.17 for earlier changes.