1 2011-09-07 Andreas Schwab <schwab@redhat.com>
4 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18 Forgot to demangle the pointer.
20 * sysdeps/i386/sysdep.h: Define atom_text_section.
21 * sysdeps/x86_64/sysdep.h: Likewise.
22 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23 section with atom_text_section.
24 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32 already be defined. Change to take two parameters and don't assign
33 result to variable. Adjust all users.
34 Define INTERNAL_GETTIME if not already defined.
35 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38 HAVE_CLOCK_GETTIME_VSYSCALL.
39 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42 gettimeofday vsyscall, just use time.
44 2011-09-06 Andreas Schwab <schwab@redhat.com>
46 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62 e_ident. Don't pass to find_mapsXX.
63 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68 strchr-sse2-no-bsf strrchr-sse2-no-bsf
69 * sysdeps/x86_64/multiarch/strchr.S: Update.
70 Check bit_slow_BSF bit.
71 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75 2011-09-05 Ulrich Drepper <drepper@gmail.com>
78 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81 (__spawni): Change last parameter to be flag. Test
82 SPAWN_XFLAGS_USE_PATH flag to use path or not.
83 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85 * posix/spawni.c: Likewise.
86 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
87 * posix/spawnp.c: Likewise. Change normal version to use
88 SPAWN_XFLAGS_USE_PATH.
89 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90 SPAWN_XFLAGS_TRY_SHELL.
93 * posix/glob.h: Remove gcc 1.x support.
96 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
98 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
101 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
103 * sysdeps/i386/i686/multiarch/strchr.S: New file.
104 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
105 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
106 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
107 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
108 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
110 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
112 * sysdeps/x86_64/wcscmp.S: New file.
114 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
116 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
117 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
118 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
119 * wcsmbs/wcscmp.c: Allow renaming.
121 2011-09-05 David S. Miller <davem@davemloft.net>
123 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
124 stack slot, rather than the struct return pointer slot.
125 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
126 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
128 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
130 2011-09-05 Ulrich Drepper <drepper@gmail.com>
132 * po/ja.po: Update from translation team.
135 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
136 kernel in 64-bit binaries.
138 2011-09-01 David S. Miller <davem@davemloft.net>
140 * elf/elf.h (HWCAP_SPARC_*): Move to..
141 * sysdeps/sparc/sysdep.h: this new file and add new values.
142 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
143 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
144 _DL_HWCAP_COUNT to 24.
145 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
147 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
148 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
149 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
151 instead of magic constants.
152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
154 2011-08-31 David S. Miller <davem@davemloft.net>
156 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
158 Reimplement to do errno handling inline.
159 (SYSCALL_ERROR_HANDLER): New macro.
160 (__SYSCALL_STRING): Do not do errno handling in asm.
161 (__CLONE_SYSCALL_STRING): Delete.
162 (__INTERNAL_SYSCALL_STRING): Delete.
163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
164 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
165 (PSEUDO): Reimplement to do errno handling inline.
166 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
167 (SYSCALL_ERROR_HANDLER): New macro.
168 (__SYSCALL_STRING): Do not do errno handling in asm.
169 (__CLONE_SYSCALL_STRING): Delete.
170 (__INTERNAL_SYSCALL_STRING): Delete.
171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
172 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
174 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
175 (inline_syscall*): Add 'err' argument.
176 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
177 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
178 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
179 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
181 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
182 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
184 2011-08-30 Andreas Schwab <schwab@redhat.com>
186 * elf/rtld.c (dl_main): Relocate objects in dependency order.
188 2011-08-29 Jiri Olsa <jolsa@redhat.com>
190 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
193 2011-08-24 David S. Miller <davem@davemloft.net>
195 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
197 2011-08-24 Andreas Schwab <schwab@redhat.com>
199 * elf/Makefile: Add rules to build and run unload8 test.
200 * elf/unload8.c: New file.
201 * elf/unload8mod1.c: New file.
202 * elf/unload8mod1x.c: New file.
203 * elf/unload8mod2.c: New file.
204 * elf/unload8mod3.c: New file.
206 * elf/dl-close.c (_dl_close_worker): Reset private search list if
209 2011-08-23 David S. Miller <davem@davemloft.net>
211 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
213 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
214 %sp not %fp in calculations.
215 (_JMPBUF_UNWINDS_ADJ): Likewise.
217 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
218 (aio_suspend): Call it to force an exception region around the
219 AIO_MISC_WAIT() invocation.
221 2011-08-23 Andreas Schwab <schwab@redhat.com>
223 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
226 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
228 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
230 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
232 (Elf64_FuncDesc): Remove.
234 2011-08-22 David S. Miller <davem@davemloft.net>
236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
237 sigaltstack check, add missing cfi directives.
238 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
239 missing cfi directives, and sigaltstack handling.
241 2011-08-16 Andreas Schwab <schwab@redhat.com>
244 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
245 object is seen twice.
246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
248 * elf/Makefile (distribute): Add tst-initorder2.c.
249 (tests): Add tst-initorder2.
250 (modules-names): Add tst-initorder2a tst-initorder2b
251 tst-initorder2c tst-initorder2d. Add rules to build them.
252 ($(objpfx)tst-initorder2.out): New rule.
253 * elf/tst-initorder2.c: New file.
254 * elf/tst-initorder2.exp: New file.
256 2011-08-22 Andreas Schwab <schwab@redhat.com>
258 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
260 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
261 dependencies back to end of function.
263 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
266 2011-08-21 Ulrich Drepper <drepper@gmail.com>
268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
269 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
271 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
272 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
273 of __vdso_gettimeofday.
274 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
275 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
277 (_libc_vdso_platform_setup): Remove initialization of
278 __vdso_gettimeofday and __vdso_time.
280 2011-08-20 Ulrich Drepper <drepper@gmail.com>
282 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
284 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
287 * elf/dl-open.c (add_to_global): Report additions to the global scope
289 (dl_open_worker): Also print scope of newly loaded dependencies.
290 (_dl_show_scope): Indicate if there is no scope.
293 * stdio-common/Makefile (tests): Add bug24.
294 * stdio-common/bug24.c: New file.
296 2011-08-19 Andreas Jaeger <aj@suse.de>
299 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
300 non-existant file when using close-on-exec mode.
302 2011-08-20 Ulrich Drepper <drepper@gmail.com>
304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
305 the very first instruction.
307 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
308 the CFI state in the end.
309 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
310 inclusion of dl-trampoline.h.
311 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
313 2011-08-19 Andreas Schwab <schwab@redhat.com>
315 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
316 expectations for long double.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
319 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
321 2011-08-14 David S. Miller <davem@davemloft.net>
323 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
324 artificual limit depends upon the system page size.
326 2011-08-17 Ulrich Drepper <drepper@gmail.com>
328 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
329 * resolv/Makefile: Define CFLAGS-libresolv.
331 2011-08-17 Andreas Schwab <schwab@redhat.com>
333 * nss/makedb.c (compute_tables): Make variables used in nested
336 2011-08-17 Ulrich Drepper <drepper@gmail.com>
338 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
339 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
340 if buffer was too small.
342 * elf/pldd.c (main): Attach to all threads in the process.
343 Rewrite /proc handling to use *at functions.
345 2011-08-16 Ulrich Drepper <drepper@gmail.com>
347 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
348 specifies first scope to show.
349 (dl_open_worker): Update callers. Move printing scope of new
350 object to before the relocation.
351 * elf/rtld.c (dl_main): Update _dl_show_scope call.
352 * sysdeps/generic/ldsodefs.h: Update declaration.
354 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
355 string for the scope number.
357 2011-08-14 Ulrich Drepper <drepper@gmail.com>
359 * nscd/servicescache.c (cache_addserv): Make sure written is always
362 2011-08-14 Roland McGrath <roland@hack.frob.com>
364 * sysdeps/i386/i486/bits/atomic.h
365 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
366 statement expression, so as to suppress "set but not used" warning.
367 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
369 * string/strncat.c (STRNCAT): Use prototype definition.
371 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
372 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
374 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
375 (localedef-modules): Add localedef.
376 (locale-modules): Add locale.
378 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
379 * elf/rtld.c (dl_main): Invert order of assignment in last change,
382 2011-08-14 David S. Miller <davem@davemloft.net>
384 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
385 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
387 2011-08-13 Ulrich Drepper <drepper@gmail.com>
389 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
390 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
391 * elf/rtld.c (dl_main): Set l_name of vDSO.
392 Call _dl_show_scope when DL_DEBUG_SCOPES.
393 (process_dl_debug): Recognize scopes flag and also set it for all.
394 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
395 Declare _dl_show_scope.
397 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
398 (do_dlopen): Pass caller_dlopen to dl_open.
399 (__libc_dlopen_mode): Initialize caller_dlopen.
401 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
402 of libc. Make tolower call locale-independent. Optimize a bit by
403 using isdigit instead of isalnum.
404 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
406 2011-08-12 Ulrich Drepper <drepper@gmail.com>
408 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
409 was a dependency or dynamically loaded.
411 2011-08-11 Ulrich Drepper <drepper@gmail.com>
413 * intl/l10nflist.c: Allow architecture-specific pop function.
414 * sysdeps/x86_64/l10nflist.c: New file.
416 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
419 2011-08-10 Andreas Schwab <schwab@redhat.com>
421 * include/dirent.h: Add libc_hidden_proto for scandirat and
422 scandirat64. Don't declare __scandirat64.
423 * dirent/scandirat.c: Add libc_hidden_def.
424 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
425 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
427 2011-08-10 David S. Miller <davem@davemloft.net>
429 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
435 2011-08-09 Ulrich Drepper <drepper@gmail.com>
437 * Versions.def [libc]: Add GLIBC_2.15.
438 * dirent/Makefile (routines): Add scandirat and scandirat64.
439 * dirent/Versions [libc]: Export scandirat and scandirat64 for
441 * dirent/dirent.h: Declare scandirat and scandirat64.
442 * dirent/scandirat.c: New file.
443 * dirent/scandirat64.c: New file.
444 * sysdeps/wordsize-64/scandirat.c: New file.
445 * sysdeps/wordsize-64/scandirat64.c: New file.
446 * dirent/opendir.c: Define opendirat.
447 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
449 * dirent/scandir64.c: Adjust for scandir.c change.
450 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
451 __scandirat64, and __scandir_cancel_handler.
452 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
453 additional parameter and use openat instead of open (outside of ld.so).
454 Add new __opendir as wrapper around __opendirat.
455 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
456 here without requiring old scandirat implementation.
458 2011-08-08 Ulrich Drepper <drepper@gmail.com>
460 * dirent/scandir.c (cancel_handler): Renamed to
461 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
462 defined. Adjust users.
463 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
464 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
466 2011-08-04 Ulrich Drepper <drepper@gmail.com>
468 * string/test-string.h (IMPL): Use __STRING to expand name and then
471 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
474 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
476 * string/Makefile: Update.
477 (strop-tests): Append strncat.
478 * string/test-wcscmp.c: New file.
479 New comprehensive test for wcscmp.
480 * string/test-strcmp.c: Update.
483 2011-07-22 Andreas Schwab <schwab@redhat.com>
485 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
488 2011-07-26 Andreas Schwab <schwab@redhat.com>
490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
491 encoding to ACE if AI_IDN.
493 2011-08-01 Jakub Jelinek <jakub@redhat.com>
495 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
496 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
498 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
500 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
501 Fix overflow bug in strncat.
502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
504 * string/test-strncat.c: Update.
505 Add new tests for checking overflow bugs.
507 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
510 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
511 * sysdeps/i386/i686/multiarch/strcat.S: New file.
512 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
514 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
515 * sysdeps/i386/i686/multiarch/strncat.S: New file.
516 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
517 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
520 (USE_AS_STRCAT): Define.
521 Add strcat and strncat support.
522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
524 2011-07-25 Andreas Schwab <schwab@redhat.com>
526 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
527 __n bigger than INT_MAX+1.
528 (__strncmp_g): Likewise.
530 2011-07-23 Ulrich Drepper <drepper@gmail.com>
532 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
533 * libio/stido.h: Likewise.
535 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
540 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
543 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
547 * scripts/test-installation.pl: Don't expect libnss_test1 to be
550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
552 (_dl_x86_64_save_sse): Likewise.
554 2011-07-22 Ulrich Drepper <drepper@gmail.com>
556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
558 (_dl_x86_64_save_sse): Likewise.
560 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
562 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
564 2011-07-21 Andreas Schwab <schwab@redhat.com>
566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
568 (_dl_x86_64_save_sse): Use correct AVX check.
570 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
573 bug in strncpy/strncat.
574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
576 2011-07-21 Ulrich Drepper <drepper@gmail.com>
578 * string/tester.c (test_strcat): Add tests for different alignments
579 of source and destination.
580 (test_strncat): Likewise.
582 2011-07-20 Ulrich Drepper <drepper@gmail.com>
585 * posix/glob.c (glob): Check passed in values before using them in
586 expressions to avoid some overflows.
587 (glob_in_dir): Likewise.
590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
591 check for AVX enablement so that we don't crash with old kernels and
593 * elf/tst-audit4.c: Add same checks here.
594 * elf/tst-audit6.c: Likewise.
596 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
598 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
600 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
602 2011-07-20 Ulrich Drepper <drepper@gmail.com>
604 * po/cs.po: Update from translation team.
605 * po/bg.po: Likewise.
607 2011-07-12 Marek Polacek <mpolacek@redhat.com>
609 * misc/sys/cdefs.h: Add support for const attribute.
610 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
611 to gnu_dev_{major,minor,makedev} functions.
613 2011-07-20 Marek Polacek <mpolacek@redhat.com>
615 * intl/dcigettext.c (get_output_charset): Add missing bracket.
617 2011-07-20 Andreas Schwab <schwab@redhat.com>
619 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
622 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
625 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
626 register in order to avoid conflicts with the soft frame pointer
627 being held in r11 when necessary.
628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
629 (INTERNAL_VSYSCALL_NCS): Likewise.
631 2011-07-14 Marek Polacek <mpolacek@redhat.com>
633 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
634 * elf/dl-fini.c (_dl_fini): Adjust caller.
635 * elf/dl-close.c (_dl_close_worker): Likewise.
636 * sysdeps/generic/ldsodefs.h: Adjust declaration.
638 2011-07-15 Marek Polacek <mpolacek@redhat.com>
640 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
641 "aux_cache->nlibs < 0".
643 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
644 in the reload-count case.
646 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
649 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
650 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
652 * sysdeps/x86_64/multiarch/strcat.S: New file.
653 * sysdeps/x86_64/multiarch/strncat.S: New file.
654 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
655 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
656 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
657 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
658 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
659 (USE_AS_STRCAT): Define.
660 Add strcat and strncat support.
661 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
662 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
663 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
664 * string/strncat.c: Update.
665 (USE_AS_STRNCAT): Define.
666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
667 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
669 * sysdeps/x86_64/multiarch/init-arch.h
670 (bit_Prefer_PMINUB_for_stringop): New.
671 (index_Prefer_PMINUB_for_stringop): Likewise.
672 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
673 bit_Prefer_PMINUB_for_stringop.
675 2011-07-19 Ulrich Drepper <drepper@gmail.com>
677 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
679 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
680 of casting of buffer.
681 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
682 buffer32 and buffer64.
683 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
684 writes instead of casting of buffer.
685 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
687 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
690 2011-07-19 Andreas Schwab <schwab@redhat.com>
692 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
694 2011-07-19 Ulrich Drepper <drepper@gmail.com>
696 * nscd/nscd.c (termination_handler): Don't do anything for a database
697 if it has not yet been initialized.
699 2011-07-18 Ulrich Drepper <drepper@gmail.com>
701 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
703 2011-07-15 Marek Polacek <mpolacek@redhat.com>
705 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
707 2011-07-18 Ulrich Drepper <drepper@gmail.com>
709 * po/nl.po: Update from translation team.
710 * po/sv.po: Likewise.
712 2011-07-16 Roland McGrath <roland@hack.frob.com>
714 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
715 now disallowed by GCC.
717 * configure.in (use-default-link): Default to yes if a test -shared
718 link meets our qualifications.
719 * configure: Regenerated.
721 * config.make.in (output-format): New variable.
722 * configure.in: Check for ld --print-output-format support.
723 * configure: Regenerated.
724 * Makerules ($(common-objpfx)format.lds)
725 [$(output-format) != unknown]: Just use $(output-format),
726 instead of the linker-script munging.
728 2011-07-14 Roland McGrath <roland@hack.frob.com>
730 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
731 of $(common-objpfx)shlib.lds.
732 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
734 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
735 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
737 * configure.in (-z relro check): Adjust test code to add a large
738 writable data section after it.
739 * configure: Regenerated.
741 2011-07-11 Roland McGrath <roland@hack.frob.com>
743 * configure.in (-z relro check): Fix test code to make the variable
745 * configure: Regenerated.
747 2011-07-11 Ulrich Drepper <drepper@gmail.com>
749 * nscd/nscd.h (struct traced_file): Define.
750 (struct database_dyn): Remove inotify_descr, reset_res, and filename
751 elements. Add traced_files.
752 (inotify_fd): Declare.
753 (register_traced_file): Declare.
754 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
755 (inotify_fd): Export.
756 (resolv_conf_descr): Remove.
757 (nscd_init): Move inotify descriptor creation to main.
758 Don't register files for notification here.
759 (register_traced_file): New function.
760 (invalidate_cache): Don't use reset_res to determine whether to call
761 res_init, go through the list of registered files.
762 (main_loop_poll): The inotify descriptors are now stored in the
763 structures for the traced files.
764 (main_loop_epoll): Likewise
765 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
766 to __nss_disable_nscd.
767 * nscd/cache.c (prune_cache): There is no single inotify descriptor
768 for a database anymore. Check the records for all the registered
770 * nss/Makefile (libnss_files-routines): Add files-init.
771 (libnss_db-routines): Add db-init.
772 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
773 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
774 * nss/nss_db/db-init.c: New file.
775 * nss/nss_files/files-init.c: New file.
776 * nss/nsswitch.c (nss_load_library): New function. Broken out of
777 __nss_lookup_function.
778 (__nss_lookup_function): Call nss_load_library.
779 (nss_load_all_libraries): New function.
780 (__nss_disable_nscd): Take parameter with callback function for files
781 to register. Set is_nscd. Load all the DSOs for the NSS modules
782 used for the cached services.
783 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
784 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
785 options for features to all the files in nscd.
787 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
789 2011-07-10 Roland McGrath <roland@hack.frob.com>
791 * csu/elf-init.c (__libc_csu_init): Comment typo.
793 2011-07-09 Ulrich Drepper <drepper@gmail.com>
795 * po/pl.po: Update from translation team.
796 * po/ja.po: Likewise.
797 * po/ru.po: Likewise.
798 * po/ko.po: Likewise.
799 * po/fr.po: Likewise.
801 2011-07-09 Roland McGrath <roland@hack.frob.com>
803 * configure.in (.ctors/.dtors header and trailer check):
804 Use an empirical test on a built program.
805 * configure: Regenerated.
807 * configure.in (-z relro check): Use an empirical test on a built DSO.
808 Detect, but do not require, on ia64.
809 * configure: Regenerated.
811 * configure.in (READELF): Find it with AC_CHECK_TOOL.
812 Update tests that use readelf to use $READELF instead.
813 * configure: Regenerated.
815 2011-07-08 Ulrich Drepper <drepper@gmail.com>
817 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
818 if the result is not used.
820 2011-07-05 Andreas Jaeger <aj@suse.de>
823 * stdlib/tst-strtod.c: Add testcase.
825 2011-07-07 Ulrich Drepper <drepper@gmail.com>
827 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
828 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
829 The latter has a higher limit. Take additional parameter to pass to
831 (__pathconf): Pass file to __statfs_link_max.
832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
834 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
838 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
839 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
842 (__statfs_filesize_max): Likewise.
843 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
845 2011-07-05 Andreas Jaeger <aj@suse.de>
847 * resolv/res_comp.c (dn_skipname): Remove unused variable.
849 2011-07-06 Marek Polacek <mpolacek@redhat.com>
851 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
853 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
856 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
858 * Makefile (strop-tests): Add strncat.
859 * string/test-strncat.c: New file.
861 2011-06-30 Marek Polacek <mpolacek@redhat.com>
863 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
865 2011-06-21 Andreas Jaeger <aj@suse.de>
867 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
868 Copy rule from iconvdata/Makefile.
870 2011-07-06 Ulrich Drepper <drepper@gmail.com>
873 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
874 but no long options are defined, just return 'W'.
876 2011-06-22 Marek Polacek <mpolacek@redhat.com>
879 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
881 2011-07-06 Ulrich Drepper <drepper@gmail.com>
883 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
887 2011-07-05 Roland McGrath <roland@hack.frob.com>
889 * config.make.in (install_root): Default to $(DESTDIR).
891 2011-07-05 Ulrich Drepper <drepper@gmail.com>
893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
895 2011-07-02 Roland McGrath <roland@hack.frob.com>
897 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
899 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
900 containing directory rather than embedding absolute directory names.
902 * scripts/check-local-headers.sh: Rewritten using awk.
903 Match by word, not by line. Print error messages for matches.
904 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
906 * Makerules [shlib-lds-flags empty]:
907 ($(common-objpfx)libc_pic.opts): New target.
908 ($(common-objpfx)libc_pic.os.clean): New target.
909 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
911 * config.make.in (OBJCOPY): New variable.
912 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
913 * configure: Regenerated.
915 * config.make.in (use-default-link): New variable.
916 * configure.in (use_default_link): Grok --with-default-link to set it.
917 * configure: Regenerated.
918 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
919 (shlib-lds, shlib-lds-flags): Define to empty.
921 * Makerules (shlib-lds): New variable.
922 (shlib-lds-flags): New variable.
923 (build-shlib, build-moduile, build-module-asneeded): Use it.
924 ($(common-objpfx)libc.so): Use $(shlib-lds).
925 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
926 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
928 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
929 DT_FLAGS/DT_FLAGS_1 with zero flags.
931 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
932 linker script munging.
934 2011-07-02 Ulrich Drepper <drepper@gmail.com>
936 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
938 * crypt/sha512.c (sha512_process_block): Perform total addition using
940 (__sha512_finish_ctx): Likewise.
941 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
943 * crypt/sha256.c (SWAP64): Define.
944 (sha256_process_block): Perform total addition using 64-bit if
946 (__sha256_finish_ctx): Likewise.
948 2011-07-01 Ulrich Drepper <drepper@gmail.com>
950 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
952 * nscd/hstcache.c (cache_addhst): Likewise.
953 * nscd/grpcache.c (cache_addgr): Likewise.
954 * nscd/aicache.c (addhstaiX): Likewise
955 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
957 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
959 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
961 * nscd/hstcache.c (cache_addhst): Likewise.
962 * nscd/grpcache.c (cache_addgr): Likewise.
963 * nscd/aicache.c (addhstaiX): Likewise
965 2011-07-01 Andreas Schwab <schwab@redhat.com>
967 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
968 domain only when needed.
970 2011-06-30 Andreas Schwab <schwab@redhat.com>
972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
975 2011-06-29 Ulrich Drepper <drepper@gmail.com>
977 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
978 are re-adding the entry.
979 * nscd/servicescache.c (cache_addserv): Likewise.
981 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
983 * sysdeps/generic/dl-irel.h: fix protection against multiple
985 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
987 2011-06-28 Ulrich Drepper <drepper@gmail.com>
990 * malloc/memusage.sh: Fix quoting in message.
991 * debug/xtrace.sh: Likewise.
993 * configure.in: Remove support for --experimental-malloc option, make
995 * config.make.in: Likewise.
996 * malloc/Makefile: Likewise.
998 2011-06-27 Andreas Schwab <schwab@redhat.com>
1000 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
1001 two-byte characters.
1003 2011-06-27 Roland McGrath <roland@hack.frob.com>
1005 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
1006 AC_CACHE_CHECK invocation.
1007 * configure: Regenerated.
1009 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
1011 2011-06-27 Ulrich Drepper <drepper@gmail.com>
1014 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
1015 bit from old_res_options.
1017 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
1019 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
1020 value type for setfct.
1022 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
1024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1025 __gettimeofday instead of gettimeofday.
1027 2011-06-26 Ulrich Drepper <drepper@gmail.com>
1029 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
1031 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
1033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
1035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
1038 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1041 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1042 strcpy-sse2-unaligned strncpy-sse2-unaligned
1043 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
1044 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
1045 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
1046 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
1047 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
1048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
1049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
1050 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
1051 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
1052 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
1053 (STRCPY): Support SSE2 and SSSE3 versions.
1055 2011-06-24 Ulrich Drepper <drepper@gmail.com>
1058 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
1059 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
1060 kernels which artificially limit size of requests.
1062 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1065 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1066 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
1067 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
1068 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
1069 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
1070 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
1071 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
1072 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
1073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
1074 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
1075 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
1076 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
1077 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
1078 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
1079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1080 Enable unaligned load optimization for Intel Core i3, i5 and i7
1082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
1084 (index_Fast_Unaligned_Load): Define.
1085 (HAS_FAST_UNALIGNED_LOAD): Define.
1087 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1089 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
1091 2011-06-22 Ulrich Drepper <drepper@gmail.com>
1094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
1095 until it is clear that the information is realy needed.
1096 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
1098 2011-06-22 Andreas Schwab <schwab@redhat.com>
1100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
1102 2011-06-22 Ulrich Drepper <drepper@gmail.com>
1104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1105 /sys/devices/system/cpu/online if it is usable.
1107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
1108 reading the information from the /proc filesystem to once a second.
1110 2011-06-21 Andreas Jaeger <aj@suse.de>
1112 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
1113 NULL after inclusion of kernel headers.
1115 2011-06-21 Ulrich Drepper <drepper@gmail.com>
1117 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
1118 calls to internal_setent.
1121 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
1122 addresses using gethostbyname4_r ignore IPv4 addresses.
1124 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
1125 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
1127 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
1129 2011-06-20 David S. Miller <davem@davemloft.net>
1131 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
1133 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
1135 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
1137 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
1138 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
1139 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
1140 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
1141 * sysdeps/x86_64/dl-irel.h: Likewise.
1143 * elf/dl-runtime.c: Use elf_ifunc_invoke.
1144 * elf/dl-sym.c: Likewise.
1146 2011-06-15 Ulrich Drepper <drepper@gmail.com>
1148 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
1149 need to dereference resplen2.
1151 2011-06-14 Andreas Schwab <schwab@redhat.com>
1153 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
1155 2011-06-15 Ulrich Drepper <drepper@gmail.com>
1157 * Makeconfig: Define vardbdir and inst_vardbdir.
1158 * nss/Makefile: Add rules to install db-Makefile.
1160 * nss/nss_db/db-XXX.c: Cleanup.
1162 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
1163 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
1165 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
1166 * nss/makedb.c: Implement -g option to specify that value strings
1167 are generated and should not be added to table iterated over for
1169 * nss/nss_db/db-initgroups.c: New file.
1171 * nss/getent.c: Add support for initgroups lookups through getgrouplist
1174 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
1175 (internal_getgrouplist): Adjust to name change.
1176 Update use_initgroups_entry if this is not the first call.
1177 * nss/databases.def: Add initgroups entry.
1179 * nss/makedb.c (compute_tables): Check result of multiple hash table
1180 sizes to minimize maximum chain length.
1182 2011-06-14 Ulrich Drepper <drepper@gmail.com>
1184 * Versions.def: Add entry for libnss_db.
1185 * shlib-versions: Likewise.
1186 * nss/Makefile: Add rules to build libnss_db.
1187 * nss/Versions: Add libnss_db information. Organize libnss_files
1189 * nss/db-Makefile: Add gshadow support. Change rules for the new
1190 makedb progra. Some minor improvements to generate smaller files.
1191 * nss/nss_db/nss_db.h: Move NSS database header data structures to
1193 * nss/makedb.c: ...here.
1194 Improve database format to be smaller and require less memory at
1196 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
1198 * nss/nss_db/db-netgrp.c: Likewise.
1199 * nss/nss_db/db-open.c: Likewise.
1200 * nss/nss_files/flies-XXX.x: Adjust comments.
1201 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
1202 * nss/nss_files/files-grp.c: Likewise.
1203 * nss/nss_files/files-hosts.c: Likewise.
1204 * nss/nss_files/files-network.c: Likewise.
1205 * nss/nss_files/files-proto.c: Likewise.
1206 * nss/nss_files/files-pwd.c: Likewise.
1207 * nss/nss_files/files-rpc.c: Likewise.
1208 * nss/nss_files/files-service.c: Likewise.
1209 * nss/nss_files/files-sgrp.c: Likewise.
1210 * nss/nss_files/files-spwd.c: Likewise.
1211 * nss/nss_db/db-alias.c: Removed.
1212 * nss/nss_db/dummy-db.h: Removed.
1214 2011-06-02 Ulrich Drepper <drepper@gmail.com>
1216 * nss/makedb.c: Rewritten to not use database library.
1217 * nss/Makefile: Update to build new makedb program.
1219 2011-06-14 Andreas Jaeger <aj@suse.de>
1221 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
1224 2011-06-10 Andreas Schwab <schwab@redhat.com>
1226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
1229 2011-06-10 Roland McGrath <roland@hack.frob.com>
1231 * Makerules (shlib.lds): Fail if the linker script comes out empty.
1232 * elf/Makefile ($(objpfx)ld.so): Likewise.
1234 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
1235 Don't list ld.so twice in dependencies.
1237 * posix/bug-regex31.c: Include <stdlib.h>.
1239 * nscd/hstcache.c (cache_addhst): Remove unused variable.
1241 * nis/nss_compat/compat-spwd.c
1242 (getspent_next_nss_netgr): Remove unused variable.
1243 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1245 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
1246 nonmembers" output to use the right array.
1248 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
1250 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
1252 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
1253 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
1254 * catgets/gencat.c (read_input_file): Likewise.
1255 * locale/programs/locarchive.c (enlarge_archive): Likewise.
1257 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
1258 variable definition inside #if's controlling its use.
1260 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
1262 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
1264 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
1266 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
1269 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
1271 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
1272 * configure: Regenerated.
1274 * Makerules: Revert last change.
1275 * elf/Makefile: Likewise.
1277 2011-06-09 Roland McGrath <roland@hack.frob.com>
1279 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
1280 * elf/Makefile ($(objpfx)librtld.os): Likewise.
1281 (reloc-link): Likewise.
1283 2011-06-09 Ulrich Drepper <drepper@gmail.com>
1285 * elf/Makefile: Add rules to build pldd.
1286 * elf/pldd.c: New file.
1287 * elf/pldd-xx.c: New file.
1289 2011-06-07 Ulrich Drepper <drepper@gmail.com>
1291 * version.h: Update for 2.15 development version.
1293 2011-06-07 David S. Miller <davem@davemloft.net>
1295 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
1297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1298 elf_machine_lazy_rel): Likewise.
1299 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1301 elf_machine_lazy_rel): Likewise.
1302 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
1303 dl_hwcap via passed in argument.
1304 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
1307 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1309 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
1311 2011-06-06 Roland McGrath <roland@hack.frob.com>
1314 * manual/fdl-1.1.texi: New file, verbatim from:
1315 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
1316 * manual/lgpl-2.1.texi: New file, verbatim from:
1317 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
1318 * manual/Makefile (licenses): New variable, list those new file names.
1320 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
1322 * manual/fdl.texi: File removed.
1323 * manual/lesser.texi: File removed.
1324 * manual/libc.texinfo (Copying, Documentation License):
1325 Use new @include file names, put @appendix directive before @include.
1327 2011-06-04 Jakub Jelinek <jakub@redhat.com>
1330 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
1331 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
1332 (mq_open): Add __NTH.
1334 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
1336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1337 Assume Intel Core i3/i5/i7 processor if AVX is available.
1339 2011-05-31 Ulrich Drepper <drepper@gmail.com>
1341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1344 2011-05-31 Andreas Schwab <schwab@redhat.com>
1346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
1347 memory. Use alloca_account. Fix memory leak when retrying.
1349 2011-05-31 Ulrich Drepper <drepper@gmail.com>
1351 * version.h (RELEASE): Bump for 2.14 release.
1352 * include/features.h (__GLIBC_MINOR__): Bump to 14.
1354 * config.make.in (RANLIB): Remove entry.
1356 2011-05-30 Ulrich Drepper <drepper@gmail.com>
1358 * po/Makefile (po-sed-cmd): Add ksh to extensions.
1359 (libc.pot): Work around missing support for .ksh extension in xgettext.
1362 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
1363 if both request failed.
1364 (send_dg): In case of server errors clear resplen or *resplen2.
1367 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
1368 when there are multiple maps.
1369 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
1370 (_dl_fini): Remove test here.
1372 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
1374 2011-05-29 Ulrich Drepper <drepper@gmail.com>
1377 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
1378 bit from old_res_options.
1379 (gaih_inet): Likewise.
1382 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
1385 * resolv/res_init.c (res_setoptions): Make the code more compact.
1388 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
1392 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
1394 * malloc/malloc.h: Mark malloc hook variables as deprecated.
1397 * malloc/malloc.h: Declare malloc hook variables as volatile.
1399 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
1403 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
1404 raise in the comment.
1405 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1406 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1407 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1409 2011-05-28 Ulrich Drepper <drepper@gmail.com>
1412 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
1413 grow the buffers more if it already has to be sufficient.
1414 (build_wcs_upper_buffer): Likewise.
1415 * posix/regexec.c (check_matching): Likewise.
1416 (clean_state_log_if_needed): Likewise.
1417 (extend_buffers): Don't enlarge buffers beyond size of the input
1419 Patches mostly by Emil Wojak <emil@wojak.eu>.
1420 * posix/bug-regex32.c: New file.
1421 * posix/Makefile (tests): Add bug-regex32.
1423 * locale/findlocale.c (_nl_find_locale): Return right away if
1424 _nl_explode_name failed.
1425 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1427 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
1429 * debug/xtrace.sh: Unify messages.
1430 * malloc/memusage.sh: Likewise.
1433 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
1434 time symbol from vDSO. Substitute with vsyscall if not available.
1435 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
1438 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
1439 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
1440 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
1441 Add sendmmsg and internal_sendmmsg.
1442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
1443 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
1444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
1446 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
1447 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
1448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
1450 2011-05-27 Ulrich Drepper <drepper@gmail.com>
1453 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
1454 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
1456 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
1460 * iconvdata/Makefile (tests): Add bug-iconv9.
1461 * iconvdata/bug-iconv9.c: New file.
1463 2011-05-27 Andreas Schwab <schwab@redhat.com>
1466 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
1468 2011-05-25 Jakub Jelinek <jakub@redhat.com>
1470 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1471 (struct user_regs_struct): Change intcs field back to cs.
1473 2011-05-25 Ulrich Drepper <drepper@gmail.com>
1475 * po/ja.po: Update from translation team.
1477 2011-05-23 Ulrich Drepper <drepper@gmail.com>
1480 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
1481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1483 2011-05-20 Andreas Schwab <schwab@redhat.com>
1485 * stdlib/longlong.h: Update from GCC.
1487 2011-05-23 Andreas Schwab <schwab@redhat.com>
1489 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
1491 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
1493 (__sysconf): Pass it down.
1495 2011-05-22 Ulrich Drepper <drepper@gmail.com>
1498 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
1500 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1501 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
1502 add in in __libc_use_alloca calls. Adjust callers.
1503 (glob): Use malloc in some situations.
1505 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
1506 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
1509 2011-05-21 Ulrich Drepper <drepper@gmail.com>
1511 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
1512 and CLOCK_BOOTTIME_ALARM.
1515 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
1518 * string/_strerror.c (__strerror_r): Print negative errors as signed
1522 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
1523 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
1524 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
1526 * configure.in: Fix typo in redirection and correct removal of test
1530 * locale/setlocale.c (new_composite_name): Fix test to check for
1531 identical name of all categories.
1534 * libio/filedoalloc.c (local_isatty): New function.
1535 (_IO_file_doallocate): Use local_isatty.
1536 * stdio-common/perror.c (perror): In case a new stream is used
1537 forward the stream error.
1538 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
1541 2011-05-20 Ulrich Drepper <drepper@gmail.com>
1544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
1546 * include/alloca.h (extend_alloca_account): Define.
1549 * posix/regex.h: Fix comments with documentation of user-accessible
1550 fields after compilation and describe correct free'ing of pattern
1551 after re_compile_pattern.
1552 Patch by Reuben Thomas <rrt@sc3d.org>.
1554 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
1556 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
1557 and -mno-altivec to prevent the compiler from using Altivec and/or
1558 VSX instructions when the corresponding registers are not available.
1560 2011-05-19 Andreas Schwab <schwab@redhat.com>
1562 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
1564 2011-05-19 Ulrich Drepper <drepper@gmail.com>
1566 * libio/freopen.c (freopen): Use __dup2, not dup2.
1567 * libio/freopen64.c (freopen64): Likewise.
1569 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
1572 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
1573 * math/Makefile (tests): Add test-powl.
1574 (CFLAGS-test-powl.c): Define.
1575 * math/test-powl.c: New file.
1577 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
1579 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
1581 2011-05-17 Ulrich Drepper <drepper@gmail.com>
1584 * iconvdata/gb18030.c: Update to GB18020-2005.
1586 2011-05-16 Ulrich Drepper <drepper@gmail.com>
1588 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
1589 RE_SYNTAX_POSIX_AWK): Update to match recent development.
1590 Patch by Aharon Robbins <arnold@skeeve.com>.
1593 * stdlib/putenv.c (putenv): Don't always create copy of the variable
1597 * misc/pselect.c (__pselect): Handle timeout value errors hidden
1601 * misc/error.c (error_at_line): Ensure file_name and old_file_name
1602 point to strings before performing equality test for error_one_per_line
1606 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
1609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1610 (struct user_fpregs_struct): Avoid __uint*_t types.
1613 * malloc/mtrace.c (tr_where): Add additional parameter to point to
1614 symbol info. Use it instead of calling _dl_addr locally.
1615 (lock_and_info): New function.
1616 (tr_freehook): Call lock_and_info and pass symbol info as additional
1617 parameter to tr_where.
1618 (tr_mallochook): Likewise.
1619 (tr_reallochook): Likewise.
1620 (tr_memalignhook): Likewise.
1622 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
1623 used and couldn't be at all thread-safe.
1625 2011-05-15 Ulrich Drepper <drepper@gmail.com>
1627 * libio/freopen.c (freopen): Don't close old file descriptor
1628 before the new one is opened. Instead dup the new file descriptor
1629 to the old one after the new stream is created.
1630 * libio/freopen64.c (freopen64): Likewise.
1631 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
1632 * libio/fileops.c (_IO_new_file_close_it): Handle new
1633 _IO_FLAGS2_NOCLOSE flag.
1634 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
1635 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
1636 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
1637 _IO_FLAGS2_NOCLOSE flag.
1638 * include/unistd.h: Add hidden_proto for dup3.
1640 * io/dup3.c: Define hidden symbol.
1641 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
1644 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
1645 when an incomplete long option is used.
1646 * posix/tst-getopt_long1.c: New file.
1647 * posix/Makefile (tests): Add tst-getopt_long1.
1650 * scripts/config.guess: Update from autoconf-2.68.
1651 * scripts/config.sub: Likewise.
1654 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
1656 (has_cpuclock): ...this. New function.
1657 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
1658 macro here based on has_cpuclock code.
1661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1662 First byte (not low byte) is now always NUL.
1663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
1665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1666 Use non-cancelable interfaces.
1669 * locale/iso-639.def: Add entry for Sorani.
1672 * include/stdlib.h: Move include protection to the right place.
1673 Define abort_msg_s. Declare __abort_msg with it.
1674 * stdlib/abort.c (__abort_msg): Adjust type.
1675 * assert/assert.c (__assert_fail_base): New function. Majority
1676 of code from __assert_fail. Allocate memory for __abort_msg with
1678 (__assert_fail): Now call __assert_fail_base.
1679 * assert/assert-perr.c: Remove bulk of implementation. Use
1681 * include/assert.hL Declare __assert_fail_base.
1682 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
1684 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
1686 2011-05-14 Ulrich Drepper <drepper@gmail.com>
1690 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
1691 until all modules are registered in the DTV.
1692 * elf/Makefile: Add rules to build and run tst-tls19.
1693 * elf/tst-tls19.c: New file.
1694 * elf/tst-tls19mod1.c: New file.
1695 * elf/tst-tls19mod2.c: New file.
1696 * elf/tst-tls19mod3.c: New file.
1697 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
1700 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
1704 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
1705 two-byte sequence errors.
1706 * iconvdata/Makefile (tests): Add bug-iconv8.
1707 * iconvdata/bug-iconv8.c: New file.
1710 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
1713 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
1716 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
1717 (dummy_getcfa): New function.
1718 (init): Get _Unwind_GetCFA address, use dummy if not found.
1719 (backtrace_helper): In recursion check, also check whether CFA changes.
1720 (__backtrace): Completely initialize arg.
1722 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
1723 storing incomplete byte sequence in state object. Avoid testing for
1724 guaranteed too small input if we know there is enough data available.
1726 2011-05-11 Andreas Schwab <schwab@redhat.com>
1728 * Makeconfig (+link-pie): Indent.
1729 * Rules (binaries-pie): Define if $(have-fpie) and
1731 (binaries-shared): Also filter out $(binaries-pie).
1732 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
1733 * nscd/Makefile (others-pie): Add nscd.
1734 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
1735 ($(objpfx)nscd): Remove command override.
1736 * login/Makefile (others-pie): Add pt_chown.
1737 ($(objpfx)pt_chown): Remove command override.
1738 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
1739 remove command overrides.
1741 2011-05-13 Ulrich Drepper <drepper@gmail.com>
1743 * libio/tst_putwc.c: Fix error messages.
1746 * libio/fileops.c (_IO_new_file_close_it): Always flush when
1747 currently writing and seek to current position when not.
1748 * libio/Makefile (tests): Add bug-fclose1.
1749 * libio/bug-fclose1.c: New file.
1751 2011-05-12 Ulrich Drepper <drepper@gmail.com>
1754 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
1755 don't set DF_1_NODELETE here.
1756 (do_lookup_x): When entering new entry test for copy relocation
1757 and if necessary set DF_1_NODELETE flag.
1758 * elf/tst-unique4.cc: New file.
1759 * elf/tst-unique4.h: New file.
1760 * elf/tst-unique4lib.cc: New file.
1761 * elf/Makefile: Add rules to build and run tst-unique4.
1762 Patch by Piotr Bury <pbury@goahead.com>.
1764 2011-05-11 Ulrich Drepper <drepper@gmail.com>
1767 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
1770 * misc/mntent_r.c (addmntent): Flush the stream after the output
1773 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
1774 (is_trusted_path_normalize): Skip initial colon. Append slash
1775 to empty buffer. Duplicate is_trusted_path code but allow
1776 constructed patch to be prefix.
1777 (is_dst): Allow $ORIGIN followed by /.
1778 (_dl_dst_substitute): Correct clearing of check_for_trusted.
1779 Correct testing of result of is_trusted_path_normalize
1780 (decompose_rpath): Fix warning.
1782 2011-05-10 Ulrich Drepper <drepper@gmail.com>
1785 * grp/initgroups.c (internal_getgrouplist): When we found the service
1786 list through the initgroups entry in nsswitch.conf do not always
1787 continue on a successful lookup. Don't always use the
1788 __nss_group_database value if it is set.
1789 * nss/nsswitch.conf (initgroups): Change action for successful db
1790 lookup to continue for compatibility.
1792 2011-05-09 Ulrich Drepper <drepper@gmail.com>
1795 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
1797 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
1799 * iconvdata/tst-tables.sh: Likewise.
1800 * iconvdata/cp770.c: New file.
1801 * iconvdata/cp771.c: New file.
1802 * iconvdata/cp772.c: New file.
1803 * iconvdata/cp773.c: New file.
1804 * iconvdata/cp774.c: New file.
1805 * iconvdata/testdata/CP770: New file.
1806 * iconvdata/testdata/CP770..UTF8: New file.
1807 * iconvdata/testdata/CP771: New file.
1808 * iconvdata/testdata/CP771..UTF8: New file.
1809 * iconvdata/testdata/CP772: New file.
1810 * iconvdata/testdata/CP772..UTF8: New file.
1811 * iconvdata/testdata/CP773: New file.
1812 * iconvdata/testdata/CP773..UTF8: New file.
1813 * iconvdata/testdata/CP774: New file.
1814 * iconvdata/testdata/CP774..UTF8: New file.
1816 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
1818 * iconvdata/gen-8bit-gap.sh: Likewise.
1819 * iconvdata/gen-8bit.sh: Likewise.
1821 * locale/iso-639.def: Add ary entry.
1824 * locale/C-translit.h.in: Add U20A1 transliteration.
1827 * locale/iso-639.def: Add wae entry.
1828 Patch by Kevin Bortis <bortis@translate-wae.ch>.
1831 * locale/programs/localedef.c (construct_output_path): Use ssize_t
1835 * locale/C-translit.h.in: Add entry for U20B9.
1836 Patch by pravin.d.s@gmail.com.
1838 2011-05-08 Ulrich Drepper <drepper@gmail.com>
1841 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
1842 ENAMETOOLONG use generic getcwd.
1843 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
1844 in rtld. Use *stat64.
1845 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
1846 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
1847 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
1848 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
1849 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
1850 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
1851 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
1853 * include/dirent.h: Add libc_hidden_proto for rewinddir.
1854 * dirent/rewinddir.c: Add libc_hidden_def.
1855 * sysdeps/mach/hurd/rewinddir.c: Likewise.
1856 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
1858 * include/dirent.h (__alloc_dir): Add flags parameter.
1859 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
1860 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
1862 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
1863 from fdopendir if O_CLOEXEC is already set.
1865 2011-03-15 Alan Modra <amodra@gmail.com>
1867 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
1868 l_tls_firstbyte_offset non-zero. Save padding offset in
1869 l_tls_firstbyte_offset for later use.
1870 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
1871 freeing static tls block.
1873 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
1875 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
1876 where #ifdef was intended. The intent is to prevent ARG_MAX from
1877 being defined by the kernel headers.
1879 2011-05-07 Ulrich Drepper <drepper@gmail.com>
1882 * resolv/resolv.h: Define RES_NOTLDQUERY.
1883 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
1884 no-tld-query and set RES_NOTLDQUERY.
1885 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
1886 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
1887 modern BIND to search name as TLD unless forbidden.
1889 2011-05-07 Petr Baudis <pasky@suse.cz>
1890 Ulrich Drepper <drepper@gmail.com>
1893 * elf/dl-load.c (fillin_rpath): Move trusted path check...
1894 (is_trusted_path): ...to here.
1895 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
1896 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
1897 using is_trusted_path_normalize() in setuid scripts.
1899 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1901 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
1902 __BEGIN/__END_DECLS.
1904 2011-05-06 Ulrich Drepper <drepper@gmail.com>
1906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
1907 NSS_STATUS_NOTFOUND if no record was found.
1909 2011-05-05 Andreas Schwab <schwab@redhat.com>
1911 * sunrpc/Makefile (headers): Add rpc/netdb.h.
1912 (headers-not-in-tirpc): Remove rpc/netdb.h
1913 * resolv/netdb.h: Revert last change.
1915 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1917 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
1918 circular dependency between libgcc.a and libc.a.
1920 2011-05-05 Andreas Schwab <schwab@redhat.com>
1922 * resolv/netdb.h: Don't include <rpc/netdb.h>.
1923 * nis/Makefile: Don't install rpcsvc/*.
1924 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
1925 instead of <rpc/types.h>.
1926 (MAXHOSTNAMELEN): Define.
1928 2011-05-03 Andreas Schwab <schwab@redhat.com>
1930 * elf/ldconfig.c (add_dir): Don't crash on empty path.
1932 2011-04-28 Maciej Babinski <mbabinski@google.com>
1935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
1936 gethostbyname4_r when IPv6 results are possible.
1938 2011-05-02 Ulrich Drepper <drepper@gmail.com>
1941 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
1942 _PC_PIPE_BUF handling.
1944 2011-04-30 Bruno Haible <bruno@clisp.org>
1947 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
1948 * resolv/netdb.h (getnameinfo): Change type of flags parameter
1950 * inet/getnameinfo.c (getnameinfo): Likewise.
1952 2011-04-29 Ulrich Drepper <drepper@gmail.com>
1954 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
1955 to groups setting in database lookup.
1956 * nss/nsswitch.conf: Add initgroups entry.
1958 2011-04-22 Ulrich Drepper <drepper@gmail.com>
1961 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
1963 Patch by Eric Blake <eblake@redhat.com>.
1965 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
1967 * sunrpc/Makefile (need-export-routines): Add svc_run.
1968 (routines): Remove svc_run.
1969 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
1970 * sunrpc/clnt_perr.c (clnt_perrno): Export.
1971 * sunrpc/svc_run.c (svc_run): Likewise.
1972 * sunrpc/svc_udp.c (svcudp_create): Likewise.
1974 2011-04-21 Ulrich Drepper <drepper@gmail.com>
1976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
1977 problem in reallocation in last patch.
1979 2011-04-20 Ulrich Drepper <drepper@gmail.com>
1981 * sunrpc/Makefile: Move inclusion of Rules.
1983 2011-04-19 Ulrich Drepper <drepper@gmail.com>
1985 * nss/nss_files/files-initgroups.c: New file.
1986 * nss/Makefile (libnss_files-routines): Add files-initgroups.
1987 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
1988 _nss_files_initgroups_dyn.
1990 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
1992 * elf/elf.h (R_ARM_IRELATIVE): Define.
1994 2011-04-19 Ulrich Drepper <drepper@gmail.com>
1996 * po/ru.po: Update from translation team.
1998 2011-04-17 Ulrich Drepper <drepper@gmail.com>
2000 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
2003 2011-02-06 Mike Frysinger <vapier@gentoo.org>
2006 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
2007 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
2008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2012 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
2014 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
2016 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2017 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2020 2011-04-17 Ulrich Drepper <drepper@gmail.com>
2023 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
2025 * stdlib/bug-getcontext.c: New file.
2026 * stdlib/Makefile: Add rules to build and run bug-getcontext.
2028 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2030 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
2031 instructions into .machine "z9-109".
2032 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2033 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2035 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2037 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
2038 between environment variables and auxiliary vector.
2040 2011-04-16 Ulrich Drepper <drepper@gmail.com>
2042 * Makefile: Add rules to build linkobj/libc.so.
2043 * include/libc-symbols.h: Define libc_hidden_nolink.
2044 * include/rpc/auth.h: Mark functions which are to be hidden.
2045 * include/rpc/auth_des.h: Likewise.
2046 * include/rpc/auth_unix.h: Likewise.
2047 * include/rpc/clnt.h: Likewise.
2048 * include/rpc/des_crypt.h: Likewise.
2049 * include/rpc/key_prot.h: Likewise.
2050 * include/rpc/pmap_clnt.h: Likewise.
2051 * include/rpc/pmap_prot.h: Likewise.
2052 * include/rpc/pmap_rmt.h: Likewise.
2053 * include/rpc/rpc_msg.h: Likewise.
2054 * include/rpc/svc.h: Likewise.
2055 * include/rpc/svc_auth.h: Likewise.
2056 * include/rpc/xdr.h: Likewise.
2057 * nis/Makefile: Link all DSOs against linkobj/libc.so.
2058 * nss/Makefile: Likewise.
2059 * sunrpc/Makefile: Don't install headers. Build library with normal
2060 entry points. Don't build rpcinfo. Link RPC tests appropriately.
2061 * sunrpc/auth_des.c: Hide exported symbols by default, export some
2062 for the compat linking library. Remove use of INTDEF/INTUSE.
2063 * sunrpc/auth_none.c: Likewise.
2064 * sunrpc/auth_unix.c: Likewise.
2065 * sunrpc/authdes_prot.c: Likewise.
2066 * sunrpc/authuxprot.c: Likewise.
2067 * sunrpc/clnt_gen.c: Likewise.
2068 * sunrpc/clnt_perr.c: Likewise.
2069 * sunrpc/clnt_raw.c: Likewise.
2070 * sunrpc/clnt_simp.c: Likewise.
2071 * sunrpc/clnt_tcp.c: Likewise.
2072 * sunrpc/clnt_udp.c: Likewise.
2073 * sunrpc/clnt_unix.c: Likewise.
2074 * sunrpc/des_crypt.c: Likewise.
2075 * sunrpc/des_soft.c: Likewise.
2076 * sunrpc/get_myaddr.c: Likewise.
2077 * sunrpc/key_call.c: Likewise.
2078 * sunrpc/key_prot.c: Likewise.
2079 * sunrpc/netname.c: Likewise.
2080 * sunrpc/pm_getmaps.c: Likewise.
2081 * sunrpc/pm_getport.c: Likewise.
2082 * sunrpc/pmap_clnt.c: Likewise.
2083 * sunrpc/pmap_prot.c: Likewise.
2084 * sunrpc/pmap_prot2.c: Likewise.
2085 * sunrpc/pmap_rmt.c: Likewise.
2086 * sunrpc/publickey.c: Likewise.
2087 * sunrpc/rpc_cmsg.c: Likewise.
2088 * sunrpc/rpc_common.c: Likewise.
2089 * sunrpc/rpc_dtable.c: Likewise.
2090 * sunrpc/rpc_prot.c: Likewise.
2091 * sunrpc/rpc_thread.c: Likewise.
2092 * sunrpc/rtime.c: Likewise.
2093 * sunrpc/svc.c: Likewise.
2094 * sunrpc/svc_auth.c: Likewise.
2095 * sunrpc/svc_authux.c: Likewise.
2096 * sunrpc/svc_raw.c: Likewise.
2097 * sunrpc/svc_run.c: Likewise.
2098 * sunrpc/svc_simple.c: Likewise.
2099 * sunrpc/svc_tcp.c: Likewise.
2100 * sunrpc/svc_udp.c: Likewise.
2101 * sunrpc/svc_unix.c: Likewise.
2102 * sunrpc/svcauth_des.c: Likewise.
2103 * sunrpc/xcrypt.c: Likewise.
2104 * sunrpc/xdr.c: Likewise.
2105 * sunrpc/xdr_array.c: Likewise.
2106 * sunrpc/xdr_float.c: Likewise.
2107 * sunrpc/xdr_intXX_t.c: Likewise.
2108 * sunrpc/xdr_mem.c: Likewise.
2109 * sunrpc/xdr_rec.c: Likewise.
2110 * sunrpc/xdr_ref.c: Likewise.
2111 * sunrpc/xdr_sizeof.c: Likewise.
2112 * sunrpc/xdr_stdio.c: Likewise.
2114 2011-04-10 Ulrich Drepper <drepper@gmail.com>
2117 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
2118 * sysdeps/ia64/dl-tls.h: Likewise.
2119 * sysdeps/powerpc/dl-tls.h: Likewise.
2120 * sysdeps/s390/dl-tls.h: Likewise.
2121 * sysdeps/sh/dl-tls.h: Likewise.
2122 * sysdeps/sparc/dl-tls.h: Likewise.
2123 * sysdeps/x86_64/dl-tls.h: Likewise.
2124 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
2126 2011-03-14 Andreas Schwab <schwab@redhat.com>
2128 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
2129 rpath element also skip the following colon.
2130 (expand_dynamic_string_token): Add is_path parameter and pass
2131 down to DL_DST_REQUIRED and _dl_dst_substitute.
2132 (decompose_rpath): Call expand_dynamic_string_token with
2133 non-zero is_path. Ignore empty rpaths.
2134 (_dl_map_object_from_fd): Call expand_dynamic_string_token
2137 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2142 2011-04-09 Ulrich Drepper <drepper@gmail.com>
2145 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
2146 Patch by Filipe David Manana <fdmanana@apache.org>.
2148 2011-04-07 Andreas Schwab <schwab@redhat.com>
2150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
2151 Maintain aligned stack.
2152 (CHECK_RSP): Remove unused macro.
2154 2011-04-03 Ulrich Drepper <drepper@gmail.com>
2156 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
2157 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2159 2011-04-02 Ulrich Drepper <drepper@gmail.com>
2161 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
2163 * include/features.h: Mention __USE_XOPEN2K8 in comment.
2165 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
2168 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
2169 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
2170 * sysdeps/x86_64/memmove.c: New file.
2171 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
2172 (memcpy): Renamed to ...
2173 (__new_memcpy): This.
2174 (memcpy): Provide GLIBC_2_14 memcpy.
2175 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
2176 (memcpy): Provide GLIBC_2_2_5 memcpy.
2178 2011-04-01 Ulrich Drepper <drepper@gmail.com>
2181 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
2183 2011-03-30 Andreas Schwab <schwab@redhat.com>
2185 * misc/syncfs.c: New file.
2186 * misc/Makefile (routines): Add syncfs.
2187 * posix/unistd.h: Declare syncfs.
2188 * sysdeps/unix/syscalls.list: Add syncfs.
2190 2011-04-01 Andreas Schwab <schwab@redhat.com>
2192 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
2194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2195 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2197 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2199 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2202 2011-04-01 Ulrich Drepper <drepper@gmail.com>
2204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
2205 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2212 * io/Makefile: Compile fallocate.c, fallocate64.c, and
2213 sync_file_range.c with -fexceptions.
2214 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
2215 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2216 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2217 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2218 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2219 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
2221 sync_file_range as cancellation point
2222 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
2223 now a wrapper around __call_sync_file_range with cancellation handling.
2224 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
2225 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
2226 function name to __call_sync_file_range.
2227 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
2228 Add call_sync_file_range.
2230 2011-04-01 Andreas Schwab <schwab@redhat.com>
2232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2235 2011-04-01 Ulrich Drepper <drepper@gmail.com>
2237 * iconv/iconv.h: Fix typo in comment.
2238 * io/fcntl.h: Likewise.
2239 * libio/stdio.h: Likewise.
2240 * posix/spawn.h: Likewise.
2241 * posix/unistd.h: Likewise.
2242 * stdlib/stdlib.h: Likewise.
2243 * time/time.h: Likewise.
2244 * wcsmbs/wchar.h: Likewise.
2246 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
2247 open_by_handle): Add.
2248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
2249 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
2250 Augment a few comments.
2251 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2253 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2256 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
2259 * io/fcntl.h (AT_EMPTY_PATH): Define.
2261 2011-03-30 Ulrich Drepper <drepper@gmail.com>
2263 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
2264 * sysdeps/unix/sysv/linux/bits/time.h: New file.
2265 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
2267 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
2268 * Versions.def: Add GLIBC_2.14.
2269 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
2272 2011-03-22 Ulrich Drepper <drepper@gmail.com>
2274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
2276 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2278 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
2281 * string/test-strncmp.c (do_page_test): New function.
2283 (test_main): Call check2.
2284 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
2286 2011-03-20 Ulrich Drepper <drepper@gmail.com>
2289 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
2290 Handle cache information in CPU leaf 4.
2291 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2293 2011-03-18 Ulrich Drepper <drepper@gmail.com>
2296 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
2297 character representation.
2298 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
2300 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
2302 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
2303 END(__isnan) to END(__isnanf) to match function entry point/label
2304 EALIGN(__isnanf,...).
2306 2011-03-10 Jakub Jelinek <jakub@redhat.com>
2308 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
2310 2011-03-10 Ulrich Drepper <drepper@gmail.com>
2313 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
2314 copy from the symbol referenced in the relocation to initialize the
2316 Patch by Piotr Bury <pbury@goahead.com>.
2317 * elf/Makefile: Add rules to build and tst-unique3.
2318 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
2319 * elf/tst-unique3.cc: New file.
2320 * elf/tst-unique3.h: New file.
2321 * elf/tst-unique3lib.cc: New file.
2322 * elf/tst-unique3lib2.cc: New file.
2324 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
2326 2011-03-10 Mike Frysinger <vapier@gentoo.org>
2328 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
2329 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
2332 2011-03-06 Ulrich Drepper <drepper@gmail.com>
2334 * elf/dl-load.c (_dl_map_object): If we are looking for the first
2335 to-be-loaded object along a path to loader is ld.so.
2337 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2338 Ulrich Drepper <drepper@gmail.com>
2340 * sysdeps/x86_64/memset.S: After aligning destination, code
2341 branches to different locations depending on the value of
2342 misalignment, when multiarch is enabled. Fix this.
2344 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2346 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
2347 Set _x86_64_preferred_memory_instruction for AMD processsors.
2348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2349 Set bit_Prefer_SSE_for_memop for AMD processors.
2351 2011-03-04 Ulrich Drepper <drepper@gmail.com>
2353 * libio/fmemopen.c (fmemopen): Optimize a bit.
2355 2011-03-03 Andreas Schwab <schwab@redhat.com>
2357 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
2359 2011-03-03 Roland McGrath <roland@redhat.com>
2361 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
2363 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
2365 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
2366 __bzero_ultra1 instead of __memset_ultra1.
2368 2011-02-23 Andreas Schwab <schwab@redhat.com>
2369 Ulrich Drepper <drepper@gmail.com>
2372 * include/link.h (struct link_map): Add l_orig_initfini.
2373 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
2374 returning unsuccessfully.
2375 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
2376 close of a file loaded at startup, restore the original l_initfini
2378 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
2379 list, store the pointer.
2380 * elf/Makefile ($(objpfx)noload-mem): New rule.
2381 (noload-ENV): Define.
2382 (tests): Add $(objpfx)noload-mem.
2383 * elf/noload.c: Include <memcheck.h>.
2384 (main): Call mtrace. Close all opened handles.
2386 2011-02-17 Andreas Schwab <schwab@redhat.com>
2389 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
2390 dependencies are missing.
2392 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2394 Fix __if_freereq crash: Unlike the generic version which uses free,
2396 * sysdeps/mach/hurd/ifreq.h: New file.
2398 2011-01-27 Petr Baudis <pasky@suse.cz>
2399 Ulrich Drepper <drepper@gmail.com>
2402 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
2404 * stdio-common/bug23.c: New file.
2405 * stdio-common/Makefile (tests): Add bug23.
2407 2010-09-28 Andreas Schwab <schwab@redhat.com>
2408 Ulrich Drepper <drepper@gmail.com>
2411 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
2412 before performing relro protection. At old place add assertion
2413 to make sure nothing changed.
2415 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
2416 Glauber de Oliveira Costa <glommer@gmail.com>
2418 * elf/elf.h: Add new ARM TLS relocs.
2420 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2423 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
2425 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
2427 * sysdeps/wordsize-64/tst-writev.c: New file.
2429 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
2431 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
2432 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
2433 insns in _dl_start to prevent a TOC reference before relocs are
2436 2011-02-15 Ulrich Drepper <drepper@gmail.com>
2439 * Makeconfig: Remove RANLIB definition.
2440 * Makerules: Don't use RANLIB.
2441 * aclocal.m4: Remove ranlib test.
2442 * configure.in: No need to check for ranlib.
2443 * elf/rtld-Rules: Don't use RANLIB.
2445 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2447 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
2449 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
2450 inclusion protection macro.
2452 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
2453 SIGRTMIN and SIGRTMAX and print information in that case only when
2454 SIGRTMIN is defined.
2456 2011-02-11 Jakub Jelinek <jakub@redhat.com>
2458 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
2459 arginfo fn returning -1.
2461 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
2462 and thousands string is zero terminated.
2464 2011-02-03 Andreas Schwab <schwab@redhat.com>
2466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
2467 sysdeps/unix/sysv/linux/bits/socket.h.
2469 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2471 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
2472 (__CPU_COUNT): Remove old macros.
2473 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
2474 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
2475 (__CPU_ALLOC, __CPU_FREE): Add macros.
2476 (__sched_cpualloc, __sched_cpufree): Add declarations.
2478 2011-02-05 Ulrich Drepper <drepper@gmail.com>
2480 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
2481 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
2482 * nscd/aicache.c (addhstaiX): Return timeout of added value.
2483 (readdhstai): Return value of addhstaiX call.
2484 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
2485 (addgrbyX): Return value returned by cache_addgr.
2486 (readdgrbyname): Return value returned by addgrbyX.
2487 (readdgrbygid): Likewise.
2488 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
2489 (addpwbyX): Return value returned by cache_addpw.
2490 (readdpwbyname): Return value returned by addhstbyX.
2491 (readdpwbyuid): Likewise.
2492 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
2493 (addservbyX): Return value returned by cache_addserv.
2494 (readdservbyname): Return value returned by addservbyX:
2495 (readdservbyport): Likewise.
2496 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
2497 (addhstbyX): Return value returned by cache_addhst.
2498 (readdhstbyname): Return value returned by addhstbyX.
2499 (readdhstbyaddr): Likewise.
2500 (readdhstbynamev6): Likewise.
2501 (readdhstbyaddrv6): Likewise.
2502 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
2503 (readdinitgroups): Return value returned by addinitgroupsX.
2504 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
2505 (prune_cache): Keep track of timeout value of re-added entries.
2506 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
2507 * nscd/nscd.h: Adjust prototypes of readd* functions.
2509 2011-02-04 Roland McGrath <roland@redhat.com>
2511 * nis/nis_server.c (nis_servstate): Use the right name for 0.
2512 (nis_stats): Likewise.
2513 * nis/nis_modify.c (nis_modify): Likewise.
2514 * nis/nis_remove.c (nis_remove): Likewise.
2515 * nis/nis_add.c (nis_add): Likewise.
2517 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
2519 * posix/fnmatch_loop.c: Add some consts.
2521 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
2523 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
2526 * config.make.in (config-cflags-novzeroupper): Define.
2527 * configure.in: Substitute libc_cv_cc_novzeroupper.
2528 * elf/Makefile (AVX-CFLAGS): Define.
2529 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
2530 (CFLAGS-tst-auditmod4a.c): Likewise.
2531 (CFLAGS-tst-auditmod4b.c): Likewise.
2532 (CFLAGS-tst-auditmod6b.c): Likewise.
2533 (CFLAGS-tst-auditmod6c.c): Likewise.
2534 (CFLAGS-tst-auditmod7b.c): Likewise.
2535 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
2537 2011-02-02 Ulrich Drepper <drepper@gmail.com>
2539 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
2540 function to the callback.
2541 Patch partly by Jiri Olsa <jolsa@redhat.com>.
2543 2011-02-02 Andreas Schwab <schwab@redhat.com>
2545 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
2548 2011-01-19 Ulrich Drepper <drepper@gmail.com>
2551 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
2553 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
2555 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
2558 * elf/Makefile: Add rules to build and run new test.
2559 * elf/tst-initorder.c: New file.
2560 * elf/tst-initorder.exp: New file.
2561 * elf/tst-initordera1.c: New file.
2562 * elf/tst-initordera2.c: New file.
2563 * elf/tst-initordera3.c: New file.
2564 * elf/tst-initordera4.c: New file.
2565 * elf/tst-initorderb1.c: New file.
2566 * elf/tst-initorderb2.c: New file.
2567 * elf/tst-order-a1.c: New file.
2568 * elf/tst-order-a2.c: New file.
2569 * elf/tst-order-a3.c: New file.
2570 * elf/tst-order-a4.c: New file.
2571 * elf/tst-order-b1.c: New file.
2572 * elf/tst-order-b2.c: New file.
2573 * elf/tst-order-main.c: New file.
2574 New test case by George Gensure <werkt0@gmail.com>.
2576 2010-10-01 Andreas Schwab <schwab@redhat.com>
2578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2579 decoding ACE if AI_CANONIDN.
2581 2011-01-18 Ulrich Drepper <drepper@gmail.com>
2583 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
2585 2011-01-17 Ulrich Drepper <drepper@gmail.com>
2587 * version.h (RELEASE): Bump for 2.13 release.
2588 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
2590 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
2592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
2594 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2596 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2597 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2601 * posix/getconf.c: Update copyright year.
2602 * catgets/gencat.c: Likewise.
2603 * csu/version.c: Likewise.
2604 * debug/catchsegv.sh: Likewise.
2605 * debug/xtrace.sh: Likewise.
2606 * elf/ldconfig.c: Likewise.
2607 * elf/ldd.bash.in: Likewise.
2608 * elf/sprof.c (print_version): Likewise.
2609 * iconv/iconv_prog.c: Likewise.
2610 * iconv/iconvconfig.c: Likewise.
2611 * locale/programs/locale.c: Likewise.
2612 * locale/programs/localedef.c: Likewise.
2613 * malloc/memusage.sh: Likewise.
2614 * malloc/mtrace.pl: Likewise.
2615 * nscd/nscd.c (print_version): Likewise.
2616 * nss/getent.c: Likewise.
2618 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
2619 PF_CAIF, and PF_ALG.
2620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2622 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
2624 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
2625 (modules-names): Use them.
2626 (ifunc-test-modules, ifunc-pie-tests): Define.
2627 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
2628 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
2629 (test-extras): Likewise.
2630 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
2631 $(compile-command.c).
2632 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
2633 (all-built-dso): Define.
2634 (check-textrel.out, check-execstack.out): Depend on it.
2636 * configure.in: Don't override --enable-multi-arch.
2638 2011-01-15 Ulrich Drepper <drepper@gmail.com>
2641 * nscd/hstcache.c (tryagain): Define.
2642 (cache_addhst): Return tryagain not notfound for temporary errors.
2643 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
2646 2011-01-14 Ulrich Drepper <drepper@gmail.com>
2649 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
2650 to make the syscall.
2651 * sysdeps/unix/sysv/linux/setgroups.c: New file.
2654 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
2655 and fall back to matching as normal character if the string ends before
2656 the matching ']' is found. This is what POSIX requires.
2657 * posix/testfnm.c: Adjust test result.
2658 * posix/globtest.sh: Adjust test result. Add new test.
2659 * posix/tst-fnmatch.input: Likewise.
2660 * posix/tst-fnmatch2.c: Add new test.
2662 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
2664 * elf/Makefile (check-execstack): Revert last change. Depend on
2666 (check-execstack.h): New target.
2667 (generated): Add check-execstack.h.
2668 * elf/check-execstack.c: Include "check-execstack.h".
2669 (main): Revert last change.
2670 (handle_file): Return zero if GNU_STACK is absent and
2671 DEFAULT_STACK_PERMS doesn't include PF_X.
2673 2011-01-13 Ulrich Drepper <drepper@gmail.com>
2675 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
2676 in child fails because the descriptor is already closed.
2677 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
2678 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
2679 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2682 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
2686 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
2687 temporary buffer used to handle multi lookups locally.
2688 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
2690 2011-01-12 Ulrich Drepper <drepper@gmail.com>
2692 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
2695 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
2697 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
2700 2011-01-12 Ulrich Drepper <drepper@gmail.com>
2703 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
2704 characters. When rounding increased number of integer digits recompute
2706 * stdio-common/tst-grouping.c: New file.
2707 * stdio-common/Makefile: Add rules to build and run tst-grouping.
2709 2011-01-09 Ulrich Drepper <drepper@gmail.com>
2711 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
2712 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
2714 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
2716 * bits/select.h: Likewise.
2718 2011-01-08 Ulrich Drepper <drepper@gmail.com>
2720 * po/ja.po: Update from translation team.
2722 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
2725 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
2726 implementation just like for lxstat, fxstatat, et al.
2728 2010-12-27 Jim Meyering <meyering@redhat.com>
2731 * posix/regexec.c (build_trtable): Return failure indication upon
2732 calloc failure. Otherwise, re_search_internal could infloop on OOM.
2734 2010-12-25 Ulrich Drepper <drepper@gmail.com>
2737 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2738 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2739 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
2740 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
2743 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
2746 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
2747 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
2749 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
2751 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
2752 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
2753 script has SORT_BY_INIT_PRIORITY.
2754 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
2755 NO_CTORS_DTORS_SECTIONS is defined.
2756 * elf/soinit.c: Likewise.
2757 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
2758 NO_CTORS_DTORS_SECTIONS is defined.
2759 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2760 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2761 * sysdeps/sh/init-first.c: Likewise.
2762 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2764 2010-12-24 Ulrich Drepper <drepper@gmail.com>
2766 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
2767 always use the slow path.
2769 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
2771 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
2772 similar rule which adds the sysdep directories to the header search in
2773 order to pick up the correct platform stackinfo.h.
2774 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
2775 perform test if it is, otherwise return successfully without testing.
2776 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
2777 DEFAULT_STACK_PERMS define in stackinfo.h.
2778 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
2779 defined in stackinfo.h.
2780 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
2781 DEFAULT_STACK_PERMS defined in stackinfo.h.
2782 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
2783 * sysdeps/ia64/stackinfo.h: Likewise.
2784 * sysdeps/s390/stackinfo.h: Likewise.
2785 * sysdeps/sh/stackinfo.h: Likewise.
2786 * sysdeps/sparc/stackinfo.h: Likewise.
2787 * sysdeps/x86_64/stackinfo.h: Likewise.
2788 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
2789 PF_X for powerpc64. Retain PF_X for powerpc32.
2791 2010-12-19 Ulrich Drepper <drepper@gmail.com>
2793 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
2795 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
2796 GETDENTS_64BIT_ALIGNED.
2798 2010-12-14 Ulrich Drepper <dreper@gmail.com>
2800 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
2802 2010-12-10 Andreas Schwab <schwab@redhat.com>
2804 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
2807 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
2808 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
2810 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
2811 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
2813 2010-12-09 Ulrich Drepper <drepper@gmail.com>
2816 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
2819 2010-12-09 Jakub Jelinek <jakub@redhat.com>
2821 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
2823 2010-12-03 Ulrich Drepper <drepper@gmail.com>
2825 * po/it.po: Update from translation team.
2827 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
2829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
2832 2010-11-30 Ulrich Drepper <drepper@gmail.com>
2834 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
2836 2010-11-24 Andreas Schwab <schwab@redhat.com>
2838 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
2840 (gaih_getanswer_slice): Likewise.
2842 2010-10-20 Jakub Jelinek <jakub@redhat.com>
2844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
2846 2010-05-31 Petr Baudis <pasky@suse.cz>
2849 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
2850 silently even in the chroot mode.
2852 2010-11-22 Ulrich Drepper <drepper@gmail.com>
2854 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
2855 last patch a bit. Pretty printing
2857 2010-05-31 Petr Baudis <pasky@suse.cz>
2860 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
2861 initialization of skip_initgroups_dyn.
2863 2010-11-19 Ulrich Drepper <drepper@gmail.com>
2865 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
2866 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2868 2010-11-16 Ulrich Drepper <drepper@gmail.com>
2870 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
2872 2010-11-11 Andreas Schwab <schwab@redhat.com>
2874 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
2875 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
2876 (tst-fnmatch-ENV): Set MALLOC_TRACE.
2877 ($(objpfx)tst-fnmatch-mem): New rule.
2878 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
2879 * posix/tst-fnmatch.c (main): Call mtrace.
2881 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
2883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2884 Support Intel processor model 6 and model 0x2c.
2886 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
2888 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
2891 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
2894 * string/test-strncasecmp.c (check_result): New function.
2895 (do_one_test): Use it.
2896 (check1): New function.
2897 (test_main): Use it.
2898 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
2899 Support strcasecmp and strncasecmp.
2901 2010-11-08 Ulrich Drepper <drepper@gmail.com>
2904 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
2905 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2907 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
2909 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
2911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2913 * sysdeps/x86_64/multiarch/bzero.S: New file.
2914 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
2915 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
2916 * sysdeps/x86_64/multiarch/memset.S: New file.
2917 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
2918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2919 Set bit_Prefer_SSE_for_memop for Intel processors.
2920 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
2922 (index_Prefer_SSE_for_memop): Define.
2923 (HAS_PREFER_SSE_FOR_MEMOP): Define.
2925 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
2927 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
2928 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
2930 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
2933 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2934 (__x86_64_raw_data_cache_size_half): Likewise.
2935 (__x86_64_raw_shared_cache_size): Likewise.
2936 (__x86_64_raw_shared_cache_size_half): Likewise.
2938 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2939 (__x86_64_raw_data_cache_size_half): Likewise.
2940 (__x86_64_raw_shared_cache_size): Likewise.
2941 (__x86_64_raw_shared_cache_size_half): Likewise.
2942 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
2943 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
2944 and __x86_64_raw_shared_cache_size_half. Round
2945 __x86_64_data_cache_size_half, __x86_64_data_cache_size
2946 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
2947 to multiple of 256 bytes.
2949 2010-11-03 Ulrich Drepper <drepper@gmail.com>
2952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
2953 of inacessible symlinks. Verify result of symlink before returning it.
2954 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2955 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
2957 2010-10-28 Erich Ritz <erichritz@gmail.com>
2959 * math/math.h (isinf): Fix typo in comment.
2961 2010-11-01 Ulrich Drepper <drepper@gmail.com>
2963 * po/da.po: Update from translation team.
2965 2010-10-26 Ulrich Drepper <drepper@gmail.com>
2967 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
2968 is added to the list.
2970 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2971 Ulrich Drepper <drepper@gmail.com>
2973 * elf/dl-object.c (_dl_new_object): Don't append the new object to
2974 the global list here. Move code to...
2975 (_dl_add_to_namespace_list): ...here. New function.
2976 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
2977 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
2978 * elf/dl-load.c (lose): Don't remove the element from the list.
2979 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
2980 (_dl_map_object): Likewise.
2982 2010-10-25 Ulrich Drepper <drepper@gmail.com>
2985 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
2986 into all bytes of SSE register.
2987 Patch by Richard Li <richardpku@gmail.com>.
2989 2010-10-24 Ulrich Drepper <drepper@gmail.com>
2992 * malloc/malloc.c (_int_free): Fill correct number of bytes when
2995 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
2997 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
2998 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
2999 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
3000 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
3005 2010-10-22 Andreas Schwab <schwab@redhat.com>
3007 * include/dlfcn.h (__RTLD_SECURE): Define.
3008 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
3009 mode & __RTLD_SECURE instead.
3010 (open_path): Rename preloaded parameter to secure.
3011 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
3012 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
3013 * elf/dl-deps.c (openaux): Likewise.
3014 * elf/rtld.c (struct map_args): Remove is_preloaded.
3015 (map_doit): Don't use it.
3016 (dl_main): Likewise.
3017 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
3018 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
3020 2010-09-09 Andreas Schwab <schwab@redhat.com>
3022 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
3023 (sysd-rules-targets): Remove duplicates.
3024 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
3025 rtld-%.$o dependency.
3027 2010-10-18 Andreas Schwab <schwab@redhat.com>
3029 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
3030 _dl_map_object do it.
3032 2010-10-19 Ulrich Drepper <drepper@gmail.com>
3034 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
3035 fast fma builtins, define the macros in the C99 standard.
3036 (FP_FAST_FMAF): Likewise.
3037 (FP_FAST_FMAL): Likewise.
3038 * sysdeps/x86_64/bits/mathdef.h: Likewise.
3040 * bits/mathdef.h: Update copyright year.
3041 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3043 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
3045 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
3046 builtins, define the macros in the C99 standard.
3047 (FP_FAST_FMAF): Likewise.
3048 (FP_FAST_FMAL): Likewise.
3049 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
3051 (FP_FAST_FMAF): Likewise.
3053 2010-10-15 Jakub Jelinek <jakub@redhat.com>
3056 * math/libm-test.inc (fma_test): Some new testcases.
3057 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
3058 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
3059 y and infinite z. Do multiplication by C already in long double.
3060 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
3061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
3062 y and infinite z. Do bitwise or of inexact bit into u.d.
3063 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
3064 * sysdeps/i386/fpu/s_fmaf.S: Removed.
3065 * sysdeps/i386/fpu/s_fma.S: Removed.
3066 * sysdeps/i386/fpu/s_fmal.S: Removed.
3068 2010-10-16 Jakub Jelinek <jakub@redhat.com>
3071 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
3072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
3073 computation is not scheduled after fetestexcept. Fix value
3074 of minimum denormal long double.
3076 2010-10-14 Jakub Jelinek <jakub@redhat.com>
3079 * math/libm-test.inc (fma_test): Add some more tests.
3080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
3083 2010-10-15 Andreas Schwab <schwab@redhat.com>
3085 * scripts/data/localplt-s390-linux-gnu.data: New file.
3086 * scripts/data/localplt-s390x-linux-gnu.data: New file.
3088 2010-10-13 Jakub Jelinek <jakub@redhat.com>
3091 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
3092 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
3094 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
3096 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
3097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
3098 if one of x and y is very large and the other is subnormal.
3099 * sysdeps/s390/fpu/s_fmaf.c: New file.
3100 * sysdeps/s390/fpu/s_fma.c: New file.
3101 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
3102 * sysdeps/powerpc/fpu/s_fma.S: New file.
3103 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
3104 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
3105 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
3107 2010-10-12 Jakub Jelinek <jakub@redhat.com>
3110 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
3112 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
3113 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
3114 * sysdeps/i386/i686/multiarch/s_fma.c: Include
3115 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
3116 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
3117 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
3120 2010-10-12 Ulrich Drepper <drepper@redhat.com>
3123 * posix/regcomp.c (parse_branch): One more memory leak plugged.
3124 * posix/bug-regex31.input: Add test case.
3126 2010-10-11 Ulrich Drepper <drepper@gmail.com>
3128 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
3129 * posix/bug-regex31.input: New file.
3132 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
3133 (parse_sub_exp): Fix last change, use postorder.
3135 * posix/bug-regex31.c: New file.
3136 * posix/Makefile: Add rules to build and run bug-regex31.
3138 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
3141 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
3144 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
3145 to have entries in sys_siglist.
3148 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
3151 2010-10-07 Jakub Jelinek <jakub@redhat.com>
3154 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
3155 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
3156 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3157 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
3158 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3159 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
3160 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
3161 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
3162 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
3163 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
3164 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
3165 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
3166 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3167 * math/ftestexcept.c (fetestexcept): Likewise.
3168 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
3169 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3170 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3171 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
3172 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
3173 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
3174 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3176 2010-10-11 Ulrich Drepper <drepper@gmail.com>
3179 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
3182 2010-10-06 Ulrich Drepper <drepper@gmail.com>
3184 * string/bug-strstr1.c: New file.
3185 * string/Makefile: Add rules to build and run bug-strstr1.
3187 2010-10-05 Eric Blake <eblake@redhat.com>
3190 * string/str-two-way.h (two_way_long_needle): Always clear memory
3191 when skipping input due to the shift table.
3193 2010-10-03 Ulrich Drepper <drepper@gmail.com>
3196 * malloc/mcheck.c: Handle large requests.
3199 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
3200 for strncmp and strncasecmp.
3201 * string/stratcliff.c: Add tests for strcmp and strncmp.
3202 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
3204 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3206 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
3209 2010-09-30 Andreas Jaeger <aj@suse.de>
3211 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
3212 (CGROUP_SUPER_MAGIC): Define.
3213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3214 Handle btrfs and cgroup file systems.
3215 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3218 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
3220 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
3221 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
3223 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3226 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
3227 trying to locate the ELF header.
3229 2010-09-27 Andreas Schwab <schwab@redhat.com>
3232 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
3233 Mask out sign-bit copies when constructing f_fsid.
3235 2010-09-24 Petr Baudis <pasky@suse.cz>
3237 * debug/stack_chk_fail_local.c: Add missing licence exception.
3238 * debug/warning-nop.c: Likewise.
3240 2010-09-15 Joseph Myers <joseph@codesourcery.com>
3242 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
3243 implementing getdents64 using getdents syscall, set d_type if
3244 __ASSUME_GETDENTS32_D_TYPE.
3246 2010-09-16 Andreas Schwab <schwab@redhat.com>
3248 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
3249 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
3251 2010-09-21 Ulrich Drepper <drepper@redhat.com>
3254 * posix/unistd.h: Undo change of feature selection for ftruncate from
3257 2010-09-20 Ulrich Drepper <drepper@redhat.com>
3259 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
3262 2010-09-20 Andreas Schwab <schwab@redhat.com>
3264 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3266 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3268 2010-09-14 Andreas Schwab <schwab@redhat.com>
3270 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
3271 variables after CHECK_SP call.
3272 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3274 2010-09-13 Andreas Schwab <schwab@redhat.com>
3275 Ulrich Drepper <drepper@redhat.com>
3277 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
3278 re-relocationg ld.so.
3279 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
3280 _dl_init_paths call.
3281 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
3284 2010-09-14 Ulrich Drepper <drepper@redhat.com>
3286 * resolv/res_init.c (__res_vinit): Count the default server we added.
3288 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
3289 Ulrich Drepper <drepper@redhat.com>
3292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3293 (____longjmp_chk): Use %ebx for saving value across system call.
3296 2010-09-06 Andreas Schwab <schwab@redhat.com>
3298 * manual/Makefile: Don't mix pattern rules with normal rules.
3300 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
3302 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
3304 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3305 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3306 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3307 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3311 2010-09-04 Ulrich Drepper <drepper@redhat.com>
3314 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
3315 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
3317 2010-09-02 Ulrich Drepper <drepper@redhat.com>
3319 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
3320 * sysdeps/x86_64/addmul_1.S: Likewise.
3321 * sysdeps/x86_64/lshift.S: Likewise.
3322 * sysdeps/x86_64/mul_1.S: Likewise.
3323 * sysdeps/x86_64/rshift.S: Likewise.
3324 * sysdeps/x86_64/sub_n.S: Likewise.
3325 * sysdeps/x86_64/submul_1.S: Likewise.
3327 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3329 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
3330 Define __sched_param instead of SCHED_* and sched_param when
3331 <bits/sched.h> is included with __need_schedparam defined.
3332 * bits/sched.h [__need_schedparam]
3333 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
3334 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
3335 (__defined_schedparam): Define to 1.
3336 (__sched_param): New structure, identical to sched_param.
3337 (__need_schedparam): Undefine.
3339 2010-08-31 Mike Frysinger <vapier@gentoo.org>
3341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
3342 (epoll_create1): Declare.
3344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
3346 2010-08-31 Andreas Schwab <schwab@redhat.com>
3349 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
3350 shifting retval into place.
3352 2010-09-01 Ulrich Drepper <drepper@redhat.com>
3354 * nis/rpcsvc/nis.h: Update copyright notice.
3355 * nis/rpcsvc/nis.x: Likewise.
3356 * nis/rpcsvc/nis_callback.h: Likewise.
3357 * nis/rpcsvc/nis_callback.x: Likewise.
3358 * nis/rpcsvc/nis_object.x: Likewise.
3359 * nis/rpcsvc/nis_tags.h: Likewise.
3360 * nis/rpcsvc/yp.h: Likewise.
3361 * nis/rpcsvc/yp.x: Likewise.
3362 * nis/rpcsvc/ypupd.h: Likewise.
3363 * nis/yp_xdr.c: Likewise.
3364 * nis/ypupdate_xdr.c: Likewise.
3366 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
3367 mainly the body of pmap_getport. Add parameters to specify timeouts.
3368 (pmap_getport): Use __libc_rpc_getport.
3369 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
3370 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
3371 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
3373 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
3378 2010-08-27 Roland McGrath <roland@redhat.com>
3380 * sysdeps/i386/i686/multiarch/Makefile
3381 (CFLAGS-varshift.c): New variable.
3383 2010-08-27 Ulrich Drepper <drepper@redhat.com>
3385 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
3386 * sysdeps/i386/i686/multiarch/varshift.c: New file.
3388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
3390 * sysdeps/x86_64/strlen.S: Minimal code improvement.
3392 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
3394 * sysdeps/x86_64/strlen.S: Unroll the loop.
3395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3396 strlen-sse2 strlen-sse2-bsf.
3397 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
3398 __strlen_no_bsf if bit_Slow_BSF is set.
3399 (__strlen_sse42): Removed.
3400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
3401 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
3403 2010-08-25 Roland McGrath <roland@redhat.com>
3405 * sysdeps/x86_64/multiarch/varshift.S: File removed.
3406 * sysdeps/x86_64/multiarch/varshift.c: New file.
3407 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
3408 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
3409 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
3410 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3412 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
3414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3415 strlen-sse2 strlen-sse2-bsf.
3416 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
3417 __strlen_sse2_bsf if bit_Slow_BSF is unset.
3418 (__strlen_sse2): Removed.
3419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
3420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
3421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3422 bit_Slow_BSF for Atom.
3423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
3424 (index_Slow_BSF): Define.
3425 (HAS_SLOW_BSF): Define.
3427 2010-08-25 Ulrich Drepper <drepper@redhat.com>
3430 * resolv/res_init.c (__res_vinit): When no server address at all
3431 is given default to loopback.
3433 2010-08-24 Roland McGrath <roland@redhat.com>
3435 * configure.in: Remove config-name.h generation.
3436 * configure: Regenerated.
3437 * config-name.in: File removed.
3438 * scripts/config-uname.sh: New file.
3439 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
3440 ($(objdir)config-name.h): New target.
3442 * sunrpc/rpc_parse.h: Avoid nested comment.
3444 2010-08-24 Richard Henderson <rth@redhat.com>
3445 Ulrich Drepper <drepper@redhat.com>
3446 H.J. Lu <hongjiu.lu@intel.com>
3448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
3449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
3450 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
3451 Replace _mm_srli_si128 with __m128i_shift_right. Replace
3452 _mm_alignr_epi8 with _mm_loadu_si128.
3453 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
3454 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
3455 (__m128i_shift_right): Removed.
3456 * sysdeps/i386/i686/multiarch/varshift.h: New file.
3457 * sysdeps/i386/i686/multiarch/varshift.S: New file.
3458 * sysdeps/x86_64/multiarch/varshift.h: New file.
3459 * sysdeps/x86_64/multiarch/varshift.S: New file.
3461 2010-08-21 Mike Frysinger <vapier@gentoo.org>
3463 * configure.in: Move assembler checks to before sysdep dir checking.
3465 2010-08-20 Petr Baudis <pasky@suse.cz>
3467 * LICENSES: Sync the sunrpc license.
3469 2010-08-19 Ulrich Drepper <drepper@redhat.com>
3471 * sunrpc/auth_des.c: Update copyright notice once again.
3472 * sunrpc/auth_none.c: Likewise.
3473 * sunrpc/auth_unix.c: Likewise.
3474 * sunrpc/authdes_prot.c: Likewise.
3475 * sunrpc/authuxprot.c: Likewise.
3476 * sunrpc/bindrsvprt.c: Likewise.
3477 * sunrpc/clnt_gen.c: Likewise.
3478 * sunrpc/clnt_perr.c: Likewise.
3479 * sunrpc/clnt_raw.c: Likewise.
3480 * sunrpc/clnt_simp.c: Likewise.
3481 * sunrpc/clnt_tcp.c: Likewise.
3482 * sunrpc/clnt_udp.c: Likewise.
3483 * sunrpc/clnt_unix.c: Likewise.
3484 * sunrpc/des_crypt.c: Likewise.
3485 * sunrpc/des_soft.c: Likewise.
3486 * sunrpc/get_myaddr.c: Likewise.
3487 * sunrpc/getrpcport.c: Likewise.
3488 * sunrpc/key_call.c: Likewise.
3489 * sunrpc/key_prot.c: Likewise.
3490 * sunrpc/openchild.c: Likewise.
3491 * sunrpc/pm_getmaps.c: Likewise.
3492 * sunrpc/pm_getport.c: Likewise.
3493 * sunrpc/pmap_clnt.c: Likewise.
3494 * sunrpc/pmap_prot.c: Likewise.
3495 * sunrpc/pmap_prot2.c: Likewise.
3496 * sunrpc/pmap_rmt.c: Likewise.
3497 * sunrpc/rpc/auth.h: Likewise.
3498 * sunrpc/rpc/auth_unix.h: Likewise.
3499 * sunrpc/rpc/clnt.h: Likewise.
3500 * sunrpc/rpc/des_crypt.h: Likewise.
3501 * sunrpc/rpc/key_prot.h: Likewise.
3502 * sunrpc/rpc/netdb.h: Likewise.
3503 * sunrpc/rpc/pmap_clnt.h: Likewise.
3504 * sunrpc/rpc/pmap_prot.h: Likewise.
3505 * sunrpc/rpc/pmap_rmt.h: Likewise.
3506 * sunrpc/rpc/rpc.h: Likewise.
3507 * sunrpc/rpc/rpc_des.h: Likewise.
3508 * sunrpc/rpc/rpc_msg.h: Likewise.
3509 * sunrpc/rpc/svc.h: Likewise.
3510 * sunrpc/rpc/svc_auth.h: Likewise.
3511 * sunrpc/rpc/types.h: Likewise.
3512 * sunrpc/rpc/xdr.h: Likewise.
3513 * sunrpc/rpc_clntout.c: Likewise.
3514 * sunrpc/rpc_cmsg.c: Likewise.
3515 * sunrpc/rpc_common.c: Likewise.
3516 * sunrpc/rpc_cout.c: Likewise.
3517 * sunrpc/rpc_dtable.c: Likewise.
3518 * sunrpc/rpc_hout.c: Likewise.
3519 * sunrpc/rpc_main.c: Likewise.
3520 * sunrpc/rpc_parse.c: Likewise.
3521 * sunrpc/rpc_parse.h: Likewise.
3522 * sunrpc/rpc_prot.c: Likewise.
3523 * sunrpc/rpc_sample.c: Likewise.
3524 * sunrpc/rpc_scan.c: Likewise.
3525 * sunrpc/rpc_scan.h: Likewise.
3526 * sunrpc/rpc_svcout.c: Likewise.
3527 * sunrpc/rpc_tblout.c: Likewise.
3528 * sunrpc/rpc_util.c: Likewise.
3529 * sunrpc/rpc_util.h: Likewise.
3530 * sunrpc/rpcinfo.c: Likewise.
3531 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
3532 * sunrpc/rpcsvc/key_prot.x: Likewise.
3533 * sunrpc/rpcsvc/klm_prot.x: Likewise.
3534 * sunrpc/rpcsvc/mount.x: Likewise.
3535 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
3536 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
3537 * sunrpc/rpcsvc/rex.x: Likewise.
3538 * sunrpc/rpcsvc/rstat.x: Likewise.
3539 * sunrpc/rpcsvc/rusers.x: Likewise.
3540 * sunrpc/rpcsvc/sm_inter.x: Likewise.
3541 * sunrpc/rpcsvc/spray.x: Likewise.
3542 * sunrpc/rpcsvc/yppasswd.x: Likewise.
3543 * sunrpc/rtime.c: Likewise.
3544 * sunrpc/svc.c: Likewise.
3545 * sunrpc/svc_auth.c: Likewise.
3546 * sunrpc/svc_authux.c: Likewise.
3547 * sunrpc/svc_raw.c: Likewise.
3548 * sunrpc/svc_run.c: Likewise.
3549 * sunrpc/svc_simple.c: Likewise.
3550 * sunrpc/svc_tcp.c: Likewise.
3551 * sunrpc/svc_udp.c: Likewise.
3552 * sunrpc/svc_unix.c: Likewise.
3553 * sunrpc/svcauth_des.c: Likewise.
3554 * sunrpc/xcrypt.c: Likewise.
3555 * sunrpc/xdr.c: Likewise.
3556 * sunrpc/xdr_array.c: Likewise.
3557 * sunrpc/xdr_float.c: Likewise.
3558 * sunrpc/xdr_mem.c: Likewise.
3559 * sunrpc/xdr_rec.c: Likewise.
3560 * sunrpc/xdr_ref.c: Likewise.
3561 * sunrpc/xdr_sizeof.c: Likewise.
3562 * sunrpc/xdr_stdio.c: Likewise.
3564 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
3567 2010-08-19 Andreas Schwab <schwab@redhat.com>
3569 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
3571 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
3573 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
3574 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
3575 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
3576 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
3577 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
3578 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
3579 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
3580 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
3581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
3582 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
3583 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
3584 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
3585 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
3586 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
3588 2010-07-26 Anton Blanchard <anton@samba.org>
3590 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
3591 * malloc/arena.c (heap_trim): Likewise.
3593 2010-08-16 Ulrich Drepper <drepper@redhat.com>
3595 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
3597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
3598 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
3600 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
3602 * sysdeps/i386/elf/Makefile: New file.
3604 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3606 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
3608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3611 2010-08-15 Ulrich Drepper <drepper@redhat.com>
3613 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
3615 * sysdeps/multiarch/strcmp.S: Likewise.
3617 2010-08-14 Ulrich Drepper <drepper@redhat.com>
3619 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3620 strncase_l-nonascii.
3621 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3622 Add strncase_l-ssse3.
3623 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
3624 * sysdeps/x86_64/strcmp.S: Likewise.
3625 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
3626 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
3627 * sysdeps/x86_64/strncase.S: New file.
3628 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
3629 * sysdeps/x86_64/strncase_l.S: New file.
3630 * string/Makefile (strop-tests): Add strncasecmp.
3631 * string/test-strncasecmp.c: New file.
3633 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
3636 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
3637 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
3639 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3641 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
3643 2010-08-12 Ulrich Drepper <drepper@redhat.com>
3645 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
3646 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3649 2010-05-01 Alan Modra <amodra@gmail.com>
3651 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
3652 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
3653 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
3654 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
3655 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
3656 tidying. Don't tail-call __sigjmp_save for static lib.
3657 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
3659 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
3660 (CALL_MCOUNT): Add eh info, and nop after bl.
3661 (TAIL_CALL_SYSCALL_ERROR): New macro.
3662 (PSEUDO_RET): Use it.
3663 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3664 Correct save location of integer regs and cr.
3665 (_dl_profile_resolve): Correct cr save location. Delete nops
3666 after bl when SHARED. Reduce cfi size a little by better
3667 placement of cfi directives.
3668 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
3669 make a stack frame. Instead use parm save area as a temp.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
3671 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3673 Don't make a stack frame for parent, use parm save area.
3674 Increase child stack frame to 112 bytes. Don't save unused reg,
3675 and adjust reg usage. Set up cfi on error recovery and
3676 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3678 (__makecontext): Add dummy nop after jump to exit.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
3680 Use correct parm save area and cr save, reduce stack frame.
3681 Correct cfi for possible PSEUDO_RET frame setup.
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
3683 Branch to local label emitted by PSEUDO_RET rather than
3686 2010-08-12 Andreas Schwab <schwab@redhat.com>
3689 * locale/programs/locale.c (print_assignment): New function.
3690 (show_locale_vars): Use it.
3692 2010-08-11 Ulrich Drepper <drepper@redhat.com>
3694 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
3696 (struct statfs64): Likewise.
3697 (_STATFS_F_FLAGS): Define.
3698 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
3699 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3700 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
3701 (ST_VALID): Define locally.
3702 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
3703 __statvfs_getflags, use the provided value.
3704 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3705 __ASSUME_STATFS_F_FLAGS.
3707 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
3709 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3711 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
3712 fanotify_mask for GLIBC_2.13.
3713 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
3714 fanotify_init and fanotify_mark.
3715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3716 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
3718 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
3720 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
3721 prlimit64 for GLIBC_2.13.
3722 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
3724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3728 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
3729 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
3730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
3732 * sysdeps/unix/sysv/linux/prlimit.c: New file.
3735 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
3736 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
3738 * nss/Makefile: Add rules to build and run tst-nss-test1.
3739 * shlib-versions: Add entry for libnss_test1.
3740 * nss/nss_test1.c: New file.
3741 * nss/tst-nss-test1.c: New file.
3743 * nss/nsswitch.c (__nss_database_custom): Define new variable.
3744 (__nss_configure_lookup): Set appropriate entry in
3745 __nss_configure_lookup to true.
3746 * nss/nsswitch.h: Define enum with indeces of databases in
3747 databases and __nss_database_custom arrays. Declare
3748 __nss_database_custom.
3749 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
3750 to avoid using nscd when custom rules are installed.
3751 * nss/getXXbyYY_r.c: Likewise.
3752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3754 * nss/nss_files/files-parse.c: Whitespace fixes.
3756 2010-08-09 Ulrich Drepper <drepper@redhat.com>
3759 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
3760 * posix/fnmatch_loop.c: Likewise.
3762 2010-07-17 Andi Kleen <ak@linux.intel.com>
3764 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
3765 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
3766 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
3767 * Versions.def [GLIBC_2.13]: Add.
3769 2010-08-06 Ulrich Drepper <drepper@redhat.com>
3771 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3772 Also fail if tpwd after pwuid call is NULL.
3774 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3776 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
3777 when converting to ms.
3779 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3781 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
3782 EOPNOTSUPP errors with ENOTTY.
3783 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
3784 EOPNOTSUPP errors with ENOTTY.
3786 2010-07-31 Ulrich Drepper <drepper@redhat.com>
3788 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3789 Add strcasecmp_l-ssse3.
3790 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
3792 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
3793 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
3794 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
3796 2010-07-30 Ulrich Drepper <drepper@redhat.com>
3798 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
3800 * string/Makefile (strop-tests): Add strcasecmp.
3801 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3802 strcasecmp_l-nonascii.
3803 (gen-as-const-headers): Add locale-defines.sym.
3804 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
3805 * sysdeps/x86_64/strcasecmp.S: New file.
3806 * sysdeps/x86_64/strcasecmp_l.S: New file.
3807 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
3808 * sysdeps/x86_64/locale-defines.sym: New file.
3809 * string/test-strcasecmp.c: New file.
3811 * string/test-strcasestr.c: Test both ends of the range of characters.
3812 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
3814 2010-07-29 Roland McGrath <roland@redhat.com>
3817 * manual/locale.texi (Yes-or-No Questions): Fix example code.
3819 2010-07-27 Ulrich Drepper <drepper@redhat.com>
3821 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
3824 2010-07-27 Andreas Schwab <schwab@redhat.com>
3826 * manual/memory.texi (Malloc Tunable Parameters): Document
3829 2010-07-26 Roland McGrath <roland@redhat.com>
3832 * configure.in (-fgnu89-inline check): Set and substitute
3833 gnu89_inline, not libc_cv_gnu89_inline.
3834 * configure: Regenerated.
3835 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
3837 2010-07-26 Ulrich Drepper <drepper@redhat.com>
3839 * string/test-strnlen.c: New file.
3840 * string/Makefile (strop-tests): Add strnlen.
3841 * string/tester.c (test_strnlen): Add a few more test cases.
3842 * string/tst-strlen.c: Better error reporting.
3844 * sysdeps/x86_64/strnlen.S: New file.
3846 2010-07-24 Ulrich Drepper <drepper@redhat.com>
3848 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
3849 lower-latency instructions.
3851 2010-07-23 Ulrich Drepper <drepper@redhat.com>
3853 * string/test-strcasestr.c: New file.
3854 * string/test-strstr.c: New file.
3855 * string/Makefile (strop-tests): Add strstr and strcasestr.
3856 * string/str-two-way.h: Don't undefine MAX.
3857 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
3859 2010-07-21 Andreas Schwab <schwab@redhat.com>
3861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3862 strcasestr-nonascii.
3863 (CFLAGS-strcasestr-nonascii.c): Define.
3864 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
3865 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
3866 Remove unused attribute.
3868 2010-07-20 Roland McGrath <roland@redhat.com>
3870 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
3871 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
3872 ld.so.cache was broken. With it, there is no way to disable dsocaps
3873 like LD_HWCAP_MASK can disable hwcaps.
3875 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
3877 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
3879 2010-07-16 Ulrich Drepper <drepper@redhat.com>
3881 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
3883 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
3884 __strcasestr_sse42_nonascii.
3885 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
3886 strcasestr-nonascii.c.
3887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
3889 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
3891 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
3892 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
3893 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
3894 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
3896 2010-07-09 Ulrich Drepper <drepper@redhat.com>
3898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
3901 2010-07-06 Andreas Schwab <schwab@redhat.com>
3904 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
3907 2010-07-06 Ulrich Drepper <drepper@redhat.com>
3909 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
3910 _PC_PIPE_BUF using F_GETPIPE_SZ.
3912 2010-07-05 Roland McGrath <roland@redhat.com>
3914 * manual/arith.texi (Rounding Functions): Fix rint description
3915 implicit in round description.
3917 2010-07-02 Ulrich Drepper <drepper@redhat.com>
3919 * elf/Makefile: Fix linking for a few tests to make recent linker
3922 2010-06-30 Andreas Schwab <schwab@redhat.com>
3924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3925 $(common-objpfx)libc_nonshared.a.
3927 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
3929 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
3930 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
3931 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3932 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3933 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
3934 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
3935 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3936 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
3951 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
3952 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
3953 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
3954 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
3955 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
3956 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
3957 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
3958 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
3959 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
3960 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
3961 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
3962 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
3978 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
3980 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
3981 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
3982 * string/memmove.c (memmove): Renamed to ...
3983 (MEMMOVE): ...this. Default to memmove.
3984 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
3985 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
3987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3988 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
3989 mempcpy-ssse3-back memmove-ssse3-back.
3990 * sysdeps/x86_64/multiarch/bcopy.S: New file .
3991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
3992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
3993 * sysdeps/x86_64/multiarch/memcpy.S: New file.
3994 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
3995 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
3996 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
3997 * sysdeps/x86_64/multiarch/memmove.c: New file.
3998 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
3999 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
4000 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
4001 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
4002 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
4003 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
4005 (index_Fast_Copy_Backward): Define.
4006 (HAS_ARCH_FEATURE): Define.
4007 (HAS_FAST_REP_STRING): Define.
4008 (HAS_FAST_COPY_BACKWARD): Define.
4010 2010-06-21 Andreas Schwab <schwab@redhat.com>
4012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4013 Restore proper fallback handling.
4015 2010-06-19 Ulrich Drepper <drepper@redhat.com>
4018 * posix/group_member.c (__group_member): Correct checking loop.
4020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
4021 OOM in getpwuid_r correctly. Return error number when the caller
4022 should return, otherwise -1.
4023 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
4024 call returning > 0 value.
4025 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
4027 2010-06-07 Andreas Schwab <schwab@redhat.com>
4029 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
4030 libc_nonshared.a from targets in modules-names.
4032 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
4034 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
4037 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
4039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
4040 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
4041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
4042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
4044 2010-06-02 Andreas Schwab <schwab@redhat.com>
4046 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
4048 2010-06-14 Ulrich Drepper <drepper@redhat.com>
4050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
4052 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
4059 2010-06-14 Roland McGrath <roland@redhat.com>
4061 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
4063 2010-06-07 Jakub Jelinek <jakub@redhat.com>
4065 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
4066 __REDIRECT followed by __THROW.
4067 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
4068 * posix/getopt.h (getopt): Likewise.
4070 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4072 * hurd/lookup-at.c (__file_name_lookup_at): Accept
4073 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
4074 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
4076 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
4077 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
4079 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
4081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
4083 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
4086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4087 Properly check family and model.
4089 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
4091 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
4093 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
4095 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
4097 2010-05-21 Ulrich Drepper <drepper@redhat.com>
4099 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
4102 2010-05-19 Andreas Schwab <schwab@redhat.com>
4104 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
4107 2010-05-21 Andreas Schwab <schwab@redhat.com>
4109 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
4110 and internal_recvmmsg.
4111 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
4112 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
4113 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
4114 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
4116 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
4117 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4118 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4120 2010-05-20 Andreas Schwab <schwab@redhat.com>
4122 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
4124 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
4126 POWER7 optimizations.
4127 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
4128 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
4130 2010-05-19 Ulrich Drepper <drepper@redhat.com>
4132 * version.h: Update for 2.13 development version.
4134 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
4136 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
4137 exceptions. Return 0.
4139 2010-05-07 Roland McGrath <roland@redhat.com>
4141 * elf/ldconfig.c (main): Add a const.
4143 2010-05-06 Ulrich Drepper <drepper@redhat.com>
4145 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
4146 (args_options): Add no-idn option.
4147 (ahosts_keys_int): Add idn_flags to ai_flags.
4148 (parse_option): Handle 'i' option to clear idn_flags.
4150 * malloc/malloc.c (_int_free): Possible race in the most recently
4151 added check. Only act on the data if no current modification
4154 See ChangeLog.17 for earlier changes.