1 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3 * configure.in: Remove last remnants of RANLIB.
4 * aclocal.m4: Likewise.
6 * wcsmbs/mbrtoc16.c: Implement using towc function.
7 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8 * wcsmbs/wcsmbsload.c: Likewise.
9 * iconv/gconv_simple.c: Likewise.
10 * iconv/gconv_int.h: Likewise.
11 * iconv/gconv_builtin.h: Likewise.
12 * iconv/iconv_prog.c: Remove CHAR16 handling.
14 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18 * configure.in: Remove --with-elf and --enable-bounded options.
19 Dont set base_machine for ia64. More non-ELF conditions removed.
20 Remove testing and setting of leading underscore information.
21 * config.make.in (build-bounded): Set to no.
22 * config.h.in: Remove NO_UNDERSCORES entry.
23 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25 * csu/start.c: Remove !NO_UNDERSCORE code.
26 * locale/localeinfo.h: Likewise.
27 * sysdeps/generic/machine-gmon.h: Likewise.
28 * sysdeps/generic/sysdep.h: Likewise.
29 * sysdeps/i386/sysdep.h: Likewise.
30 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31 * sysdeps/mach/sysdep.h: Likewise.
32 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34 * sysdeps/sh/sysdep.h: Likewise.
35 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36 * sysdeps/unix/i386/sysdep.S: Likewise.
37 * sysdeps/unix/sparc/start.c: Likewise.
38 * sysdeps/unix/sparc/sysdep.S: Likewise.
39 * sysdeps/unix/sparc/sysdep.h: Likewise.
40 * sysdeps/unix/start.c: Likewise.
41 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42 * sysdeps/x86_64/sysdep.h: Likewise.
44 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49 * argp/argp-fmtstream.h: Use const instead __const.
50 * argp/argp.h: Likewise.
51 * assert/assert.h: Likewise.
52 * bits/fenv.h: Likewise.
53 * bits/sched.h: Likewise.
54 * bits/sigset.h: Likewise.
55 * bits/sigthread.h: Likewise.
56 * catgets/nl_types.h: Likewise.
57 * conform/data/pthread.h-data: Likewise.
58 * crypt/crypt-private.h: Likewise.
59 * crypt/crypt.h: Likewise.
60 * crypt/crypt_util.c: Likewise.
61 * ctype/ctype.h: Likewise.
62 * debug/execinfo.h: Likewise.
63 * debug/mbsnrtowcs_chk.c: Likewise.
64 * debug/mbsrtowcs_chk.c: Likewise.
65 * debug/wcsnrtombs_chk.c: Likewise.
66 * debug/wcsrtombs_chk.c: Likewise.
67 * debug/wcstombs_chk.c: Likewise.
68 * dirent/dirent.h: Likewise.
69 * dlfcn/dlfcn.h: Likewise.
70 * elf/neededtest4.c: Likewise.
71 * grp/grp.h: Likewise.
72 * gshadow/gshadow.h: Likewise.
73 * iconv/gconv.h: Likewise.
74 * iconv/gconv_int.h: Likewise.
75 * iconv/gconv_simple.c: Likewise.
76 * iconv/iconv.h: Likewise.
77 * iconv/loop.c: Likewise.
78 * iconv/skeleton.c: Likewise.
79 * include/aio.h: Likewise.
80 * include/aliases.h: Likewise.
81 * include/argz.h: Likewise.
82 * include/arpa/inet.h: Likewise.
83 * include/assert.h: Likewise.
84 * include/dirent.h: Likewise.
85 * include/dlfcn.h: Likewise.
86 * include/execinfo.h: Likewise.
87 * include/fcntl.h: Likewise.
88 * include/fenv.h: Likewise.
89 * include/glob.h: Likewise.
90 * include/grp.h: Likewise.
91 * include/libintl.h: Likewise.
92 * include/mntent.h: Likewise.
93 * include/netdb.h: Likewise.
94 * include/pwd.h: Likewise.
95 * include/rpc/netdb.h: Likewise.
96 * include/sched.h: Likewise.
97 * include/search.h: Likewise.
98 * include/shadow.h: Likewise.
99 * include/signal.h: Likewise.
100 * include/stdio.h: Likewise.
101 * include/stdlib.h: Likewise.
102 * include/string.h: Likewise.
103 * include/sys/socket.h: Likewise.
104 * include/sys/stat.h: Likewise.
105 * include/sys/statfs.h: Likewise.
106 * include/sys/statvfs.h: Likewise.
107 * include/sys/syslog.h: Likewise.
108 * include/sys/time.h: Likewise.
109 * include/sys/uio.h: Likewise.
110 * include/time.h: Likewise.
111 * include/unistd.h: Likewise.
112 * include/utmp.h: Likewise.
113 * include/wchar.h: Likewise.
114 * include/wctype.h: Likewise.
115 * inet/aliases.h: Likewise.
116 * inet/arpa/inet.h: Likewise.
117 * inet/netinet/ether.h: Likewise.
118 * inet/netinet/in.h: Likewise.
119 * intl/libintl.h: Likewise.
120 * io/bits/fcntl2.h: Likewise.
121 * io/fcntl.h: Likewise.
122 * io/ftw.h: Likewise.
123 * io/sys/poll.h: Likewise.
124 * io/sys/stat.h: Likewise.
125 * io/sys/statfs.h: Likewise.
126 * io/sys/statvfs.h: Likewise.
127 * io/utime.h: Likewise.
128 * libio/bits/stdio.h: Likewise.
129 * libio/bits/stdio2.h: Likewise.
130 * libio/libio.h: Likewise.
131 * libio/libioP.h: Likewise.
132 * libio/stdio.h: Likewise.
133 * locale/lc-ctype.c: Likewise.
134 * locale/locale.h: Likewise.
135 * login/utmp.h: Likewise.
136 * malloc/arena.c: Likewise.
137 * malloc/malloc.c: Likewise.
138 * malloc/malloc.h: Likewise.
139 * malloc/mcheck.c: Likewise.
140 * malloc/mtrace.c: Likewise.
141 * math/bits/mathcalls.h: Likewise.
142 * math/fenv.h: Likewise.
143 * math/math_private.h: Likewise.
144 * misc/bits/error.h: Likewise.
145 * misc/bits/syslog.h: Likewise.
146 * misc/err.h: Likewise.
147 * misc/error.h: Likewise.
148 * misc/fstab.h: Likewise.
149 * misc/mntent.h: Likewise.
150 * misc/regexp.h: Likewise.
151 * misc/search.h: Likewise.
152 * misc/sgtty.h: Likewise.
153 * misc/sys/mman.h: Likewise.
154 * misc/sys/syslog.h: Likewise.
155 * misc/sys/uio.h: Likewise.
156 * misc/sys/xattr.h: Likewise.
157 * misc/ttyent.h: Likewise.
158 * nis/rpcsvc/ypclnt.h: Likewise.
159 * nss/nss.h: Likewise.
160 * posix/bits/unistd.h: Likewise.
161 * posix/fnmatch.h: Likewise.
162 * posix/glob.h: Likewise.
163 * posix/sched.h: Likewise.
164 * posix/spawn.h: Likewise.
165 * posix/sys/wait.h: Likewise.
166 * posix/unistd.h: Likewise.
167 * posix/wordexp.h: Likewise.
168 * pwd/pwd.h: Likewise.
169 * resolv/netdb.h: Likewise.
170 * resource/sys/resource.h: Likewise.
171 * rt/aio.h: Likewise.
172 * rt/bits/mqueue2.h: Likewise.
173 * rt/mqueue.h: Likewise.
174 * shadow/shadow.h: Likewise.
175 * signal/signal.h: Likewise.
176 * socket/send.c: Likewise.
177 * socket/sendto.c: Likewise.
178 * socket/sys/socket.h: Likewise.
179 * stdio-common/printf.h: Likewise.
180 * stdlib/bits/stdlib.h: Likewise.
181 * stdlib/fmtmsg.h: Likewise.
182 * stdlib/monetary.h: Likewise.
183 * stdlib/stdlib.h: Likewise.
184 * stdlib/ucontext.h: Likewise.
185 * streams/stropts.h: Likewise.
186 * string/argz.h: Likewise.
187 * string/bits/string2.h: Likewise.
188 * string/string.h: Likewise.
189 * string/strings.h: Likewise.
190 * sunrpc/rpc/auth.h: Likewise.
191 * sunrpc/rpc/auth_des.h: Likewise.
192 * sunrpc/rpc/clnt.h: Likewise.
193 * sunrpc/rpc/netdb.h: Likewise.
194 * sunrpc/rpc/pmap_clnt.h: Likewise.
195 * sunrpc/rpc/xdr.h: Likewise.
196 * sysdeps/generic/inttypes.h: Likewise.
197 * sysdeps/generic/net/if.h: Likewise.
198 * sysdeps/generic/sys/swap.h: Likewise.
199 * sysdeps/gnu/net/if.h: Likewise.
200 * sysdeps/gnu/utmpx.h: Likewise.
201 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
202 * sysdeps/i386/i486/bits/string.h: Likewise.
203 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
204 * sysdeps/s390/bits/string.h: Likewise.
205 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
206 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
207 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
208 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
209 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
210 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
211 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
212 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
213 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
214 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
215 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
216 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
217 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
218 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
219 * sysdeps/unix/sysv/linux/readv.c: Likewise.
220 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
221 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
225 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
226 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
227 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
228 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
229 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
230 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
231 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
233 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
235 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
236 * sysvipc/sys/ipc.h: Likewise.
237 * sysvipc/sys/msg.h: Likewise.
238 * sysvipc/sys/sem.h: Likewise.
239 * sysvipc/sys/shm.h: Likewise.
240 * termios/termios.h: Likewise.
241 * time/sys/time.h: Likewise.
242 * time/time.h: Likewise.
243 * wcsmbs/bits/wchar2.h: Likewise.
244 * wcsmbs/uchar.h: Likewise.
245 * wcsmbs/wchar.h: Likewise.
246 * wctype/wctype.h: Likewise.
249 * Makeconfig: Remove all but ELF support including AIX support.
250 * Makerules: Likewise.
251 * config.h.in: Likewise.
252 * config.make.in: Likewise.
253 * configure: Likewise.
254 * configure.in: Likewise.
255 * csu/Makefile: Likewise.
256 * csu/version.c: Likewise.
257 * debug/Makefile: Likewise.
258 * dlfcn/Makefile: Likewise.
259 * elf/Makefile: Likewise.
260 * extra-lib.mk: Likewise.
261 * iconv/Makefile: Likewise.
262 * include/libc-symbols.h: Likewise.
263 * include/shlib-compat.h: Likewise.
264 * resolv/Makefile: Likewise.
265 * resolv/res_libc.c: Likewise.
266 * rt/Makefile: Likewise.
267 * sysdeps/i386/asm-syntax.h: Likewise.
268 * sysdeps/i386/sysdep.h: Likewise.
269 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
270 * sysdeps/mach/sysdep.h: Likewise.
271 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
272 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
273 * sysdeps/s390/asm-syntax.h: Likewise.
274 * sysdeps/s390/s390-32/sysdep.h: Likewise.
275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
276 * sysdeps/sh/sysdep.h: Likewise.
277 * sysdeps/unix/sparc/sysdep.h: Likewise.
278 * sysdeps/wordsize-32/divdi3.c: Likewise.
279 * sysdeps/x86_64/sysdep.h: Likewise.
281 * argp/Versions: Remove _argp_unlock_xxx.
284 * abilist/ld.abilist: Update. Adjust for removal of tls option.
285 * abilist/libBrokenLocale.abilist: Likewise.
286 * abilist/libanl.abilist: Likewise.
287 * abilist/libc.abilist: Likewise.
288 * abilist/libcrypt.abilist: Likewise.
289 * abilist/libdl.abilist: Likewise.
290 * abilist/libm.abilist: Likewise.
291 * abilist/libnsl.abilist: Likewise.
292 * abilist/libpthread.abilist: Likewise.
293 * abilist/libresolv.abilist: Likewise.
294 * abilist/librt.abilist: Likewise.
295 * abilist/libthread_db.abilist: Likewise.
296 * abilist/libutil.abilist: Likewise.
297 * abilist/libnss_db.abilist: New file.
299 * scripts/abilist.awk: Add support for indirect functions.
301 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
303 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
305 * shlib-versions: Remove entries for ports architectures.
307 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
309 * elf/stackguard-macros.h: Remove support for IA-64.
310 * elf/tst-auditmod1.c: Likewise.
311 * sysdeps/generic/ldsodefs.h: Likewise.
313 * sysdeps/unix/sysv/linux/configure.in: Ports should define
314 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
318 * configure.in: Remove --enable-omitfp support.
320 * config.make.in: Likewise.
321 * Makeconfig: Likewise.
322 * manual/install.texi: Likewise.
324 In case anyone cares, the IA-64 architecture could move to ports.
325 * sysdeps/ia64/*: Removed.
326 * sysdeps/unix/sysv/linux/ia64/*: Removed.
327 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
330 * configure.in: Remove entries for unsupported architectures.
333 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
334 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
336 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
337 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
338 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
339 fall back to using wcrtomb.
340 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
341 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
343 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
344 * wcsmbs/tst-c16c32-1.c: New file.
346 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
349 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
351 * elf/tst-unique3.cc: Add explicit declaration of gets.
352 * elf/tst-unique3lib.cc: Likewise.
353 * elf/tst-unique3lib2.cc: Likewise.
354 * elf/tst-unique4.cc: Likewise.
356 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
358 2012-01-06 Joseph Myers <joseph@codesourcery.com>
361 * assert/assert.h (static_assert): Don't define for C++.
362 * libio/stdio.h (gets): Do declare for C++ <= C++11.
363 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
365 2012-01-03 Ulrich Drepper <drepper@gmail.com>
367 * iconv/loop.c (single loop): Fix assertion in storing of
370 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
372 2012-01-01 Ulrich Drepper <drepper@gmail.com>
374 * posix/getconf.c: Update copyright year.
375 * nss/getent.c: Likewise.
376 * nss/makedb.c: Likewise.
377 * iconv/iconvconfig.c: Likewise.
378 * iconv/iconv_prog.c: Likewise.
379 * elf/ldconfig.c: Likewise.
380 * elf/pldd.c: Likewise.
381 * elf/sotruss.ksh: Likewise.
382 * catgets/gencat.c: Likewise.
383 * csu/version.c: Likewise.
384 * elf/ldd.bash.in: Likewise.
385 * elf/sprof.c (print_version): Likewise.
386 * locale/programs/locale.c: Likewise.
387 * locale/programs/localedef.c: Likewise.
388 * login/programs/pt_chown.c: Likewise.
389 * nscd/nscd.c (print_version): Likewise.
390 * debug/xtrace.sh: Likewise.
391 * malloc/memusage.sh: Likewise.
392 * malloc/mtrace.pl: Likewise.
393 * debug/catchsegv.sh: Likewise.
395 2011-12-30 Jakub Jelinek <jakub@redhat.com>
397 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
400 2011-12-24 Ulrich Drepper <drepper@gmail.com>
403 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
404 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
406 * iconv/gconv_int.h: Likewise.
407 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
408 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
409 from libc for GLIBC_2.16.
410 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
411 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
412 * wcsmbs/uchar.h: Really define mbstate_t.
413 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
414 * wcsmbs/c16rtomb.c: New file.
415 * wcsmbs/mbrtoc16.c: New file.
416 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
418 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
419 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
421 * wcsmbs/wchar.h: Add missing __restrict.
423 2011-12-23 Ulrich Drepper <drepper@gmail.com>
426 * time/Makefile (routines): Add timespec_get.
427 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
428 * time/time.h: Define TIME_UTC and declare timespec_get. Define
429 timespec for ISO C11.
430 * time/timespec_get.c: New file.
431 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
432 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
435 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
436 * stdlib/stdlib.h: Declare aligned_alloc.
437 * Versions.def: Add GLIBC_2.16 for libc.
438 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
441 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
444 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
448 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
451 * assert/assert.h (static_assert): Define.
453 * version.h: Update for 2.16 development version.
456 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
459 * version.h (RELEASE): Bump for 2.15 release.
460 * include/features.h (__GLIBC_MINOR__): Bump to 15.
462 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
463 Patch by Marek Polacek <mpolacek@redhat.com>.
465 * bits/byteswap.h: Protect long long constants with __extension__.
466 * sysdeps/i386/bits/byteswap.h: Likewise.
467 * sysdeps/ia64/bits/byteswap.h: Likewise.
468 * sysdeps/s390/bits/byteswap.h: Likewise.
469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
471 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
476 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
478 2011-12-23 Marek Polacek <polacek@redhat.com>
480 * elf/dl-addr.c (determine_info): Add inline keyword.
481 * elf/tst-auditmod4b.c (check_avx): Likewise.
482 * elf/tst-auditmod6b.c (check_avx): Likewise.
483 * elf/tst-auditmod6c.c (check_avx): Likewise.
484 * elf/tst-auditmod7b.c (check_avx): Likewise.
486 2011-12-23 Ulrich Drepper <drepper@gmail.com>
488 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
491 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
494 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
495 processing for last bytes.
497 2011-08-06 Bruno Haible <bruno@clisp.org>
500 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
501 U+0385, not to U+1FEE.
504 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
505 entry for U+00A5 U+0301.
507 2011-12-22 Ulrich Drepper <drepper@gmail.com>
510 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
511 buffer for the output is too small.
513 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
517 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
518 SSE flags if possible.
520 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
524 processing for last bytes.
526 2011-12-22 Joseph Myers <joseph@codesourcery.com>
528 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
529 (syscall-list-default-options, syscall-list-default-condition)
530 (syscall-list-includes): Define.
531 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
532 list of ABIs and options and #if conditions for each ABI. Do not
533 handle common syscalls between ABIs specially.
534 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
536 (syscall-list-variants, syscall-list-32bit-options)
537 (syscall-list-32bit-condition, syscall-list-64bit-options)
538 (syscall-list-64bit-condition): Define.
539 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
540 (syscall-list-variants, syscall-list-32bit-options)
541 (syscall-list-32bit-condition, syscall-list-64bit-options)
542 (syscall-list-64bit-condition): Define.
543 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
545 (syscall-list-variants, syscall-list-32bit-options)
546 (syscall-list-32bit-condition, syscall-list-64bit-options)
547 (syscall-list-64bit-condition): Define.
548 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
550 (syscall-list-variants, syscall-list-32bit-options)
551 (syscall-list-32bit-condition, syscall-list-64bit-options)
552 (syscall-list-64bit-condition): Define.
554 2011-12-22 Ulrich Drepper <drepper@gmail.com>
556 * locale/iso-639.def: Add brx entry.
559 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
560 Proposed by Mariusz_Cukr <marcukr@op.pl>.
562 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
563 __feraiseexcept_renamed.
565 2011-12-21 Ulrich Drepper <drepper@gmail.com>
568 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
569 EPOLLET with unsigned values.
570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
571 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
573 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
574 to large cancellation.
575 * math/s_cacoshf.c: Likewise.
576 * math/s_cacoshl.c: Likewise.
578 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
582 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
583 * math/s_cacoshf.c: Likewise.
584 * math/s_cacoshl.c: Likewise.
586 2011-12-21 Ulrich Drepper <drepper@gmail.com>
589 * iconv/gconv.h: Define __GCONV_SWAP.
590 * iconvdata/unicode.c: The swap bit must be stored in __flags.
591 * iconvdata/utf-16.c: Likewise.
592 * iconvdata/utf-32.c: Likewise.
594 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
598 numerator after shifting it by one limb.
600 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
602 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
603 under [__USE_EXTERN_INLINES].
605 2011-12-17 Ulrich Drepper <drepper@gmail.com>
608 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
610 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
612 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
613 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
615 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
616 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
617 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
618 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
619 for strncasecmp/strncasecmp_l compilation.
620 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
621 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
623 2011-12-08 Marek Polacek <mpolacek@redhat.com>
626 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
629 2011-12-17 Ulrich Drepper <drepper@gmail.com>
632 * time/tzfile.c (__tzfile_read): Check values from file header.
634 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
636 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
637 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
638 * powerpc/powerpc32/dl-start.S: Likewise.
639 * powerpc/powerpc32/elf/start.S: Likewise.
640 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
641 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
642 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
643 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
644 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
645 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
646 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
647 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
648 * powerpc/powerpc32/fpu/s_round.S: Likewise.
649 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
650 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
651 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
652 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
653 * powerpc/powerpc32/memset.S: Likewise.
654 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
655 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
656 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
657 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
658 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
659 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
660 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
661 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
662 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
663 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
664 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
665 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
666 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
668 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670 * math/libm-test.inc: Added more nearbyint tests.
671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
676 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
678 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
681 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
683 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
684 Add wcscpy-ssse3 wcscpy-c.
685 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
686 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
687 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
688 * sysdeps/x86_64/wcschr.S: New file.
689 * sysdeps/x86_64/wcsrchr.S: New file.
690 * string/test-strcmp.c: Remove checking of wcscmp function for
692 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
693 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
694 wcsrchr-sse2 wcsrchr-c.
695 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
696 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
697 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
698 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
699 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
700 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
701 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
702 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
703 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
704 * wcsmbc/wcschr.c (WCSCHR): New macro.
706 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
708 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
709 * wcsmbs/test-wcsrchr.c: New file.
710 * string/test-strrchr.c: Add wcsrchr support.
712 * wcsmbs/test-wcscpy.c: New file.
713 * string/test-strcpy.c: Add wcscpy support.
716 2011-12-10 Ulrich Drepper <drepper@gmail.com>
718 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
721 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
724 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
726 2011-12-04 Ulrich Drepper <drepper@gmail.com>
728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
731 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
732 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
733 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
735 2011-12-03 Ulrich Drepper <drepper@gmail.com>
737 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
738 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
739 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
740 for gcc to avoid warnings.
741 * inet/Makefile (tests): Add tst-checks.
742 * inet/tst-checks.c: New file.
744 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
747 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
750 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
751 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
753 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
755 2011-12-02 Ulrich Drepper <drepper@gmail.com>
757 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
760 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
762 2011-11-29 Joseph Myers <joseph@codesourcery.com>
764 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
765 conditional on GCC version.
766 (__arch_compare_and_exchange_val_8_acq)
767 (__arch_compare_and_exchange_val_16_acq)
768 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
769 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
770 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
772 2011-12-02 Joseph Myers <joseph@codesourcery.com>
774 * sysdeps/sh/backtrace.c: New file.
776 2011-12-02 Andreas Schwab <schwab@redhat.com>
778 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
781 2011-12-01 Andreas Schwab <schwab@redhat.com>
783 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
784 falling back to utime.
786 2011-11-30 Andreas Schwab <schwab@redhat.com>
788 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
789 expectations for float.
791 2011-11-29 Andreas Schwab <schwab@redhat.com>
793 * locale/weight.h (findidx): Add parameter len.
794 * locale/weightwc.h (findidx): Likewise.
795 * posix/fnmatch_loop.c (FCT): Adjust caller.
796 * posix/regcomp.c (build_equiv_class): Likewise.
797 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
798 * posix/regexec.c (check_node_accept_bytes): Likewise.
799 * string/strcoll_l.c (STRCOLL): Likewise.
800 * string/strxfrm_l.c (STRXFRM): Likewise.
802 2011-11-17 Ulrich Drepper <drepper@gmail.com>
804 * Makefile.in: Remove CVSOPT handling.
805 * configure.in: Remove use of AC_REVISION.
806 * iconvdata/Makefile (distribute): No need to filter out CVS.
807 * scripts/list-sources.sh: Remove CVS, subversion and monotone
810 2011-11-16 Andreas Schwab <schwab@redhat.com>
812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
813 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
814 [USE_AS_STRNCASECMP_L]: Likewise.
815 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
816 NO_TLS_DIRECT_SEG_REFS.
817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
818 Fix argument offsets for non-PIC.
819 [USE_AS_STRNCASECMP_L]: Likewise.
820 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
821 NO_TLS_DIRECT_SEG_REFS.
823 2011-11-15 Ulrich Drepper <drepper@gmail.com>
825 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
827 * locale/loadlocale.c (_nl_load_locale): Likewise.
829 2011-11-15 Andreas Schwab <schwab@redhat.com>
831 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
832 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
833 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
834 (SYSCALL_GETTIME): Set errno on error.
836 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
837 count references to noai6ai_cached.
839 2011-11-15 Ulrich Drepper <drepper@gmail.com>
841 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
843 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
844 FD_CLOEXEC for /proc/self/maps.
846 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
847 FD_CLOEXEC for /proc/meminfo.
849 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
852 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
853 FD_CLOEXEC for given file.
855 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
857 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
858 FD_CLOEXEC for /etc/hosts.
859 (_gethtent): Likewise.
861 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
863 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
864 cancellation and set FD_CLOEXEC for /etc/netgroup.
866 * nss/nss_files/files-key.c (search): Don't allow cancellation when
867 reading /etc/publickey.
869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
870 allow cancellation when reading /etc/group.
872 * nss/nss_files/files-alias.c (internal_setent): Don't allow
874 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
876 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
877 when using data file.
879 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
881 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
882 (write_nis_obj): Use "c" and "e" in fopen.
884 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
886 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
888 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
890 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
892 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
895 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
897 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
899 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
901 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
902 file parsing and set FD_CLOEXEC.
904 2011-11-14 Ulrich Drepper <drepper@gmail.com>
906 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
908 2011-11-14 Andreas Schwab <schwab@redhat.com>
910 * malloc/arena.c (arena_get2): Don't call reused_arena when
911 _int_new_arena failed.
913 2011-11-14 Ulrich Drepper <drepper@gmail.com>
915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
916 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
917 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
919 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
921 to compile strcasecmp and strncasecmp.
922 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
923 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
927 2011-11-13 Ulrich Drepper <drepper@gmail.com>
929 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
930 locale-defines.sym to gen-as-const-headers.
931 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
932 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
934 to compile strcasecmp and strncasecmp.
935 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
936 strcasecmp_l and strncasecmp_l.
937 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
938 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
939 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
940 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
941 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
942 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
943 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
944 * sysdeps/i386/i686/multiarch/strncase.S: New file.
945 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
946 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
947 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
949 2011-11-12 Ulrich Drepper <drepper@gmail.com>
951 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
952 result of SYSDEP_GETTIME_CPU to retval.
953 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
954 parameter list to macro. Remove trailing semicolon. Adjust users.
956 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
959 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
961 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
963 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
964 from unused variable.
966 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
968 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
971 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
974 * sunrpc/rpc_prot.c (rejected): Fix case value.
976 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
977 unsigned long long int to avoid warnings in shift.
979 * posix/regex_internal.c (re_string_reconstruct): Actually use result
981 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
984 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
985 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
986 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
988 * nis/nis_table.c (nis_list): Use variable of correct type for
989 result of __follow_path call.
991 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
994 of math functions ceil, trunc, floor, round, and sqrt, when
995 avaliable on the platform.
996 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
999 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1000 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1002 2011-10-30 Marek Polacek <mpolacek@redhat.com>
1004 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1005 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1007 2011-11-11 Roland McGrath <roland@hack.frob.com>
1009 * include/unistd.h: Fix __readlink return type.
1010 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1012 2011-11-11 Ulrich Drepper <drepper@gmail.com>
1014 * stdlib/ucontext.h: Undo last change for makecontext.
1016 2011-11-11 Andreas Schwab <schwab@redhat.com>
1018 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1020 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1021 * setjmp/setjmp.h: Mark functions as non-leaf.
1022 * setjmp/bits/setjmp2.h: Likewise.
1023 * stdlib/ucontext.h: Likewise.
1025 2011-11-10 Andreas Schwab <schwab@redhat.com>
1027 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1028 (reused_arena): Don't check arena limit.
1029 (arena_get2): Atomically check arena limit.
1031 2011-11-08 Ulrich Drepper <drepper@gmail.com>
1033 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1034 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1039 2011-11-07 Andreas Schwab <schwab@redhat.com>
1041 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1042 handler when locking.
1044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1045 Fix size of allocated buffer.
1047 2011-11-04 Andreas Schwab <schwab@redhat.com>
1050 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1051 declarations for long double functions.
1052 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1054 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1056 2011-11-03 Andreas Schwab <schwab@redhat.com>
1058 * nscd/nscd.c (main): Don't start AVC thread until credentials are
1061 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1064 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1066 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1068 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
1070 * include/alloca.h (stackinfo_alloca_round): Define.
1071 (extend_alloca): Use it.
1072 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1073 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1076 * scripts/check-local-headers.sh: Ignore libaudit.h.
1078 * nscd/Makefile (extra-objs): Make recursively expanded.
1080 2011-11-01 Ulrich Drepper <drepper@gmail.com>
1082 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1083 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1085 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1086 * posix/tst-rfc3484-2.c: Likewise.
1087 * posix/tst-rfc3484-3.c: Likewise.
1089 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1091 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1093 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1094 process_vm_writev from libc using GLIBC_2.15 version.
1096 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1098 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1100 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1103 2011-10-31 Ulrich Drepper <drepper@gmail.com>
1106 * nss/getent.c (initgroups_keys): Show error message in case no group
1109 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1110 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1111 __bump_nl_timestamp.
1112 * nscd/connections (nscd_init): When host database is served open
1113 netlink socket and request notification about configuration changes.
1114 (main_loop_poll): Track netlink file descriptor and bump timestamp
1115 in case data becomes available.
1116 (main_loop_epoll): Likewise.
1117 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1118 (database_pers_head): Add extra_data fileds.
1119 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1120 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1121 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1124 in6ai data, call __free_in6ai.
1125 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1127 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
1128 interface information. Reuse previous data if netlink timestamp
1130 (__bump_nl_timestamp): New function.
1131 (__free_in6ai): New function.
1133 2011-10-30 Ulrich Drepper <drepper@gmail.com>
1135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1136 close_not_cancel_no_status here.
1137 (__check_pf): Reorganize code a bit to not call close twice if OOM.
1139 2011-10-29 Ulrich Drepper <drepper@gmail.com>
1142 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1145 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
1146 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1147 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1149 2011-07-03 Andreas Jaeger <aj@suse.de>
1152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1153 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1154 * math/libm-test.inc (sin_test): Add test case.
1156 2011-10-29 Ulrich Drepper <drepper@gmail.com>
1159 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1160 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1162 * elf/chroot_canon.c (chroot_canon): Cleanups.
1164 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1167 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1170 * string/test-strchr.c: Make usable for strchrnul testing.
1171 * string/test-strchrnul.c: New file.
1172 * string/Makefile (strop-tests): Add strchrnul.
1174 * po/it.po: Update from translation team.
1175 * po/es.po: Likewise.
1177 2011-10-28 Ulrich Drepper <drepper@gmail.com>
1179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1180 the three constants needed as parameters. Drop the others.
1181 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1182 __m128i_strloadu_tolower.
1183 Create and initialize variable zero and use it in all the places
1184 where _mm_setzero_si128 was used.
1186 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1187 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1188 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1189 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1191 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1192 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1193 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1194 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1195 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1196 __mpranred, __mptan.
1197 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1198 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1199 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1200 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1204 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1205 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1207 2011-10-28 Andreas Schwab <schwab@redhat.com>
1209 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1211 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1214 wide char related routines to wcsmbs subdir.
1216 2011-10-27 Andreas Schwab <schwab@redhat.com>
1219 * misc/sys/cdefs.h (__THROWNL): Define.
1220 * posix/unistd.h: Use __THREADNL instead of __THREAD
1221 for memory synchronization functions.
1223 2011-10-26 Roland McGrath <roland@hack.frob.com>
1226 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1228 * manual/stdio.texi (Obstack Streams): Node removed.
1230 2011-10-26 Andreas Schwab <schwab@redhat.com>
1232 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1236 * math/math_private.h (math_force_eval): Allow non-addressable
1238 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1240 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1242 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1245 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1247 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1248 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1249 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1250 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1252 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1254 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1255 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1256 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1257 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1258 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1259 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1260 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1261 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1262 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1263 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1264 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1265 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1267 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1270 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1271 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1272 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1274 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1275 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
1277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1278 place. Use VEX encoding when compiling for AVX.
1280 2011-10-25 Andreas Schwab <schwab@redhat.com>
1282 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1283 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1285 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1287 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1289 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
1290 useless if() expression.
1291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1293 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1295 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1296 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1297 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1298 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1300 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1301 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1302 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1303 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1305 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1306 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1307 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1311 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
1313 2011-10-25 Andreas Schwab <schwab@redhat.com>
1315 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1319 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1321 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1322 .text section. Avoid duplicate constants.
1323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1332 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1333 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1334 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1337 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1339 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1340 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1346 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1347 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1348 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1349 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1350 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1351 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1352 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1353 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1364 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1365 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1366 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1367 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1369 2011-10-24 Ulrich Drepper <drepper@gmail.com>
1371 * sysdeps/x86_64/dla.h: Move to ...
1372 * sysdeps/x86_64/fpu/dla.h: ...here.
1373 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1374 situations. Use __builtin_fma only for gcc 4.6 and up.
1376 * config.make.in: Add have-mfma4 entry.
1377 * configure.in: Substitute libc_cv_cc_fma4.
1378 * math/Makefile (dbl-only-routines): Add sincostab.
1379 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1380 Use __sincostab not sincos.
1381 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1383 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
1388 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
1389 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
1390 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1391 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1393 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1394 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1396 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
1397 define aliases when function name is a macro.
1398 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1399 sysdeps/ieee754/dbl-64/sincos.tbl.
1400 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1401 fma4-enabled routines.
1402 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1403 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1404 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1405 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1407 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1409 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1410 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1411 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1412 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1413 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1414 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1415 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1416 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1417 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1418 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1419 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1420 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1422 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1423 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1425 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1429 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1431 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1433 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1444 2011-10-24 Andreas Schwab <schwab@redhat.com>
1446 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
1448 2011-10-23 Ulrich Drepper <drepper@gmail.com>
1450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
1452 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
1454 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
1456 * string/strnlen.c: Don't define STRNLEN, reverse logic.
1457 Remove unused variable magic_bits.
1458 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
1460 * string/strnlen.c: Define and use STRNLEN macro.
1461 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
1462 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
1463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
1464 * wcsmbs/wcslen.c: Define and use WCSLEN.
1465 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
1466 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
1467 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
1468 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
1469 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
1470 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
1471 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1473 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1476 strnlen-sse2-no-bsf.
1477 Rename strlen-no-bsf to strlen-sse2-no-bsf.
1478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
1479 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
1480 Add strnlen support.
1481 (USE_AS_STRNLEN): New macro.
1482 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
1483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
1484 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
1485 * sysdeps/x86_64/wcslen.S: New file.
1487 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1490 XMM-moves are used for copying on small sizes.
1492 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1494 * wcsmbs/Makefile (strop-tests): Add wcschr.
1495 * wcsmbs/test-wcschr.c: New file.
1496 * string/test-strchr.c: Update.
1500 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1502 * wcsmbs/Makefile (strop-tests): Add wcslen.
1503 * wcsmbs/test-wcslen.c: New file.
1504 * string/test-strlen.c: Update.
1508 2011-10-23 Ulrich Drepper <drepper@gmail.com>
1510 * po/it.po: Update from translation team.
1512 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1514 * sysdeps/x86_64/wcscmp.S: Update.
1515 Fix wrong comparison semantics.
1516 wcscmp shall use signed comparison not unsigned.
1517 Don't use substraction to avoid overflow bug.
1518 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1519 * wcsmbc/wcscmp.c: Likewise.
1520 * string/test-strcmp.c: Likewise.
1521 Add new tests to check cases with negative values.
1523 2011-10-23 Ulrich Drepper <drepper@gmail.com>
1525 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1526 * sysdeps/x86_64/dla.h: ...here. New file.
1527 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1537 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
1539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1540 __ynl_finite aliases.
1542 2011-10-22 Ulrich Drepper <drepper@gmail.com>
1544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1546 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1548 [DLA_FMA] (EMULV): Use DLA_FMA.
1549 [DLA_FMA] (MUL12): Use EMULV.
1550 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1551 that are not needed.
1552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1560 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
1562 * math/s_nan.c: Undef __nan.
1563 * math/s_nanf.c: Undef __nanf.
1564 * math/s_nanl.c: Undef __nanl.
1565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1568 2011-10-22 Ulrich Drepper <drepper@gmail.com>
1570 * math/s_catan.c: Add branch predictions.
1571 * math/s_catanf.c: Likewise.
1572 * math/s_catanh.c: Likewise.
1573 * math/s_catanhf.c: Likewise.
1574 * math/s_catanhl.c: Likewise.
1575 * math/s_catanl.c: Likewise.
1576 * math/s_cexp.c: Likewise.
1577 * math/s_cexpf.c: Likewise.
1578 * math/s_cexpl.c: Likewise.
1579 * math/s_clog.c: Likewise.
1580 * math/s_clog10.c: Likewise.
1581 * math/s_clog10f.c: Likewise.
1582 * math/s_clog10l.c: Likewise.
1583 * math/s_clogf.c: Likewise.
1584 * math/s_clogl.c: Likewise.
1585 * math/s_csqrt.c: Likewise.
1586 * math/s_csqrtf.c: Likewise.
1587 * math/s_csqrtl.c: Likewise.
1588 * math/s_ctanf.c: Likewise.
1589 * math/s_ctanh.c: Likewise.
1590 * math/s_ctanhf.c: Likewise.
1591 * math/s_ctanhl.c: Likewise.
1592 * math/s_ctanl.c: Likewise.
1594 * math/math_private.h: Define __nan, __nanf, __nanl.
1595 * math/s_cacosh.c: Include <math_private.h>.
1596 * math/s_cacoshl.c: Likewise.
1597 * math/s_casinh.c: Likewise.
1598 * math/s_casinhf.c: Likewise.
1599 * math/s_casinhl.c: Likewise.
1600 * math/s_ccos.c: Rely entire on ccosh.
1601 * math/s_ccosf.c: Rely entire on ccoshf.
1602 * math/s_ccosl.c: Rely entirely on ccoshl.
1603 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1604 Remove tests for FE_INVALID.
1605 * math/s_ccoshf.c: Likewise.
1606 * math/s_ccoshl.c: Likewise.
1607 * math/s_csin.c: Likewise.
1608 * math/s_csinf.c: Likewise.
1609 * math/s_csinh.c Likewise.
1610 * math/s_csinhf.c: Likewise.
1611 * math/s_csinhl.c: Likewise.
1612 * math/s_csinl.c: Likewise.
1613 * math/s_ctan.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1615 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1618 2011-10-21 Ulrich Drepper <drepper@gmail.com>
1620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1621 compilation problems.
1623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1626 2011-10-20 Ulrich Drepper <drepper@gmail.com>
1628 * sysdeps/i386/configure.in: Test for -mfma4 option.
1629 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1630 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1631 COMMON_CPUID_INDEX_80000001.
1632 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1633 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1634 use it if FMA3 is not supported.
1635 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1637 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1638 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1640 2011-10-20 Andreas Schwab <schwab@redhat.com>
1643 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1644 it would create a cycle with a link time dependency.
1646 2011-10-19 Ulrich Drepper <drepper@gmail.com>
1648 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1650 * string/Makefile (strop-tests): Add rawmemchr.
1651 * string/test-rawmemchr.c: New file.
1653 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
1655 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
1656 when compiling str{,n}casecmp and when AVX is available. Hook up
1657 new optimized code in initializers.
1659 2011-10-19 Andreas Schwab <schwab@redhat.com>
1661 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1662 __feraiseexcept instead of feraiseexcept.
1664 2011-10-18 Ulrich Drepper <drepper@gmail.com>
1666 * math/math_private.h: Define defaults for libc_fetestexcept and
1668 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1669 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1670 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1671 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1672 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1673 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1674 libc_fetestexcept and libc_feupdateenv.
1676 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1677 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1678 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1679 * sysdeps/x86_64/fpu/math_private.h: Define special version of
1680 libc_feholdexcept_setround.
1682 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1683 Add s_nearbyint-c and s_nearbyintf-c.
1684 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1689 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1691 * math/math_private.h: Define defaults for libc_fegetround,
1692 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1693 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1694 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1695 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1696 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1698 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1699 Remove comments and hacks for old compiler versions.
1700 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1701 libc_fegetround, libc_fesetround, libc_feholdexcept, and
1704 2011-10-18 Andreas Schwab <schwab@redhat.com>
1706 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
1707 (__feraiseexcept_renamed): Add __NTH.
1708 (feraiseexcept): Add __NTH. Rename local variables to fix
1709 namespace violations.
1711 2011-10-17 Ulrich Drepper <drepper@gmail.com>
1713 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1715 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1717 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1718 recently added interfaces.
1719 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1721 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1722 about macro parameter expansion.
1724 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1725 __NO_MATH_INLINES is defined. Cleanups.
1727 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1728 and __floorf is target has SSE4.1.
1729 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1730 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1731 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1732 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1734 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1738 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1740 2011-10-17 Andreas Schwab <schwab@redhat.com>
1742 * misc/sys/cdefs.h: Fix last change.
1744 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1747 2011-10-16 Ulrich Drepper <drepper@gmail.com>
1749 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1751 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1758 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1759 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1760 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1761 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1762 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1763 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1764 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1765 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1766 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1767 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1768 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1769 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1770 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1771 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1772 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1774 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1775 ceil, ceilf, floor, floorf.
1777 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1778 Perform IRELATIVE relocations last.
1780 * elf/do-rel.h: Add another parameter nrelative, replacing the
1781 local variable with the same name. Change name of the function
1782 to end in Rel or Rela (uppercase).
1783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1784 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
1785 elf_dynamic_do_##reloc function.
1787 2011-10-15 Ulrich Drepper <drepper@gmail.com>
1789 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1790 is sufficient, at least on modern CPUs.
1792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1794 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1795 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1797 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1799 * math/bits/math-finite.h: Add entries for exp.
1800 * math/e_expl.c: Add __*_finite alias.
1801 * sysdeps/i386/fpu/e_exp.S: Likewise.
1802 * sysdeps/i386/fpu/e_expf.S: Likewise.
1803 * sysdeps/i386/fpu/e_expl.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1805 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1809 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1810 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1812 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1813 is sufficient, at least on modern CPUs.
1815 * ctype/ctype-info.c (__ctype_init): Define.
1816 * include/ctype.h (__ctype_init): Declare.
1817 (__ctype_b_loc): The variable is always initialized.
1818 (__ctype_toupper_loc): Likewise.
1819 (__ctype_tolower_loc): Likewise.
1820 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1821 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1823 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
1825 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1827 * configure.in: Also look in $cxxmachine/include for C++ system
1830 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1832 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1833 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1834 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1835 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
1836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1837 (USE_AS_WMEMCMP): New macro.
1839 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
1840 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
1841 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
1842 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
1843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1844 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
1845 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
1846 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
1847 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
1848 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
1849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
1850 (USE_AS_WMEMCMP): New macro.
1851 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
1852 * sysdeps/string/test-memcmp.c: Update.
1855 * wcsmbs/wmemcmp.c: Update.
1856 (WMEMCMP): New macro.
1859 2011-10-12 Andreas Jaeger <aj@suse.de>
1862 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
1864 2011-10-15 Ulrich Drepper <drepper@gmail.com>
1866 * libio/iofwide.c (do_length): Avoid warning.
1868 * ctype/ctype.h (__isctype_f): Add missing __THROW.
1870 2011-10-14 Ulrich Drepper <drepper@gmail.com>
1872 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
1874 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
1875 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
1876 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
1877 * sysdeps/i386/i686/fpu/e_log.S: New file.
1878 * sysdeps/i386/i686/fpu/e_logf.S: New file.
1879 * sysdeps/i386/i686/fpu/e_logl.S: New file.
1881 * ctype/ctype.h: Add support for inlined isXXX functions when
1884 2011-10-14 Andreas Schwab <schwab@redhat.com>
1886 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
1890 2011-10-13 Roland McGrath <roland@hack.frob.com>
1893 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
1895 2011-10-13 Andreas Schwab <schwab@redhat.com>
1897 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
1898 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
1901 * sysdeps/x86_64/memrchr.S: Check for zero size.
1903 * string/stratcliff.c: Add memrchr tests.
1905 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1908 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
1909 rawmemchr-sse2 rawmemchr-sse2-bsf.
1910 * sysdeps/i386/i686/multiarch/memchr.S: New file.
1911 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
1912 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
1913 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
1914 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
1915 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
1916 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
1917 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
1918 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
1919 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
1920 * string/memrchr.c (MEMRCHR): New macro.
1922 2011-10-12 Ulrich Drepper <drepper@gmail.com>
1924 Add integration with gcc's -ffinite-math-only and optimize wrapper
1926 * Versions.def: Define GLIBC_2.15 version for libm.
1927 * math/Makefile (headers): Add bits/math-finite.h.
1928 * math/bits/math-finite.h: New file.
1929 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
1930 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
1931 * math/e_acoshl.c: Add __*_finite alias.
1932 * math/e_acosl.c: Likewise.
1933 * math/e_asinl.c: Likewise.
1934 * math/e_atan2l.c: Likewise.
1935 * math/e_atanhl.c: Likewise.
1936 * math/e_coshl.c: Likewise.
1937 * math/e_exp10.c: Likewise.
1938 * math/e_exp10f.c: Likewise.
1939 * math/e_exp10l.c: Likewise.
1940 * math/e_exp2l.c: Likewise.
1941 * math/e_fmodl.c: Likewise.
1942 * math/e_gammal_r.c: Likewise.
1943 * math/e_hypotl.c: Likewise.
1944 * math/e_j0l.c: Likewise.
1945 * math/e_j1l.c: Likewise.
1946 * math/e_jnl.c: Likewise.
1947 * math/e_lgammal_r.c: Likewise.
1948 * math/e_log10l.c: Likewise.
1949 * math/e_log2l.c: Likewise.
1950 * math/e_logl.c: Likewise.
1951 * math/e_powl.c: Likewise.
1952 * math/e_sinhl.c: Likewise.
1953 * math/e_sqrtl.c: Likewise.
1954 * math/e_scalb.c: Completely rewritten and optimized.
1955 * math/e_scalbf.c: Likewise.
1956 * math/e_scalbl.c: Likewise.
1957 * math/w_acos.c: Likewise.
1958 * math/w_acosf.c: Likewise.
1959 * math/w_acosl.c: Likewise.
1960 * math/w_acosh.c: Likewise.
1961 * math/w_acoshf.c: Likewise.
1962 * math/w_acoshl.c: Likewise.
1963 * math/w_asin.c: Likewise.
1964 * math/w_asinf.c: Likewise.
1965 * math/w_asinl.c: Likewise.
1966 * math/w_atan2.c: Likewise.
1967 * math/w_atan2f.c: Likewise.
1968 * math/w_atan2l.c: Likewise.
1969 * math/w_atanh.c: Likewise.
1970 * math/w_atanhf.c: Likewise.
1971 * math/w_atanhl.c: Likewise.
1972 * math/w_exp10.c: Likewise.
1973 * math/w_exp10f.c: Likewise.
1974 * math/w_exp10l.c: Likewise.
1975 * math/w_fmod.c: Likewise.
1976 * math/w_fmodf.c: Likewise.
1977 * math/w_fmodl.c: Likewise.
1978 * math/w_j0.c: Likewise.
1979 * math/w_j0f.c: Likewise.
1980 * math/w_j0l.c: Likewise.
1981 * math/w_j1.c: Likewise.
1982 * math/w_j1f.c: Likewise.
1983 * math/w_j1l.c: Likewise.
1984 * math/w_jn.c: Likewise.
1985 * math/w_jnf.c: Likewise.
1986 * math/w_log.c: Likewise.
1987 * math/w_logf.c: Likewise.
1988 * math/w_logl.c: Likewise.
1989 * math/w_log10.c: Likewise.
1990 * math/w_log10f.c: Likewise.
1991 * math/w_log10l.c: Likewise.
1992 * math/w_log2.c: Likewise.
1993 * math/w_log2f.c: Likewise.
1994 * math/w_log2l.c: Likewise.
1995 * math/w_pow.c: Likewise.
1996 * math/w_powf.c: Likewise.
1997 * math/w_powl.c: Likewise.
1998 * math/w_remainder.c: Likewise.
1999 * math/w_remainderf.c: Likewise.
2000 * math/w_remainderl.c: Likewise.
2001 * math/w_scalb.c: Likewise.
2002 * math/w_scalbf.c: Likewise.
2003 * math/w_scalbl.c: Likewise.
2004 * math/w_sqrt.c: Likewise.
2005 * math/w_sqrtf.c: Likewise.
2006 * math/w_sqrtl.c: Likewise.
2007 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2008 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2010 * math/math_private.h: Declare __kernel_standard_f.
2011 * math/w_cosh.c: Remove cruft and optimize a bit.
2012 * math/w_coshf.c: Likewise.
2013 * math/w_coshl.c: Likewise.
2014 * math/w_exp2.c: Likewise.
2015 * math/w_exp2f.c: Likewise.
2016 * math/w_exp2l.c: Likewise.
2017 * math/w_hypot.c: Likewise.
2018 * math/w_hypotf.c: Likewise.
2019 * math/w_hypotl.c: Likewise.
2020 * math/w_lgamma.c: Likewise.
2021 * math/w_lgamma_r.c: Likewise.
2022 * math/w_lgammaf.c: Likewise.
2023 * math/w_lgammaf_r.c: Likewise.
2024 * math/w_lgammal.c: Likewise.
2025 * math/w_lgammal_r.c: Likewise.
2026 * math/w_sinh.c: Likewise.
2027 * math/w_sinhf.c: Likewise.
2028 * math/w_sinhl.c: Likewise.
2029 * math/w_tgamma.c: Likewise.
2030 * math/w_tgammaf.c: Likewise.
2031 * math/w_tgammal.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2034 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2035 Minor optimizations. Pretty printing. Remove cruft.
2036 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2037 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2038 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2040 * sysdeps/i386/fpu/e_acosl.c: Likewise.
2041 * sysdeps/i386/fpu/e_asin.S: Likewise.
2042 * sysdeps/i386/fpu/e_asinf.S: Likewise.
2043 * sysdeps/i386/fpu/e_atan2.S: Likewise.
2044 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2045 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2048 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2049 * sysdeps/i386/fpu/e_exp10.S: Likewise.
2050 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2051 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2052 * sysdeps/i386/fpu/e_exp2.S: Likewise.
2053 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2054 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2055 * sysdeps/i386/fpu/e_fmod.S: Likewise.
2056 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2057 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2058 * sysdeps/i386/fpu/e_hypot.S: Likewise.
2059 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2060 * sysdeps/i386/fpu/e_log.S: Likewise.
2061 * sysdeps/i386/fpu/e_log10.S: Likewise.
2062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2063 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2064 * sysdeps/i386/fpu/e_log2.S: Likewise.
2065 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2066 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2067 * sysdeps/i386/fpu/e_logf.S: Likewise.
2068 * sysdeps/i386/fpu/e_logl.S: Likewise.
2069 * sysdeps/i386/fpu/e_pow.S: Likewise.
2070 * sysdeps/i386/fpu/e_powf.S: Likewise.
2071 * sysdeps/i386/fpu/e_powl.S: Likewise.
2072 * sysdeps/i386/fpu/e_remainder.S: Likewise.
2073 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2074 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2075 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2077 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2078 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2079 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2080 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2098 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2099 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2102 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2103 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2104 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2105 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2106 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2107 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2108 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2109 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2119 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2120 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2121 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2122 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2146 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2147 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2159 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2161 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2164 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2169 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2174 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2175 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2176 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2177 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2178 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2179 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2180 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2181 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2182 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2183 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2184 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2185 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2187 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2189 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2190 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2191 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
2192 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2193 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2194 (__isnanf): Likewise.
2195 (__isinf_ns): Likewise.
2196 (__isinf_nsf): Likewise.
2197 (__finite): Likewise.
2198 (__finitef): Likewise.
2199 (__ieee754_sqrt): Define as macro.
2200 (__ieee754_sqrtf): Define as macro.
2201 (__ieee754_sqrtl): Define as macro.
2202 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2204 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2205 __FINITE_MATH_ONLY__ consistent.
2206 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2208 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
2210 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2215 2011-10-09 Ulrich Drepper <drepper@gmail.com>
2217 * po/ja.po: Update from translation team.
2219 2011-10-08 Roland McGrath <roland@hack.frob.com>
2221 * locale/programs/locarchive.c (prepare_address_space): New function.
2222 (create_archive, enlarge_archive, open_archive): Use it.
2224 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2225 inside [SHARED], where it is used.
2227 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2229 * nss/getent.c (netgroup_keys): Remove unused variable.
2230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2232 2011-10-08 Ulrich Drepper <drepper@gmail.com>
2234 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2235 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2238 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2239 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2240 * math/Makefile (libm-calls): Add s_isinf_ns.
2241 * math/divtc3.c: Use __isinf_nsl instead of isinf.
2242 * math/multc3.c: Likewise.
2243 * math/s_casin.c: Likewise.
2244 * math/s_casinf.c: Likewise.
2245 * math/s_casinl.c: Likewise.
2246 * math/s_ccos.c: Likewise.
2247 * math/s_ccosf.c: Likewise.
2248 * math/s_ccosl.c: Likewise.
2249 * math/s_ctan.c: Likewise.
2250 * math/s_ctanf.c: Likewise.
2251 * math/s_ctanh.c: Likewise.
2252 * math/s_ctanhf.c: Likewise.
2253 * math/s_ctanhl.c: Likewise.
2254 * math/s_ctanl.c: Likewise.
2255 * math/w_fmod.c: Likewise.
2256 * math/w_fmodf.c: Likewise.
2257 * math/w_fmodl.c: Likewise.
2258 * math/w_remainder.c: Likewise.
2259 * math/w_remainderf.c: Likewise.
2260 * math/w_remainderl.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2262 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2263 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2265 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2266 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2267 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2268 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2270 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2272 * stdio-common/printf_fphex.c: Likewise.
2273 * stdio-common/printf_size.c: Likewise.
2275 * math/e_exp10.c: Include math_private.h using <...> not "...".
2276 * math/e_exp10f.c: Likewise.
2277 * math/e_exp10l.c: Likewise.
2278 * math/e_exp2l.c: Likewise.
2279 * math/e_j0l.c: Likewise.
2280 * math/e_j1l.c: Likewise.
2281 * math/e_jnl.c: Likewise.
2282 * math/e_lgammal_r.c: Likewise.
2283 * math/e_rem_pio2l.c: Likewise.
2284 * math/e_scalb.c: Likewise.
2285 * math/e_scalbf.c: Likewise.
2286 * math/e_scalbl.c: Likewise.
2287 * math/k_cosl.c: Likewise.
2288 * math/k_sinl.c: Likewise.
2289 * math/k_tanl.c: Likewise.
2290 * math/s_cacoshf.c: Likewise.
2291 * math/s_catan.c: Likewise.
2292 * math/s_catanf.c: Likewise.
2293 * math/s_catanh.c: Likewise.
2294 * math/s_catanhf.c: Likewise.
2295 * math/s_catanhl.c: Likewise.
2296 * math/s_catanl.c: Likewise.
2297 * math/s_ccosh.c: Likewise.
2298 * math/s_ccoshf.c: Likewise.
2299 * math/s_ccoshl.c: Likewise.
2300 * math/s_cexp.c: Likewise.
2301 * math/s_cexpf.c: Likewise.
2302 * math/s_cexpl.c: Likewise.
2303 * math/s_clog.c: Likewise.
2304 * math/s_clog10.c: Likewise.
2305 * math/s_clog10f.c: Likewise.
2306 * math/s_clog10l.c: Likewise.
2307 * math/s_clogf.c: Likewise.
2308 * math/s_clogl.c: Likewise.
2309 * math/s_csin.c: Likewise.
2310 * math/s_csinf.c: Likewise.
2311 * math/s_csinh.c: Likewise.
2312 * math/s_csinhf.c: Likewise.
2313 * math/s_csinhl.c: Likewise.
2314 * math/s_csinl.c: Likewise.
2315 * math/s_csqrt.c: Likewise.
2316 * math/s_csqrtf.c: Likewise.
2317 * math/s_csqrtl.c: Likewise.
2318 * math/s_ctan.c: Likewise.
2319 * math/s_ctanf.c: Likewise.
2320 * math/s_ctanh.c: Likewise.
2321 * math/s_ctanhf.c: Likewise.
2322 * math/s_ctanhl.c: Likewise.
2323 * math/s_ctanl.c: Likewise.
2324 * math/s_ldexp.c: Likewise.
2325 * math/s_ldexpf.c: Likewise.
2326 * math/s_ldexpl.c: Likewise.
2327 * math/s_significand.c: Likewise.
2328 * math/s_significandf.c: Likewise.
2329 * math/s_significandl.c: Likewise.
2330 * math/w_acos.c: Likewise.
2331 * math/w_acosf.c: Likewise.
2332 * math/w_acosh.c: Likewise.
2333 * math/w_acoshf.c: Likewise.
2334 * math/w_acoshl.c: Likewise.
2335 * math/w_acosl.c: Likewise.
2336 * math/w_asin.c: Likewise.
2337 * math/w_asinf.c: Likewise.
2338 * math/w_asinl.c: Likewise.
2339 * math/w_atan2.c: Likewise.
2340 * math/w_atan2f.c: Likewise.
2341 * math/w_atan2l.c: Likewise.
2342 * math/w_atanh.c: Likewise.
2343 * math/w_atanhf.c: Likewise.
2344 * math/w_atanhl.c: Likewise.
2345 * math/w_cosh.c: Likewise.
2346 * math/w_coshf.c: Likewise.
2347 * math/w_coshl.c: Likewise.
2348 * math/w_dremf.c: Likewise.
2349 * math/w_exp10.c: Likewise.
2350 * math/w_exp10f.c: Likewise.
2351 * math/w_exp10l.c: Likewise.
2352 * math/w_exp2.c: Likewise.
2353 * math/w_exp2f.c: Likewise.
2354 * math/w_fmod.c: Likewise.
2355 * math/w_fmodf.c: Likewise.
2356 * math/w_fmodl.c: Likewise.
2357 * math/w_hypot.c: Likewise.
2358 * math/w_hypotf.c: Likewise.
2359 * math/w_hypotl.c: Likewise.
2360 * math/w_j0.c: Likewise.
2361 * math/w_j0f.c: Likewise.
2362 * math/w_j0l.c: Likewise.
2363 * math/w_j1.c: Likewise.
2364 * math/w_j1f.c: Likewise.
2365 * math/w_j1l.c: Likewise.
2366 * math/w_jn.c: Likewise.
2367 * math/w_jnf.c: Likewise.
2368 * math/w_jnl.c: Likewise.
2369 * math/w_lgamma.c: Likewise.
2370 * math/w_lgamma_r.c: Likewise.
2371 * math/w_lgammaf.c: Likewise.
2372 * math/w_lgammaf_r.c: Likewise.
2373 * math/w_lgammal.c: Likewise.
2374 * math/w_lgammal_r.c: Likewise.
2375 * math/w_log.c: Likewise.
2376 * math/w_log10.c: Likewise.
2377 * math/w_log10f.c: Likewise.
2378 * math/w_log10l.c: Likewise.
2379 * math/w_log2.c: Likewise.
2380 * math/w_log2f.c: Likewise.
2381 * math/w_log2l.c: Likewise.
2382 * math/w_logf.c: Likewise.
2383 * math/w_logl.c: Likewise.
2384 * math/w_pow.c: Likewise.
2385 * math/w_powf.c: Likewise.
2386 * math/w_powl.c: Likewise.
2387 * math/w_remainder.c: Likewise.
2388 * math/w_remainderf.c: Likewise.
2389 * math/w_remainderl.c: Likewise.
2390 * math/w_scalb.c: Likewise.
2391 * math/w_scalbf.c: Likewise.
2392 * math/w_scalbl.c: Likewise.
2393 * math/w_sinh.c: Likewise.
2394 * math/w_sinhf.c: Likewise.
2395 * math/w_sinhl.c: Likewise.
2396 * math/w_sqrt.c: Likewise.
2397 * math/w_sqrtf.c: Likewise.
2398 * math/w_sqrtl.c: Likewise.
2399 * math/w_tgamma.c: Likewise.
2400 * math/w_tgammaf.c: Likewise.
2401 * math/w_tgammal.c: Likewise.
2403 * po/ja.po: Update from translation team.
2405 2011-09-29 Andreas Jaeger <aj@suse.de>
2408 * sunrpc/netname.c (netname2host): Fix logic.
2412 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2414 * math/w_remainder.c (__remainder): Likewise.
2415 * math/w_remainderf.c (__remainderf): Likewise.
2416 * math/libm-test.inc (remainder_test): Add test cases.
2418 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2420 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
2423 2011-10-07 Ulrich Drepper <drepper@gmail.com>
2425 * string/test-memcmp.c: Avoid unncessary #defines.
2426 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2428 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2430 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2431 Use new sse2 version for core i3 - i7 as it's faster
2433 (bit_Prefer_PMINUB_for_stringop): New.
2434 * sysdeps/x86_64/rawmemchr.S: Update.
2435 Replace with faster SSE2 version.
2436 * sysdeps/x86_64/memrchr.S: New file.
2437 * sysdeps/x86_64/memchr.S: Update.
2438 Replace with faster SSE2 version.
2440 2011-09-12 Marek Polacek <mpolacek@redhat.com>
2442 * elf/dl-load.c (lose): Add cast to avoid warning.
2444 2011-10-07 Ulrich Drepper <drepper@gmail.com>
2446 * po/ca.po: Update from translation team.
2448 * inet/getnetgrent_r.c: Hook up nscd.
2449 * nscd/Makefile (routines): Add nscd_netgroup.
2450 (nscd-modules): Add netgroupcache.
2451 (CFLAGS-netgroupcache.c): Define.
2452 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
2453 (cache_search): Add const to second parameter.
2454 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
2456 (dbs): Add netgrdb entry.
2457 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
2458 (verify_persistent_db): Handle netgrdb.
2459 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
2460 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
2462 (netgroup_response_header): Define.
2463 (innetgroup_response_header): Define.
2464 (datahead): Add netgroup_response_header and innetgroup_response_header
2466 * nscd/nscd.conf: Add entries for netgroup cache.
2467 * nscd/nscd.h (dbtype): Add netgrdb.
2468 (_PATH_NSCD_NETGROUP_DB): Define.
2469 (netgroup_iov_disabled): Declare.
2470 (xmalloc, xcalloc, xrealloc): Move declarations here.
2471 (cache_search): Adjust prototype.
2472 Add netgroup-related prototypes.
2473 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
2474 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
2475 (__nscd_innetgr): Declare.
2476 * nscd/selinux.c (perms): Use access_vector_t as element type and
2477 add netgroup-related initializers.
2478 * nscd/netgroupcache.c: New file.
2479 * nscd/nscd_netgroup.c: New file.
2480 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
2481 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
2482 For four parameters use innetgr.
2483 * nss/nss_files/files-init.c: Add definition and callback for netgr.
2484 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
2485 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
2486 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
2488 * nscd/connections.c (register_traced_file): Don't register file
2489 for disabled databases.
2491 2011-10-06 Ulrich Drepper <drepper@gmail.com>
2493 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2495 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2496 from tree and freeing node.
2498 2011-09-25 Jiri Olsa <jolsa@redhat.com>
2500 * nss/nsswitch.c (__nss_database_lookup): Handle
2501 nss_parse_service_list out of memory case.
2503 2011-09-15 Jiri Olsa <jolsa@redhat.com>
2505 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2508 2011-10-04 Andreas Schwab <schwab@redhat.com>
2510 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2511 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2513 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2514 elf_machine_rela, elf_machine_lazy_rel.
2515 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2516 (ELF_DYNAMIC_DO_REL): Likewise.
2517 (ELF_DYNAMIC_DO_RELA): Likewise.
2518 (ELF_DYNAMIC_RELOCATE): Likewise.
2519 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2520 to ELF_DYNAMIC_DO_REL.
2521 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2522 (dl_main): In trace mode always set __RTLD_NOIFUNC.
2523 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2525 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2526 skip_ifunc, don't call ifunc function if non-zero.
2527 (elf_machine_rela): Likewise.
2528 (elf_machine_lazy_rel): Likewise.
2529 (elf_machine_lazy_rela): Likewise.
2530 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2531 (elf_machine_lazy_rel): Likewise.
2532 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2534 (elf_machine_lazy_rel): Likewise.
2535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2537 (elf_machine_lazy_rel): Likewise.
2538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2539 (elf_machine_lazy_rel): Likewise.
2540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2541 (elf_machine_lazy_rel): Likewise.
2542 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2543 (elf_machine_lazy_rel): Likewise.
2544 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2545 (elf_machine_lazy_rel): Likewise.
2546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2547 (elf_machine_lazy_rel): Likewise.
2548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2549 (elf_machine_lazy_rel): Likewise.
2551 2011-09-28 Ulrich Drepper <drepper@gmail.com>
2553 * nss/nss_files/files-init.c (_nss_files_init): Use static
2554 initialization for all the *_traced_file variables.
2556 2011-09-28 Andreas Schwab <schwab@redhat.com>
2558 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2560 2011-09-27 Roland McGrath <roland@hack.frob.com>
2563 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2565 2011-09-27 Andreas Schwab <schwab@redhat.com>
2567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2568 Reread the line before reparsing it.
2570 2011-09-26 Andreas Schwab <schwab@redhat.com>
2572 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2574 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
2575 Maxim Kuvyrkov <maxim@codesourcery.com>
2576 Joseph Myers <joseph@codesourcery.com>
2578 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2579 if needed for __stack_chk_guard.
2581 2011-09-19 Roland McGrath <roland@hack.frob.com>
2583 * sysdeps/posix/spawni.c (script_execute): Always define it.
2584 It will be optimized away if unused.
2585 (maybe_script_execute): New function.
2586 (__spawni): Call it.
2588 * Makerules: Don't include tls.make.
2589 (config-tls): Always set to thread.
2590 * tls.make.c: File removed.
2592 2011-09-19 Mike Frysinger <vapier@gentoo.org>
2594 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2595 * config.make.in (CPPFLAGS-config): New substituted variable.
2597 2011-09-15 Ulrich Drepper <drepper@gmail.com>
2599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2602 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2603 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2605 2011-09-15 Roland McGrath <roland@hack.frob.com>
2607 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2608 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2610 (CALL_FAIL): Likewise.
2611 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2612 (CALL_FAIL): Macro removed.
2613 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2615 2011-09-15 Ulrich Drepper <drepper@gmail.com>
2617 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2618 for __FINITE_MATH_ONLY__ == 1.
2620 2011-09-15 Andreas Schwab <schwab@redhat.com>
2622 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2623 __ieee754_sqrt instead of sqrt.
2624 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2625 __ieee754_sqrtf instead of sqrtf.
2626 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2627 __floorf instead of floorf.
2628 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2629 __floorf, __truncf instead of floorf, truncf.
2631 2011-09-14 Ulrich Drepper <drepper@gmail.com>
2633 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2635 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2636 __extern_always_inline.
2637 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2640 2011-09-14 Andreas Schwab <schwab@redhat.com>
2642 * elf/rtld.c (dl_main): Also relocate in dependency order when
2643 doing symbol dependency testing.
2645 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2648 Always define `refsym'.
2650 2011-09-13 Andreas Schwab <schwab@redhat.com>
2652 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2653 (__FD_ELT): Renamed from __FDELT.
2654 * misc/bits/select2.h (__FD_ELT): Likewise.
2655 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2656 __FD_MASK instead of __FDELT, __FDMASK.
2657 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2659 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2662 * elf/Makefile (gen-ldd): Fix pattern.
2664 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2665 (init_tls): Likewise.
2667 2011-09-12 Ulrich Drepper <drepper@gmail.com>
2669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2671 2011-09-12 Andreas Schwab <schwab@redhat.com>
2673 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2674 `struct cmsghdr *' instead of `void *'.
2675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2678 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2680 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2682 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2685 2011-09-11 Ulrich Drepper <drepper@gmail.com>
2687 * configure.in: Remove --with-tls option.
2688 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2689 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2690 out in case it is missing.
2691 * sysdeps/ia64/elf/configure.in: Likewise.
2692 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2693 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2694 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2695 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2696 * sysdeps/sh/elf/configure.in: Likewise.
2697 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2698 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2699 * sysdeps/x86_64/elf/configure.in: Likewise.
2700 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2701 * sysdeps/mach/hurd/tls.h: Likewise.
2704 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2707 * configure.in: Fix use of AC_INIT.
2709 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2711 2011-09-10 Ulrich Drepper <drepper@gmail.com>
2713 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2715 * malloc/hooks.c: Likewise.
2717 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
2718 variables statically.
2719 (narenas): Initialize.
2720 (list_lock): Initialize.
2721 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
2722 initializtion of main_arena and list_lock. Small cleanups.
2723 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2724 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
2725 Add initializers to main_arena and mp_.
2726 (malloc_state): Remove pagesize member. Change all users to use
2729 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2730 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
2731 is always initialized.
2733 * malloc/malloc.c: Removed unused configurations and dead code.
2734 * malloc/arena.c: Likewise.
2735 * malloc/hooks.c: Likewise.
2736 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
2738 * include/tls.h: Removed. USE___THREAD must always be defined.
2739 * bits/libc-tsd.h: Don't handle !USE___THREAD.
2740 * elf/dl-libc.c: Likewise.
2741 * elf/dl-tsd.c: Likewise.
2742 * include/errno.h: Likewise.
2743 * include/netdb.h: Likewise.
2744 * include/resolv.h: Likewise.
2745 * inet/herrno-loc.c: Likewise.
2746 * inet/herrno.c: Likewise.
2747 * malloc/arena.c: Likewise.
2748 * malloc/hooks.c: Likewise.
2749 * malloc/malloc.c: Likewise.
2750 * resolv/res-state.c: Likewise.
2751 * resolv/res_libc.c: Likewise.
2752 * sysdeps/i386/dl-machine.h: Likewise.
2753 * sysdeps/ia64/dl-machine.h: Likewise.
2754 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2755 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2756 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2757 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2758 * sysdeps/sh/dl-machine.h: Likewise.
2759 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2760 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2761 * sysdeps/unix/i386/sysdep.S: Likewise.
2762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2763 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2768 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2773 * sysdeps/x86_64/dl-machine.h: Likewise.
2774 * tls.make.c: Likewise.
2776 * configure.in: Remove --with-__thread option. Make tests for
2777 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2778 tls_model attribute fail if no support is available. Remove
2780 * Makeconfig: Adjust for dropped configure option. All features are
2782 * Makerules: Likewise.
2783 * Versions.def: Likewise.
2784 * argp/argp-fmtstream.c: Likewise.
2785 * argp/argp-fmtstream.h: Likewise.
2786 * argp/argp-help.c: Likewise.
2787 * assert/assert.c: Likewise.
2788 * config.h.in: Likewise.
2789 * config.make.in: Likewise.
2790 * configure: Likewise.
2791 * configure.in: Likewise.
2792 * csu/Versions: Likewise.
2793 * csu/init.c: Likewise.
2794 * elf/tst-audit2.c: Likewise.
2795 * elf/tst-tls10.c: Likewise.
2796 * elf/tst-tls10.h: Likewise.
2797 * elf/tst-tls11.c: Likewise.
2798 * elf/tst-tls12.c: Likewise.
2799 * elf/tst-tls14.c: Likewise.
2800 * elf/tst-tlsmod11.c: Likewise.
2801 * elf/tst-tlsmod12.c: Likewise.
2802 * elf/tst-tlsmod13.c: Likewise.
2803 * elf/tst-tlsmod13a.c: Likewise.
2804 * elf/tst-tlsmod14a.c: Likewise.
2805 * elf/tst-tlsmod15b.c: Likewise.
2806 * elf/tst-tlsmod16a.c: Likewise.
2807 * elf/tst-tlsmod16b.c: Likewise.
2808 * elf/tst-tlsmod7.c: Likewise.
2809 * elf/tst-tlsmod8.c: Likewise.
2810 * elf/tst-tlsmod9.c: Likewise.
2811 * gmon/gmon.c: Likewise.
2812 * grp/fgetgrent_r.c: Likewise.
2813 * grp/putgrent.c: Likewise.
2814 * hurd/fopenport.c: Likewise.
2815 * include/libc-symbols.h: Likewise.
2816 * include/tls.h: Likewise.
2817 * intl/gettextP.h: Likewise.
2818 * intl/loadinfo.h: Likewise.
2819 * locale/global-locale.c: Likewise.
2820 * locale/localeinfo.h: Likewise.
2821 * mach/devstream.c: Likewise.
2822 * malloc/arena.c: Likewise.
2823 * malloc/set-freeres.c: Likewise.
2824 * misc/err.c: Likewise.
2825 * misc/getttyent.c: Likewise.
2826 * misc/mntent_r.c: Likewise.
2827 * posix/getopt.c: Likewise.
2828 * posix/wordexp.c: Likewise.
2829 * pwd/fgetpwent_r.c: Likewise.
2830 * resolv/Versions: Likewise.
2831 * resolv/res_hconf.c: Likewise.
2832 * shadow/fgetspent_r.c: Likewise.
2833 * shadow/putspent.c: Likewise.
2834 * stdio-common/printf_fphex.c: Likewise.
2835 * stdio-common/tmpfile.c: Likewise.
2836 * stdlib/abort.c: Likewise.
2837 * stdlib/fmtmsg.c: Likewise.
2838 * sunrpc/auth_unix.c: Likewise.
2839 * sunrpc/clnt_perr.c: Likewise.
2840 * sunrpc/clnt_tcp.c: Likewise.
2841 * sunrpc/clnt_udp.c: Likewise.
2842 * sunrpc/clnt_unix.c: Likewise.
2843 * sunrpc/openchild.c: Likewise.
2844 * sunrpc/svc_simple.c: Likewise.
2845 * sunrpc/svc_tcp.c: Likewise.
2846 * sunrpc/svc_udp.c: Likewise.
2847 * sunrpc/svc_unix.c: Likewise.
2848 * sunrpc/xdr.c: Likewise.
2849 * sunrpc/xdr_array.c: Likewise.
2850 * sunrpc/xdr_rec.c: Likewise.
2851 * sunrpc/xdr_ref.c: Likewise.
2852 * sunrpc/xdr_stdio.c: Likewise.
2854 2011-09-09 Ulrich Drepper <drepper@gmail.com>
2856 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2858 2011-07-03 Andreas Jaeger <aj@suse.de>
2860 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
2861 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
2862 regenerate with gen-libm-tests.pl.
2864 2010-05-12 Petr Baudis <pasky@suse.cz>
2867 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
2868 around j0() zero points by switching to j1().
2869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2874 2011-09-09 Ulrich Drepper <drepper@gmail.com>
2876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
2878 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
2880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2881 Patch in part by Pavel Roskin <proski@gnu.org>.
2884 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
2886 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
2887 Free memory block if necessary.
2890 * libio/genops.c (INTDEF): For string streams the _lock pointer can
2891 be NULL. Don't lock in this case.
2893 2011-09-09 Roland McGrath <roland@hack.frob.com>
2895 * elf/elf.h (ELFOSABI_GNU): New macro.
2896 (ELFOSABI_LINUX): Define to that.
2898 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
2900 * string/strncat.c (strncat): Undef the symbol in case it has been
2901 defined in bits/string.h.
2903 2011-09-09 Ulrich Drepper <drepper@gmail.com>
2905 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
2907 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
2910 2011-08-17 Andreas Jaeger <aj@suse.de>
2912 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
2914 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2915 Ian Lance Taylor <iant@google.com>
2917 * math/libm-test.inc (lround_test): New testcase.
2918 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
2920 2011-09-08 Ulrich Drepper <drepper@gmail.com>
2922 * Makefile: Remove support for automatic cvs check-ins.
2923 * Makerules: Likewise.
2924 * config.make.in: Likewise.
2925 * configure.in: Likewise.
2926 * intl/Makefile: Likewise.
2927 * locale/Makefile: Likewise.
2928 * po/Makefile: Likewise.
2929 * posix/Makefile: Likewise.
2930 * sysdeps/gnu/Makefile: Likewise.
2931 * sysdeps/mach/hurd/Makefile: Likewise.
2932 * sysdeps/sparc/sparc32/Makefile: Likewise.
2935 * posix/Makefile (bug-regex32-ENV): Define.
2936 Patch by John Stanley <jpsinthemix@verizon.net>.
2938 * misc/Makefile (headers): Add bits/select2.h.
2939 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
2940 * misc/bits/select2.h: New file.
2941 * include/bits/select2.h: New file.
2942 * debug/Makefile (routines): Add fdelt_chk.
2943 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
2944 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
2946 * debug/fdelt_chk.c: New file.
2948 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
2949 * wcsmbs/test-wmemcmp.c: Likewise.
2950 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
2951 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
2953 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2955 * string/Makefile (strop-tests): Add memcmp.
2956 * string/test-wmemcmp.c: New file.
2957 * string/test-memcmp.c: Add wmemcmp support.
2959 2011-09-08 Roland McGrath <roland@hack.frob.com>
2962 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
2965 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
2966 garbage value in a __mach_port_mod_refs call in the cases of the
2967 task-self and thread-self ports.
2969 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2971 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2973 2011-09-08 Andreas Schwab <schwab@redhat.com>
2975 * elf/dl-load.c (lose): Check for non-null L.
2977 2011-09-07 Ulrich Drepper <drepper@gmail.com>
2979 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
2981 * elf/dl-libc.c (dlerror_run): Pass back error code from
2985 * elf/dl-load.c (lose): Free l_origin if it is valid.
2987 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
2989 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2993 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2994 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
2996 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998 * sysdeps/powerpc/fpu/e_hypot.c: New file.
2999 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3001 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3002 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3003 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3004 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3005 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3006 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3007 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3009 2011-08-15 Alan Modra <amodra@gmail.com>
3012 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3013 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3014 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3015 ppc_mcount to static-only-routines.
3016 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3018 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3019 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3021 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3023 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3024 for finite and infinity parameters.
3026 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3028 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3029 and add nop instructions for throughput optimization.
3030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3032 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3034 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3035 aligned copy for power7 with vector-scalar instructions.
3036 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3038 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
3040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3043 2011-09-07 Andreas Schwab <schwab@redhat.com>
3046 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3049 2011-09-07 Ulrich Drepper <drepper@gmail.com>
3051 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3052 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3053 syscall wrapper around clock_gettime in __vdso_clock_gettime.
3054 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3057 2011-09-06 Ulrich Drepper <drepper@gmail.com>
3059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3060 Forgot to demangle the pointer.
3062 * sysdeps/i386/sysdep.h: Define atom_text_section.
3063 * sysdeps/x86_64/sysdep.h: Likewise.
3064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3065 section with atom_text_section.
3066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3068 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3070 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3072 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3073 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3074 already be defined. Change to take two parameters and don't assign
3075 result to variable. Adjust all users.
3076 Define INTERNAL_GETTIME if not already defined.
3077 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3080 HAVE_CLOCK_GETTIME_VSYSCALL.
3081 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3084 gettimeofday vsyscall, just use time.
3086 2011-09-06 Andreas Schwab <schwab@redhat.com>
3088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3091 2011-09-06 Ulrich Drepper <drepper@gmail.com>
3093 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3097 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3098 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3099 syscall if possible.
3101 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3103 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3104 e_ident. Don't pass to find_mapsXX.
3105 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3107 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3110 strchr-sse2-no-bsf strrchr-sse2-no-bsf
3111 * sysdeps/x86_64/multiarch/strchr.S: Update.
3112 Check bit_slow_BSF bit.
3113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3114 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3117 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3120 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3123 (__spawni): Change last parameter to be flag. Test
3124 SPAWN_XFLAGS_USE_PATH flag to use path or not.
3125 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3126 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3127 * posix/spawni.c: Likewise.
3128 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3129 * posix/spawnp.c: Likewise. Change normal version to use
3130 SPAWN_XFLAGS_USE_PATH.
3131 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3132 SPAWN_XFLAGS_TRY_SHELL.
3135 * posix/glob.h: Remove gcc 1.x support.
3138 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3140 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3143 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3145 * sysdeps/i386/i686/multiarch/strchr.S: New file.
3146 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3147 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3148 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3150 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3152 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3154 * sysdeps/x86_64/wcscmp.S: New file.
3156 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3157 wcscmp-c wcscmp-sse2
3158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3159 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3160 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3161 * wcsmbs/wcscmp.c: Allow renaming.
3163 2011-09-05 David S. Miller <davem@davemloft.net>
3165 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3166 stack slot, rather than the struct return pointer slot.
3167 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3168 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3170 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3172 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3174 * po/ja.po: Update from translation team.
3177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3178 kernel in 64-bit binaries.
3180 2011-09-01 David S. Miller <davem@davemloft.net>
3182 * elf/elf.h (HWCAP_SPARC_*): Move to..
3183 * sysdeps/sparc/sysdep.h: this new file and add new values.
3184 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3185 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3186 _DL_HWCAP_COUNT to 24.
3187 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3189 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3190 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3191 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3193 instead of magic constants.
3194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3196 2011-08-31 David S. Miller <davem@davemloft.net>
3198 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3200 Reimplement to do errno handling inline.
3201 (SYSCALL_ERROR_HANDLER): New macro.
3202 (__SYSCALL_STRING): Do not do errno handling in asm.
3203 (__CLONE_SYSCALL_STRING): Delete.
3204 (__INTERNAL_SYSCALL_STRING): Delete.
3205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3206 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3207 (PSEUDO): Reimplement to do errno handling inline.
3208 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
3214 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3216 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3217 (inline_syscall*): Add 'err' argument.
3218 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3219 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3220 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3221 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3223 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3224 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3226 2011-08-30 Andreas Schwab <schwab@redhat.com>
3228 * elf/rtld.c (dl_main): Relocate objects in dependency order.
3230 2011-08-29 Jiri Olsa <jolsa@redhat.com>
3232 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3235 2011-08-24 David S. Miller <davem@davemloft.net>
3237 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3239 2011-08-24 Andreas Schwab <schwab@redhat.com>
3241 * elf/Makefile: Add rules to build and run unload8 test.
3242 * elf/unload8.c: New file.
3243 * elf/unload8mod1.c: New file.
3244 * elf/unload8mod1x.c: New file.
3245 * elf/unload8mod2.c: New file.
3246 * elf/unload8mod3.c: New file.
3248 * elf/dl-close.c (_dl_close_worker): Reset private search list if
3251 2011-08-23 David S. Miller <davem@davemloft.net>
3253 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3254 subtract stack bias.
3255 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3256 %sp not %fp in calculations.
3257 (_JMPBUF_UNWINDS_ADJ): Likewise.
3259 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3260 (aio_suspend): Call it to force an exception region around the
3261 AIO_MISC_WAIT() invocation.
3263 2011-08-23 Andreas Schwab <schwab@redhat.com>
3265 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3268 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
3270 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3272 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3274 (Elf64_FuncDesc): Remove.
3276 2011-08-22 David S. Miller <davem@davemloft.net>
3278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3279 sigaltstack check, add missing cfi directives.
3280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3281 missing cfi directives, and sigaltstack handling.
3283 2011-08-16 Andreas Schwab <schwab@redhat.com>
3286 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3287 object is seen twice.
3288 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3290 * elf/Makefile (distribute): Add tst-initorder2.c.
3291 (tests): Add tst-initorder2.
3292 (modules-names): Add tst-initorder2a tst-initorder2b
3293 tst-initorder2c tst-initorder2d. Add rules to build them.
3294 ($(objpfx)tst-initorder2.out): New rule.
3295 * elf/tst-initorder2.c: New file.
3296 * elf/tst-initorder2.exp: New file.
3298 2011-08-22 Andreas Schwab <schwab@redhat.com>
3300 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
3302 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
3303 dependencies back to end of function.
3305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3308 2011-08-21 Ulrich Drepper <drepper@gmail.com>
3310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
3311 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
3312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
3313 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3314 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3315 of __vdso_gettimeofday.
3316 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3317 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
3319 (_libc_vdso_platform_setup): Remove initialization of
3320 __vdso_gettimeofday and __vdso_time.
3322 2011-08-20 Ulrich Drepper <drepper@gmail.com>
3324 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3326 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3329 * elf/dl-open.c (add_to_global): Report additions to the global scope
3330 for LD_DEBUG=scopes.
3331 (dl_open_worker): Also print scope of newly loaded dependencies.
3332 (_dl_show_scope): Indicate if there is no scope.
3335 * stdio-common/Makefile (tests): Add bug24.
3336 * stdio-common/bug24.c: New file.
3338 2011-08-19 Andreas Jaeger <aj@suse.de>
3341 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3342 non-existant file when using close-on-exec mode.
3344 2011-08-20 Ulrich Drepper <drepper@gmail.com>
3346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3347 the very first instruction.
3349 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3350 the CFI state in the end.
3351 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3352 inclusion of dl-trampoline.h.
3353 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3355 2011-08-19 Andreas Schwab <schwab@redhat.com>
3357 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3358 expectations for long double.
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3361 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3363 2011-08-14 David S. Miller <davem@davemloft.net>
3365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3366 artificual limit depends upon the system page size.
3368 2011-08-17 Ulrich Drepper <drepper@gmail.com>
3370 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3371 * resolv/Makefile: Define CFLAGS-libresolv.
3373 2011-08-17 Andreas Schwab <schwab@redhat.com>
3375 * nss/makedb.c (compute_tables): Make variables used in nested
3378 2011-08-17 Ulrich Drepper <drepper@gmail.com>
3380 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3381 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3382 if buffer was too small.
3384 * elf/pldd.c (main): Attach to all threads in the process.
3385 Rewrite /proc handling to use *at functions.
3387 2011-08-16 Ulrich Drepper <drepper@gmail.com>
3389 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3390 specifies first scope to show.
3391 (dl_open_worker): Update callers. Move printing scope of new
3392 object to before the relocation.
3393 * elf/rtld.c (dl_main): Update _dl_show_scope call.
3394 * sysdeps/generic/ldsodefs.h: Update declaration.
3396 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3397 string for the scope number.
3399 2011-08-14 Ulrich Drepper <drepper@gmail.com>
3401 * nscd/servicescache.c (cache_addserv): Make sure written is always
3404 2011-08-14 Roland McGrath <roland@hack.frob.com>
3406 * sysdeps/i386/i486/bits/atomic.h
3407 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3408 statement expression, so as to suppress "set but not used" warning.
3409 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3411 * string/strncat.c (STRNCAT): Use prototype definition.
3413 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3414 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3416 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3417 (localedef-modules): Add localedef.
3418 (locale-modules): Add locale.
3420 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3421 * elf/rtld.c (dl_main): Invert order of assignment in last change,
3424 2011-08-14 David S. Miller <davem@davemloft.net>
3426 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3427 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3429 2011-08-13 Ulrich Drepper <drepper@gmail.com>
3431 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
3432 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3433 * elf/rtld.c (dl_main): Set l_name of vDSO.
3434 Call _dl_show_scope when DL_DEBUG_SCOPES.
3435 (process_dl_debug): Recognize scopes flag and also set it for all.
3436 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3437 Declare _dl_show_scope.
3439 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
3440 (do_dlopen): Pass caller_dlopen to dl_open.
3441 (__libc_dlopen_mode): Initialize caller_dlopen.
3443 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
3444 of libc. Make tolower call locale-independent. Optimize a bit by
3445 using isdigit instead of isalnum.
3446 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
3448 2011-08-12 Ulrich Drepper <drepper@gmail.com>
3450 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
3451 was a dependency or dynamically loaded.
3453 2011-08-11 Ulrich Drepper <drepper@gmail.com>
3455 * intl/l10nflist.c: Allow architecture-specific pop function.
3456 * sysdeps/x86_64/l10nflist.c: New file.
3458 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
3461 2011-08-10 Andreas Schwab <schwab@redhat.com>
3463 * include/dirent.h: Add libc_hidden_proto for scandirat and
3464 scandirat64. Don't declare __scandirat64.
3465 * dirent/scandirat.c: Add libc_hidden_def.
3466 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
3467 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
3469 2011-08-10 David S. Miller <davem@davemloft.net>
3471 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
3473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3477 2011-08-09 Ulrich Drepper <drepper@gmail.com>
3479 * Versions.def [libc]: Add GLIBC_2.15.
3480 * dirent/Makefile (routines): Add scandirat and scandirat64.
3481 * dirent/Versions [libc]: Export scandirat and scandirat64 for
3483 * dirent/dirent.h: Declare scandirat and scandirat64.
3484 * dirent/scandirat.c: New file.
3485 * dirent/scandirat64.c: New file.
3486 * sysdeps/wordsize-64/scandirat.c: New file.
3487 * sysdeps/wordsize-64/scandirat64.c: New file.
3488 * dirent/opendir.c: Define opendirat.
3489 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
3491 * dirent/scandir64.c: Adjust for scandir.c change.
3492 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
3493 __scandirat64, and __scandir_cancel_handler.
3494 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
3495 additional parameter and use openat instead of open (outside of ld.so).
3496 Add new __opendir as wrapper around __opendirat.
3497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3498 here without requiring old scandirat implementation.
3500 2011-08-08 Ulrich Drepper <drepper@gmail.com>
3502 * dirent/scandir.c (cancel_handler): Renamed to
3503 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
3504 defined. Adjust users.
3505 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3508 2011-08-04 Ulrich Drepper <drepper@gmail.com>
3510 * string/test-string.h (IMPL): Use __STRING to expand name and then
3513 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
3516 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3518 * string/Makefile: Update.
3519 (strop-tests): Append strncat.
3520 * string/test-wcscmp.c: New file.
3521 New comprehensive test for wcscmp.
3522 * string/test-strcmp.c: Update.
3525 2011-07-22 Andreas Schwab <schwab@redhat.com>
3527 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3530 2011-07-26 Andreas Schwab <schwab@redhat.com>
3532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3533 encoding to ACE if AI_IDN.
3535 2011-08-01 Jakub Jelinek <jakub@redhat.com>
3537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3538 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3540 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3543 Fix overflow bug in strncat.
3544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3546 * string/test-strncat.c: Update.
3547 Add new tests for checking overflow bugs.
3549 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3552 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3553 * sysdeps/i386/i686/multiarch/strcat.S: New file.
3554 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3556 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3557 * sysdeps/i386/i686/multiarch/strncat.S: New file.
3558 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3559 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3562 (USE_AS_STRCAT): Define.
3563 Add strcat and strncat support.
3564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3566 2011-07-25 Andreas Schwab <schwab@redhat.com>
3568 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3569 __n bigger than INT_MAX+1.
3570 (__strncmp_g): Likewise.
3572 2011-07-23 Ulrich Drepper <drepper@gmail.com>
3574 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3575 * libio/stido.h: Likewise.
3577 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3582 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3585 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3589 * scripts/test-installation.pl: Don't expect libnss_test1 to be
3592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3594 (_dl_x86_64_save_sse): Likewise.
3596 2011-07-22 Ulrich Drepper <drepper@gmail.com>
3598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3600 (_dl_x86_64_save_sse): Likewise.
3602 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3604 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3606 2011-07-21 Andreas Schwab <schwab@redhat.com>
3608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3610 (_dl_x86_64_save_sse): Use correct AVX check.
3612 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3615 bug in strncpy/strncat.
3616 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3618 2011-07-21 Ulrich Drepper <drepper@gmail.com>
3620 * string/tester.c (test_strcat): Add tests for different alignments
3621 of source and destination.
3622 (test_strncat): Likewise.
3624 2011-07-20 Ulrich Drepper <drepper@gmail.com>
3627 * posix/glob.c (glob): Check passed in values before using them in
3628 expressions to avoid some overflows.
3629 (glob_in_dir): Likewise.
3632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3633 check for AVX enablement so that we don't crash with old kernels and
3635 * elf/tst-audit4.c: Add same checks here.
3636 * elf/tst-audit6.c: Likewise.
3638 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
3640 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
3642 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3644 2011-07-20 Ulrich Drepper <drepper@gmail.com>
3646 * po/cs.po: Update from translation team.
3647 * po/bg.po: Likewise.
3649 2011-07-12 Marek Polacek <mpolacek@redhat.com>
3651 * misc/sys/cdefs.h: Add support for const attribute.
3652 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3653 to gnu_dev_{major,minor,makedev} functions.
3655 2011-07-20 Marek Polacek <mpolacek@redhat.com>
3657 * intl/dcigettext.c (get_output_charset): Add missing bracket.
3659 2011-07-20 Andreas Schwab <schwab@redhat.com>
3661 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3664 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3667 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3668 register in order to avoid conflicts with the soft frame pointer
3669 being held in r11 when necessary.
3670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3671 (INTERNAL_VSYSCALL_NCS): Likewise.
3673 2011-07-14 Marek Polacek <mpolacek@redhat.com>
3675 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3676 * elf/dl-fini.c (_dl_fini): Adjust caller.
3677 * elf/dl-close.c (_dl_close_worker): Likewise.
3678 * sysdeps/generic/ldsodefs.h: Adjust declaration.
3680 2011-07-15 Marek Polacek <mpolacek@redhat.com>
3682 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3683 "aux_cache->nlibs < 0".
3685 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3686 in the reload-count case.
3688 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3691 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3692 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3693 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3694 * sysdeps/x86_64/multiarch/strcat.S: New file.
3695 * sysdeps/x86_64/multiarch/strncat.S: New file.
3696 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3698 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3699 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3701 (USE_AS_STRCAT): Define.
3702 Add strcat and strncat support.
3703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3704 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3705 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3706 * string/strncat.c: Update.
3707 (USE_AS_STRNCAT): Define.
3708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3709 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3711 * sysdeps/x86_64/multiarch/init-arch.h
3712 (bit_Prefer_PMINUB_for_stringop): New.
3713 (index_Prefer_PMINUB_for_stringop): Likewise.
3714 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3715 bit_Prefer_PMINUB_for_stringop.
3717 2011-07-19 Ulrich Drepper <drepper@gmail.com>
3719 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3721 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3722 of casting of buffer.
3723 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3724 buffer32 and buffer64.
3725 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3726 writes instead of casting of buffer.
3727 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3729 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3732 2011-07-19 Andreas Schwab <schwab@redhat.com>
3734 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3736 2011-07-19 Ulrich Drepper <drepper@gmail.com>
3738 * nscd/nscd.c (termination_handler): Don't do anything for a database
3739 if it has not yet been initialized.
3741 2011-07-18 Ulrich Drepper <drepper@gmail.com>
3743 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3745 2011-07-15 Marek Polacek <mpolacek@redhat.com>
3747 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3749 2011-07-18 Ulrich Drepper <drepper@gmail.com>
3751 * po/nl.po: Update from translation team.
3752 * po/sv.po: Likewise.
3754 2011-07-16 Roland McGrath <roland@hack.frob.com>
3756 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3757 now disallowed by GCC.
3759 * configure.in (use-default-link): Default to yes if a test -shared
3760 link meets our qualifications.
3761 * configure: Regenerated.
3763 * config.make.in (output-format): New variable.
3764 * configure.in: Check for ld --print-output-format support.
3765 * configure: Regenerated.
3766 * Makerules ($(common-objpfx)format.lds)
3767 [$(output-format) != unknown]: Just use $(output-format),
3768 instead of the linker-script munging.
3770 2011-07-14 Roland McGrath <roland@hack.frob.com>
3772 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3773 of $(common-objpfx)shlib.lds.
3774 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3776 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3777 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3779 * configure.in (-z relro check): Adjust test code to add a large
3780 writable data section after it.
3781 * configure: Regenerated.
3783 2011-07-11 Roland McGrath <roland@hack.frob.com>
3785 * configure.in (-z relro check): Fix test code to make the variable
3787 * configure: Regenerated.
3789 2011-07-11 Ulrich Drepper <drepper@gmail.com>
3791 * nscd/nscd.h (struct traced_file): Define.
3792 (struct database_dyn): Remove inotify_descr, reset_res, and filename
3793 elements. Add traced_files.
3794 (inotify_fd): Declare.
3795 (register_traced_file): Declare.
3796 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3797 (inotify_fd): Export.
3798 (resolv_conf_descr): Remove.
3799 (nscd_init): Move inotify descriptor creation to main.
3800 Don't register files for notification here.
3801 (register_traced_file): New function.
3802 (invalidate_cache): Don't use reset_res to determine whether to call
3803 res_init, go through the list of registered files.
3804 (main_loop_poll): The inotify descriptors are now stored in the
3805 structures for the traced files.
3806 (main_loop_epoll): Likewise
3807 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
3808 to __nss_disable_nscd.
3809 * nscd/cache.c (prune_cache): There is no single inotify descriptor
3810 for a database anymore. Check the records for all the registered
3812 * nss/Makefile (libnss_files-routines): Add files-init.
3813 (libnss_db-routines): Add db-init.
3814 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3815 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3816 * nss/nss_db/db-init.c: New file.
3817 * nss/nss_files/files-init.c: New file.
3818 * nss/nsswitch.c (nss_load_library): New function. Broken out of
3819 __nss_lookup_function.
3820 (__nss_lookup_function): Call nss_load_library.
3821 (nss_load_all_libraries): New function.
3822 (__nss_disable_nscd): Take parameter with callback function for files
3823 to register. Set is_nscd. Load all the DSOs for the NSS modules
3824 used for the cached services.
3825 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3826 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3827 options for features to all the files in nscd.
3829 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3831 2011-07-10 Roland McGrath <roland@hack.frob.com>
3833 * csu/elf-init.c (__libc_csu_init): Comment typo.
3835 2011-07-09 Ulrich Drepper <drepper@gmail.com>
3837 * po/pl.po: Update from translation team.
3838 * po/ja.po: Likewise.
3839 * po/ru.po: Likewise.
3840 * po/ko.po: Likewise.
3841 * po/fr.po: Likewise.
3843 2011-07-09 Roland McGrath <roland@hack.frob.com>
3845 * configure.in (.ctors/.dtors header and trailer check):
3846 Use an empirical test on a built program.
3847 * configure: Regenerated.
3849 * configure.in (-z relro check): Use an empirical test on a built DSO.
3850 Detect, but do not require, on ia64.
3851 * configure: Regenerated.
3853 * configure.in (READELF): Find it with AC_CHECK_TOOL.
3854 Update tests that use readelf to use $READELF instead.
3855 * configure: Regenerated.
3857 2011-07-08 Ulrich Drepper <drepper@gmail.com>
3859 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
3860 if the result is not used.
3862 2011-07-05 Andreas Jaeger <aj@suse.de>
3865 * stdlib/tst-strtod.c: Add testcase.
3867 2011-07-07 Ulrich Drepper <drepper@gmail.com>
3869 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
3870 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
3871 The latter has a higher limit. Take additional parameter to pass to
3873 (__pathconf): Pass file to __statfs_link_max.
3874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
3876 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
3880 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
3881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
3884 (__statfs_filesize_max): Likewise.
3885 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
3887 2011-07-05 Andreas Jaeger <aj@suse.de>
3889 * resolv/res_comp.c (dn_skipname): Remove unused variable.
3891 2011-07-06 Marek Polacek <mpolacek@redhat.com>
3893 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
3895 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
3898 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
3900 * Makefile (strop-tests): Add strncat.
3901 * string/test-strncat.c: New file.
3903 2011-06-30 Marek Polacek <mpolacek@redhat.com>
3905 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
3907 2011-06-21 Andreas Jaeger <aj@suse.de>
3909 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
3910 Copy rule from iconvdata/Makefile.
3912 2011-07-06 Ulrich Drepper <drepper@gmail.com>
3915 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
3916 but no long options are defined, just return 'W'.
3918 2011-06-22 Marek Polacek <mpolacek@redhat.com>
3921 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
3923 2011-07-06 Ulrich Drepper <drepper@gmail.com>
3925 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
3927 (innetgr): Likewise.
3929 2011-07-05 Roland McGrath <roland@hack.frob.com>
3931 * config.make.in (install_root): Default to $(DESTDIR).
3933 2011-07-05 Ulrich Drepper <drepper@gmail.com>
3935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
3937 2011-07-02 Roland McGrath <roland@hack.frob.com>
3939 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
3941 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
3942 containing directory rather than embedding absolute directory names.
3944 * scripts/check-local-headers.sh: Rewritten using awk.
3945 Match by word, not by line. Print error messages for matches.
3946 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
3948 * Makerules [shlib-lds-flags empty]:
3949 ($(common-objpfx)libc_pic.opts): New target.
3950 ($(common-objpfx)libc_pic.os.clean): New target.
3951 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
3953 * config.make.in (OBJCOPY): New variable.
3954 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
3955 * configure: Regenerated.
3957 * config.make.in (use-default-link): New variable.
3958 * configure.in (use_default_link): Grok --with-default-link to set it.
3959 * configure: Regenerated.
3960 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
3961 (shlib-lds, shlib-lds-flags): Define to empty.
3963 * Makerules (shlib-lds): New variable.
3964 (shlib-lds-flags): New variable.
3965 (build-shlib, build-moduile, build-module-asneeded): Use it.
3966 ($(common-objpfx)libc.so): Use $(shlib-lds).
3967 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
3968 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
3970 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
3971 DT_FLAGS/DT_FLAGS_1 with zero flags.
3973 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
3974 linker script munging.
3976 2011-07-02 Ulrich Drepper <drepper@gmail.com>
3978 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
3980 * crypt/sha512.c (sha512_process_block): Perform total addition using
3981 128-bit if possible.
3982 (__sha512_finish_ctx): Likewise.
3983 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
3985 * crypt/sha256.c (SWAP64): Define.
3986 (sha256_process_block): Perform total addition using 64-bit if
3988 (__sha256_finish_ctx): Likewise.
3990 2011-07-01 Ulrich Drepper <drepper@gmail.com>
3992 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
3993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3994 * nscd/hstcache.c (cache_addhst): Likewise.
3995 * nscd/grpcache.c (cache_addgr): Likewise.
3996 * nscd/aicache.c (addhstaiX): Likewise
3997 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
3999 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
4001 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4003 * nscd/hstcache.c (cache_addhst): Likewise.
4004 * nscd/grpcache.c (cache_addgr): Likewise.
4005 * nscd/aicache.c (addhstaiX): Likewise
4007 2011-07-01 Andreas Schwab <schwab@redhat.com>
4009 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4010 domain only when needed.
4012 2011-06-30 Andreas Schwab <schwab@redhat.com>
4014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4017 2011-06-29 Ulrich Drepper <drepper@gmail.com>
4019 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4020 are re-adding the entry.
4021 * nscd/servicescache.c (cache_addserv): Likewise.
4023 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4025 * sysdeps/generic/dl-irel.h: fix protection against multiple
4027 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4029 2011-06-28 Ulrich Drepper <drepper@gmail.com>
4032 * malloc/memusage.sh: Fix quoting in message.
4033 * debug/xtrace.sh: Likewise.
4035 * configure.in: Remove support for --experimental-malloc option, make
4037 * config.make.in: Likewise.
4038 * malloc/Makefile: Likewise.
4040 2011-06-27 Andreas Schwab <schwab@redhat.com>
4042 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4043 two-byte characters.
4045 2011-06-27 Roland McGrath <roland@hack.frob.com>
4047 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4048 AC_CACHE_CHECK invocation.
4049 * configure: Regenerated.
4051 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4053 2011-06-27 Ulrich Drepper <drepper@gmail.com>
4056 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
4057 bit from old_res_options.
4059 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4061 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4062 value type for setfct.
4064 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
4066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4067 __gettimeofday instead of gettimeofday.
4069 2011-06-26 Ulrich Drepper <drepper@gmail.com>
4071 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4073 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
4075 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4080 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4083 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4084 strcpy-sse2-unaligned strncpy-sse2-unaligned
4085 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4086 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4087 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4088 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4089 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4090 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4092 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4093 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4094 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4095 (STRCPY): Support SSE2 and SSSE3 versions.
4097 2011-06-24 Ulrich Drepper <drepper@gmail.com>
4100 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4101 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4102 kernels which artificially limit size of requests.
4104 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4107 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4108 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4109 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4110 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4111 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4112 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4113 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4114 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4116 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4117 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4118 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4119 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4120 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4122 Enable unaligned load optimization for Intel Core i3, i5 and i7
4124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4126 (index_Fast_Unaligned_Load): Define.
4127 (HAS_FAST_UNALIGNED_LOAD): Define.
4129 2011-06-23 Marek Polacek <mpolacek@redhat.com>
4131 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4133 2011-06-22 Ulrich Drepper <drepper@gmail.com>
4136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4137 until it is clear that the information is realy needed.
4138 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4140 2011-06-22 Andreas Schwab <schwab@redhat.com>
4142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4144 2011-06-22 Ulrich Drepper <drepper@gmail.com>
4146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4147 /sys/devices/system/cpu/online if it is usable.
4149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4150 reading the information from the /proc filesystem to once a second.
4152 2011-06-21 Andreas Jaeger <aj@suse.de>
4154 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4155 NULL after inclusion of kernel headers.
4157 2011-06-21 Ulrich Drepper <drepper@gmail.com>
4159 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4160 calls to internal_setent.
4163 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4164 addresses using gethostbyname4_r ignore IPv4 addresses.
4166 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4167 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
4169 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4171 2011-06-20 David S. Miller <davem@davemloft.net>
4173 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4175 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4177 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4179 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4180 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4181 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4182 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4183 * sysdeps/x86_64/dl-irel.h: Likewise.
4185 * elf/dl-runtime.c: Use elf_ifunc_invoke.
4186 * elf/dl-sym.c: Likewise.
4188 2011-06-15 Ulrich Drepper <drepper@gmail.com>
4190 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4191 need to dereference resplen2.
4193 2011-06-14 Andreas Schwab <schwab@redhat.com>
4195 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4197 2011-06-15 Ulrich Drepper <drepper@gmail.com>
4199 * Makeconfig: Define vardbdir and inst_vardbdir.
4200 * nss/Makefile: Add rules to install db-Makefile.
4202 * nss/nss_db/db-XXX.c: Cleanup.
4204 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4205 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4207 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4208 * nss/makedb.c: Implement -g option to specify that value strings
4209 are generated and should not be added to table iterated over for
4211 * nss/nss_db/db-initgroups.c: New file.
4213 * nss/getent.c: Add support for initgroups lookups through getgrouplist
4216 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4217 (internal_getgrouplist): Adjust to name change.
4218 Update use_initgroups_entry if this is not the first call.
4219 * nss/databases.def: Add initgroups entry.
4221 * nss/makedb.c (compute_tables): Check result of multiple hash table
4222 sizes to minimize maximum chain length.
4224 2011-06-14 Ulrich Drepper <drepper@gmail.com>
4226 * Versions.def: Add entry for libnss_db.
4227 * shlib-versions: Likewise.
4228 * nss/Makefile: Add rules to build libnss_db.
4229 * nss/Versions: Add libnss_db information. Organize libnss_files
4231 * nss/db-Makefile: Add gshadow support. Change rules for the new
4232 makedb progra. Some minor improvements to generate smaller files.
4233 * nss/nss_db/nss_db.h: Move NSS database header data structures to
4235 * nss/makedb.c: ...here.
4236 Improve database format to be smaller and require less memory at
4238 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
4240 * nss/nss_db/db-netgrp.c: Likewise.
4241 * nss/nss_db/db-open.c: Likewise.
4242 * nss/nss_files/flies-XXX.x: Adjust comments.
4243 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4244 * nss/nss_files/files-grp.c: Likewise.
4245 * nss/nss_files/files-hosts.c: Likewise.
4246 * nss/nss_files/files-network.c: Likewise.
4247 * nss/nss_files/files-proto.c: Likewise.
4248 * nss/nss_files/files-pwd.c: Likewise.
4249 * nss/nss_files/files-rpc.c: Likewise.
4250 * nss/nss_files/files-service.c: Likewise.
4251 * nss/nss_files/files-sgrp.c: Likewise.
4252 * nss/nss_files/files-spwd.c: Likewise.
4253 * nss/nss_db/db-alias.c: Removed.
4254 * nss/nss_db/dummy-db.h: Removed.
4256 2011-06-02 Ulrich Drepper <drepper@gmail.com>
4258 * nss/makedb.c: Rewritten to not use database library.
4259 * nss/Makefile: Update to build new makedb program.
4261 2011-06-14 Andreas Jaeger <aj@suse.de>
4263 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4266 2011-06-10 Andreas Schwab <schwab@redhat.com>
4268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4271 2011-06-10 Roland McGrath <roland@hack.frob.com>
4273 * Makerules (shlib.lds): Fail if the linker script comes out empty.
4274 * elf/Makefile ($(objpfx)ld.so): Likewise.
4276 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4277 Don't list ld.so twice in dependencies.
4279 * posix/bug-regex31.c: Include <stdlib.h>.
4281 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4283 * nis/nss_compat/compat-spwd.c
4284 (getspent_next_nss_netgr): Remove unused variable.
4285 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4287 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4288 nonmembers" output to use the right array.
4290 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4292 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
4294 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
4295 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
4296 * catgets/gencat.c (read_input_file): Likewise.
4297 * locale/programs/locarchive.c (enlarge_archive): Likewise.
4299 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
4300 variable definition inside #if's controlling its use.
4302 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
4304 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
4306 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
4308 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
4311 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
4313 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4314 * configure: Regenerated.
4316 * Makerules: Revert last change.
4317 * elf/Makefile: Likewise.
4319 2011-06-09 Roland McGrath <roland@hack.frob.com>
4321 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4322 * elf/Makefile ($(objpfx)librtld.os): Likewise.
4323 (reloc-link): Likewise.
4325 2011-06-09 Ulrich Drepper <drepper@gmail.com>
4327 * elf/Makefile: Add rules to build pldd.
4328 * elf/pldd.c: New file.
4329 * elf/pldd-xx.c: New file.
4331 2011-06-07 Ulrich Drepper <drepper@gmail.com>
4333 * version.h: Update for 2.15 development version.
4335 2011-06-07 David S. Miller <davem@davemloft.net>
4337 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4340 elf_machine_lazy_rel): Likewise.
4341 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4342 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4343 elf_machine_lazy_rel): Likewise.
4344 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4345 dl_hwcap via passed in argument.
4346 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4349 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4351 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
4353 2011-06-06 Roland McGrath <roland@hack.frob.com>
4356 * manual/fdl-1.1.texi: New file, verbatim from:
4357 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4358 * manual/lgpl-2.1.texi: New file, verbatim from:
4359 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4360 * manual/Makefile (licenses): New variable, list those new file names.
4362 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4364 * manual/fdl.texi: File removed.
4365 * manual/lesser.texi: File removed.
4366 * manual/libc.texinfo (Copying, Documentation License):
4367 Use new @include file names, put @appendix directive before @include.
4369 2011-06-04 Jakub Jelinek <jakub@redhat.com>
4372 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4373 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4374 (mq_open): Add __NTH.
4376 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
4378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4379 Assume Intel Core i3/i5/i7 processor if AVX is available.
4381 2011-05-31 Ulrich Drepper <drepper@gmail.com>
4383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4386 2011-05-31 Andreas Schwab <schwab@redhat.com>
4388 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4389 memory. Use alloca_account. Fix memory leak when retrying.
4391 2011-05-31 Ulrich Drepper <drepper@gmail.com>
4393 * version.h (RELEASE): Bump for 2.14 release.
4394 * include/features.h (__GLIBC_MINOR__): Bump to 14.
4396 * config.make.in (RANLIB): Remove entry.
4398 2011-05-30 Ulrich Drepper <drepper@gmail.com>
4400 * po/Makefile (po-sed-cmd): Add ksh to extensions.
4401 (libc.pot): Work around missing support for .ksh extension in xgettext.
4404 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4405 if both request failed.
4406 (send_dg): In case of server errors clear resplen or *resplen2.
4409 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4410 when there are multiple maps.
4411 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4412 (_dl_fini): Remove test here.
4414 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4416 2011-05-29 Ulrich Drepper <drepper@gmail.com>
4419 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4420 bit from old_res_options.
4421 (gaih_inet): Likewise.
4424 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
4427 * resolv/res_init.c (res_setoptions): Make the code more compact.
4430 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4434 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4436 * malloc/malloc.h: Mark malloc hook variables as deprecated.
4439 * malloc/malloc.h: Declare malloc hook variables as volatile.
4441 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
4445 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4446 raise in the comment.
4447 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4448 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4449 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4451 2011-05-28 Ulrich Drepper <drepper@gmail.com>
4454 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
4455 grow the buffers more if it already has to be sufficient.
4456 (build_wcs_upper_buffer): Likewise.
4457 * posix/regexec.c (check_matching): Likewise.
4458 (clean_state_log_if_needed): Likewise.
4459 (extend_buffers): Don't enlarge buffers beyond size of the input
4461 Patches mostly by Emil Wojak <emil@wojak.eu>.
4462 * posix/bug-regex32.c: New file.
4463 * posix/Makefile (tests): Add bug-regex32.
4465 * locale/findlocale.c (_nl_find_locale): Return right away if
4466 _nl_explode_name failed.
4467 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4469 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
4471 * debug/xtrace.sh: Unify messages.
4472 * malloc/memusage.sh: Likewise.
4475 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
4476 time symbol from vDSO. Substitute with vsyscall if not available.
4477 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
4480 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
4481 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
4482 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
4483 Add sendmmsg and internal_sendmmsg.
4484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
4485 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
4486 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
4488 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
4489 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
4490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
4492 2011-05-27 Ulrich Drepper <drepper@gmail.com>
4495 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4496 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
4498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4502 * iconvdata/Makefile (tests): Add bug-iconv9.
4503 * iconvdata/bug-iconv9.c: New file.
4505 2011-05-27 Andreas Schwab <schwab@redhat.com>
4508 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4510 2011-05-25 Jakub Jelinek <jakub@redhat.com>
4512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4513 (struct user_regs_struct): Change intcs field back to cs.
4515 2011-05-25 Ulrich Drepper <drepper@gmail.com>
4517 * po/ja.po: Update from translation team.
4519 2011-05-23 Ulrich Drepper <drepper@gmail.com>
4522 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4525 2011-05-20 Andreas Schwab <schwab@redhat.com>
4527 * stdlib/longlong.h: Update from GCC.
4529 2011-05-23 Andreas Schwab <schwab@redhat.com>
4531 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4533 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4535 (__sysconf): Pass it down.
4537 2011-05-22 Ulrich Drepper <drepper@gmail.com>
4540 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4543 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4544 add in in __libc_use_alloca calls. Adjust callers.
4545 (glob): Use malloc in some situations.
4547 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4548 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4551 2011-05-21 Ulrich Drepper <drepper@gmail.com>
4553 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4554 and CLOCK_BOOTTIME_ALARM.
4557 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4560 * string/_strerror.c (__strerror_r): Print negative errors as signed
4564 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4565 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4566 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4568 * configure.in: Fix typo in redirection and correct removal of test
4572 * locale/setlocale.c (new_composite_name): Fix test to check for
4573 identical name of all categories.
4576 * libio/filedoalloc.c (local_isatty): New function.
4577 (_IO_file_doallocate): Use local_isatty.
4578 * stdio-common/perror.c (perror): In case a new stream is used
4579 forward the stream error.
4580 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4583 2011-05-20 Ulrich Drepper <drepper@gmail.com>
4586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4588 * include/alloca.h (extend_alloca_account): Define.
4591 * posix/regex.h: Fix comments with documentation of user-accessible
4592 fields after compilation and describe correct free'ing of pattern
4593 after re_compile_pattern.
4594 Patch by Reuben Thomas <rrt@sc3d.org>.
4596 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4598 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4599 and -mno-altivec to prevent the compiler from using Altivec and/or
4600 VSX instructions when the corresponding registers are not available.
4602 2011-05-19 Andreas Schwab <schwab@redhat.com>
4604 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4606 2011-05-19 Ulrich Drepper <drepper@gmail.com>
4608 * libio/freopen.c (freopen): Use __dup2, not dup2.
4609 * libio/freopen64.c (freopen64): Likewise.
4611 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4614 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4615 * math/Makefile (tests): Add test-powl.
4616 (CFLAGS-test-powl.c): Define.
4617 * math/test-powl.c: New file.
4619 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
4621 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4623 2011-05-17 Ulrich Drepper <drepper@gmail.com>
4626 * iconvdata/gb18030.c: Update to GB18020-2005.
4628 2011-05-16 Ulrich Drepper <drepper@gmail.com>
4630 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4631 RE_SYNTAX_POSIX_AWK): Update to match recent development.
4632 Patch by Aharon Robbins <arnold@skeeve.com>.
4635 * stdlib/putenv.c (putenv): Don't always create copy of the variable
4639 * misc/pselect.c (__pselect): Handle timeout value errors hidden
4643 * misc/error.c (error_at_line): Ensure file_name and old_file_name
4644 point to strings before performing equality test for error_one_per_line
4648 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4652 (struct user_fpregs_struct): Avoid __uint*_t types.
4655 * malloc/mtrace.c (tr_where): Add additional parameter to point to
4656 symbol info. Use it instead of calling _dl_addr locally.
4657 (lock_and_info): New function.
4658 (tr_freehook): Call lock_and_info and pass symbol info as additional
4659 parameter to tr_where.
4660 (tr_mallochook): Likewise.
4661 (tr_reallochook): Likewise.
4662 (tr_memalignhook): Likewise.
4664 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
4665 used and couldn't be at all thread-safe.
4667 2011-05-15 Ulrich Drepper <drepper@gmail.com>
4669 * libio/freopen.c (freopen): Don't close old file descriptor
4670 before the new one is opened. Instead dup the new file descriptor
4671 to the old one after the new stream is created.
4672 * libio/freopen64.c (freopen64): Likewise.
4673 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4674 * libio/fileops.c (_IO_new_file_close_it): Handle new
4675 _IO_FLAGS2_NOCLOSE flag.
4676 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4677 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4678 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4679 _IO_FLAGS2_NOCLOSE flag.
4680 * include/unistd.h: Add hidden_proto for dup3.
4682 * io/dup3.c: Define hidden symbol.
4683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4686 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4687 when an incomplete long option is used.
4688 * posix/tst-getopt_long1.c: New file.
4689 * posix/Makefile (tests): Add tst-getopt_long1.
4692 * scripts/config.guess: Update from autoconf-2.68.
4693 * scripts/config.sub: Likewise.
4696 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4698 (has_cpuclock): ...this. New function.
4699 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4700 macro here based on has_cpuclock code.
4703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4704 First byte (not low byte) is now always NUL.
4705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4708 Use non-cancelable interfaces.
4711 * locale/iso-639.def: Add entry for Sorani.
4714 * include/stdlib.h: Move include protection to the right place.
4715 Define abort_msg_s. Declare __abort_msg with it.
4716 * stdlib/abort.c (__abort_msg): Adjust type.
4717 * assert/assert.c (__assert_fail_base): New function. Majority
4718 of code from __assert_fail. Allocate memory for __abort_msg with
4720 (__assert_fail): Now call __assert_fail_base.
4721 * assert/assert-perr.c: Remove bulk of implementation. Use
4723 * include/assert.hL Declare __assert_fail_base.
4724 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4726 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4728 2011-05-14 Ulrich Drepper <drepper@gmail.com>
4732 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4733 until all modules are registered in the DTV.
4734 * elf/Makefile: Add rules to build and run tst-tls19.
4735 * elf/tst-tls19.c: New file.
4736 * elf/tst-tls19mod1.c: New file.
4737 * elf/tst-tls19mod2.c: New file.
4738 * elf/tst-tls19mod3.c: New file.
4739 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4742 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4746 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4747 two-byte sequence errors.
4748 * iconvdata/Makefile (tests): Add bug-iconv8.
4749 * iconvdata/bug-iconv8.c: New file.
4752 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4755 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4758 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4759 (dummy_getcfa): New function.
4760 (init): Get _Unwind_GetCFA address, use dummy if not found.
4761 (backtrace_helper): In recursion check, also check whether CFA changes.
4762 (__backtrace): Completely initialize arg.
4764 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
4765 storing incomplete byte sequence in state object. Avoid testing for
4766 guaranteed too small input if we know there is enough data available.
4768 2011-05-11 Andreas Schwab <schwab@redhat.com>
4770 * Makeconfig (+link-pie): Indent.
4771 * Rules (binaries-pie): Define if $(have-fpie) and
4773 (binaries-shared): Also filter out $(binaries-pie).
4774 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4775 * nscd/Makefile (others-pie): Add nscd.
4776 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4777 ($(objpfx)nscd): Remove command override.
4778 * login/Makefile (others-pie): Add pt_chown.
4779 ($(objpfx)pt_chown): Remove command override.
4780 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4781 remove command overrides.
4783 2011-05-13 Ulrich Drepper <drepper@gmail.com>
4785 * libio/tst_putwc.c: Fix error messages.
4788 * libio/fileops.c (_IO_new_file_close_it): Always flush when
4789 currently writing and seek to current position when not.
4790 * libio/Makefile (tests): Add bug-fclose1.
4791 * libio/bug-fclose1.c: New file.
4793 2011-05-12 Ulrich Drepper <drepper@gmail.com>
4796 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4797 don't set DF_1_NODELETE here.
4798 (do_lookup_x): When entering new entry test for copy relocation
4799 and if necessary set DF_1_NODELETE flag.
4800 * elf/tst-unique4.cc: New file.
4801 * elf/tst-unique4.h: New file.
4802 * elf/tst-unique4lib.cc: New file.
4803 * elf/Makefile: Add rules to build and run tst-unique4.
4804 Patch by Piotr Bury <pbury@goahead.com>.
4806 2011-05-11 Ulrich Drepper <drepper@gmail.com>
4809 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4812 * misc/mntent_r.c (addmntent): Flush the stream after the output
4815 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4816 (is_trusted_path_normalize): Skip initial colon. Append slash
4817 to empty buffer. Duplicate is_trusted_path code but allow
4818 constructed patch to be prefix.
4819 (is_dst): Allow $ORIGIN followed by /.
4820 (_dl_dst_substitute): Correct clearing of check_for_trusted.
4821 Correct testing of result of is_trusted_path_normalize
4822 (decompose_rpath): Fix warning.
4824 2011-05-10 Ulrich Drepper <drepper@gmail.com>
4827 * grp/initgroups.c (internal_getgrouplist): When we found the service
4828 list through the initgroups entry in nsswitch.conf do not always
4829 continue on a successful lookup. Don't always use the
4830 __nss_group_database value if it is set.
4831 * nss/nsswitch.conf (initgroups): Change action for successful db
4832 lookup to continue for compatibility.
4834 2011-05-09 Ulrich Drepper <drepper@gmail.com>
4837 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
4839 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
4841 * iconvdata/tst-tables.sh: Likewise.
4842 * iconvdata/cp770.c: New file.
4843 * iconvdata/cp771.c: New file.
4844 * iconvdata/cp772.c: New file.
4845 * iconvdata/cp773.c: New file.
4846 * iconvdata/cp774.c: New file.
4847 * iconvdata/testdata/CP770: New file.
4848 * iconvdata/testdata/CP770..UTF8: New file.
4849 * iconvdata/testdata/CP771: New file.
4850 * iconvdata/testdata/CP771..UTF8: New file.
4851 * iconvdata/testdata/CP772: New file.
4852 * iconvdata/testdata/CP772..UTF8: New file.
4853 * iconvdata/testdata/CP773: New file.
4854 * iconvdata/testdata/CP773..UTF8: New file.
4855 * iconvdata/testdata/CP774: New file.
4856 * iconvdata/testdata/CP774..UTF8: New file.
4858 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
4860 * iconvdata/gen-8bit-gap.sh: Likewise.
4861 * iconvdata/gen-8bit.sh: Likewise.
4863 * locale/iso-639.def: Add ary entry.
4866 * locale/C-translit.h.in: Add U20A1 transliteration.
4869 * locale/iso-639.def: Add wae entry.
4870 Patch by Kevin Bortis <bortis@translate-wae.ch>.
4873 * locale/programs/localedef.c (construct_output_path): Use ssize_t
4877 * locale/C-translit.h.in: Add entry for U20B9.
4878 Patch by pravin.d.s@gmail.com.
4880 2011-05-08 Ulrich Drepper <drepper@gmail.com>
4883 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
4884 ENAMETOOLONG use generic getcwd.
4885 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
4886 in rtld. Use *stat64.
4887 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
4888 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
4889 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
4890 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
4891 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
4892 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
4893 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
4895 * include/dirent.h: Add libc_hidden_proto for rewinddir.
4896 * dirent/rewinddir.c: Add libc_hidden_def.
4897 * sysdeps/mach/hurd/rewinddir.c: Likewise.
4898 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
4900 * include/dirent.h (__alloc_dir): Add flags parameter.
4901 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
4902 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
4904 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
4905 from fdopendir if O_CLOEXEC is already set.
4907 2011-03-15 Alan Modra <amodra@gmail.com>
4909 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
4910 l_tls_firstbyte_offset non-zero. Save padding offset in
4911 l_tls_firstbyte_offset for later use.
4912 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
4913 freeing static tls block.
4915 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
4917 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
4918 where #ifdef was intended. The intent is to prevent ARG_MAX from
4919 being defined by the kernel headers.
4921 2011-05-07 Ulrich Drepper <drepper@gmail.com>
4924 * resolv/resolv.h: Define RES_NOTLDQUERY.
4925 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
4926 no-tld-query and set RES_NOTLDQUERY.
4927 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
4928 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
4929 modern BIND to search name as TLD unless forbidden.
4931 2011-05-07 Petr Baudis <pasky@suse.cz>
4932 Ulrich Drepper <drepper@gmail.com>
4935 * elf/dl-load.c (fillin_rpath): Move trusted path check...
4936 (is_trusted_path): ...to here.
4937 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
4938 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
4939 using is_trusted_path_normalize() in setuid scripts.
4941 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4943 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
4944 __BEGIN/__END_DECLS.
4946 2011-05-06 Ulrich Drepper <drepper@gmail.com>
4948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
4949 NSS_STATUS_NOTFOUND if no record was found.
4951 2011-05-05 Andreas Schwab <schwab@redhat.com>
4953 * sunrpc/Makefile (headers): Add rpc/netdb.h.
4954 (headers-not-in-tirpc): Remove rpc/netdb.h
4955 * resolv/netdb.h: Revert last change.
4957 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4959 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
4960 circular dependency between libgcc.a and libc.a.
4962 2011-05-05 Andreas Schwab <schwab@redhat.com>
4964 * resolv/netdb.h: Don't include <rpc/netdb.h>.
4965 * nis/Makefile: Don't install rpcsvc/*.
4966 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
4967 instead of <rpc/types.h>.
4968 (MAXHOSTNAMELEN): Define.
4970 2011-05-03 Andreas Schwab <schwab@redhat.com>
4972 * elf/ldconfig.c (add_dir): Don't crash on empty path.
4974 2011-04-28 Maciej Babinski <mbabinski@google.com>
4977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
4978 gethostbyname4_r when IPv6 results are possible.
4980 2011-05-02 Ulrich Drepper <drepper@gmail.com>
4983 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
4984 _PC_PIPE_BUF handling.
4986 2011-04-30 Bruno Haible <bruno@clisp.org>
4989 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
4990 * resolv/netdb.h (getnameinfo): Change type of flags parameter
4992 * inet/getnameinfo.c (getnameinfo): Likewise.
4994 2011-04-29 Ulrich Drepper <drepper@gmail.com>
4996 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
4997 to groups setting in database lookup.
4998 * nss/nsswitch.conf: Add initgroups entry.
5000 2011-04-22 Ulrich Drepper <drepper@gmail.com>
5003 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5005 Patch by Eric Blake <eblake@redhat.com>.
5007 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5009 * sunrpc/Makefile (need-export-routines): Add svc_run.
5010 (routines): Remove svc_run.
5011 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5012 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5013 * sunrpc/svc_run.c (svc_run): Likewise.
5014 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5016 2011-04-21 Ulrich Drepper <drepper@gmail.com>
5018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5019 problem in reallocation in last patch.
5021 2011-04-20 Ulrich Drepper <drepper@gmail.com>
5023 * sunrpc/Makefile: Move inclusion of Rules.
5025 2011-04-19 Ulrich Drepper <drepper@gmail.com>
5027 * nss/nss_files/files-initgroups.c: New file.
5028 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5029 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5030 _nss_files_initgroups_dyn.
5032 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5034 * elf/elf.h (R_ARM_IRELATIVE): Define.
5036 2011-04-19 Ulrich Drepper <drepper@gmail.com>
5038 * po/ru.po: Update from translation team.
5040 2011-04-17 Ulrich Drepper <drepper@gmail.com>
5042 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5045 2011-02-06 Mike Frysinger <vapier@gentoo.org>
5048 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5049 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5052 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5054 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
5056 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5062 2011-04-17 Ulrich Drepper <drepper@gmail.com>
5065 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5067 * stdlib/bug-getcontext.c: New file.
5068 * stdlib/Makefile: Add rules to build and run bug-getcontext.
5070 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5072 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5073 instructions into .machine "z9-109".
5074 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5075 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5077 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5079 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5080 between environment variables and auxiliary vector.
5082 2011-04-16 Ulrich Drepper <drepper@gmail.com>
5084 * Makefile: Add rules to build linkobj/libc.so.
5085 * include/libc-symbols.h: Define libc_hidden_nolink.
5086 * include/rpc/auth.h: Mark functions which are to be hidden.
5087 * include/rpc/auth_des.h: Likewise.
5088 * include/rpc/auth_unix.h: Likewise.
5089 * include/rpc/clnt.h: Likewise.
5090 * include/rpc/des_crypt.h: Likewise.
5091 * include/rpc/key_prot.h: Likewise.
5092 * include/rpc/pmap_clnt.h: Likewise.
5093 * include/rpc/pmap_prot.h: Likewise.
5094 * include/rpc/pmap_rmt.h: Likewise.
5095 * include/rpc/rpc_msg.h: Likewise.
5096 * include/rpc/svc.h: Likewise.
5097 * include/rpc/svc_auth.h: Likewise.
5098 * include/rpc/xdr.h: Likewise.
5099 * nis/Makefile: Link all DSOs against linkobj/libc.so.
5100 * nss/Makefile: Likewise.
5101 * sunrpc/Makefile: Don't install headers. Build library with normal
5102 entry points. Don't build rpcinfo. Link RPC tests appropriately.
5103 * sunrpc/auth_des.c: Hide exported symbols by default, export some
5104 for the compat linking library. Remove use of INTDEF/INTUSE.
5105 * sunrpc/auth_none.c: Likewise.
5106 * sunrpc/auth_unix.c: Likewise.
5107 * sunrpc/authdes_prot.c: Likewise.
5108 * sunrpc/authuxprot.c: Likewise.
5109 * sunrpc/clnt_gen.c: Likewise.
5110 * sunrpc/clnt_perr.c: Likewise.
5111 * sunrpc/clnt_raw.c: Likewise.
5112 * sunrpc/clnt_simp.c: Likewise.
5113 * sunrpc/clnt_tcp.c: Likewise.
5114 * sunrpc/clnt_udp.c: Likewise.
5115 * sunrpc/clnt_unix.c: Likewise.
5116 * sunrpc/des_crypt.c: Likewise.
5117 * sunrpc/des_soft.c: Likewise.
5118 * sunrpc/get_myaddr.c: Likewise.
5119 * sunrpc/key_call.c: Likewise.
5120 * sunrpc/key_prot.c: Likewise.
5121 * sunrpc/netname.c: Likewise.
5122 * sunrpc/pm_getmaps.c: Likewise.
5123 * sunrpc/pm_getport.c: Likewise.
5124 * sunrpc/pmap_clnt.c: Likewise.
5125 * sunrpc/pmap_prot.c: Likewise.
5126 * sunrpc/pmap_prot2.c: Likewise.
5127 * sunrpc/pmap_rmt.c: Likewise.
5128 * sunrpc/publickey.c: Likewise.
5129 * sunrpc/rpc_cmsg.c: Likewise.
5130 * sunrpc/rpc_common.c: Likewise.
5131 * sunrpc/rpc_dtable.c: Likewise.
5132 * sunrpc/rpc_prot.c: Likewise.
5133 * sunrpc/rpc_thread.c: Likewise.
5134 * sunrpc/rtime.c: Likewise.
5135 * sunrpc/svc.c: Likewise.
5136 * sunrpc/svc_auth.c: Likewise.
5137 * sunrpc/svc_authux.c: Likewise.
5138 * sunrpc/svc_raw.c: Likewise.
5139 * sunrpc/svc_run.c: Likewise.
5140 * sunrpc/svc_simple.c: Likewise.
5141 * sunrpc/svc_tcp.c: Likewise.
5142 * sunrpc/svc_udp.c: Likewise.
5143 * sunrpc/svc_unix.c: Likewise.
5144 * sunrpc/svcauth_des.c: Likewise.
5145 * sunrpc/xcrypt.c: Likewise.
5146 * sunrpc/xdr.c: Likewise.
5147 * sunrpc/xdr_array.c: Likewise.
5148 * sunrpc/xdr_float.c: Likewise.
5149 * sunrpc/xdr_intXX_t.c: Likewise.
5150 * sunrpc/xdr_mem.c: Likewise.
5151 * sunrpc/xdr_rec.c: Likewise.
5152 * sunrpc/xdr_ref.c: Likewise.
5153 * sunrpc/xdr_sizeof.c: Likewise.
5154 * sunrpc/xdr_stdio.c: Likewise.
5156 2011-04-10 Ulrich Drepper <drepper@gmail.com>
5159 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5160 * sysdeps/ia64/dl-tls.h: Likewise.
5161 * sysdeps/powerpc/dl-tls.h: Likewise.
5162 * sysdeps/s390/dl-tls.h: Likewise.
5163 * sysdeps/sh/dl-tls.h: Likewise.
5164 * sysdeps/sparc/dl-tls.h: Likewise.
5165 * sysdeps/x86_64/dl-tls.h: Likewise.
5166 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5168 2011-03-14 Andreas Schwab <schwab@redhat.com>
5170 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5171 rpath element also skip the following colon.
5172 (expand_dynamic_string_token): Add is_path parameter and pass
5173 down to DL_DST_REQUIRED and _dl_dst_substitute.
5174 (decompose_rpath): Call expand_dynamic_string_token with
5175 non-zero is_path. Ignore empty rpaths.
5176 (_dl_map_object_from_fd): Call expand_dynamic_string_token
5179 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5184 2011-04-09 Ulrich Drepper <drepper@gmail.com>
5187 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5188 Patch by Filipe David Manana <fdmanana@apache.org>.
5190 2011-04-07 Andreas Schwab <schwab@redhat.com>
5192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5193 Maintain aligned stack.
5194 (CHECK_RSP): Remove unused macro.
5196 2011-04-03 Ulrich Drepper <drepper@gmail.com>
5198 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5201 2011-04-02 Ulrich Drepper <drepper@gmail.com>
5203 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5205 * include/features.h: Mention __USE_XOPEN2K8 in comment.
5207 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
5210 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5211 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5212 * sysdeps/x86_64/memmove.c: New file.
5213 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5214 (memcpy): Renamed to ...
5215 (__new_memcpy): This.
5216 (memcpy): Provide GLIBC_2_14 memcpy.
5217 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5218 (memcpy): Provide GLIBC_2_2_5 memcpy.
5220 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5223 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5225 2011-03-30 Andreas Schwab <schwab@redhat.com>
5227 * misc/syncfs.c: New file.
5228 * misc/Makefile (routines): Add syncfs.
5229 * posix/unistd.h: Declare syncfs.
5230 * sysdeps/unix/syscalls.list: Add syncfs.
5232 2011-04-01 Andreas Schwab <schwab@redhat.com>
5234 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5237 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5241 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5247 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5254 * io/Makefile: Compile fallocate.c, fallocate64.c, and
5255 sync_file_range.c with -fexceptions.
5256 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5257 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5258 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5259 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5260 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5261 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
5263 sync_file_range as cancellation point
5264 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
5265 now a wrapper around __call_sync_file_range with cancellation handling.
5266 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5267 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
5268 function name to __call_sync_file_range.
5269 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5270 Add call_sync_file_range.
5272 2011-04-01 Andreas Schwab <schwab@redhat.com>
5274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5277 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5279 * iconv/iconv.h: Fix typo in comment.
5280 * io/fcntl.h: Likewise.
5281 * libio/stdio.h: Likewise.
5282 * posix/spawn.h: Likewise.
5283 * posix/unistd.h: Likewise.
5284 * stdlib/stdlib.h: Likewise.
5285 * time/time.h: Likewise.
5286 * wcsmbs/wchar.h: Likewise.
5288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5289 open_by_handle): Add.
5290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5291 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
5292 Augment a few comments.
5293 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5298 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
5301 * io/fcntl.h (AT_EMPTY_PATH): Define.
5303 2011-03-30 Ulrich Drepper <drepper@gmail.com>
5305 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
5306 * sysdeps/unix/sysv/linux/bits/time.h: New file.
5307 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
5309 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
5310 * Versions.def: Add GLIBC_2.14.
5311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
5314 2011-03-22 Ulrich Drepper <drepper@gmail.com>
5316 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5318 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5320 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
5323 * string/test-strncmp.c (do_page_test): New function.
5325 (test_main): Call check2.
5326 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5328 2011-03-20 Ulrich Drepper <drepper@gmail.com>
5331 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5332 Handle cache information in CPU leaf 4.
5333 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5335 2011-03-18 Ulrich Drepper <drepper@gmail.com>
5338 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5339 character representation.
5340 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5342 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
5344 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5345 END(__isnan) to END(__isnanf) to match function entry point/label
5346 EALIGN(__isnanf,...).
5348 2011-03-10 Jakub Jelinek <jakub@redhat.com>
5350 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5352 2011-03-10 Ulrich Drepper <drepper@gmail.com>
5355 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5356 copy from the symbol referenced in the relocation to initialize the
5358 Patch by Piotr Bury <pbury@goahead.com>.
5359 * elf/Makefile: Add rules to build and tst-unique3.
5360 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5361 * elf/tst-unique3.cc: New file.
5362 * elf/tst-unique3.h: New file.
5363 * elf/tst-unique3lib.cc: New file.
5364 * elf/tst-unique3lib2.cc: New file.
5366 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5368 2011-03-10 Mike Frysinger <vapier@gentoo.org>
5370 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5371 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
5374 2011-03-06 Ulrich Drepper <drepper@gmail.com>
5376 * elf/dl-load.c (_dl_map_object): If we are looking for the first
5377 to-be-loaded object along a path to loader is ld.so.
5379 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5380 Ulrich Drepper <drepper@gmail.com>
5382 * sysdeps/x86_64/memset.S: After aligning destination, code
5383 branches to different locations depending on the value of
5384 misalignment, when multiarch is enabled. Fix this.
5386 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5388 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5389 Set _x86_64_preferred_memory_instruction for AMD processsors.
5390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5391 Set bit_Prefer_SSE_for_memop for AMD processors.
5393 2011-03-04 Ulrich Drepper <drepper@gmail.com>
5395 * libio/fmemopen.c (fmemopen): Optimize a bit.
5397 2011-03-03 Andreas Schwab <schwab@redhat.com>
5399 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5401 2011-03-03 Roland McGrath <roland@redhat.com>
5403 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5405 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
5407 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
5408 __bzero_ultra1 instead of __memset_ultra1.
5410 2011-02-23 Andreas Schwab <schwab@redhat.com>
5411 Ulrich Drepper <drepper@gmail.com>
5414 * include/link.h (struct link_map): Add l_orig_initfini.
5415 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5416 returning unsuccessfully.
5417 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5418 close of a file loaded at startup, restore the original l_initfini
5420 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5421 list, store the pointer.
5422 * elf/Makefile ($(objpfx)noload-mem): New rule.
5423 (noload-ENV): Define.
5424 (tests): Add $(objpfx)noload-mem.
5425 * elf/noload.c: Include <memcheck.h>.
5426 (main): Call mtrace. Close all opened handles.
5428 2011-02-17 Andreas Schwab <schwab@redhat.com>
5431 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5432 dependencies are missing.
5434 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5436 Fix __if_freereq crash: Unlike the generic version which uses free,
5438 * sysdeps/mach/hurd/ifreq.h: New file.
5440 2011-01-27 Petr Baudis <pasky@suse.cz>
5441 Ulrich Drepper <drepper@gmail.com>
5444 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
5446 * stdio-common/bug23.c: New file.
5447 * stdio-common/Makefile (tests): Add bug23.
5449 2010-09-28 Andreas Schwab <schwab@redhat.com>
5450 Ulrich Drepper <drepper@gmail.com>
5453 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
5454 before performing relro protection. At old place add assertion
5455 to make sure nothing changed.
5457 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
5458 Glauber de Oliveira Costa <glommer@gmail.com>
5460 * elf/elf.h: Add new ARM TLS relocs.
5462 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5465 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
5467 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
5469 * sysdeps/wordsize-64/tst-writev.c: New file.
5471 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
5473 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
5474 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
5475 insns in _dl_start to prevent a TOC reference before relocs are
5478 2011-02-15 Ulrich Drepper <drepper@gmail.com>
5481 * Makeconfig: Remove RANLIB definition.
5482 * Makerules: Don't use RANLIB.
5483 * aclocal.m4: Remove ranlib test.
5484 * configure.in: No need to check for ranlib.
5485 * elf/rtld-Rules: Don't use RANLIB.
5487 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5489 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
5491 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5492 inclusion protection macro.
5494 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5495 SIGRTMIN and SIGRTMAX and print information in that case only when
5496 SIGRTMIN is defined.
5498 2011-02-11 Jakub Jelinek <jakub@redhat.com>
5500 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5501 arginfo fn returning -1.
5503 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5504 and thousands string is zero terminated.
5506 2011-02-03 Andreas Schwab <schwab@redhat.com>
5508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5509 sysdeps/unix/sysv/linux/bits/socket.h.
5511 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5513 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5514 (__CPU_COUNT): Remove old macros.
5515 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5516 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5517 (__CPU_ALLOC, __CPU_FREE): Add macros.
5518 (__sched_cpualloc, __sched_cpufree): Add declarations.
5520 2011-02-05 Ulrich Drepper <drepper@gmail.com>
5522 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5523 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5524 * nscd/aicache.c (addhstaiX): Return timeout of added value.
5525 (readdhstai): Return value of addhstaiX call.
5526 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5527 (addgrbyX): Return value returned by cache_addgr.
5528 (readdgrbyname): Return value returned by addgrbyX.
5529 (readdgrbygid): Likewise.
5530 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5531 (addpwbyX): Return value returned by cache_addpw.
5532 (readdpwbyname): Return value returned by addhstbyX.
5533 (readdpwbyuid): Likewise.
5534 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5535 (addservbyX): Return value returned by cache_addserv.
5536 (readdservbyname): Return value returned by addservbyX:
5537 (readdservbyport): Likewise.
5538 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5539 (addhstbyX): Return value returned by cache_addhst.
5540 (readdhstbyname): Return value returned by addhstbyX.
5541 (readdhstbyaddr): Likewise.
5542 (readdhstbynamev6): Likewise.
5543 (readdhstbyaddrv6): Likewise.
5544 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5545 (readdinitgroups): Return value returned by addinitgroupsX.
5546 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5547 (prune_cache): Keep track of timeout value of re-added entries.
5548 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5549 * nscd/nscd.h: Adjust prototypes of readd* functions.
5551 2011-02-04 Roland McGrath <roland@redhat.com>
5553 * nis/nis_server.c (nis_servstate): Use the right name for 0.
5554 (nis_stats): Likewise.
5555 * nis/nis_modify.c (nis_modify): Likewise.
5556 * nis/nis_remove.c (nis_remove): Likewise.
5557 * nis/nis_add.c (nis_add): Likewise.
5559 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5561 * posix/fnmatch_loop.c: Add some consts.
5563 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5565 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
5568 * config.make.in (config-cflags-novzeroupper): Define.
5569 * configure.in: Substitute libc_cv_cc_novzeroupper.
5570 * elf/Makefile (AVX-CFLAGS): Define.
5571 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5572 (CFLAGS-tst-auditmod4a.c): Likewise.
5573 (CFLAGS-tst-auditmod4b.c): Likewise.
5574 (CFLAGS-tst-auditmod6b.c): Likewise.
5575 (CFLAGS-tst-auditmod6c.c): Likewise.
5576 (CFLAGS-tst-auditmod7b.c): Likewise.
5577 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5579 2011-02-02 Ulrich Drepper <drepper@gmail.com>
5581 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5582 function to the callback.
5583 Patch partly by Jiri Olsa <jolsa@redhat.com>.
5585 2011-02-02 Andreas Schwab <schwab@redhat.com>
5587 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5590 2011-01-19 Ulrich Drepper <drepper@gmail.com>
5593 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5595 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5597 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5600 * elf/Makefile: Add rules to build and run new test.
5601 * elf/tst-initorder.c: New file.
5602 * elf/tst-initorder.exp: New file.
5603 * elf/tst-initordera1.c: New file.
5604 * elf/tst-initordera2.c: New file.
5605 * elf/tst-initordera3.c: New file.
5606 * elf/tst-initordera4.c: New file.
5607 * elf/tst-initorderb1.c: New file.
5608 * elf/tst-initorderb2.c: New file.
5609 * elf/tst-order-a1.c: New file.
5610 * elf/tst-order-a2.c: New file.
5611 * elf/tst-order-a3.c: New file.
5612 * elf/tst-order-a4.c: New file.
5613 * elf/tst-order-b1.c: New file.
5614 * elf/tst-order-b2.c: New file.
5615 * elf/tst-order-main.c: New file.
5616 New test case by George Gensure <werkt0@gmail.com>.
5618 2010-10-01 Andreas Schwab <schwab@redhat.com>
5620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5621 decoding ACE if AI_CANONIDN.
5623 2011-01-18 Ulrich Drepper <drepper@gmail.com>
5625 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5627 2011-01-17 Ulrich Drepper <drepper@gmail.com>
5629 * version.h (RELEASE): Bump for 2.13 release.
5630 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5632 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5636 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5638 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5640 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5641 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5643 * posix/getconf.c: Update copyright year.
5644 * catgets/gencat.c: Likewise.
5645 * csu/version.c: Likewise.
5646 * debug/catchsegv.sh: Likewise.
5647 * debug/xtrace.sh: Likewise.
5648 * elf/ldconfig.c: Likewise.
5649 * elf/ldd.bash.in: Likewise.
5650 * elf/sprof.c (print_version): Likewise.
5651 * iconv/iconv_prog.c: Likewise.
5652 * iconv/iconvconfig.c: Likewise.
5653 * locale/programs/locale.c: Likewise.
5654 * locale/programs/localedef.c: Likewise.
5655 * malloc/memusage.sh: Likewise.
5656 * malloc/mtrace.pl: Likewise.
5657 * nscd/nscd.c (print_version): Likewise.
5658 * nss/getent.c: Likewise.
5660 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5661 PF_CAIF, and PF_ALG.
5662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5664 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
5666 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5667 (modules-names): Use them.
5668 (ifunc-test-modules, ifunc-pie-tests): Define.
5669 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5670 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5671 (test-extras): Likewise.
5672 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5673 $(compile-command.c).
5674 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5675 (all-built-dso): Define.
5676 (check-textrel.out, check-execstack.out): Depend on it.
5678 * configure.in: Don't override --enable-multi-arch.
5680 2011-01-15 Ulrich Drepper <drepper@gmail.com>
5683 * nscd/hstcache.c (tryagain): Define.
5684 (cache_addhst): Return tryagain not notfound for temporary errors.
5685 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5688 2011-01-14 Ulrich Drepper <drepper@gmail.com>
5691 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5692 to make the syscall.
5693 * sysdeps/unix/sysv/linux/setgroups.c: New file.
5696 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5697 and fall back to matching as normal character if the string ends before
5698 the matching ']' is found. This is what POSIX requires.
5699 * posix/testfnm.c: Adjust test result.
5700 * posix/globtest.sh: Adjust test result. Add new test.
5701 * posix/tst-fnmatch.input: Likewise.
5702 * posix/tst-fnmatch2.c: Add new test.
5704 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
5706 * elf/Makefile (check-execstack): Revert last change. Depend on
5708 (check-execstack.h): New target.
5709 (generated): Add check-execstack.h.
5710 * elf/check-execstack.c: Include "check-execstack.h".
5711 (main): Revert last change.
5712 (handle_file): Return zero if GNU_STACK is absent and
5713 DEFAULT_STACK_PERMS doesn't include PF_X.
5715 2011-01-13 Ulrich Drepper <drepper@gmail.com>
5717 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5718 in child fails because the descriptor is already closed.
5719 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5720 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5724 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5728 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5729 temporary buffer used to handle multi lookups locally.
5730 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
5732 2011-01-12 Ulrich Drepper <drepper@gmail.com>
5734 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5737 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
5739 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5742 2011-01-12 Ulrich Drepper <drepper@gmail.com>
5745 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5746 characters. When rounding increased number of integer digits recompute
5748 * stdio-common/tst-grouping.c: New file.
5749 * stdio-common/Makefile: Add rules to build and run tst-grouping.
5751 2011-01-09 Ulrich Drepper <drepper@gmail.com>
5753 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5754 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
5756 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5758 * bits/select.h: Likewise.
5760 2011-01-08 Ulrich Drepper <drepper@gmail.com>
5762 * po/ja.po: Update from translation team.
5764 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
5767 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5768 implementation just like for lxstat, fxstatat, et al.
5770 2010-12-27 Jim Meyering <meyering@redhat.com>
5773 * posix/regexec.c (build_trtable): Return failure indication upon
5774 calloc failure. Otherwise, re_search_internal could infloop on OOM.
5776 2010-12-25 Ulrich Drepper <drepper@gmail.com>
5779 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5780 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5781 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5785 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5788 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5789 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5791 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
5793 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5794 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5795 script has SORT_BY_INIT_PRIORITY.
5796 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5797 NO_CTORS_DTORS_SECTIONS is defined.
5798 * elf/soinit.c: Likewise.
5799 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5800 NO_CTORS_DTORS_SECTIONS is defined.
5801 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5802 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5803 * sysdeps/sh/init-first.c: Likewise.
5804 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5806 2010-12-24 Ulrich Drepper <drepper@gmail.com>
5808 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5809 always use the slow path.
5811 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
5813 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5814 similar rule which adds the sysdep directories to the header search in
5815 order to pick up the correct platform stackinfo.h.
5816 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5817 perform test if it is, otherwise return successfully without testing.
5818 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5819 DEFAULT_STACK_PERMS define in stackinfo.h.
5820 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5821 defined in stackinfo.h.
5822 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5823 DEFAULT_STACK_PERMS defined in stackinfo.h.
5824 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5825 * sysdeps/ia64/stackinfo.h: Likewise.
5826 * sysdeps/s390/stackinfo.h: Likewise.
5827 * sysdeps/sh/stackinfo.h: Likewise.
5828 * sysdeps/sparc/stackinfo.h: Likewise.
5829 * sysdeps/x86_64/stackinfo.h: Likewise.
5830 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5831 PF_X for powerpc64. Retain PF_X for powerpc32.
5833 2010-12-19 Ulrich Drepper <drepper@gmail.com>
5835 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5837 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
5838 GETDENTS_64BIT_ALIGNED.
5840 2010-12-14 Ulrich Drepper <dreper@gmail.com>
5842 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
5844 2010-12-10 Andreas Schwab <schwab@redhat.com>
5846 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
5849 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
5850 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
5852 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
5853 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
5855 2010-12-09 Ulrich Drepper <drepper@gmail.com>
5858 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
5861 2010-12-09 Jakub Jelinek <jakub@redhat.com>
5863 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
5865 2010-12-03 Ulrich Drepper <drepper@gmail.com>
5867 * po/it.po: Update from translation team.
5869 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
5871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
5874 2010-11-30 Ulrich Drepper <drepper@gmail.com>
5876 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
5878 2010-11-24 Andreas Schwab <schwab@redhat.com>
5880 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
5882 (gaih_getanswer_slice): Likewise.
5884 2010-10-20 Jakub Jelinek <jakub@redhat.com>
5886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
5888 2010-05-31 Petr Baudis <pasky@suse.cz>
5891 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
5892 silently even in the chroot mode.
5894 2010-11-22 Ulrich Drepper <drepper@gmail.com>
5896 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
5897 last patch a bit. Pretty printing
5899 2010-05-31 Petr Baudis <pasky@suse.cz>
5902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
5903 initialization of skip_initgroups_dyn.
5905 2010-11-19 Ulrich Drepper <drepper@gmail.com>
5907 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
5908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5910 2010-11-16 Ulrich Drepper <drepper@gmail.com>
5912 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
5914 2010-11-11 Andreas Schwab <schwab@redhat.com>
5916 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
5917 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
5918 (tst-fnmatch-ENV): Set MALLOC_TRACE.
5919 ($(objpfx)tst-fnmatch-mem): New rule.
5920 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
5921 * posix/tst-fnmatch.c (main): Call mtrace.
5923 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
5925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5926 Support Intel processor model 6 and model 0x2c.
5928 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
5930 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
5933 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
5936 * string/test-strncasecmp.c (check_result): New function.
5937 (do_one_test): Use it.
5938 (check1): New function.
5939 (test_main): Use it.
5940 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
5941 Support strcasecmp and strncasecmp.
5943 2010-11-08 Ulrich Drepper <drepper@gmail.com>
5946 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
5947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5949 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
5951 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
5953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5955 * sysdeps/x86_64/multiarch/bzero.S: New file.
5956 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
5957 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
5958 * sysdeps/x86_64/multiarch/memset.S: New file.
5959 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
5960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5961 Set bit_Prefer_SSE_for_memop for Intel processors.
5962 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
5964 (index_Prefer_SSE_for_memop): Define.
5965 (HAS_PREFER_SSE_FOR_MEMOP): Define.
5967 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
5969 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
5970 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
5972 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
5975 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5976 (__x86_64_raw_data_cache_size_half): Likewise.
5977 (__x86_64_raw_shared_cache_size): Likewise.
5978 (__x86_64_raw_shared_cache_size_half): Likewise.
5980 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5981 (__x86_64_raw_data_cache_size_half): Likewise.
5982 (__x86_64_raw_shared_cache_size): Likewise.
5983 (__x86_64_raw_shared_cache_size_half): Likewise.
5984 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
5985 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
5986 and __x86_64_raw_shared_cache_size_half. Round
5987 __x86_64_data_cache_size_half, __x86_64_data_cache_size
5988 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
5989 to multiple of 256 bytes.
5991 2010-11-03 Ulrich Drepper <drepper@gmail.com>
5994 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
5995 of inacessible symlinks. Verify result of symlink before returning it.
5996 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5997 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
5999 2010-10-28 Erich Ritz <erichritz@gmail.com>
6001 * math/math.h (isinf): Fix typo in comment.
6003 2010-11-01 Ulrich Drepper <drepper@gmail.com>
6005 * po/da.po: Update from translation team.
6007 2010-10-26 Ulrich Drepper <drepper@gmail.com>
6009 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6010 is added to the list.
6012 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6013 Ulrich Drepper <drepper@gmail.com>
6015 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6016 the global list here. Move code to...
6017 (_dl_add_to_namespace_list): ...here. New function.
6018 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6019 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6020 * elf/dl-load.c (lose): Don't remove the element from the list.
6021 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6022 (_dl_map_object): Likewise.
6024 2010-10-25 Ulrich Drepper <drepper@gmail.com>
6027 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6028 into all bytes of SSE register.
6029 Patch by Richard Li <richardpku@gmail.com>.
6031 2010-10-24 Ulrich Drepper <drepper@gmail.com>
6034 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6037 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
6039 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6040 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6041 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6042 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6047 2010-10-22 Andreas Schwab <schwab@redhat.com>
6049 * include/dlfcn.h (__RTLD_SECURE): Define.
6050 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
6051 mode & __RTLD_SECURE instead.
6052 (open_path): Rename preloaded parameter to secure.
6053 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6054 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6055 * elf/dl-deps.c (openaux): Likewise.
6056 * elf/rtld.c (struct map_args): Remove is_preloaded.
6057 (map_doit): Don't use it.
6058 (dl_main): Likewise.
6059 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6060 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6062 2010-09-09 Andreas Schwab <schwab@redhat.com>
6064 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6065 (sysd-rules-targets): Remove duplicates.
6066 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6067 rtld-%.$o dependency.
6069 2010-10-18 Andreas Schwab <schwab@redhat.com>
6071 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6072 _dl_map_object do it.
6074 2010-10-19 Ulrich Drepper <drepper@gmail.com>
6076 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6077 fast fma builtins, define the macros in the C99 standard.
6078 (FP_FAST_FMAF): Likewise.
6079 (FP_FAST_FMAL): Likewise.
6080 * sysdeps/x86_64/bits/mathdef.h: Likewise.
6082 * bits/mathdef.h: Update copyright year.
6083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6085 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
6087 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6088 builtins, define the macros in the C99 standard.
6089 (FP_FAST_FMAF): Likewise.
6090 (FP_FAST_FMAL): Likewise.
6091 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6093 (FP_FAST_FMAF): Likewise.
6095 2010-10-15 Jakub Jelinek <jakub@redhat.com>
6098 * math/libm-test.inc (fma_test): Some new testcases.
6099 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6100 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6101 y and infinite z. Do multiplication by C already in long double.
6102 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6104 y and infinite z. Do bitwise or of inexact bit into u.d.
6105 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6106 * sysdeps/i386/fpu/s_fmaf.S: Removed.
6107 * sysdeps/i386/fpu/s_fma.S: Removed.
6108 * sysdeps/i386/fpu/s_fmal.S: Removed.
6110 2010-10-16 Jakub Jelinek <jakub@redhat.com>
6113 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6115 computation is not scheduled after fetestexcept. Fix value
6116 of minimum denormal long double.
6118 2010-10-14 Jakub Jelinek <jakub@redhat.com>
6121 * math/libm-test.inc (fma_test): Add some more tests.
6122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6125 2010-10-15 Andreas Schwab <schwab@redhat.com>
6127 * scripts/data/localplt-s390-linux-gnu.data: New file.
6128 * scripts/data/localplt-s390x-linux-gnu.data: New file.
6130 2010-10-13 Jakub Jelinek <jakub@redhat.com>
6133 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6134 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6136 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6138 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6140 if one of x and y is very large and the other is subnormal.
6141 * sysdeps/s390/fpu/s_fmaf.c: New file.
6142 * sysdeps/s390/fpu/s_fma.c: New file.
6143 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6144 * sysdeps/powerpc/fpu/s_fma.S: New file.
6145 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6146 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6147 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6149 2010-10-12 Jakub Jelinek <jakub@redhat.com>
6152 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6155 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6156 * sysdeps/i386/i686/multiarch/s_fma.c: Include
6157 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6158 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6159 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6162 2010-10-12 Ulrich Drepper <drepper@redhat.com>
6165 * posix/regcomp.c (parse_branch): One more memory leak plugged.
6166 * posix/bug-regex31.input: Add test case.
6168 2010-10-11 Ulrich Drepper <drepper@gmail.com>
6170 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6171 * posix/bug-regex31.input: New file.
6174 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6175 (parse_sub_exp): Fix last change, use postorder.
6177 * posix/bug-regex31.c: New file.
6178 * posix/Makefile: Add rules to build and run bug-regex31.
6180 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6183 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6186 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6187 to have entries in sys_siglist.
6190 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6193 2010-10-07 Jakub Jelinek <jakub@redhat.com>
6196 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6197 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6198 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6199 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6200 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6201 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6202 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6203 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6204 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6205 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6206 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6207 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6208 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6209 * math/ftestexcept.c (fetestexcept): Likewise.
6210 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6211 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6212 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6213 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6214 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6215 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6218 2010-10-11 Ulrich Drepper <drepper@gmail.com>
6221 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6224 2010-10-06 Ulrich Drepper <drepper@gmail.com>
6226 * string/bug-strstr1.c: New file.
6227 * string/Makefile: Add rules to build and run bug-strstr1.
6229 2010-10-05 Eric Blake <eblake@redhat.com>
6232 * string/str-two-way.h (two_way_long_needle): Always clear memory
6233 when skipping input due to the shift table.
6235 2010-10-03 Ulrich Drepper <drepper@gmail.com>
6238 * malloc/mcheck.c: Handle large requests.
6241 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6242 for strncmp and strncasecmp.
6243 * string/stratcliff.c: Add tests for strcmp and strncmp.
6244 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6246 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6248 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6251 2010-09-30 Andreas Jaeger <aj@suse.de>
6253 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6254 (CGROUP_SUPER_MAGIC): Define.
6255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6256 Handle btrfs and cgroup file systems.
6257 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6260 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
6262 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6263 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6265 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6268 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6269 trying to locate the ELF header.
6271 2010-09-27 Andreas Schwab <schwab@redhat.com>
6274 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6275 Mask out sign-bit copies when constructing f_fsid.
6277 2010-09-24 Petr Baudis <pasky@suse.cz>
6279 * debug/stack_chk_fail_local.c: Add missing licence exception.
6280 * debug/warning-nop.c: Likewise.
6282 2010-09-15 Joseph Myers <joseph@codesourcery.com>
6284 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6285 implementing getdents64 using getdents syscall, set d_type if
6286 __ASSUME_GETDENTS32_D_TYPE.
6288 2010-09-16 Andreas Schwab <schwab@redhat.com>
6290 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6291 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
6293 2010-09-21 Ulrich Drepper <drepper@redhat.com>
6296 * posix/unistd.h: Undo change of feature selection for ftruncate from
6299 2010-09-20 Ulrich Drepper <drepper@redhat.com>
6301 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
6304 2010-09-20 Andreas Schwab <schwab@redhat.com>
6306 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
6308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6310 2010-09-14 Andreas Schwab <schwab@redhat.com>
6312 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
6313 variables after CHECK_SP call.
6314 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6316 2010-09-13 Andreas Schwab <schwab@redhat.com>
6317 Ulrich Drepper <drepper@redhat.com>
6319 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6320 re-relocationg ld.so.
6321 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6322 _dl_init_paths call.
6323 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
6326 2010-09-14 Ulrich Drepper <drepper@redhat.com>
6328 * resolv/res_init.c (__res_vinit): Count the default server we added.
6330 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
6331 Ulrich Drepper <drepper@redhat.com>
6334 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6335 (____longjmp_chk): Use %ebx for saving value across system call.
6338 2010-09-06 Andreas Schwab <schwab@redhat.com>
6340 * manual/Makefile: Don't mix pattern rules with normal rules.
6342 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
6344 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6346 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6347 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6348 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6349 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6353 2010-09-04 Ulrich Drepper <drepper@redhat.com>
6356 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6357 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6359 2010-09-02 Ulrich Drepper <drepper@redhat.com>
6361 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6362 * sysdeps/x86_64/addmul_1.S: Likewise.
6363 * sysdeps/x86_64/lshift.S: Likewise.
6364 * sysdeps/x86_64/mul_1.S: Likewise.
6365 * sysdeps/x86_64/rshift.S: Likewise.
6366 * sysdeps/x86_64/sub_n.S: Likewise.
6367 * sysdeps/x86_64/submul_1.S: Likewise.
6369 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6371 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6372 Define __sched_param instead of SCHED_* and sched_param when
6373 <bits/sched.h> is included with __need_schedparam defined.
6374 * bits/sched.h [__need_schedparam]
6375 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
6376 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6377 (__defined_schedparam): Define to 1.
6378 (__sched_param): New structure, identical to sched_param.
6379 (__need_schedparam): Undefine.
6381 2010-08-31 Mike Frysinger <vapier@gentoo.org>
6383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6384 (epoll_create1): Declare.
6386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6388 2010-08-31 Andreas Schwab <schwab@redhat.com>
6391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6392 shifting retval into place.
6394 2010-09-01 Ulrich Drepper <drepper@redhat.com>
6396 * nis/rpcsvc/nis.h: Update copyright notice.
6397 * nis/rpcsvc/nis.x: Likewise.
6398 * nis/rpcsvc/nis_callback.h: Likewise.
6399 * nis/rpcsvc/nis_callback.x: Likewise.
6400 * nis/rpcsvc/nis_object.x: Likewise.
6401 * nis/rpcsvc/nis_tags.h: Likewise.
6402 * nis/rpcsvc/yp.h: Likewise.
6403 * nis/rpcsvc/yp.x: Likewise.
6404 * nis/rpcsvc/ypupd.h: Likewise.
6405 * nis/yp_xdr.c: Likewise.
6406 * nis/ypupdate_xdr.c: Likewise.
6408 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
6409 mainly the body of pmap_getport. Add parameters to specify timeouts.
6410 (pmap_getport): Use __libc_rpc_getport.
6411 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6412 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6413 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6415 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6420 2010-08-27 Roland McGrath <roland@redhat.com>
6422 * sysdeps/i386/i686/multiarch/Makefile
6423 (CFLAGS-varshift.c): New variable.
6425 2010-08-27 Ulrich Drepper <drepper@redhat.com>
6427 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6428 * sysdeps/i386/i686/multiarch/varshift.c: New file.
6430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6432 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6434 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
6436 * sysdeps/x86_64/strlen.S: Unroll the loop.
6437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6438 strlen-sse2 strlen-sse2-bsf.
6439 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
6440 __strlen_no_bsf if bit_Slow_BSF is set.
6441 (__strlen_sse42): Removed.
6442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
6443 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
6445 2010-08-25 Roland McGrath <roland@redhat.com>
6447 * sysdeps/x86_64/multiarch/varshift.S: File removed.
6448 * sysdeps/x86_64/multiarch/varshift.c: New file.
6449 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
6450 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
6451 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
6452 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6454 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
6456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6457 strlen-sse2 strlen-sse2-bsf.
6458 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
6459 __strlen_sse2_bsf if bit_Slow_BSF is unset.
6460 (__strlen_sse2): Removed.
6461 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
6462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
6463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6464 bit_Slow_BSF for Atom.
6465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
6466 (index_Slow_BSF): Define.
6467 (HAS_SLOW_BSF): Define.
6469 2010-08-25 Ulrich Drepper <drepper@redhat.com>
6472 * resolv/res_init.c (__res_vinit): When no server address at all
6473 is given default to loopback.
6475 2010-08-24 Roland McGrath <roland@redhat.com>
6477 * configure.in: Remove config-name.h generation.
6478 * configure: Regenerated.
6479 * config-name.in: File removed.
6480 * scripts/config-uname.sh: New file.
6481 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
6482 ($(objdir)config-name.h): New target.
6484 * sunrpc/rpc_parse.h: Avoid nested comment.
6486 2010-08-24 Richard Henderson <rth@redhat.com>
6487 Ulrich Drepper <drepper@redhat.com>
6488 H.J. Lu <hongjiu.lu@intel.com>
6490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
6491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6492 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6493 Replace _mm_srli_si128 with __m128i_shift_right. Replace
6494 _mm_alignr_epi8 with _mm_loadu_si128.
6495 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6496 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6497 (__m128i_shift_right): Removed.
6498 * sysdeps/i386/i686/multiarch/varshift.h: New file.
6499 * sysdeps/i386/i686/multiarch/varshift.S: New file.
6500 * sysdeps/x86_64/multiarch/varshift.h: New file.
6501 * sysdeps/x86_64/multiarch/varshift.S: New file.
6503 2010-08-21 Mike Frysinger <vapier@gentoo.org>
6505 * configure.in: Move assembler checks to before sysdep dir checking.
6507 2010-08-20 Petr Baudis <pasky@suse.cz>
6509 * LICENSES: Sync the sunrpc license.
6511 2010-08-19 Ulrich Drepper <drepper@redhat.com>
6513 * sunrpc/auth_des.c: Update copyright notice once again.
6514 * sunrpc/auth_none.c: Likewise.
6515 * sunrpc/auth_unix.c: Likewise.
6516 * sunrpc/authdes_prot.c: Likewise.
6517 * sunrpc/authuxprot.c: Likewise.
6518 * sunrpc/bindrsvprt.c: Likewise.
6519 * sunrpc/clnt_gen.c: Likewise.
6520 * sunrpc/clnt_perr.c: Likewise.
6521 * sunrpc/clnt_raw.c: Likewise.
6522 * sunrpc/clnt_simp.c: Likewise.
6523 * sunrpc/clnt_tcp.c: Likewise.
6524 * sunrpc/clnt_udp.c: Likewise.
6525 * sunrpc/clnt_unix.c: Likewise.
6526 * sunrpc/des_crypt.c: Likewise.
6527 * sunrpc/des_soft.c: Likewise.
6528 * sunrpc/get_myaddr.c: Likewise.
6529 * sunrpc/getrpcport.c: Likewise.
6530 * sunrpc/key_call.c: Likewise.
6531 * sunrpc/key_prot.c: Likewise.
6532 * sunrpc/openchild.c: Likewise.
6533 * sunrpc/pm_getmaps.c: Likewise.
6534 * sunrpc/pm_getport.c: Likewise.
6535 * sunrpc/pmap_clnt.c: Likewise.
6536 * sunrpc/pmap_prot.c: Likewise.
6537 * sunrpc/pmap_prot2.c: Likewise.
6538 * sunrpc/pmap_rmt.c: Likewise.
6539 * sunrpc/rpc/auth.h: Likewise.
6540 * sunrpc/rpc/auth_unix.h: Likewise.
6541 * sunrpc/rpc/clnt.h: Likewise.
6542 * sunrpc/rpc/des_crypt.h: Likewise.
6543 * sunrpc/rpc/key_prot.h: Likewise.
6544 * sunrpc/rpc/netdb.h: Likewise.
6545 * sunrpc/rpc/pmap_clnt.h: Likewise.
6546 * sunrpc/rpc/pmap_prot.h: Likewise.
6547 * sunrpc/rpc/pmap_rmt.h: Likewise.
6548 * sunrpc/rpc/rpc.h: Likewise.
6549 * sunrpc/rpc/rpc_des.h: Likewise.
6550 * sunrpc/rpc/rpc_msg.h: Likewise.
6551 * sunrpc/rpc/svc.h: Likewise.
6552 * sunrpc/rpc/svc_auth.h: Likewise.
6553 * sunrpc/rpc/types.h: Likewise.
6554 * sunrpc/rpc/xdr.h: Likewise.
6555 * sunrpc/rpc_clntout.c: Likewise.
6556 * sunrpc/rpc_cmsg.c: Likewise.
6557 * sunrpc/rpc_common.c: Likewise.
6558 * sunrpc/rpc_cout.c: Likewise.
6559 * sunrpc/rpc_dtable.c: Likewise.
6560 * sunrpc/rpc_hout.c: Likewise.
6561 * sunrpc/rpc_main.c: Likewise.
6562 * sunrpc/rpc_parse.c: Likewise.
6563 * sunrpc/rpc_parse.h: Likewise.
6564 * sunrpc/rpc_prot.c: Likewise.
6565 * sunrpc/rpc_sample.c: Likewise.
6566 * sunrpc/rpc_scan.c: Likewise.
6567 * sunrpc/rpc_scan.h: Likewise.
6568 * sunrpc/rpc_svcout.c: Likewise.
6569 * sunrpc/rpc_tblout.c: Likewise.
6570 * sunrpc/rpc_util.c: Likewise.
6571 * sunrpc/rpc_util.h: Likewise.
6572 * sunrpc/rpcinfo.c: Likewise.
6573 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6574 * sunrpc/rpcsvc/key_prot.x: Likewise.
6575 * sunrpc/rpcsvc/klm_prot.x: Likewise.
6576 * sunrpc/rpcsvc/mount.x: Likewise.
6577 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6578 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6579 * sunrpc/rpcsvc/rex.x: Likewise.
6580 * sunrpc/rpcsvc/rstat.x: Likewise.
6581 * sunrpc/rpcsvc/rusers.x: Likewise.
6582 * sunrpc/rpcsvc/sm_inter.x: Likewise.
6583 * sunrpc/rpcsvc/spray.x: Likewise.
6584 * sunrpc/rpcsvc/yppasswd.x: Likewise.
6585 * sunrpc/rtime.c: Likewise.
6586 * sunrpc/svc.c: Likewise.
6587 * sunrpc/svc_auth.c: Likewise.
6588 * sunrpc/svc_authux.c: Likewise.
6589 * sunrpc/svc_raw.c: Likewise.
6590 * sunrpc/svc_run.c: Likewise.
6591 * sunrpc/svc_simple.c: Likewise.
6592 * sunrpc/svc_tcp.c: Likewise.
6593 * sunrpc/svc_udp.c: Likewise.
6594 * sunrpc/svc_unix.c: Likewise.
6595 * sunrpc/svcauth_des.c: Likewise.
6596 * sunrpc/xcrypt.c: Likewise.
6597 * sunrpc/xdr.c: Likewise.
6598 * sunrpc/xdr_array.c: Likewise.
6599 * sunrpc/xdr_float.c: Likewise.
6600 * sunrpc/xdr_mem.c: Likewise.
6601 * sunrpc/xdr_rec.c: Likewise.
6602 * sunrpc/xdr_ref.c: Likewise.
6603 * sunrpc/xdr_sizeof.c: Likewise.
6604 * sunrpc/xdr_stdio.c: Likewise.
6606 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6609 2010-08-19 Andreas Schwab <schwab@redhat.com>
6611 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6613 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
6615 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6616 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6617 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6618 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6619 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6620 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6621 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6622 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6625 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6626 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6627 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6628 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6630 2010-07-26 Anton Blanchard <anton@samba.org>
6632 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6633 * malloc/arena.c (heap_trim): Likewise.
6635 2010-08-16 Ulrich Drepper <drepper@redhat.com>
6637 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6640 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6642 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
6644 * sysdeps/i386/elf/Makefile: New file.
6646 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6648 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6653 2010-08-15 Ulrich Drepper <drepper@redhat.com>
6655 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6657 * sysdeps/multiarch/strcmp.S: Likewise.
6659 2010-08-14 Ulrich Drepper <drepper@redhat.com>
6661 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6662 strncase_l-nonascii.
6663 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6664 Add strncase_l-ssse3.
6665 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6666 * sysdeps/x86_64/strcmp.S: Likewise.
6667 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6668 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6669 * sysdeps/x86_64/strncase.S: New file.
6670 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6671 * sysdeps/x86_64/strncase_l.S: New file.
6672 * string/Makefile (strop-tests): Add strncasecmp.
6673 * string/test-strncasecmp.c: New file.
6675 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6678 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6681 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6683 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6685 2010-08-12 Ulrich Drepper <drepper@redhat.com>
6687 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6691 2010-05-01 Alan Modra <amodra@gmail.com>
6693 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6694 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6695 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6696 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6697 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6698 tidying. Don't tail-call __sigjmp_save for static lib.
6699 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6701 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6702 (CALL_MCOUNT): Add eh info, and nop after bl.
6703 (TAIL_CALL_SYSCALL_ERROR): New macro.
6704 (PSEUDO_RET): Use it.
6705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6706 Correct save location of integer regs and cr.
6707 (_dl_profile_resolve): Correct cr save location. Delete nops
6708 after bl when SHARED. Reduce cfi size a little by better
6709 placement of cfi directives.
6710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6711 make a stack frame. Instead use parm save area as a temp.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6713 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6715 Don't make a stack frame for parent, use parm save area.
6716 Increase child stack frame to 112 bytes. Don't save unused reg,
6717 and adjust reg usage. Set up cfi on error recovery and
6718 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6720 (__makecontext): Add dummy nop after jump to exit.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6722 Use correct parm save area and cr save, reduce stack frame.
6723 Correct cfi for possible PSEUDO_RET frame setup.
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6725 Branch to local label emitted by PSEUDO_RET rather than
6728 2010-08-12 Andreas Schwab <schwab@redhat.com>
6731 * locale/programs/locale.c (print_assignment): New function.
6732 (show_locale_vars): Use it.
6734 2010-08-11 Ulrich Drepper <drepper@redhat.com>
6736 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6738 (struct statfs64): Likewise.
6739 (_STATFS_F_FLAGS): Define.
6740 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6742 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6743 (ST_VALID): Define locally.
6744 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6745 __statvfs_getflags, use the provided value.
6746 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6747 __ASSUME_STATFS_F_FLAGS.
6749 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6751 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6753 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6754 fanotify_mask for GLIBC_2.13.
6755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6756 fanotify_init and fanotify_mark.
6757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6758 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6762 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6763 prlimit64 for GLIBC_2.13.
6764 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6770 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
6774 * sysdeps/unix/sysv/linux/prlimit.c: New file.
6777 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6778 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6780 * nss/Makefile: Add rules to build and run tst-nss-test1.
6781 * shlib-versions: Add entry for libnss_test1.
6782 * nss/nss_test1.c: New file.
6783 * nss/tst-nss-test1.c: New file.
6785 * nss/nsswitch.c (__nss_database_custom): Define new variable.
6786 (__nss_configure_lookup): Set appropriate entry in
6787 __nss_configure_lookup to true.
6788 * nss/nsswitch.h: Define enum with indeces of databases in
6789 databases and __nss_database_custom arrays. Declare
6790 __nss_database_custom.
6791 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6792 to avoid using nscd when custom rules are installed.
6793 * nss/getXXbyYY_r.c: Likewise.
6794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6796 * nss/nss_files/files-parse.c: Whitespace fixes.
6798 2010-08-09 Ulrich Drepper <drepper@redhat.com>
6801 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6802 * posix/fnmatch_loop.c: Likewise.
6804 2010-07-17 Andi Kleen <ak@linux.intel.com>
6806 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6807 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6808 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6809 * Versions.def [GLIBC_2.13]: Add.
6811 2010-08-06 Ulrich Drepper <drepper@redhat.com>
6813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6814 Also fail if tpwd after pwuid call is NULL.
6816 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6818 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6819 when converting to ms.
6821 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6823 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6824 EOPNOTSUPP errors with ENOTTY.
6825 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6826 EOPNOTSUPP errors with ENOTTY.
6828 2010-07-31 Ulrich Drepper <drepper@redhat.com>
6830 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6831 Add strcasecmp_l-ssse3.
6832 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6834 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6835 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6836 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6838 2010-07-30 Ulrich Drepper <drepper@redhat.com>
6840 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
6842 * string/Makefile (strop-tests): Add strcasecmp.
6843 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6844 strcasecmp_l-nonascii.
6845 (gen-as-const-headers): Add locale-defines.sym.
6846 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
6847 * sysdeps/x86_64/strcasecmp.S: New file.
6848 * sysdeps/x86_64/strcasecmp_l.S: New file.
6849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
6850 * sysdeps/x86_64/locale-defines.sym: New file.
6851 * string/test-strcasecmp.c: New file.
6853 * string/test-strcasestr.c: Test both ends of the range of characters.
6854 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
6856 2010-07-29 Roland McGrath <roland@redhat.com>
6859 * manual/locale.texi (Yes-or-No Questions): Fix example code.
6861 2010-07-27 Ulrich Drepper <drepper@redhat.com>
6863 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
6866 2010-07-27 Andreas Schwab <schwab@redhat.com>
6868 * manual/memory.texi (Malloc Tunable Parameters): Document
6871 2010-07-26 Roland McGrath <roland@redhat.com>
6874 * configure.in (-fgnu89-inline check): Set and substitute
6875 gnu89_inline, not libc_cv_gnu89_inline.
6876 * configure: Regenerated.
6877 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
6879 2010-07-26 Ulrich Drepper <drepper@redhat.com>
6881 * string/test-strnlen.c: New file.
6882 * string/Makefile (strop-tests): Add strnlen.
6883 * string/tester.c (test_strnlen): Add a few more test cases.
6884 * string/tst-strlen.c: Better error reporting.
6886 * sysdeps/x86_64/strnlen.S: New file.
6888 2010-07-24 Ulrich Drepper <drepper@redhat.com>
6890 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
6891 lower-latency instructions.
6893 2010-07-23 Ulrich Drepper <drepper@redhat.com>
6895 * string/test-strcasestr.c: New file.
6896 * string/test-strstr.c: New file.
6897 * string/Makefile (strop-tests): Add strstr and strcasestr.
6898 * string/str-two-way.h: Don't undefine MAX.
6899 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
6901 2010-07-21 Andreas Schwab <schwab@redhat.com>
6903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6904 strcasestr-nonascii.
6905 (CFLAGS-strcasestr-nonascii.c): Define.
6906 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
6907 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
6908 Remove unused attribute.
6910 2010-07-20 Roland McGrath <roland@redhat.com>
6912 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
6913 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
6914 ld.so.cache was broken. With it, there is no way to disable dsocaps
6915 like LD_HWCAP_MASK can disable hwcaps.
6917 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6919 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
6921 2010-07-16 Ulrich Drepper <drepper@redhat.com>
6923 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
6925 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6926 __strcasestr_sse42_nonascii.
6927 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
6928 strcasestr-nonascii.c.
6929 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
6931 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
6933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
6934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
6935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
6936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
6938 2010-07-09 Ulrich Drepper <drepper@redhat.com>
6940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
6943 2010-07-06 Andreas Schwab <schwab@redhat.com>
6946 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
6949 2010-07-06 Ulrich Drepper <drepper@redhat.com>
6951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
6952 _PC_PIPE_BUF using F_GETPIPE_SZ.
6954 2010-07-05 Roland McGrath <roland@redhat.com>
6956 * manual/arith.texi (Rounding Functions): Fix rint description
6957 implicit in round description.
6959 2010-07-02 Ulrich Drepper <drepper@redhat.com>
6961 * elf/Makefile: Fix linking for a few tests to make recent linker
6964 2010-06-30 Andreas Schwab <schwab@redhat.com>
6966 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6967 $(common-objpfx)libc_nonshared.a.
6969 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
6971 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
6972 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
6973 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6974 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6975 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
6976 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
6977 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6978 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
6984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
6986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
6993 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
6994 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
6995 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
6996 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
6997 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
6998 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
6999 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7000 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7001 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7002 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7003 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7004 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7020 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7022 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7023 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7024 * string/memmove.c (memmove): Renamed to ...
7025 (MEMMOVE): ...this. Default to memmove.
7026 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7027 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7030 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7031 mempcpy-ssse3-back memmove-ssse3-back.
7032 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7035 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7036 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7037 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7038 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7039 * sysdeps/x86_64/multiarch/memmove.c: New file.
7040 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7041 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7042 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7043 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7047 (index_Fast_Copy_Backward): Define.
7048 (HAS_ARCH_FEATURE): Define.
7049 (HAS_FAST_REP_STRING): Define.
7050 (HAS_FAST_COPY_BACKWARD): Define.
7052 2010-06-21 Andreas Schwab <schwab@redhat.com>
7054 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7055 Restore proper fallback handling.
7057 2010-06-19 Ulrich Drepper <drepper@redhat.com>
7060 * posix/group_member.c (__group_member): Correct checking loop.
7062 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7063 OOM in getpwuid_r correctly. Return error number when the caller
7064 should return, otherwise -1.
7065 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7066 call returning > 0 value.
7067 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7069 2010-06-07 Andreas Schwab <schwab@redhat.com>
7071 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7072 libc_nonshared.a from targets in modules-names.
7074 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
7076 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7079 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
7081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7086 2010-06-02 Andreas Schwab <schwab@redhat.com>
7088 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7090 2010-06-14 Ulrich Drepper <drepper@redhat.com>
7092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7099 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7101 2010-06-14 Roland McGrath <roland@redhat.com>
7103 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7105 2010-06-07 Jakub Jelinek <jakub@redhat.com>
7107 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7108 __REDIRECT followed by __THROW.
7109 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7110 * posix/getopt.h (getopt): Likewise.
7112 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7114 * hurd/lookup-at.c (__file_name_lookup_at): Accept
7115 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
7116 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7118 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7119 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7121 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
7123 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7125 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
7128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7129 Properly check family and model.
7131 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
7133 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7135 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
7137 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7139 2010-05-21 Ulrich Drepper <drepper@redhat.com>
7141 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7144 2010-05-19 Andreas Schwab <schwab@redhat.com>
7146 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7149 2010-05-21 Andreas Schwab <schwab@redhat.com>
7151 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7152 and internal_recvmmsg.
7153 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7154 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7155 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7156 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7158 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7159 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7160 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7162 2010-05-20 Andreas Schwab <schwab@redhat.com>
7164 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7166 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
7168 POWER7 optimizations.
7169 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7170 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7172 2010-05-19 Ulrich Drepper <drepper@redhat.com>
7174 * version.h: Update for 2.13 development version.
7176 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
7178 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7179 exceptions. Return 0.
7181 2010-05-07 Roland McGrath <roland@redhat.com>
7183 * elf/ldconfig.c (main): Add a const.
7185 2010-05-06 Ulrich Drepper <drepper@redhat.com>
7187 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7188 (args_options): Add no-idn option.
7189 (ahosts_keys_int): Add idn_flags to ai_flags.
7190 (parse_option): Handle 'i' option to clear idn_flags.
7192 * malloc/malloc.c (_int_free): Possible race in the most recently
7193 added check. Only act on the data if no current modification
7196 See ChangeLog.17 for earlier changes.