Bug fixes for ____longjmp_chk on sparc.
[glibc.git] / ChangeLog
blobe83e46b8cd43cb737397d7b3a3de39cb559d8521
1 2011-08-22  David S. Miller  <davem@davemloft.net>
3         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4         sigaltstack check, add missing cfi directives.
5         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6         missing cfi directives, and sigaltstack handling.
8 2011-08-16  Andreas Schwab  <schwab@redhat.com>
10         [BZ #11724]
11         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12         object is seen twice.
13         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15         * elf/Makefile (distribute): Add tst-initorder2.c.
16         (tests): Add tst-initorder2.
17         (modules-names): Add tst-initorder2a tst-initorder2b
18         tst-initorder2c tst-initorder2d.  Add rules to build them.
19         ($(objpfx)tst-initorder2.out): New rule.
20         * elf/tst-initorder2.c: New file.
21         * elf/tst-initorder2.exp: New file.
23 2011-08-22  Andreas Schwab  <schwab@redhat.com>
25         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28         dependencies back to end of function.
30         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31         $(elfobjdir)/ld.so.
33 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
37         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40         of __vdso_gettimeofday.
41         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43         attribute_hidden.
44         (_libc_vdso_platform_setup): Remove initialization of
45         __vdso_gettimeofday and __vdso_time.
47 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50         and fgetc_unlocked.
51         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52         getc_unlocked.
54         * elf/dl-open.c (add_to_global): Report additions to the global scope
55         for LD_DEBUG=scopes.
56         (dl_open_worker): Also print scope of newly loaded dependencies.
57         (_dl_show_scope): Indicate if there is no scope.
59         [BZ #13114]
60         * stdio-common/Makefile (tests): Add bug24.
61         * stdio-common/bug24.c: New file.
63 2011-08-19  Andreas Jaeger  <aj@suse.de>
65         [BZ #13114]
66         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67         non-existant file when using close-on-exec mode.
69 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72         the very first instruction.
74         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75         the CFI state in the end.
76         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77         inclusion of dl-trampoline.h.
78         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
80 2011-08-19  Andreas Schwab  <schwab@redhat.com>
82         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83         expectations for long double.
85         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88 2011-08-14  David S. Miller  <davem@davemloft.net>
90         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91         artificual limit depends upon the system page size.
93 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
95         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
96         * resolv/Makefile: Define CFLAGS-libresolv.
98 2011-08-17  Andreas Schwab  <schwab@redhat.com>
100         * nss/makedb.c (compute_tables): Make variables used in nested
101         function static.
103 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
105         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
106         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
107         if buffer was too small.
109         * elf/pldd.c (main): Attach to all threads in the process.
110         Rewrite /proc handling to use *at functions.
112 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
114         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
115         specifies first scope to show.
116         (dl_open_worker): Update callers.  Move printing scope of new
117         object to before the relocation.
118         * elf/rtld.c (dl_main): Update _dl_show_scope call.
119         * sysdeps/generic/ldsodefs.h: Update declaration.
121         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
122         string for the scope number.
124 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
126         * nscd/servicescache.c (cache_addserv): Make sure written is always
127         initialized.
129 2011-08-14  Roland McGrath  <roland@hack.frob.com>
131         * sysdeps/i386/i486/bits/atomic.h
132         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
133         statement expression, so as to suppress "set but not used" warning.
134         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
136         * string/strncat.c (STRNCAT): Use prototype definition.
138         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
139         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
140         -Iprograms here.
141         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
142         (localedef-modules): Add localedef.
143         (locale-modules): Add locale.
145         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
146         * elf/rtld.c (dl_main): Invert order of assignment in last change,
147         to avoid a warning.
149 2011-08-14  David S. Miller  <davem@davemloft.net>
151         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
152         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
154 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
156         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
157         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
158         * elf/rtld.c (dl_main): Set l_name of vDSO.
159         Call _dl_show_scope when DL_DEBUG_SCOPES.
160         (process_dl_debug): Recognize scopes flag and also set it for all.
161         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
162         Declare _dl_show_scope.
164         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
165         (do_dlopen): Pass caller_dlopen to dl_open.
166         (__libc_dlopen_mode): Initialize caller_dlopen.
168         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
169         of libc.  Make tolower call locale-independent.  Optimize a bit by
170         using isdigit instead of isalnum.
171         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
173 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
175         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
176         was a dependency or dynamically loaded.
178 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
180         * intl/l10nflist.c: Allow architecture-specific pop function.
181         * sysdeps/x86_64/l10nflist.c: New file.
183         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
184         classification.
186 2011-08-10  Andreas Schwab  <schwab@redhat.com>
188         * include/dirent.h: Add libc_hidden_proto for scandirat and
189         scandirat64.  Don't declare __scandirat64.
190         * dirent/scandirat.c: Add libc_hidden_def.
191         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
192         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
194 2011-08-10  David S. Miller  <davem@davemloft.net>
196         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
197         enum.
198         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
199         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
200         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
202 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
204         * Versions.def [libc]: Add GLIBC_2.15.
205         * dirent/Makefile (routines): Add scandirat and scandirat64.
206         * dirent/Versions [libc]: Export scandirat and scandirat64 for
207         GLIBC_2.15.
208         * dirent/dirent.h: Declare scandirat and scandirat64.
209         * dirent/scandirat.c: New file.
210         * dirent/scandirat64.c: New file.
211         * sysdeps/wordsize-64/scandirat.c: New file.
212         * sysdeps/wordsize-64/scandirat64.c: New file.
213         * dirent/opendir.c: Define opendirat.
214         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
215         using scandirat.
216         * dirent/scandir64.c: Adjust for scandir.c change.
217         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
218         __scandirat64, and __scandir_cancel_handler.
219         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
220         additional parameter and use openat instead of open (outside of ld.so).
221         Add new __opendir as wrapper around __opendirat.
222         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
223         here without requiring old scandirat implementation.
225 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
227         * dirent/scandir.c (cancel_handler): Renamed to
228         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
229         defined.  Adjust users.
230         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
231         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
233 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
235         * string/test-string.h (IMPL): Use __STRING to expand name and then
236         stringify it.
238         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
239         of cleanups.
241 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
243         * string/Makefile: Update.
244         (strop-tests): Append strncat.
245         * string/test-wcscmp.c: New file.
246         New comprehensive test for wcscmp.
247         * string/test-strcmp.c: Update.
248         (WIDE): New define.
250 2011-07-22  Andreas Schwab  <schwab@redhat.com>
252         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
253         line.
255 2011-07-26  Andreas Schwab  <schwab@redhat.com>
257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
258         encoding to ACE if AI_IDN.
260 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
262         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
263         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
265 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
267         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
268         Fix overflow bug in strncat.
269         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
271         * string/test-strncat.c: Update.
272         Add new tests for checking overflow bugs.
274 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
277         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
278         * sysdeps/i386/i686/multiarch/strcat.S: New file.
279         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
280         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
281         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
282         * sysdeps/i386/i686/multiarch/strncat.S: New file.
283         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
284         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
286         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
287         (USE_AS_STRCAT): Define.
288         Add strcat and strncat support.
289         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
291 2011-07-25  Andreas Schwab  <schwab@redhat.com>
293         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
294         __n bigger than INT_MAX+1.
295         (__strncmp_g): Likewise.
297 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
299         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
300         * libio/stido.h: Likewise.
302         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
303         (AF_NFC): Define.
304         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
305         (AF_NFC): Define.
307         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
308         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
309         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
310         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
311         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
313         [BZ #13021]
314         * scripts/test-installation.pl: Don't expect libnss_test1 to be
315         installed.
317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
318         typo.
319         (_dl_x86_64_save_sse): Likewise.
321 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
324         OSXSAVE.
325         (_dl_x86_64_save_sse): Likewise.
327         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
329         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
331 2011-07-21  Andreas Schwab  <schwab@redhat.com>
333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
334         change.
335         (_dl_x86_64_save_sse): Use correct AVX check.
337 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
339         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
340         bug in strncpy/strncat.
341         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
343 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
345         * string/tester.c (test_strcat): Add tests for different alignments
346         of source and destination.
347         (test_strncat): Likewise.
349 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
351         [BZ #12852]
352         * posix/glob.c (glob): Check passed in values before using them in
353         expressions to avoid some overflows.
354         (glob_in_dir): Likewise.
356         [BZ #13007]
357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
358         check for AVX enablement so that we don't crash with old kernels and
359         new hardware.
360         * elf/tst-audit4.c: Add same checks here.
361         * elf/tst-audit6.c: Likewise.
363         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
365 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
367         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
369 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
371         * po/cs.po: Update from translation team.
372         * po/bg.po: Likewise.
374 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
376         * misc/sys/cdefs.h: Add support for const attribute.
377         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
378         to gnu_dev_{major,minor,makedev} functions.
380 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
382         * intl/dcigettext.c (get_output_charset): Add missing bracket.
384 2011-07-20  Andreas Schwab  <schwab@redhat.com>
386         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
387         strlen results.
389 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
391         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
392         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
393         register in order to avoid conflicts with the soft frame pointer
394         being held in r11 when necessary.
395         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
396         (INTERNAL_VSYSCALL_NCS): Likewise.
398 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
400         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
401         * elf/dl-fini.c (_dl_fini): Adjust caller.
402         * elf/dl-close.c (_dl_close_worker): Likewise.
403         * sysdeps/generic/ldsodefs.h: Adjust declaration.
405 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
407         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
408         "aux_cache->nlibs < 0".
410         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
411         in the reload-count case.
413 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
416         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
417         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
418         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
419         * sysdeps/x86_64/multiarch/strcat.S: New file.
420         * sysdeps/x86_64/multiarch/strncat.S: New file.
421         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
422         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
423         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
424         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
425         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
426         (USE_AS_STRCAT): Define.
427         Add strcat and strncat support.
428         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
429         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
430         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
431         * string/strncat.c: Update.
432         (USE_AS_STRNCAT): Define.
433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
434         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
435         and i7.
436         * sysdeps/x86_64/multiarch/init-arch.h
437         (bit_Prefer_PMINUB_for_stringop): New.
438         (index_Prefer_PMINUB_for_stringop): Likewise.
439         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
440         bit_Prefer_PMINUB_for_stringop.
442 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
444         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
445         buffer64.
446         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
447         of casting of buffer.
448         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
449         buffer32 and buffer64.
450         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
451         writes instead of casting of buffer.
452         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
453         buffer32.
454         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
455         casting of buffer.
457 2011-07-19  Andreas Schwab  <schwab@redhat.com>
459         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
461 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
463         * nscd/nscd.c (termination_handler): Don't do anything for a database
464         if it has not yet been initialized.
466 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
468         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
470 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
472         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
474 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
476         * po/nl.po: Update from translation team.
477         * po/sv.po: Likewise.
479 2011-07-16  Roland McGrath  <roland@hack.frob.com>
481         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
482         now disallowed by GCC.
484         * configure.in (use-default-link): Default to yes if a test -shared
485         link meets our qualifications.
486         * configure: Regenerated.
488         * config.make.in (output-format): New variable.
489         * configure.in: Check for ld --print-output-format support.
490         * configure: Regenerated.
491         * Makerules ($(common-objpfx)format.lds)
492         [$(output-format) != unknown]: Just use $(output-format),
493         instead of the linker-script munging.
495 2011-07-14  Roland McGrath  <roland@hack.frob.com>
497         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
498         of $(common-objpfx)shlib.lds.
499         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
501         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
502         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
504         * configure.in (-z relro check): Adjust test code to add a large
505         writable data section after it.
506         * configure: Regenerated.
508 2011-07-11  Roland McGrath  <roland@hack.frob.com>
510         * configure.in (-z relro check): Fix test code to make the variable
511         truly const.
512         * configure: Regenerated.
514 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
516         * nscd/nscd.h (struct traced_file): Define.
517         (struct database_dyn): Remove inotify_descr, reset_res, and filename
518         elements.  Add traced_files.
519         (inotify_fd): Declare.
520         (register_traced_file): Declare.
521         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
522         (inotify_fd): Export.
523         (resolv_conf_descr): Remove.
524         (nscd_init): Move inotify descriptor creation to main.
525         Don't register files for notification here.
526         (register_traced_file): New function.
527         (invalidate_cache): Don't use reset_res to determine whether to call
528         res_init, go through the list of registered files.
529         (main_loop_poll): The inotify descriptors are now stored in the
530         structures for the traced files.
531         (main_loop_epoll): Likewise
532         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
533         to __nss_disable_nscd.
534         * nscd/cache.c (prune_cache): There is no single inotify descriptor
535         for a database anymore.  Check the records for all the registered
536         files instead.
537         * nss/Makefile (libnss_files-routines): Add files-init.
538         (libnss_db-routines): Add db-init.
539         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
540         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
541         * nss/nss_db/db-init.c: New file.
542         * nss/nss_files/files-init.c: New file.
543         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
544         __nss_lookup_function.
545         (__nss_lookup_function): Call nss_load_library.
546         (nss_load_all_libraries): New function.
547         (__nss_disable_nscd): Take parameter with callback function for files
548         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
549         used for the cached services.
550         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
551         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
552         options for features to all the files in nscd.
554         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
556 2011-07-10  Roland McGrath  <roland@hack.frob.com>
558         * csu/elf-init.c (__libc_csu_init): Comment typo.
560 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
562         * po/pl.po: Update from translation team.
563         * po/ja.po: Likewise.
564         * po/ru.po: Likewise.
565         * po/ko.po: Likewise.
566         * po/fr.po: Likewise.
568 2011-07-09  Roland McGrath  <roland@hack.frob.com>
570         * configure.in (.ctors/.dtors header and trailer check):
571         Use an empirical test on a built program.
572         * configure: Regenerated.
574         * configure.in (-z relro check): Use an empirical test on a built DSO.
575         Detect, but do not require, on ia64.
576         * configure: Regenerated.
578         * configure.in (READELF): Find it with AC_CHECK_TOOL.
579         Update tests that use readelf to use $READELF instead.
580         * configure: Regenerated.
582 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
584         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
585         if the result is not used.
587 2011-07-05  Andreas Jaeger  <aj@suse.de>
589         [BZ#9696]
590         * stdlib/tst-strtod.c: Add testcase.
592 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
594         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
595         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
596         The latter has a higher limit.  Take additional parameter to pass to
597         the new function.
598         (__pathconf): Pass file to __statfs_link_max.
599         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
600         __statfs_link_max.
601         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
602         __statfs_link_max.
604         [BZ #12868]
605         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
606         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
607         Handle Lustre.
608         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
609         (__statfs_filesize_max): Likewise.
610         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
612 2011-07-05  Andreas Jaeger  <aj@suse.de>
614         * resolv/res_comp.c (dn_skipname): Remove unused variable.
616 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
618         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
619         `status' variable.
620         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
621         Likewise.
623 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
625         * Makefile (strop-tests): Add strncat.
626         * string/test-strncat.c: New file.
628 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
630         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
632 2011-06-21  Andreas Jaeger  <aj@suse.de>
634         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
635         Copy rule from iconvdata/Makefile.
637 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
639         [BZ #12922]
640         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
641         but no long options are defined, just return 'W'.
643 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
645         [BZ #9696]
646         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
648 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
650         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
651         netgroups to read.
652         (innetgr): Likewise.
654 2011-07-05  Roland McGrath  <roland@hack.frob.com>
656         * config.make.in (install_root): Default to $(DESTDIR).
658 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
660         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
662 2011-07-02  Roland McGrath  <roland@hack.frob.com>
664         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
666         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
667         containing directory rather than embedding absolute directory names.
669         * scripts/check-local-headers.sh: Rewritten using awk.
670         Match by word, not by line.  Print error messages for matches.
671         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
673         * Makerules [shlib-lds-flags empty]:
674         ($(common-objpfx)libc_pic.opts): New target.
675         ($(common-objpfx)libc_pic.os.clean): New target.
676         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
678         * config.make.in (OBJCOPY): New variable.
679         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
680         * configure: Regenerated.
682         * config.make.in (use-default-link): New variable.
683         * configure.in (use_default_link): Grok --with-default-link to set it.
684         * configure: Regenerated.
685         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
686         (shlib-lds, shlib-lds-flags): Define to empty.
688         * Makerules (shlib-lds): New variable.
689         (shlib-lds-flags): New variable.
690         (build-shlib, build-moduile, build-module-asneeded): Use it.
691         ($(common-objpfx)libc.so): Use $(shlib-lds).
692         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
693         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
695         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
696         DT_FLAGS/DT_FLAGS_1 with zero flags.
698         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
699         linker script munging.
701 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
703         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
704         as 128-bit value.
705         * crypt/sha512.c (sha512_process_block): Perform total addition using
706         128-bit if possible.
707         (__sha512_finish_ctx): Likewise.
708         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
709         as 64-bit value.
710         * crypt/sha256.c (SWAP64): Define.
711         (sha256_process_block): Perform total addition using 64-bit if
712         possible.
713         (__sha256_finish_ctx): Likewise.
715 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
717         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
719         * nscd/hstcache.c (cache_addhst): Likewise.
720         * nscd/grpcache.c (cache_addgr): Likewise.
721         * nscd/aicache.c (addhstaiX): Likewise
722         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
724 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
726         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
727         * nscd/initgrcache.c (addinitgroupsX): Likewise.
728         * nscd/hstcache.c (cache_addhst): Likewise.
729         * nscd/grpcache.c (cache_addgr): Likewise.
730         * nscd/aicache.c (addhstaiX): Likewise
732 2011-07-01  Andreas Schwab  <schwab@redhat.com>
734         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
735         domain only when needed.
737 2011-06-30  Andreas Schwab  <schwab@redhat.com>
739         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
740         is always restored.
742 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
744         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
745         are re-adding the entry.
746         * nscd/servicescache.c (cache_addserv): Likewise.
748 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
750         * sysdeps/generic/dl-irel.h: fix protection against multiple
751         inclusions.
752         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
754 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
756         [BZ #12935]
757         * malloc/memusage.sh: Fix quoting in message.
758         * debug/xtrace.sh: Likewise.
760         * configure.in: Remove support for --experimental-malloc option, make
761         it the default.
762         * config.make.in: Likewise.
763         * malloc/Makefile: Likewise.
765 2011-06-27  Andreas Schwab  <schwab@redhat.com>
767         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
768         two-byte characters.
770 2011-06-27  Roland McGrath  <roland@hack.frob.com>
772         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
773         AC_CACHE_CHECK invocation.
774         * configure: Regenerated.
776         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
778 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
780         [BZ #12350]
781         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
782         bit from old_res_options.
784         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
786         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
787         value type for setfct.
789 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
791         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
792         __gettimeofday instead of gettimeofday.
794 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
796         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
798 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
800         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
803         info.
805 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
808         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
809         strcpy-sse2-unaligned strncpy-sse2-unaligned
810         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
811         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
812         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
813         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
814         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
815         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
816         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
817         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
818         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
819         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
820         (STRCPY): Support SSE2 and SSSE3 versions.
822 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
824         [BZ #12874]
825         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
826         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
827         kernels which artificially limit size of requests.
829 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
832         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
833         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
834         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
835         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
836         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
837         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
838         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
839         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
840         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
841         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
842         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
843         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
844         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
845         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
847         Enable unaligned load optimization for Intel Core i3, i5 and i7
848         processors.
849         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
850         Define.
851         (index_Fast_Unaligned_Load): Define.
852         (HAS_FAST_UNALIGNED_LOAD): Define.
854 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
856         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
858 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
860         [BZ #12907]
861         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
862         until it is clear that the information is realy needed.
863         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
865 2011-06-22  Andreas Schwab  <schwab@redhat.com>
867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
869 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
871         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
872         /sys/devices/system/cpu/online if it is usable.
874         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
875         reading the information from the /proc filesystem to once a second.
877 2011-06-21  Andreas Jaeger  <aj@suse.de>
879         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
880         NULL after inclusion of kernel headers.
882 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
884         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
885         calls to internal_setent.
887         [BZ #12885]
888         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
889         addresses using gethostbyname4_r ignore IPv4 addresses.
891         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
892         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
894         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
896 2011-06-20  David S. Miller  <davem@davemloft.net>
898         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
899         inclusions.
900         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
902         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
903         (elf_irel): Use it.
904         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
905         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
906         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
907         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
908         * sysdeps/x86_64/dl-irel.h: Likewise.
910         * elf/dl-runtime.c: Use elf_ifunc_invoke.
911         * elf/dl-sym.c: Likewise.
913 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
915         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
916         need to dereference resplen2.
918 2011-06-14  Andreas Schwab  <schwab@redhat.com>
920         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
922 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
924         * Makeconfig: Define vardbdir and inst_vardbdir.
925         * nss/Makefile: Add rules to install db-Makefile.
927         * nss/nss_db/db-XXX.c: Cleanup.
929         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
930         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
931         GLIBC_PRIVATE.
932         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
933         * nss/makedb.c: Implement -g option to specify that value strings
934         are generated and should not be added to table iterated over for
935         get*ent calls.
936         * nss/nss_db/db-initgroups.c: New file.
938         * nss/getent.c: Add support for initgroups lookups through getgrouplist
939         interface.
941         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
942         (internal_getgrouplist): Adjust to name change.
943         Update use_initgroups_entry if this is not the first call.
944         * nss/databases.def: Add initgroups entry.
946         * nss/makedb.c (compute_tables): Check result of multiple hash table
947         sizes to minimize maximum chain length.
949 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
951         * Versions.def: Add entry for libnss_db.
952         * shlib-versions: Likewise.
953         * nss/Makefile: Add rules to build libnss_db.
954         * nss/Versions: Add libnss_db information.  Organize libnss_files
955         entries better.
956         * nss/db-Makefile: Add gshadow support.  Change rules for the new
957         makedb progra.  Some minor improvements to generate smaller files.
958         * nss/nss_db/nss_db.h: Move NSS database header data structures to
959         here from...
960         * nss/makedb.c: ...here.
961         Improve database format to be smaller and require less memory at
962         runtime.
963         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
964         db anymore.
965         * nss/nss_db/db-netgrp.c: Likewise.
966         * nss/nss_db/db-open.c: Likewise.
967         * nss/nss_files/flies-XXX.x: Adjust comments.
968         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
969         * nss/nss_files/files-grp.c: Likewise.
970         * nss/nss_files/files-hosts.c: Likewise.
971         * nss/nss_files/files-network.c: Likewise.
972         * nss/nss_files/files-proto.c: Likewise.
973         * nss/nss_files/files-pwd.c: Likewise.
974         * nss/nss_files/files-rpc.c: Likewise.
975         * nss/nss_files/files-service.c: Likewise.
976         * nss/nss_files/files-sgrp.c: Likewise.
977         * nss/nss_files/files-spwd.c: Likewise.
978         * nss/nss_db/db-alias.c: Removed.
979         * nss/nss_db/dummy-db.h: Removed.
981 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
983         * nss/makedb.c: Rewritten to not use database library.
984         * nss/Makefile: Update to build new makedb program.
986 2011-06-14  Andreas Jaeger  <aj@suse.de>
988         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
989         memset declaration.
991 2011-06-10  Andreas Schwab  <schwab@redhat.com>
993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
994         tmpbuf.
996 2011-06-10  Roland McGrath  <roland@hack.frob.com>
998         * Makerules (shlib.lds): Fail if the linker script comes out empty.
999         * elf/Makefile ($(objpfx)ld.so): Likewise.
1001         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
1002         Don't list ld.so twice in dependencies.
1004         * posix/bug-regex31.c: Include <stdlib.h>.
1006         * nscd/hstcache.c (cache_addhst): Remove unused variable.
1008         * nis/nss_compat/compat-spwd.c
1009         (getspent_next_nss_netgr): Remove unused variable.
1010         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1012         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
1013         nonmembers" output to use the right array.
1015         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
1017         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
1019         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
1020         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
1021         * catgets/gencat.c (read_input_file): Likewise.
1022         * locale/programs/locarchive.c (enlarge_archive): Likewise.
1024         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
1025         variable definition inside #if's controlling its use.
1027         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
1029         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
1031         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
1033         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
1034         unreachable code.
1036         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
1038         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
1039         * configure: Regenerated.
1041         * Makerules: Revert last change.
1042         * elf/Makefile: Likewise.
1044 2011-06-09  Roland McGrath  <roland@hack.frob.com>
1046         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
1047         * elf/Makefile ($(objpfx)librtld.os): Likewise.
1048         (reloc-link): Likewise.
1050 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
1052         * elf/Makefile: Add rules to build pldd.
1053         * elf/pldd.c: New file.
1054         * elf/pldd-xx.c: New file.
1056 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
1058         * version.h: Update for 2.15 development version.
1060 2011-06-07  David S. Miller  <davem@davemloft.net>
1062         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
1063         ifuncs.
1064         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1065         elf_machine_lazy_rel): Likewise.
1066         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1067         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1068         elf_machine_lazy_rel): Likewise.
1069         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
1070         dl_hwcap via passed in argument.
1071         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
1072         Likewise.
1074 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1076         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
1078 2011-06-06  Roland McGrath  <roland@hack.frob.com>
1080         [BZ #12849]
1081         * manual/fdl-1.1.texi: New file, verbatim from:
1082         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
1083         * manual/lgpl-2.1.texi: New file, verbatim from:
1084         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
1085         * manual/Makefile (licenses): New variable, list those new file names.
1086         (texis): Use it.
1087         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
1089         * manual/fdl.texi: File removed.
1090         * manual/lesser.texi: File removed.
1091         * manual/libc.texinfo (Copying, Documentation License):
1092         Use new @include file names, put @appendix directive before @include.
1094 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
1096         [BZ #12841]
1097         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
1098         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
1099         (mq_open): Add __NTH.
1101 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1104         Assume Intel Core i3/i5/i7 processor if AVX is available.
1106 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
1108         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1109         typo.
1111 2011-05-31  Andreas Schwab  <schwab@redhat.com>
1113         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
1114         memory.  Use alloca_account.  Fix memory leak when retrying.
1116 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
1118         * version.h (RELEASE): Bump for 2.14 release.
1119         * include/features.h (__GLIBC_MINOR__): Bump to 14.
1121         * config.make.in (RANLIB): Remove entry.
1123 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
1125         * po/Makefile (po-sed-cmd): Add ksh to extensions.
1126         (libc.pot): Work around missing support for .ksh extension in xgettext.
1128         [BZ #12684]
1129         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
1130         if both request failed.
1131         (send_dg): In case of server errors clear resplen or *resplen2.
1133         [BZ #12454]
1134         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
1135         when there are multiple maps.
1136         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
1137         (_dl_fini): Remove test here.
1139         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
1141 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
1143         [BZ #12350]
1144         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
1145         bit from old_res_options.
1146         (gaih_inet): Likewise.
1148         [BZ #11099]
1149         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
1150         as signed.
1152         * resolv/res_init.c (res_setoptions): Make the code more compact.
1154         [BZ #11558]
1155         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
1156         set RES_USEVC.
1158         [BZ #11634]
1159         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
1161         * malloc/malloc.h: Mark malloc hook variables as deprecated.
1163         [BZ #11781]
1164         * malloc/malloc.h: Declare malloc hook variables as volatile.
1166         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
1167         in last patch.
1169         [BZ #11799]
1170         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
1171         raise in the comment.
1172         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1173         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1174         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1176 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
1178         [BZ #12811]
1179         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
1180         grow the buffers more if it already has to be sufficient.
1181         (build_wcs_upper_buffer): Likewise.
1182         * posix/regexec.c (check_matching): Likewise.
1183         (clean_state_log_if_needed): Likewise.
1184         (extend_buffers): Don't enlarge buffers beyond size of the input
1185         buffer.
1186         Patches mostly by Emil Wojak <emil@wojak.eu>.
1187         * posix/bug-regex32.c: New file.
1188         * posix/Makefile (tests): Add bug-regex32.
1190         * locale/findlocale.c (_nl_find_locale): Return right away if
1191         _nl_explode_name failed.
1192         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1194         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
1196         * debug/xtrace.sh: Unify messages.
1197         * malloc/memusage.sh: Likewise.
1199         [BZ #12813]
1200         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
1201         time symbol from vDSO.  Substitute with vsyscall if not available.
1202         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
1203         __vdso_time.
1205         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
1206         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
1207         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
1208         Add sendmmsg and internal_sendmmsg.
1209         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
1210         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
1211         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
1213         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
1214         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
1215         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
1217 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
1219         [BZ #12813]
1220         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
1221         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
1222         available.
1223         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
1224         __vdso_getcpu.
1226         [BZ #12814]
1227         * iconvdata/Makefile (tests): Add bug-iconv9.
1228         * iconvdata/bug-iconv9.c: New file.
1230 2011-05-27  Andreas Schwab  <schwab@redhat.com>
1232         [BZ #12814]
1233         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
1235 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
1237         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1238         (struct user_regs_struct): Change intcs field back to cs.
1240 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
1242         * po/ja.po: Update from translation team.
1244 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
1246         [BZ #12795]
1247         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
1248         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1250 2011-05-20  Andreas Schwab  <schwab@redhat.com>
1252         * stdlib/longlong.h: Update from GCC.
1254 2011-05-23  Andreas Schwab  <schwab@redhat.com>
1256         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
1257         parameter name.
1258         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
1259         Add parameter name.
1260         (__sysconf): Pass it down.
1262 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
1264         [BZ #12671]
1265         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
1266         some situations.
1267         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1268         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
1269         add in in __libc_use_alloca calls.  Adjust callers.
1270         (glob): Use malloc in some situations.
1272         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
1273         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
1274         pltexit.
1276 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
1278         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
1279         and CLOCK_BOOTTIME_ALARM.
1281         [BZ #12782]
1282         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
1283         is returned.
1285         * string/_strerror.c (__strerror_r): Print negative errors as signed
1286         numbers.
1288         [BZ #12777]
1289         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
1290         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
1291         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
1293         * configure.in: Fix typo in redirection and correct removal of test
1294         files in two cases.
1296         [BZ #12788]
1297         * locale/setlocale.c (new_composite_name): Fix test to check for
1298         identical name of all categories.
1300         [BZ #12792]
1301         * libio/filedoalloc.c (local_isatty): New function.
1302         (_IO_file_doallocate): Use local_isatty.
1303         * stdio-common/perror.c (perror): In case a new stream is used
1304         forward the stream error.
1305         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
1306         error flag.
1308 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
1310         [BZ #11869]
1311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
1312         alloca.
1313         * include/alloca.h (extend_alloca_account): Define.
1315         [BZ #11857]
1316         * posix/regex.h: Fix comments with documentation of user-accessible
1317         fields after compilation and describe correct free'ing of pattern
1318         after re_compile_pattern.
1319         Patch by Reuben Thomas <rrt@sc3d.org>.
1321 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
1323         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
1324         and -mno-altivec to prevent the compiler from using Altivec and/or
1325         VSX instructions when the corresponding registers are not available.
1327 2011-05-19  Andreas Schwab  <schwab@redhat.com>
1329         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
1331 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
1333         * libio/freopen.c (freopen): Use __dup2, not dup2.
1334         * libio/freopen64.c (freopen64): Likewise.
1336 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1338         [BZ #12775]
1339         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
1340         * math/Makefile (tests): Add test-powl.
1341         (CFLAGS-test-powl.c): Define.
1342         * math/test-powl.c: New file.
1344 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1346         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
1348 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
1350         [BZ #11837]
1351         * iconvdata/gb18030.c: Update to GB18020-2005.
1353 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
1355         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
1356         RE_SYNTAX_POSIX_AWK): Update to match recent development.
1357         Patch by Aharon Robbins <arnold@skeeve.com>.
1359         [BZ #11892]
1360         * stdlib/putenv.c (putenv): Don't always create copy of the variable
1361         on the stack.
1363         [BZ #11895]
1364         * misc/pselect.c (__pselect): Handle timeout value errors hidden
1365         through underflows.
1367         [BZ #12766]
1368         * misc/error.c (error_at_line): Ensure file_name and old_file_name
1369         point to strings before performing equality test for error_one_per_line
1370         mode.
1372         [BZ #11697]
1373         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
1375         [BZ #11820]
1376         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1377         (struct user_fpregs_struct): Avoid __uint*_t types.
1379         [BZ #6420]
1380         * malloc/mtrace.c (tr_where): Add additional parameter to point to
1381         symbol info.  Use it instead of calling _dl_addr locally.
1382         (lock_and_info): New function.
1383         (tr_freehook): Call lock_and_info and pass symbol info as additional
1384         parameter to tr_where.
1385         (tr_mallochook): Likewise.
1386         (tr_reallochook): Likewise.
1387         (tr_memalignhook): Likewise.
1389         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
1390         used and couldn't be at all thread-safe.
1392 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
1394         * libio/freopen.c (freopen): Don't close old file descriptor
1395         before the new one is opened.  Instead dup the new file descriptor
1396         to the old one after the new stream is created.
1397         * libio/freopen64.c (freopen64): Likewise.
1398         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
1399         * libio/fileops.c (_IO_new_file_close_it): Handle new
1400         _IO_FLAGS2_NOCLOSE flag.
1401         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
1402         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
1403         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
1404         _IO_FLAGS2_NOCLOSE flag.
1405         * include/unistd.h: Add hidden_proto for dup3.
1406         Define __have_dup3.
1407         * io/dup3.c: Define hidden symbol.
1408         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
1410         [BZ #7101]
1411         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
1412         when an incomplete long option is used.
1413         * posix/tst-getopt_long1.c: New file.
1414         * posix/Makefile (tests): Add tst-getopt_long1.
1416         [BZ #10138]
1417         * scripts/config.guess: Update from autoconf-2.68.
1418         * scripts/config.sub: Likewise.
1420         [BZ #10157]
1421         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
1422         tests into ...
1423         (has_cpuclock): ...this.  New function.
1424         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
1425         macro here based on has_cpuclock code.
1427         [BZ #10149]
1428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1429         First byte (not low byte) is now always NUL.
1430         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
1432         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1433         Use non-cancelable interfaces.
1435         [BZ #9809]
1436         * locale/iso-639.def: Add entry for Sorani.
1438         [BZ #11901]
1439         * include/stdlib.h: Move include protection to the right place.
1440         Define abort_msg_s.  Declare __abort_msg with it.
1441         * stdlib/abort.c (__abort_msg): Adjust type.
1442         * assert/assert.c (__assert_fail_base): New function.  Majority
1443         of code from __assert_fail.  Allocate memory for __abort_msg with
1444         mmap.
1445         (__assert_fail): Now call __assert_fail_base.
1446         * assert/assert-perr.c: Remove bulk of implementation.  Use
1447         __assert_fail_base.
1448         * include/assert.hL Declare __assert_fail_base.
1449         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
1450         mmap.
1451         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
1453 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
1455         [BZ #11952]
1456         [BZ #12453]
1457         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
1458         until all modules are registered in the DTV.
1459         * elf/Makefile: Add rules to build and run tst-tls19.
1460         * elf/tst-tls19.c: New file.
1461         * elf/tst-tls19mod1.c: New file.
1462         * elf/tst-tls19mod2.c: New file.
1463         * elf/tst-tls19mod3.c: New file.
1464         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
1466         [BZ #12083]
1467         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
1468         correctly.
1470         [BZ #12601]
1471         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
1472         two-byte sequence errors.
1473         * iconvdata/Makefile (tests): Add bug-iconv8.
1474         * iconvdata/bug-iconv8.c: New file.
1476         [BZ #12626]
1477         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
1478         buf2 definition.
1480         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
1482         [BZ #12432]
1483         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
1484         (dummy_getcfa): New function.
1485         (init): Get _Unwind_GetCFA address, use dummy if not found.
1486         (backtrace_helper): In recursion check, also check whether CFA changes.
1487         (__backtrace): Completely initialize arg.
1489         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
1490         storing incomplete byte sequence in state object.  Avoid testing for
1491         guaranteed too small input if we know there is enough data available.
1493 2011-05-11  Andreas Schwab  <schwab@redhat.com>
1495         * Makeconfig (+link-pie): Indent.
1496         * Rules (binaries-pie): Define if $(have-fpie) and
1497         $(build-shared).
1498         (binaries-shared): Also filter out $(binaries-pie).
1499         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
1500         * nscd/Makefile (others-pie): Add nscd.
1501         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
1502         ($(objpfx)nscd): Remove command override.
1503         * login/Makefile (others-pie): Add pt_chown.
1504         ($(objpfx)pt_chown): Remove command override.
1505         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
1506         remove command overrides.
1508 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
1510         * libio/tst_putwc.c: Fix error messages.
1512         [BZ #12724]
1513         * libio/fileops.c (_IO_new_file_close_it): Always flush when
1514         currently writing and seek to current position when not.
1515         * libio/Makefile (tests): Add bug-fclose1.
1516         * libio/bug-fclose1.c: New file.
1518 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
1520         [BZ #12511]
1521         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
1522         don't set DF_1_NODELETE here.
1523         (do_lookup_x): When entering new entry test for copy relocation
1524         and if necessary set DF_1_NODELETE flag.
1525         * elf/tst-unique4.cc: New file.
1526         * elf/tst-unique4.h: New file.
1527         * elf/tst-unique4lib.cc: New file.
1528         * elf/Makefile: Add rules to build and run tst-unique4.
1529         Patch by Piotr Bury <pbury@goahead.com>.
1531 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
1533         [BZ #12052]
1534         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
1536         [BZ #12625]
1537         * misc/mntent_r.c (addmntent): Flush the stream after the output
1539         [BZ #12393]
1540         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
1541         (is_trusted_path_normalize): Skip initial colon.  Append slash
1542         to empty buffer.  Duplicate is_trusted_path code but allow
1543         constructed patch to be prefix.
1544         (is_dst): Allow $ORIGIN followed by /.
1545         (_dl_dst_substitute): Correct clearing of check_for_trusted.
1546         Correct testing of result of is_trusted_path_normalize
1547         (decompose_rpath): Fix warning.
1549 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
1551         [BZ #11257]
1552         * grp/initgroups.c (internal_getgrouplist): When we found the service
1553         list through the initgroups entry in nsswitch.conf do not always
1554         continue on a successful lookup.  Don't always use the
1555         __nss_group_database value if it is set.
1556         * nss/nsswitch.conf (initgroups): Change action for successful db
1557         lookup to continue for compatibility.
1559 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
1561         [BZ #11532]
1562         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
1563         and CP774 modules.
1564         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
1565         and CP774 modules.
1566         * iconvdata/tst-tables.sh: Likewise.
1567         * iconvdata/cp770.c: New file.
1568         * iconvdata/cp771.c: New file.
1569         * iconvdata/cp772.c: New file.
1570         * iconvdata/cp773.c: New file.
1571         * iconvdata/cp774.c: New file.
1572         * iconvdata/testdata/CP770: New file.
1573         * iconvdata/testdata/CP770..UTF8: New file.
1574         * iconvdata/testdata/CP771: New file.
1575         * iconvdata/testdata/CP771..UTF8: New file.
1576         * iconvdata/testdata/CP772: New file.
1577         * iconvdata/testdata/CP772..UTF8: New file.
1578         * iconvdata/testdata/CP773: New file.
1579         * iconvdata/testdata/CP773..UTF8: New file.
1580         * iconvdata/testdata/CP774: New file.
1581         * iconvdata/testdata/CP774..UTF8: New file.
1583         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
1584         END CHARMAP line.
1585         * iconvdata/gen-8bit-gap.sh: Likewise.
1586         * iconvdata/gen-8bit.sh: Likewise.
1588         * locale/iso-639.def: Add ary entry.
1590         [BZ #11258]
1591         * locale/C-translit.h.in: Add U20A1 transliteration.
1593         [BZ #12178]
1594         * locale/iso-639.def: Add wae entry.
1595         Patch by Kevin Bortis <bortis@translate-wae.ch>.
1597         [BZ #12545]
1598         * locale/programs/localedef.c (construct_output_path): Use ssize_t
1599         for n.
1601         [BZ #12711]
1602         * locale/C-translit.h.in: Add entry for U20B9.
1603         Patch by pravin.d.s@gmail.com.
1605 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
1607         [BZ #12713]
1608         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
1609         ENAMETOOLONG use generic getcwd.
1610         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
1611         in rtld.  Use *stat64.
1612         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
1613         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
1614         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
1615         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
1616         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
1617         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
1618         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
1619         __fstatat64 macros.
1620         * include/dirent.h: Add libc_hidden_proto for rewinddir.
1621         * dirent/rewinddir.c: Add libc_hidden_def.
1622         * sysdeps/mach/hurd/rewinddir.c: Likewise.
1623         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
1625         * include/dirent.h (__alloc_dir): Add flags parameter.
1626         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
1627         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
1628         __alloc_dir.
1629         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
1630         from fdopendir if O_CLOEXEC is already set.
1632 2011-03-15  Alan Modra  <amodra@gmail.com>
1634         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
1635         l_tls_firstbyte_offset non-zero.  Save padding offset in
1636         l_tls_firstbyte_offset for later use.
1637         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
1638         freeing static tls block.
1640 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
1642         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
1643         where #ifdef was intended.  The intent is to prevent ARG_MAX from
1644         being defined by the kernel headers.
1646 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
1648         [BZ #12734]
1649         * resolv/resolv.h: Define RES_NOTLDQUERY.
1650         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
1651         no-tld-query and set RES_NOTLDQUERY.
1652         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
1653         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
1654         modern BIND to search name as TLD unless forbidden.
1656 2011-05-07  Petr Baudis  <pasky@suse.cz>
1657             Ulrich Drepper  <drepper@gmail.com>
1659         [BZ #12393]
1660         * elf/dl-load.c (fillin_rpath): Move trusted path check...
1661         (is_trusted_path): ...to here.
1662         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
1663         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
1664         using is_trusted_path_normalize() in setuid scripts.
1666 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1668         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
1669         __BEGIN/__END_DECLS.
1671 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
1673         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
1674         NSS_STATUS_NOTFOUND if no record was found.
1676 2011-05-05  Andreas Schwab  <schwab@redhat.com>
1678         * sunrpc/Makefile (headers): Add rpc/netdb.h.
1679         (headers-not-in-tirpc): Remove rpc/netdb.h
1680         * resolv/netdb.h: Revert last change.
1682 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1684         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
1685         circular dependency between libgcc.a and libc.a.
1687 2011-05-05  Andreas Schwab  <schwab@redhat.com>
1689         * resolv/netdb.h: Don't include <rpc/netdb.h>.
1690         * nis/Makefile: Don't install rpcsvc/*.
1691         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
1692         instead of <rpc/types.h>.
1693         (MAXHOSTNAMELEN): Define.
1695 2011-05-03  Andreas Schwab  <schwab@redhat.com>
1697         * elf/ldconfig.c (add_dir): Don't crash on empty path.
1699 2011-04-28  Maciej Babinski  <mbabinski@google.com>
1701         [BZ #12714]
1702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
1703         gethostbyname4_r when IPv6 results are possible.
1705 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
1707         [BZ #12723]
1708         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
1709         _PC_PIPE_BUF handling.
1711 2011-04-30  Bruno Haible  <bruno@clisp.org>
1713         [BZ #12717]
1714         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
1715         * resolv/netdb.h (getnameinfo): Change type of flags parameter
1716         to 'int'.
1717         * inet/getnameinfo.c (getnameinfo): Likewise.
1719 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
1721         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
1722         to groups setting in database lookup.
1723         * nss/nsswitch.conf: Add initgroups entry.
1725 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
1727         [BZ #12685]
1728         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
1729         mode string.
1730         Patch by Eric Blake <eblake@redhat.com>.
1732 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1734         * sunrpc/Makefile (need-export-routines): Add svc_run.
1735         (routines): Remove svc_run.
1736         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
1737         * sunrpc/clnt_perr.c (clnt_perrno): Export.
1738         * sunrpc/svc_run.c (svc_run): Likewise.
1739         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1741 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
1743         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
1744         problem in reallocation in last patch.
1746 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
1748         * sunrpc/Makefile: Move inclusion of Rules.
1750 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
1752         * nss/nss_files/files-initgroups.c: New file.
1753         * nss/Makefile (libnss_files-routines): Add files-initgroups.
1754         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
1755         _nss_files_initgroups_dyn.
1757 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
1759         * elf/elf.h (R_ARM_IRELATIVE): Define.
1761 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
1763         * po/ru.po: Update from translation team.
1765 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
1767         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
1768         dependencies.
1770 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
1772         [BZ #12653]
1773         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
1774         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
1775         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1776         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1777         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1779 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
1781         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
1782         differing bytes.
1783         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1784         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1785         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1787 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
1789         [BZ #12420]
1790         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
1791         storing it.
1792         * stdlib/bug-getcontext.c: New file.
1793         * stdlib/Makefile: Add rules to build and run bug-getcontext.
1795 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1797         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
1798         instructions into .machine "z9-109".
1799         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1800         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1802 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1804         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
1805         between environment variables and auxiliary vector.
1807 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
1809         * Makefile: Add rules to build linkobj/libc.so.
1810         * include/libc-symbols.h: Define libc_hidden_nolink.
1811         * include/rpc/auth.h: Mark functions which are to be hidden.
1812         * include/rpc/auth_des.h: Likewise.
1813         * include/rpc/auth_unix.h: Likewise.
1814         * include/rpc/clnt.h: Likewise.
1815         * include/rpc/des_crypt.h: Likewise.
1816         * include/rpc/key_prot.h: Likewise.
1817         * include/rpc/pmap_clnt.h: Likewise.
1818         * include/rpc/pmap_prot.h: Likewise.
1819         * include/rpc/pmap_rmt.h: Likewise.
1820         * include/rpc/rpc_msg.h: Likewise.
1821         * include/rpc/svc.h: Likewise.
1822         * include/rpc/svc_auth.h: Likewise.
1823         * include/rpc/xdr.h: Likewise.
1824         * nis/Makefile: Link all DSOs against linkobj/libc.so.
1825         * nss/Makefile: Likewise.
1826         * sunrpc/Makefile: Don't install headers.  Build library with normal
1827         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
1828         * sunrpc/auth_des.c: Hide exported symbols by default, export some
1829         for the compat linking library.  Remove use of INTDEF/INTUSE.
1830         * sunrpc/auth_none.c: Likewise.
1831         * sunrpc/auth_unix.c: Likewise.
1832         * sunrpc/authdes_prot.c: Likewise.
1833         * sunrpc/authuxprot.c: Likewise.
1834         * sunrpc/clnt_gen.c: Likewise.
1835         * sunrpc/clnt_perr.c: Likewise.
1836         * sunrpc/clnt_raw.c: Likewise.
1837         * sunrpc/clnt_simp.c: Likewise.
1838         * sunrpc/clnt_tcp.c: Likewise.
1839         * sunrpc/clnt_udp.c: Likewise.
1840         * sunrpc/clnt_unix.c: Likewise.
1841         * sunrpc/des_crypt.c: Likewise.
1842         * sunrpc/des_soft.c: Likewise.
1843         * sunrpc/get_myaddr.c: Likewise.
1844         * sunrpc/key_call.c: Likewise.
1845         * sunrpc/key_prot.c: Likewise.
1846         * sunrpc/netname.c: Likewise.
1847         * sunrpc/pm_getmaps.c: Likewise.
1848         * sunrpc/pm_getport.c: Likewise.
1849         * sunrpc/pmap_clnt.c: Likewise.
1850         * sunrpc/pmap_prot.c: Likewise.
1851         * sunrpc/pmap_prot2.c: Likewise.
1852         * sunrpc/pmap_rmt.c: Likewise.
1853         * sunrpc/publickey.c: Likewise.
1854         * sunrpc/rpc_cmsg.c: Likewise.
1855         * sunrpc/rpc_common.c: Likewise.
1856         * sunrpc/rpc_dtable.c: Likewise.
1857         * sunrpc/rpc_prot.c: Likewise.
1858         * sunrpc/rpc_thread.c: Likewise.
1859         * sunrpc/rtime.c: Likewise.
1860         * sunrpc/svc.c: Likewise.
1861         * sunrpc/svc_auth.c: Likewise.
1862         * sunrpc/svc_authux.c: Likewise.
1863         * sunrpc/svc_raw.c: Likewise.
1864         * sunrpc/svc_run.c: Likewise.
1865         * sunrpc/svc_simple.c: Likewise.
1866         * sunrpc/svc_tcp.c: Likewise.
1867         * sunrpc/svc_udp.c: Likewise.
1868         * sunrpc/svc_unix.c: Likewise.
1869         * sunrpc/svcauth_des.c: Likewise.
1870         * sunrpc/xcrypt.c: Likewise.
1871         * sunrpc/xdr.c: Likewise.
1872         * sunrpc/xdr_array.c: Likewise.
1873         * sunrpc/xdr_float.c: Likewise.
1874         * sunrpc/xdr_intXX_t.c: Likewise.
1875         * sunrpc/xdr_mem.c: Likewise.
1876         * sunrpc/xdr_rec.c: Likewise.
1877         * sunrpc/xdr_ref.c: Likewise.
1878         * sunrpc/xdr_sizeof.c: Likewise.
1879         * sunrpc/xdr_stdio.c: Likewise.
1881 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
1883         [BZ #12650]
1884         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
1885         * sysdeps/ia64/dl-tls.h: Likewise.
1886         * sysdeps/powerpc/dl-tls.h: Likewise.
1887         * sysdeps/s390/dl-tls.h: Likewise.
1888         * sysdeps/sh/dl-tls.h: Likewise.
1889         * sysdeps/sparc/dl-tls.h: Likewise.
1890         * sysdeps/x86_64/dl-tls.h: Likewise.
1891         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
1893 2011-03-14  Andreas Schwab  <schwab@redhat.com>
1895         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
1896         rpath element also skip the following colon.
1897         (expand_dynamic_string_token): Add is_path parameter and pass
1898         down to DL_DST_REQUIRED and _dl_dst_substitute.
1899         (decompose_rpath): Call expand_dynamic_string_token with
1900         non-zero is_path.  Ignore empty rpaths.
1901         (_dl_map_object_from_fd): Call expand_dynamic_string_token
1902         with zero is_path.
1904 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
1906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1907         Make cancelable.
1909 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
1911         [BZ #12655]
1912         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
1913         Patch by Filipe David Manana <fdmanana@apache.org>.
1915 2011-04-07  Andreas Schwab  <schwab@redhat.com>
1917         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
1918         Maintain aligned stack.
1919         (CHECK_RSP): Remove unused macro.
1921 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
1923         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
1924         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
1926 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
1928         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
1930         * include/features.h: Mention __USE_XOPEN2K8 in comment.
1932 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
1934         [BZ #12518]
1935         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
1936         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
1937         * sysdeps/x86_64/memmove.c: New file.
1938         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
1939         (memcpy): Renamed to ...
1940         (__new_memcpy): This.
1941         (memcpy): Provide GLIBC_2_14 memcpy.
1942         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
1943         (memcpy): Provide GLIBC_2_2_5 memcpy.
1945 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
1947         [BZ #12631]
1948         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
1950 2011-03-30  Andreas Schwab  <schwab@redhat.com>
1952         * misc/syncfs.c: New file.
1953         * misc/Makefile (routines): Add syncfs.
1954         * posix/unistd.h: Declare syncfs.
1955         * sysdeps/unix/syscalls.list: Add syncfs.
1957 2011-04-01  Andreas Schwab  <schwab@redhat.com>
1959         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
1960         open_by_handle_at.
1961         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1962         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1963         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1964         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1965         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1966         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1969 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
1971         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
1972         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1973         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1975         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1977         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1979         * io/Makefile: Compile fallocate.c, fallocate64.c, and
1980         sync_file_range.c with -fexceptions.
1981         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
1982         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
1983         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1984         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1985         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1986         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
1988         sync_file_range as cancellation point
1989         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
1990         now a wrapper around __call_sync_file_range with cancellation handling.
1991         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
1992         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
1993         function name to __call_sync_file_range.
1994         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
1995         Add call_sync_file_range.
1997 2011-04-01  Andreas Schwab  <schwab@redhat.com>
1999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2000         bits/timex.h.
2002 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
2004         * iconv/iconv.h: Fix typo in comment.
2005         * io/fcntl.h: Likewise.
2006         * libio/stdio.h: Likewise.
2007         * posix/spawn.h: Likewise.
2008         * posix/unistd.h: Likewise.
2009         * stdlib/stdlib.h: Likewise.
2010         * time/time.h: Likewise.
2011         * wcsmbs/wchar.h: Likewise.
2013         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
2014         open_by_handle): Add.
2015         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
2016         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
2017         Augment a few comments.
2018         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2019         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2020         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2021         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2022         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2023         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
2024         open_by_handle.
2026         * io/fcntl.h (AT_EMPTY_PATH): Define.
2028 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
2030         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
2031         * sysdeps/unix/sysv/linux/bits/time.h: New file.
2032         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
2033         to...
2034         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
2035         * Versions.def: Add GLIBC_2.14.
2036         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
2037         Export.
2039 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
2041         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
2042         round counter.
2043         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2045 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2047         [BZ #12597]
2048         * string/test-strncmp.c (do_page_test): New function.
2049         (check2): Likewise.
2050         (test_main): Call check2.
2051         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
2053 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
2055         [BZ #12587]
2056         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
2057         Handle cache information in CPU leaf 4.
2058         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2060 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
2062         [BZ #12583]
2063         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
2064         character representation.
2065         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
2067 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
2069         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
2070         END(__isnan) to END(__isnanf) to match function entry point/label
2071         EALIGN(__isnanf,...).
2073 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
2075         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
2077 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
2079         [BZ #12510]
2080         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
2081         copy from the symbol referenced in the relocation to initialize the
2082         used variable.
2083         Patch by Piotr Bury <pbury@goahead.com>.
2084         * elf/Makefile: Add rules to build and tst-unique3.
2085         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
2086         * elf/tst-unique3.cc: New file.
2087         * elf/tst-unique3.h: New file.
2088         * elf/tst-unique3lib.cc: New file.
2089         * elf/tst-unique3lib2.cc: New file.
2091         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
2093 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
2095         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
2096         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
2097         to _start.
2099 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
2101         * elf/dl-load.c (_dl_map_object): If we are looking for the first
2102         to-be-loaded object along a path to loader is ld.so.
2104 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
2105             Ulrich Drepper  <drepper@gmail.com>
2107         * sysdeps/x86_64/memset.S: After aligning destination, code
2108         branches to different locations depending on the value of
2109         misalignment, when multiarch is enabled. Fix this.
2111 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
2113         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
2114         Set _x86_64_preferred_memory_instruction for AMD processsors.
2115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2116         Set bit_Prefer_SSE_for_memop for AMD processors.
2118 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
2120         * libio/fmemopen.c (fmemopen): Optimize a bit.
2122 2011-03-03  Andreas Schwab  <schwab@redhat.com>
2124         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
2126 2011-03-03  Roland McGrath  <roland@redhat.com>
2128         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
2130 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
2132         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
2133         __bzero_ultra1 instead of __memset_ultra1.
2135 2011-02-23  Andreas Schwab  <schwab@redhat.com>
2136             Ulrich Drepper  <drepper@gmail.com>
2138         [BZ #12509]
2139         * include/link.h (struct link_map): Add l_orig_initfini.
2140         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
2141         returning unsuccessfully.
2142         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
2143         close of a file loaded at startup, restore the original l_initfini
2144         list.
2145         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
2146         list, store the pointer.
2147         * elf/Makefile ($(objpfx)noload-mem): New rule.
2148         (noload-ENV): Define.
2149         (tests): Add $(objpfx)noload-mem.
2150         * elf/noload.c: Include <memcheck.h>.
2151         (main): Call mtrace.  Close all opened handles.
2153 2011-02-17  Andreas Schwab  <schwab@redhat.com>
2155         [BZ #12454]
2156         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
2157         dependencies are missing.
2159 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2161         Fix __if_freereq crash: Unlike the generic version which uses free,
2162         Hurd needs munmap.
2163         * sysdeps/mach/hurd/ifreq.h: New file.
2165 2011-01-27  Petr Baudis  <pasky@suse.cz>
2166             Ulrich Drepper  <drepper@gmail.com>
2168         [BZ 12445]#
2169         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
2170         to extend_alloca().
2171         * stdio-common/bug23.c: New file.
2172         * stdio-common/Makefile (tests): Add bug23.
2174 2010-09-28  Andreas Schwab  <schwab@redhat.com>
2175             Ulrich Drepper  <drepper@gmail.com>
2177         [BZ #12489]
2178         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
2179         before performing relro protection.  At old place add assertion
2180         to make sure nothing changed.
2182 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
2183             Glauber de Oliveira Costa  <glommer@gmail.com>
2185         * elf/elf.h: Add new ARM TLS relocs.
2187 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2190         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
2191         cast from r3.
2192         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
2193         'tests' variable.
2194         * sysdeps/wordsize-64/tst-writev.c: New file.
2196 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
2198         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
2199         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
2200         insns in _dl_start to prevent a TOC reference before relocs are
2201         resolved.
2203 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
2205         [BZ #12469]
2206         * Makeconfig: Remove RANLIB definition.
2207         * Makerules: Don't use RANLIB.
2208         * aclocal.m4: Remove ranlib test.
2209         * configure.in: No need to check for ranlib.
2210         * elf/rtld-Rules: Don't use RANLIB.
2212 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2214         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
2215         protection macro.
2216         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
2217         inclusion protection macro.
2219         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
2220         SIGRTMIN and SIGRTMAX and print information in that case only when
2221         SIGRTMIN is defined.
2223 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
2225         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
2226         arginfo fn returning -1.
2228         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
2229         and thousands string is zero terminated.
2231 2011-02-03  Andreas Schwab  <schwab@redhat.com>
2233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
2234         sysdeps/unix/sysv/linux/bits/socket.h.
2236 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2238         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
2239         (__CPU_COUNT): Remove old macros.
2240         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
2241         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
2242         (__CPU_ALLOC, __CPU_FREE): Add macros.
2243         (__sched_cpualloc, __sched_cpufree): Add declarations.
2245 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
2247         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
2248         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
2249         * nscd/aicache.c (addhstaiX): Return timeout of added value.
2250         (readdhstai): Return value of addhstaiX call.
2251         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
2252         (addgrbyX): Return value returned by cache_addgr.
2253         (readdgrbyname): Return value returned by addgrbyX.
2254         (readdgrbygid): Likewise.
2255         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
2256         (addpwbyX): Return value returned by cache_addpw.
2257         (readdpwbyname): Return value returned by addhstbyX.
2258         (readdpwbyuid): Likewise.
2259         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
2260         (addservbyX): Return value returned by cache_addserv.
2261         (readdservbyname): Return value returned by addservbyX:
2262         (readdservbyport): Likewise.
2263         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
2264         (addhstbyX): Return value returned by cache_addhst.
2265         (readdhstbyname): Return value returned by addhstbyX.
2266         (readdhstbyaddr): Likewise.
2267         (readdhstbynamev6): Likewise.
2268         (readdhstbyaddrv6): Likewise.
2269         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
2270         (readdinitgroups): Return value returned by addinitgroupsX.
2271         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
2272         (prune_cache): Keep track of timeout value of re-added entries.
2273         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
2274         * nscd/nscd.h: Adjust prototypes of readd* functions.
2276 2011-02-04  Roland McGrath  <roland@redhat.com>
2278         * nis/nis_server.c (nis_servstate): Use the right name for 0.
2279         (nis_stats): Likewise.
2280         * nis/nis_modify.c (nis_modify): Likewise.
2281         * nis/nis_remove.c (nis_remove): Likewise.
2282         * nis/nis_add.c (nis_add): Likewise.
2284         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
2286         * posix/fnmatch_loop.c: Add some consts.
2288         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
2290 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2292         [BZ #12460]
2293         * config.make.in (config-cflags-novzeroupper): Define.
2294         * configure.in: Substitute libc_cv_cc_novzeroupper.
2295         * elf/Makefile (AVX-CFLAGS): Define.
2296         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
2297         (CFLAGS-tst-auditmod4a.c): Likewise.
2298         (CFLAGS-tst-auditmod4b.c): Likewise.
2299         (CFLAGS-tst-auditmod6b.c): Likewise.
2300         (CFLAGS-tst-auditmod6c.c): Likewise.
2301         (CFLAGS-tst-auditmod7b.c): Likewise.
2302         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
2304 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
2306         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
2307         function to the callback.
2308         Patch partly by Jiri Olsa <jolsa@redhat.com>.
2310 2011-02-02  Andreas Schwab  <schwab@redhat.com>
2312         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
2313         of errno.
2315 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
2317         [BZ #11724]
2318         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
2319         of constructors.
2320         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
2321         of destructors.
2322         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
2324         [BZ #11724]
2325         * elf/Makefile: Add rules to build and run new test.
2326         * elf/tst-initorder.c: New file.
2327         * elf/tst-initorder.exp: New file.
2328         * elf/tst-initordera1.c: New file.
2329         * elf/tst-initordera2.c: New file.
2330         * elf/tst-initordera3.c: New file.
2331         * elf/tst-initordera4.c: New file.
2332         * elf/tst-initorderb1.c: New file.
2333         * elf/tst-initorderb2.c: New file.
2334         * elf/tst-order-a1.c: New file.
2335         * elf/tst-order-a2.c: New file.
2336         * elf/tst-order-a3.c: New file.
2337         * elf/tst-order-a4.c: New file.
2338         * elf/tst-order-b1.c: New file.
2339         * elf/tst-order-b2.c: New file.
2340         * elf/tst-order-main.c: New file.
2341         New test case by George Gensure <werkt0@gmail.com>.
2343 2010-10-01  Andreas Schwab  <schwab@redhat.com>
2345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2346         decoding ACE if AI_CANONIDN.
2348 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
2350         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
2352 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
2354         * version.h (RELEASE): Bump for 2.13 release.
2355         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
2357         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
2359         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
2360         MADV_NOHUGEPAGE.
2361         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2362         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2363         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2364         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2365         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2366         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2368         * posix/getconf.c: Update copyright year.
2369         * catgets/gencat.c: Likewise.
2370         * csu/version.c: Likewise.
2371         * debug/catchsegv.sh: Likewise.
2372         * debug/xtrace.sh: Likewise.
2373         * elf/ldconfig.c: Likewise.
2374         * elf/ldd.bash.in: Likewise.
2375         * elf/sprof.c (print_version): Likewise.
2376         * iconv/iconv_prog.c: Likewise.
2377         * iconv/iconvconfig.c: Likewise.
2378         * locale/programs/locale.c: Likewise.
2379         * locale/programs/localedef.c: Likewise.
2380         * malloc/memusage.sh: Likewise.
2381         * malloc/mtrace.pl: Likewise.
2382         * nscd/nscd.c (print_version): Likewise.
2383         * nss/getent.c: Likewise.
2385         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
2386         PF_CAIF, and PF_ALG.
2387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2389 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
2391         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
2392         (modules-names): Use them.
2393         (ifunc-test-modules, ifunc-pie-tests): Define.
2394         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
2395         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
2396         (test-extras): Likewise.
2397         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
2398         $(compile-command.c).
2399         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
2400         (all-built-dso): Define.
2401         (check-textrel.out, check-execstack.out): Depend on it.
2403         * configure.in: Don't override --enable-multi-arch.
2405 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
2407         [BZ #6812]
2408         * nscd/hstcache.c (tryagain): Define.
2409         (cache_addhst): Return tryagain not notfound for temporary errors.
2410         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
2411         failed.
2413 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
2415         [BZ #10563]
2416         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
2417         to make the syscall.
2418         * sysdeps/unix/sysv/linux/setgroups.c: New file.
2420         [BZ #12378]
2421         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
2422         and fall back to matching as normal character if the string ends before
2423         the matching ']' is found.  This is what POSIX requires.
2424         * posix/testfnm.c: Adjust test result.
2425         * posix/globtest.sh: Adjust test result.  Add new test.
2426         * posix/tst-fnmatch.input: Likewise.
2427         * posix/tst-fnmatch2.c: Add new test.
2429 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
2431         * elf/Makefile (check-execstack): Revert last change.  Depend on
2432         check-execstack.h.
2433         (check-execstack.h): New target.
2434         (generated): Add check-execstack.h.
2435         * elf/check-execstack.c: Include "check-execstack.h".
2436         (main): Revert last change.
2437         (handle_file): Return zero if GNU_STACK is absent and
2438         DEFAULT_STACK_PERMS doesn't include PF_X.
2440 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
2442         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
2443         in child fails because the descriptor is already closed.
2444         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
2445         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
2446         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2448         [BZ #12397]
2449         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
2450         syscall.
2452         [BZ #10484]
2453         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
2454         temporary buffer used to handle multi lookups locally.
2455         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
2457 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
2459         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
2460         loader is ld.so.
2462 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
2464         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
2465         alignment for SSE2.
2467 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
2469         [BZ #12394]
2470         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
2471         characters.  When rounding increased number of integer digits recompute
2472         number of groups.
2473         * stdio-common/tst-grouping.c: New file.
2474         * stdio-common/Makefile: Add rules to build and run tst-grouping.
2476 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
2478         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
2479         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
2481         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
2482         void.
2483         * bits/select.h: Likewise.
2485 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
2487         * po/ja.po: Update from translation team.
2489 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
2491         [BZ #11155]
2492         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
2493         implementation just like for lxstat, fxstatat, et al.
2495 2010-12-27  Jim Meyering  <meyering@redhat.com>
2497         [BZ #12348]
2498         * posix/regexec.c (build_trtable): Return failure indication upon
2499         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
2501 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
2503         [BZ #12201]
2504         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2505         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2506         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
2507         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
2509         [BZ #12207]
2510         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
2512         [BZ #12204]
2513         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
2514         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
2516 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2518         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
2519         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
2520         script has SORT_BY_INIT_PRIORITY.
2521         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
2522         NO_CTORS_DTORS_SECTIONS is defined.
2523         * elf/soinit.c: Likewise.
2524         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
2525         NO_CTORS_DTORS_SECTIONS is defined.
2526         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2527         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2528         * sysdeps/sh/init-first.c: Likewise.
2529         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2531 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
2533         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
2534         always use the slow path.
2536 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
2538         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
2539         similar rule which adds the sysdep directories to the header search in
2540         order to pick up the correct platform stackinfo.h.
2541         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
2542         perform test if it is, otherwise return successfully without testing.
2543         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
2544         DEFAULT_STACK_PERMS define in stackinfo.h.
2545         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
2546         defined in stackinfo.h.
2547         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
2548         DEFAULT_STACK_PERMS defined in stackinfo.h.
2549         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
2550         * sysdeps/ia64/stackinfo.h: Likewise.
2551         * sysdeps/s390/stackinfo.h: Likewise.
2552         * sysdeps/sh/stackinfo.h: Likewise.
2553         * sysdeps/sparc/stackinfo.h: Likewise.
2554         * sysdeps/x86_64/stackinfo.h: Likewise.
2555         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
2556         PF_X for powerpc64.  Retain PF_X for powerpc32.
2558 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
2560         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
2561         accurately.
2562         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
2563         GETDENTS_64BIT_ALIGNED.
2565 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
2567         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
2569 2010-12-10  Andreas Schwab  <schwab@redhat.com>
2571         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
2572         _GNU_SOURCE.
2574         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
2575         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
2576         Remove __restrict.
2577         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
2578         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
2580 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
2582         [BZ #11655]
2583         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
2584         are initialized.
2586 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
2588         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
2590 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
2592         * po/it.po: Update from translation team.
2594 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2596         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
2597         unused codes.
2599 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
2601         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
2603 2010-11-24  Andreas Schwab  <schwab@redhat.com>
2605         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
2606         specially.
2607         (gaih_getanswer_slice): Likewise.
2609 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
2611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
2613 2010-05-31  Petr Baudis  <pasky@suse.cz>
2615         [BZ #11149]
2616         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
2617         silently even in the chroot mode.
2619 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
2621         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
2622         last patch a bit.  Pretty printing
2624 2010-05-31  Petr Baudis <pasky@suse.cz>
2626         [BZ #10085]
2627         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
2628         initialization of skip_initgroups_dyn.
2630 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
2632         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
2633         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2635 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
2637         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
2639 2010-11-11  Andreas Schwab  <schwab@redhat.com>
2641         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
2642         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
2643         (tst-fnmatch-ENV): Set MALLOC_TRACE.
2644         ($(objpfx)tst-fnmatch-mem): New rule.
2645         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
2646         * posix/tst-fnmatch.c (main): Call mtrace.
2648 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
2650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2651         Support Intel processor model 6 and model 0x2c.
2653 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
2655         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
2656           signed comparison.
2658 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
2660         [BZ #12205]
2661         * string/test-strncasecmp.c (check_result): New function.
2662         (do_one_test): Use it.
2663         (check1): New function.
2664         (test_main): Use it.
2665         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
2666         Support strcasecmp and strncasecmp.
2668 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
2670         [BZ #12194]
2671         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
2672         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2674 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2676         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
2677         IFUNC support.
2678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2679         memset-x86-64.
2680         * sysdeps/x86_64/multiarch/bzero.S: New file.
2681         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
2682         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
2683         * sysdeps/x86_64/multiarch/memset.S: New file.
2684         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
2685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2686         Set bit_Prefer_SSE_for_memop for Intel processors.
2687         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
2688         Define.
2689         (index_Prefer_SSE_for_memop): Define.
2690         (HAS_PREFER_SSE_FOR_MEMOP): Define.
2692 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
2694         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
2695         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
2697 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
2699         [BZ #12191]
2700         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2701         (__x86_64_raw_data_cache_size_half): Likewise.
2702         (__x86_64_raw_shared_cache_size): Likewise.
2703         (__x86_64_raw_shared_cache_size_half): Likewise.
2705         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2706         (__x86_64_raw_data_cache_size_half): Likewise.
2707         (__x86_64_raw_shared_cache_size): Likewise.
2708         (__x86_64_raw_shared_cache_size_half): Likewise.
2709         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
2710         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
2711         and __x86_64_raw_shared_cache_size_half.  Round
2712         __x86_64_data_cache_size_half, __x86_64_data_cache_size
2713         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
2714         to multiple of 256 bytes.
2716 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
2718         [BZ #12167]
2719         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
2720         of inacessible symlinks.  Verify result of symlink before returning it.
2721         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2722         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
2724 2010-10-28  Erich Ritz  <erichritz@gmail.com>
2726         * math/math.h (isinf): Fix typo in comment.
2728 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
2730         * po/da.po: Update from translation team.
2732 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
2734         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
2735         is added to the list.
2737 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2738             Ulrich Drepper  <drepper@gmail.com>
2740         * elf/dl-object.c (_dl_new_object): Don't append the new object to
2741         the global list here.  Move code to...
2742         (_dl_add_to_namespace_list): ...here.  New function.
2743         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
2744         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
2745         * elf/dl-load.c (lose): Don't remove the element from the list.
2746         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
2747         (_dl_map_object): Likewise.
2749 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
2751         [BZ #12159]
2752         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
2753         into all bytes of SSE register.
2754         Patch by Richard Li <richardpku@gmail.com>.
2756 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
2758         [BZ #12140]
2759         * malloc/malloc.c (_int_free): Fill correct number of bytes when
2760         perturbing.
2762 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
2764         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
2765         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
2766         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
2767         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
2769         submachine.
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
2772 2010-10-22  Andreas Schwab  <schwab@redhat.com>
2774         * include/dlfcn.h (__RTLD_SECURE): Define.
2775         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
2776         mode & __RTLD_SECURE instead.
2777         (open_path): Rename preloaded parameter to secure.
2778         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
2779         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
2780         * elf/dl-deps.c (openaux): Likewise.
2781         * elf/rtld.c (struct map_args): Remove is_preloaded.
2782         (map_doit): Don't use it.
2783         (dl_main): Likewise.
2784         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
2785         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
2787 2010-09-09  Andreas Schwab  <schwab@redhat.com>
2789         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
2790         (sysd-rules-targets): Remove duplicates.
2791         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
2792         rtld-%.$o dependency.
2794 2010-10-18  Andreas Schwab  <schwab@redhat.com>
2796         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
2797         _dl_map_object do it.
2799 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
2801         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
2802         fast fma builtins, define the macros in the C99 standard.
2803         (FP_FAST_FMAF): Likewise.
2804         (FP_FAST_FMAL): Likewise.
2805         * sysdeps/x86_64/bits/mathdef.h: Likewise.
2807         * bits/mathdef.h: Update copyright year.
2808         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2810 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
2812         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
2813         builtins, define the macros in the C99 standard.
2814         (FP_FAST_FMAF): Likewise.
2815         (FP_FAST_FMAL): Likewise.
2816         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
2817         multiply/add.
2818         (FP_FAST_FMAF): Likewise.
2820 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
2822         [BZ #3268]
2823         * math/libm-test.inc (fma_test): Some new testcases.
2824         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
2825         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
2826         y and infinite z.  Do multiplication by C already in long double.
2827         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
2828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
2829         y and infinite z.  Do bitwise or of inexact bit into u.d.
2830         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
2831         * sysdeps/i386/fpu/s_fmaf.S: Removed.
2832         * sysdeps/i386/fpu/s_fma.S: Removed.
2833         * sysdeps/i386/fpu/s_fmal.S: Removed.
2835 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
2837         [BZ #3268]
2838         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
2839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
2840         computation is not scheduled after fetestexcept.  Fix value
2841         of minimum denormal long double.
2843 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
2845         [BZ #3268]
2846         * math/libm-test.inc (fma_test): Add some more tests.
2847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
2848         correctly.
2850 2010-10-15  Andreas Schwab  <schwab@redhat.com>
2852         * scripts/data/localplt-s390-linux-gnu.data: New file.
2853         * scripts/data/localplt-s390x-linux-gnu.data: New file.
2855 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
2857         [BZ #3268]
2858         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
2859         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
2860         instead of dbl-64.
2861         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
2862         inlines.
2863         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
2864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
2865         if one of x and y is very large and the other is subnormal.
2866         * sysdeps/s390/fpu/s_fmaf.c: New file.
2867         * sysdeps/s390/fpu/s_fma.c: New file.
2868         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
2869         * sysdeps/powerpc/fpu/s_fma.S: New file.
2870         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
2871         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
2872         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
2874 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
2876         [BZ #3268]
2877         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
2878         fma tests.
2879         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
2880         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
2881         * sysdeps/i386/i686/multiarch/s_fma.c: Include
2882         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
2883         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
2884         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
2887 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
2889         [BZ #12078]
2890         * posix/regcomp.c (parse_branch): One more memory leak plugged.
2891         * posix/bug-regex31.input: Add test case.
2893 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
2895         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
2896         * posix/bug-regex31.input: New file.
2898         [BZ #12078]
2899         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
2900         (parse_sub_exp): Fix last change, use postorder.
2902         * posix/bug-regex31.c: New file.
2903         * posix/Makefile: Add rules to build and run bug-regex31.
2905         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
2907         [BZ #12078]
2908         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
2910         [BZ #12108]
2911         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
2912         to have entries in sys_siglist.
2914         [BZ #12093]
2915         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
2916         be NULL.
2918 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
2920         [BZ #3268]
2921         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
2922         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
2923         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
2924         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
2925         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2926         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
2927         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
2928         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
2929         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
2930         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
2931         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
2932         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
2933         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2934         * math/ftestexcept.c (fetestexcept): Likewise.
2935         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
2936         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2937         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2938         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
2939         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
2940         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
2941         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2943 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
2945         [BZ #12107]
2946         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
2947         newline.
2949 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
2951         * string/bug-strstr1.c: New file.
2952         * string/Makefile: Add rules to build and run bug-strstr1.
2954 2010-10-05  Eric Blake  <eblake@redhat.com>
2956         [BZ #12092]
2957         * string/str-two-way.h (two_way_long_needle): Always clear memory
2958         when skipping input due to the shift table.
2960 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
2962         [BZ #12005]
2963         * malloc/mcheck.c: Handle large requests.
2965         [BZ #12077]
2966         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
2967         for strncmp and strncasecmp.
2968         * string/stratcliff.c: Add tests for strcmp and strncmp.
2969         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
2971 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2973         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
2974         __set_fpscr.
2976 2010-09-30  Andreas Jaeger  <aj@suse.de>
2978         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
2979         (CGROUP_SUPER_MAGIC): Define.
2980         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2981         Handle btrfs and cgroup file systems.
2982         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2983         Likewise.
2985 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
2987         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
2988         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
2990 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2992         [BZ #12067]
2993         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
2994         trying to locate the ELF header.
2996 2010-09-27  Andreas Schwab  <schwab@redhat.com>
2998         [BZ #11611]
2999         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
3000         Mask out sign-bit copies when constructing f_fsid.
3002 2010-09-24  Petr Baudis <pasky@suse.cz>
3004         * debug/stack_chk_fail_local.c: Add missing licence exception.
3005         * debug/warning-nop.c: Likewise.
3007 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
3009         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
3010         implementing getdents64 using getdents syscall, set d_type if
3011         __ASSUME_GETDENTS32_D_TYPE.
3013 2010-09-16  Andreas Schwab  <schwab@redhat.com>
3015         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
3016         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
3018 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
3020         [BZ #12037]
3021         * posix/unistd.h: Undo change of feature selection for ftruncate from
3022         2010-01-11.
3024 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
3026         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
3027         detection.
3029 2010-09-20  Andreas Schwab  <schwab@redhat.com>
3031         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3032         fanotify_mark.
3033         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3035 2010-09-14  Andreas Schwab  <schwab@redhat.com>
3037         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
3038         variables after CHECK_SP call.
3039         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3041 2010-09-13  Andreas Schwab  <schwab@redhat.com>
3042             Ulrich Drepper  <drepper@redhat.com>
3044         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
3045         re-relocationg ld.so.
3046         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
3047         _dl_init_paths call.
3048         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
3049         here anymore.
3051 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
3053         * resolv/res_init.c (__res_vinit): Count the default server we added.
3055 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
3056             Ulrich Drepper  <drepper@redhat.com>
3058         [BZ #11968]
3059         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3060         (____longjmp_chk): Use %ebx for saving value across system call.
3061         Add unwind info.
3063 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3065         * manual/Makefile: Don't mix pattern rules with normal rules.
3067 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
3069         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
3070         operation.
3071         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3072         * libio/iofopncook.c (_IO_cookie_init): Likewise.
3073         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3074         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3075         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3076         Likewise.
3078 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
3080         [BZ #11979]
3081         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
3082         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
3084 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
3086         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
3087         * sysdeps/x86_64/addmul_1.S: Likewise.
3088         * sysdeps/x86_64/lshift.S: Likewise.
3089         * sysdeps/x86_64/mul_1.S: Likewise.
3090         * sysdeps/x86_64/rshift.S: Likewise.
3091         * sysdeps/x86_64/sub_n.S: Likewise.
3092         * sysdeps/x86_64/submul_1.S: Likewise.
3094 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3096         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
3097         Define __sched_param instead of SCHED_* and sched_param when
3098         <bits/sched.h> is included with __need_schedparam defined.
3099         * bits/sched.h [__need_schedparam]
3100         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
3101         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
3102         (__defined_schedparam): Define to 1.
3103         (__sched_param): New structure, identical to sched_param.
3104         (__need_schedparam): Undefine.
3106 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
3108         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
3109         (epoll_create1): Declare.
3111         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
3113 2010-08-31  Andreas Schwab  <schwab@redhat.com>
3115         [BZ #7066]
3116         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
3117         shifting retval into place.
3119 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
3121         * nis/rpcsvc/nis.h: Update copyright notice.
3122         * nis/rpcsvc/nis.x: Likewise.
3123         * nis/rpcsvc/nis_callback.h: Likewise.
3124         * nis/rpcsvc/nis_callback.x: Likewise.
3125         * nis/rpcsvc/nis_object.x: Likewise.
3126         * nis/rpcsvc/nis_tags.h: Likewise.
3127         * nis/rpcsvc/yp.h: Likewise.
3128         * nis/rpcsvc/yp.x: Likewise.
3129         * nis/rpcsvc/ypupd.h: Likewise.
3130         * nis/yp_xdr.c: Likewise.
3131         * nis/ypupdate_xdr.c: Likewise.
3133         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
3134         mainly the body of pmap_getport.  Add parameters to specify timeouts.
3135         (pmap_getport): Use __libc_rpc_getport.
3136         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
3137         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
3138         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
3140 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
3143         fanotify_mark.
3145 2010-08-27  Roland McGrath  <roland@redhat.com>
3147         * sysdeps/i386/i686/multiarch/Makefile
3148         (CFLAGS-varshift.c): New variable.
3150 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
3152         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
3153         * sysdeps/i386/i686/multiarch/varshift.c: New file.
3155         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
3157         * sysdeps/x86_64/strlen.S: Minimal code improvement.
3159 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3161         * sysdeps/x86_64/strlen.S: Unroll the loop.
3162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3163         strlen-sse2 strlen-sse2-bsf.
3164         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
3165         __strlen_no_bsf if bit_Slow_BSF is set.
3166         (__strlen_sse42): Removed.
3167         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
3168         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
3170 2010-08-25  Roland McGrath  <roland@redhat.com>
3172         * sysdeps/x86_64/multiarch/varshift.S: File removed.
3173         * sysdeps/x86_64/multiarch/varshift.c: New file.
3174         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
3175         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
3176         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
3177         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3179 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3182         strlen-sse2 strlen-sse2-bsf.
3183         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
3184         __strlen_sse2_bsf if bit_Slow_BSF is unset.
3185         (__strlen_sse2): Removed.
3186         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
3187         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
3188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3189         bit_Slow_BSF for Atom.
3190         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
3191         (index_Slow_BSF): Define.
3192         (HAS_SLOW_BSF): Define.
3194 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
3196         [BZ #10851]
3197         * resolv/res_init.c (__res_vinit): When no server address at all
3198         is given default to loopback.
3200 2010-08-24  Roland McGrath  <roland@redhat.com>
3202         * configure.in: Remove config-name.h generation.
3203         * configure: Regenerated.
3204         * config-name.in: File removed.
3205         * scripts/config-uname.sh: New file.
3206         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
3207         ($(objdir)config-name.h): New target.
3209         * sunrpc/rpc_parse.h: Avoid nested comment.
3211 2010-08-24  Richard Henderson  <rth@redhat.com>
3212             Ulrich Drepper  <drepper@redhat.com>
3213             H.J. Lu  <hongjiu.lu@intel.com>
3215         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
3216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
3217         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
3218         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
3219         _mm_alignr_epi8 with _mm_loadu_si128.
3220         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
3221         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
3222         (__m128i_shift_right): Removed.
3223         * sysdeps/i386/i686/multiarch/varshift.h: New file.
3224         * sysdeps/i386/i686/multiarch/varshift.S: New file.
3225         * sysdeps/x86_64/multiarch/varshift.h: New file.
3226         * sysdeps/x86_64/multiarch/varshift.S: New file.
3228 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
3230         * configure.in: Move assembler checks to before sysdep dir checking.
3232 2010-08-20  Petr Baudis  <pasky@suse.cz>
3234         * LICENSES: Sync the sunrpc license.
3236 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
3238         * sunrpc/auth_des.c: Update copyright notice once again.
3239         * sunrpc/auth_none.c: Likewise.
3240         * sunrpc/auth_unix.c: Likewise.
3241         * sunrpc/authdes_prot.c: Likewise.
3242         * sunrpc/authuxprot.c: Likewise.
3243         * sunrpc/bindrsvprt.c: Likewise.
3244         * sunrpc/clnt_gen.c: Likewise.
3245         * sunrpc/clnt_perr.c: Likewise.
3246         * sunrpc/clnt_raw.c: Likewise.
3247         * sunrpc/clnt_simp.c: Likewise.
3248         * sunrpc/clnt_tcp.c: Likewise.
3249         * sunrpc/clnt_udp.c: Likewise.
3250         * sunrpc/clnt_unix.c: Likewise.
3251         * sunrpc/des_crypt.c: Likewise.
3252         * sunrpc/des_soft.c: Likewise.
3253         * sunrpc/get_myaddr.c: Likewise.
3254         * sunrpc/getrpcport.c: Likewise.
3255         * sunrpc/key_call.c: Likewise.
3256         * sunrpc/key_prot.c: Likewise.
3257         * sunrpc/openchild.c: Likewise.
3258         * sunrpc/pm_getmaps.c: Likewise.
3259         * sunrpc/pm_getport.c: Likewise.
3260         * sunrpc/pmap_clnt.c: Likewise.
3261         * sunrpc/pmap_prot.c: Likewise.
3262         * sunrpc/pmap_prot2.c: Likewise.
3263         * sunrpc/pmap_rmt.c: Likewise.
3264         * sunrpc/rpc/auth.h: Likewise.
3265         * sunrpc/rpc/auth_unix.h: Likewise.
3266         * sunrpc/rpc/clnt.h: Likewise.
3267         * sunrpc/rpc/des_crypt.h: Likewise.
3268         * sunrpc/rpc/key_prot.h: Likewise.
3269         * sunrpc/rpc/netdb.h: Likewise.
3270         * sunrpc/rpc/pmap_clnt.h: Likewise.
3271         * sunrpc/rpc/pmap_prot.h: Likewise.
3272         * sunrpc/rpc/pmap_rmt.h: Likewise.
3273         * sunrpc/rpc/rpc.h: Likewise.
3274         * sunrpc/rpc/rpc_des.h: Likewise.
3275         * sunrpc/rpc/rpc_msg.h: Likewise.
3276         * sunrpc/rpc/svc.h: Likewise.
3277         * sunrpc/rpc/svc_auth.h: Likewise.
3278         * sunrpc/rpc/types.h: Likewise.
3279         * sunrpc/rpc/xdr.h: Likewise.
3280         * sunrpc/rpc_clntout.c: Likewise.
3281         * sunrpc/rpc_cmsg.c: Likewise.
3282         * sunrpc/rpc_common.c: Likewise.
3283         * sunrpc/rpc_cout.c: Likewise.
3284         * sunrpc/rpc_dtable.c: Likewise.
3285         * sunrpc/rpc_hout.c: Likewise.
3286         * sunrpc/rpc_main.c: Likewise.
3287         * sunrpc/rpc_parse.c: Likewise.
3288         * sunrpc/rpc_parse.h: Likewise.
3289         * sunrpc/rpc_prot.c: Likewise.
3290         * sunrpc/rpc_sample.c: Likewise.
3291         * sunrpc/rpc_scan.c: Likewise.
3292         * sunrpc/rpc_scan.h: Likewise.
3293         * sunrpc/rpc_svcout.c: Likewise.
3294         * sunrpc/rpc_tblout.c: Likewise.
3295         * sunrpc/rpc_util.c: Likewise.
3296         * sunrpc/rpc_util.h: Likewise.
3297         * sunrpc/rpcinfo.c: Likewise.
3298         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
3299         * sunrpc/rpcsvc/key_prot.x: Likewise.
3300         * sunrpc/rpcsvc/klm_prot.x: Likewise.
3301         * sunrpc/rpcsvc/mount.x: Likewise.
3302         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
3303         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
3304         * sunrpc/rpcsvc/rex.x: Likewise.
3305         * sunrpc/rpcsvc/rstat.x: Likewise.
3306         * sunrpc/rpcsvc/rusers.x: Likewise.
3307         * sunrpc/rpcsvc/sm_inter.x: Likewise.
3308         * sunrpc/rpcsvc/spray.x: Likewise.
3309         * sunrpc/rpcsvc/yppasswd.x: Likewise.
3310         * sunrpc/rtime.c: Likewise.
3311         * sunrpc/svc.c: Likewise.
3312         * sunrpc/svc_auth.c: Likewise.
3313         * sunrpc/svc_authux.c: Likewise.
3314         * sunrpc/svc_raw.c: Likewise.
3315         * sunrpc/svc_run.c: Likewise.
3316         * sunrpc/svc_simple.c: Likewise.
3317         * sunrpc/svc_tcp.c: Likewise.
3318         * sunrpc/svc_udp.c: Likewise.
3319         * sunrpc/svc_unix.c: Likewise.
3320         * sunrpc/svcauth_des.c: Likewise.
3321         * sunrpc/xcrypt.c: Likewise.
3322         * sunrpc/xdr.c: Likewise.
3323         * sunrpc/xdr_array.c: Likewise.
3324         * sunrpc/xdr_float.c: Likewise.
3325         * sunrpc/xdr_mem.c: Likewise.
3326         * sunrpc/xdr_rec.c: Likewise.
3327         * sunrpc/xdr_ref.c: Likewise.
3328         * sunrpc/xdr_sizeof.c: Likewise.
3329         * sunrpc/xdr_stdio.c: Likewise.
3331         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
3332         handling.
3334 2010-08-19  Andreas Schwab  <schwab@redhat.com>
3336         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
3338 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
3340         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
3341         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
3342         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
3343         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
3344         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
3345         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
3346         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
3347         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
3348         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
3349         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
3350         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
3351         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
3352         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
3353         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
3355 2010-07-26  Anton Blanchard  <anton@samba.org>
3357         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
3358         * malloc/arena.c (heap_trim): Likewise.
3360 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
3362         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
3363         here.  Not...
3364         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
3365         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
3367 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3369         * sysdeps/i386/elf/Makefile: New file.
3371 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
3373         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
3374         from fanotify_init.
3375         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3376         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3378 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
3380         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
3381         of strncasecmp_l.
3382         * sysdeps/multiarch/strcmp.S: Likewise.
3384 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
3386         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3387         strncase_l-nonascii.
3388         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3389         Add strncase_l-ssse3.
3390         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
3391         * sysdeps/x86_64/strcmp.S: Likewise.
3392         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
3393         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
3394         * sysdeps/x86_64/strncase.S: New file.
3395         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
3396         * sysdeps/x86_64/strncase_l.S: New file.
3397         * string/Makefile (strop-tests): Add strncasecmp.
3398         * string/test-strncasecmp.c: New file.
3400         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
3401         warning.
3403         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
3404         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
3406 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
3408         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
3410 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
3412         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
3413         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3414         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3416 2010-05-01  Alan Modra  <amodra@gmail.com>
3418         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
3419         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
3420         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
3421         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
3422         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
3423         tidying.  Don't tail-call __sigjmp_save for static lib.
3424         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
3425         save location.
3426         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
3427         (CALL_MCOUNT): Add eh info, and nop after bl.
3428         (TAIL_CALL_SYSCALL_ERROR): New macro.
3429         (PSEUDO_RET): Use it.
3430         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3431         Correct save location of integer regs and cr.
3432         (_dl_profile_resolve): Correct cr save location.  Delete nops
3433         after bl when SHARED.  Reduce cfi size a little by better
3434         placement of cfi directives.
3435         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
3436         make a stack frame.  Instead use parm save area as a temp.
3437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
3438         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
3439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3440         Don't make a stack frame for parent, use parm save area.
3441         Increase child stack frame to 112 bytes.  Don't save unused reg,
3442         and adjust reg usage.  Set up cfi on error recovery and
3443         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3445         (__makecontext): Add dummy nop after jump to exit.
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
3447         Use correct parm save area and cr save, reduce stack frame.
3448         Correct cfi for possible PSEUDO_RET frame setup.
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
3450         Branch to local label emitted by PSEUDO_RET rather than
3451         __syscall_error.
3453 2010-08-12  Andreas Schwab  <schwab@redhat.com>
3455         [BZ #11904]
3456         * locale/programs/locale.c (print_assignment): New function.
3457         (show_locale_vars): Use it.
3459 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
3461         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
3462         field.
3463         (struct statfs64): Likewise.
3464         (_STATFS_F_FLAGS): Define.
3465         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
3466         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3467         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
3468         (ST_VALID): Define locally.
3469         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
3470         __statvfs_getflags, use the provided value.
3471         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3472         __ASSUME_STATFS_F_FLAGS.
3474         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
3476         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3477         Add sys/fanotify.h.
3478         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
3479         fanotify_mask for GLIBC_2.13.
3480         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
3481         fanotify_init and fanotify_mark.
3482         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3483         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
3485         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
3486         Add prlimit.
3487         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
3488         prlimit64 for GLIBC_2.13.
3489         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
3490         prlimit64.
3491         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
3492         syscall.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3495         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
3496         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
3497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
3498         add prlimit alias.
3499         * sysdeps/unix/sysv/linux/prlimit.c: New file.
3501         [BZ #11903]
3502         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
3503         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
3505         * nss/Makefile: Add rules to build and run tst-nss-test1.
3506         * shlib-versions: Add entry for libnss_test1.
3507         * nss/nss_test1.c: New file.
3508         * nss/tst-nss-test1.c: New file.
3510         * nss/nsswitch.c (__nss_database_custom): Define new variable.
3511         (__nss_configure_lookup): Set appropriate entry in
3512         __nss_configure_lookup to true.
3513         * nss/nsswitch.h: Define enum with indeces of databases in
3514         databases and __nss_database_custom arrays.  Declare
3515         __nss_database_custom.
3516         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
3517         to avoid using nscd when custom rules are installed.
3518         * nss/getXXbyYY_r.c: Likewise.
3519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3521         * nss/nss_files/files-parse.c: Whitespace fixes.
3523 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
3525         [BZ #11883]
3526         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
3527         * posix/fnmatch_loop.c: Likewise.
3529 2010-07-17  Andi Kleen  <ak@linux.intel.com>
3531         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
3532         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
3533         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
3534         * Versions.def [GLIBC_2.13]: Add.
3536 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
3538         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3539         Also fail if tpwd after pwuid call is NULL.
3541 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3543         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
3544         when converting to ms.
3546 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3548         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
3549         EOPNOTSUPP errors with ENOTTY.
3550         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
3551         EOPNOTSUPP errors with ENOTTY.
3553 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
3555         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3556         Add strcasecmp_l-ssse3.
3557         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
3558         strcasecmp.
3559         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
3560         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
3561         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
3563 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
3565         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
3567         * string/Makefile (strop-tests): Add strcasecmp.
3568         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3569         strcasecmp_l-nonascii.
3570         (gen-as-const-headers): Add locale-defines.sym.
3571         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
3572         * sysdeps/x86_64/strcasecmp.S: New file.
3573         * sysdeps/x86_64/strcasecmp_l.S: New file.
3574         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
3575         * sysdeps/x86_64/locale-defines.sym: New file.
3576         * string/test-strcasecmp.c: New file.
3578         * string/test-strcasestr.c: Test both ends of the range of characters.
3579         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
3581 2010-07-29  Roland McGrath  <roland@redhat.com>
3583         [BZ #11856]
3584         * manual/locale.texi (Yes-or-No Questions): Fix example code.
3586 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
3588         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
3589         for ld.so.
3591 2010-07-27  Andreas Schwab  <schwab@redhat.com>
3593         * manual/memory.texi (Malloc Tunable Parameters): Document
3594         M_PERTURB.
3596 2010-07-26  Roland McGrath  <roland@redhat.com>
3598         [BZ #11840]
3599         * configure.in (-fgnu89-inline check): Set and substitute
3600         gnu89_inline, not libc_cv_gnu89_inline.
3601         * configure: Regenerated.
3602         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
3604 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
3606         * string/test-strnlen.c: New file.
3607         * string/Makefile (strop-tests): Add strnlen.
3608         * string/tester.c (test_strnlen): Add a few more test cases.
3609         * string/tst-strlen.c: Better error reporting.
3611         * sysdeps/x86_64/strnlen.S: New file.
3613 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
3615         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
3616         lower-latency instructions.
3618 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
3620         * string/test-strcasestr.c: New file.
3621         * string/test-strstr.c: New file.
3622         * string/Makefile (strop-tests): Add strstr and strcasestr.
3623         * string/str-two-way.h: Don't undefine MAX.
3624         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
3626 2010-07-21  Andreas Schwab  <schwab@redhat.com>
3628         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3629         strcasestr-nonascii.
3630         (CFLAGS-strcasestr-nonascii.c): Define.
3631         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
3632         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
3633         Remove unused attribute.
3635 2010-07-20  Roland McGrath  <roland@redhat.com>
3637         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
3638         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
3639         ld.so.cache was broken.  With it, there is no way to disable dsocaps
3640         like LD_HWCAP_MASK can disable hwcaps.
3642 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
3644         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
3646 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
3648         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
3649         call in strcasestr.
3650         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
3651         __strcasestr_sse42_nonascii.
3652         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
3653         strcasestr-nonascii.c.
3654         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
3656 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
3658         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
3659         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
3660         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
3661         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
3663 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
3665         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
3666         fcntl.
3668 2010-07-06  Andreas Schwab  <schwab@redhat.com>
3670         [BZ #11577]
3671         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
3672         dl_signal_cerror.
3674 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
3676         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
3677         _PC_PIPE_BUF using F_GETPIPE_SZ.
3679 2010-07-05  Roland McGrath  <roland@redhat.com>
3681         * manual/arith.texi (Rounding Functions): Fix rint description
3682         implicit in round description.
3684 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
3686         * elf/Makefile: Fix linking for a few tests to make recent linker
3687         happy.
3689 2010-06-30  Andreas Schwab  <schwab@redhat.com>
3691         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3692         $(common-objpfx)libc_nonshared.a.
3694 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
3696         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
3697         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
3698         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3699         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3700         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
3701         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
3702         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3703         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
3706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
3709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
3716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
3718         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
3719         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
3720         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
3721         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
3722         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
3723         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
3724         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
3725         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
3726         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
3727         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
3728         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
3729         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
3731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
3735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
3736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
3737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
3739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
3740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
3742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
3743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
3745 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
3747         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
3748         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
3749         * string/memmove.c (memmove): Renamed to ...
3750         (MEMMOVE): ...this.  Default to memmove.
3751         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
3752         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
3753         (END_CHK): Define.
3754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3755         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
3756         mempcpy-ssse3-back memmove-ssse3-back.
3757         * sysdeps/x86_64/multiarch/bcopy.S: New file .
3758         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
3759         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
3760         * sysdeps/x86_64/multiarch/memcpy.S: New file.
3761         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
3762         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
3763         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
3764         * sysdeps/x86_64/multiarch/memmove.c: New file.
3765         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
3766         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
3767         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
3768         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
3769         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
3770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
3771         Define.
3772         (index_Fast_Copy_Backward): Define.
3773         (HAS_ARCH_FEATURE): Define.
3774         (HAS_FAST_REP_STRING): Define.
3775         (HAS_FAST_COPY_BACKWARD): Define.
3777 2010-06-21  Andreas Schwab  <schwab@redhat.com>
3779         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3780         Restore proper fallback handling.
3782 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
3784         [BZ #11701]
3785         * posix/group_member.c (__group_member): Correct checking loop.
3787         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
3788         OOM in getpwuid_r correctly.  Return error number when the caller
3789         should return, otherwise -1.
3790         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
3791         call returning > 0 value.
3792         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
3794 2010-06-07  Andreas Schwab  <schwab@redhat.com>
3796         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
3797         libc_nonshared.a from targets in modules-names.
3799 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
3801         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
3802         requires it.
3804 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
3806         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
3807         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
3808         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
3809         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
3811 2010-06-02  Andreas Schwab  <schwab@redhat.com>
3813         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
3815 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
3817         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
3818         and F_GETPIPE_SZ.
3819         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3820         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3821         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3822         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3823         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3824         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
3826 2010-06-14  Roland McGrath  <roland@redhat.com>
3828         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
3830 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
3832         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
3833         __REDIRECT followed by __THROW.
3834         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
3835         * posix/getopt.h (getopt): Likewise.
3837 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
3839         * hurd/lookup-at.c (__file_name_lookup_at): Accept
3840         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
3841         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
3842         in AT_FLAGS.
3843         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
3844         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
3846 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
3848         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
3850 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
3852         [BZ #11640]
3853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3854         Properly check family and model.
3856 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
3858         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
3860 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
3862         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
3864 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
3866         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
3867         symbol reference.
3869 2010-05-19  Andreas Schwab  <schwab@redhat.com>
3871         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
3872         symbol reference.
3874 2010-05-21  Andreas Schwab  <schwab@redhat.com>
3876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
3877         and internal_recvmmsg.
3878         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
3879         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
3880         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
3881         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
3883         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
3884         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3885         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3887 2010-05-20  Andreas Schwab  <schwab@redhat.com>
3889         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
3891 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
3893         POWER7 optimizations.
3894         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
3895         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
3897 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
3899         * version.h: Update for 2.13 development version.
3901 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
3903         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
3904         exceptions.  Return 0.
3906 2010-05-07  Roland McGrath  <roland@redhat.com>
3908         * elf/ldconfig.c (main): Add a const.
3910 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
3912         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
3913         (args_options): Add no-idn option.
3914         (ahosts_keys_int): Add idn_flags to ai_flags.
3915         (parse_option): Handle 'i' option to clear idn_flags.
3917         * malloc/malloc.c (_int_free): Possible race in the most recently
3918         added check.  Only act on the data if no current modification
3919         happened.
3921 See ChangeLog.17 for earlier changes.