1 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
3 * string/strncat.c (strncat): Undef the symbol in case it has been
4 defined in bits/string.h.
6 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10 * elf/dl-iteratephdr.c (hidden_proto): Fill in data from the real
13 2011-08-17 Andreas Jaeger <aj@suse.de>
15 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18 Ian Lance Taylor <iant@google.com>
20 * math/libm-test.inc (lround_test): New testcase.
21 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23 2011-09-08 Ulrich Drepper <drepper@gmail.com>
25 * Makefile: Remove support for automatic cvs check-ins.
26 * Makerules: Likewise.
27 * config.make.in: Likewise.
28 * configure.in: Likewise.
29 * intl/Makefile: Likewise.
30 * locale/Makefile: Likewise.
31 * po/Makefile: Likewise.
32 * posix/Makefile: Likewise.
33 * sysdeps/gnu/Makefile: Likewise.
34 * sysdeps/mach/hurd/Makefile: Likewise.
35 * sysdeps/sparc/sparc32/Makefile: Likewise.
38 * posix/Makefile (bug-regex32-ENV): Define.
39 Patch by John Stanley <jpsinthemix@verizon.net>.
41 * misc/Makefile (headers): Add bits/select2.h.
42 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43 * misc/bits/select2.h: New file.
44 * include/bits/select2.h: New file.
45 * debug/Makefile (routines): Add fdelt_chk.
46 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49 * debug/fdelt_chk.c: New file.
51 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52 * wcsmbs/test-wmemcmp.c: Likewise.
53 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58 * string/Makefile (strop-tests): Add memcmp.
59 * string/test-wmemcmp.c: New file.
60 * string/test-memcmp.c: Add wmemcmp support.
62 2011-09-08 Roland McGrath <roland@hack.frob.com>
65 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69 garbage value in a __mach_port_mod_refs call in the cases of the
70 task-self and thread-self ports.
72 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
74 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76 2011-09-08 Andreas Schwab <schwab@redhat.com>
78 * elf/dl-load.c (lose): Check for non-null L.
80 2011-09-07 Ulrich Drepper <drepper@gmail.com>
82 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84 * elf/dl-libc.c (dlerror_run): Pass back error code from
88 * elf/dl-load.c (lose): Free l_origin if it is valid.
90 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
93 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
94 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
95 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
96 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
97 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
99 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
101 * sysdeps/powerpc/fpu/e_hypot.c: New file.
102 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
104 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
105 * sysdeps/powerpc/fpu/k_cosf.c: New file.
106 * sysdeps/powerpc/fpu/k_sinf.c: New file.
107 * sysdeps/powerpc/fpu/s_cosf.c: New file.
108 * sysdeps/powerpc/fpu/s_sinf.c: New file.
109 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
110 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
112 2011-08-15 Alan Modra <amodra@gmail.com>
115 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
116 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
117 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
118 ppc_mcount to static-only-routines.
119 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
121 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
122 __mcount_internal with usual JUMPTARGET. Remove useless nop.
124 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
126 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
127 for finite and infinity parameters.
129 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
132 and add nop instructions for throughput optimization.
133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
135 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
137 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
138 aligned copy for power7 with vector-scalar instructions.
139 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
141 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
146 2011-09-07 Andreas Schwab <schwab@redhat.com>
149 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
152 2011-09-07 Ulrich Drepper <drepper@gmail.com>
154 * sysdeps/unix/sysv/linux/x86_64/init-first.c
155 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
156 syscall wrapper around clock_gettime in __vdso_clock_gettime.
157 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
160 2011-09-06 Ulrich Drepper <drepper@gmail.com>
162 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
163 Forgot to demangle the pointer.
165 * sysdeps/i386/sysdep.h: Define atom_text_section.
166 * sysdeps/x86_64/sysdep.h: Likewise.
167 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
168 section with atom_text_section.
169 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
170 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
171 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
173 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
175 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
176 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
177 already be defined. Change to take two parameters and don't assign
178 result to variable. Adjust all users.
179 Define INTERNAL_GETTIME if not already defined.
180 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
183 HAVE_CLOCK_GETTIME_VSYSCALL.
184 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
187 gettimeofday vsyscall, just use time.
189 2011-09-06 Andreas Schwab <schwab@redhat.com>
191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
194 2011-09-06 Ulrich Drepper <drepper@gmail.com>
196 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
200 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
204 2011-09-05 Ulrich Drepper <drepper@gmail.com>
206 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
207 e_ident. Don't pass to find_mapsXX.
208 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
210 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
213 strchr-sse2-no-bsf strrchr-sse2-no-bsf
214 * sysdeps/x86_64/multiarch/strchr.S: Update.
215 Check bit_slow_BSF bit.
216 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
217 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
218 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
220 2011-09-05 Ulrich Drepper <drepper@gmail.com>
223 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
226 (__spawni): Change last parameter to be flag. Test
227 SPAWN_XFLAGS_USE_PATH flag to use path or not.
228 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
229 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
230 * posix/spawni.c: Likewise.
231 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
232 * posix/spawnp.c: Likewise. Change normal version to use
233 SPAWN_XFLAGS_USE_PATH.
234 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
235 SPAWN_XFLAGS_TRY_SHELL.
238 * posix/glob.h: Remove gcc 1.x support.
241 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
243 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
246 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
248 * sysdeps/i386/i686/multiarch/strchr.S: New file.
249 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
250 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
251 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
252 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
253 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
255 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
257 * sysdeps/x86_64/wcscmp.S: New file.
259 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
261 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
262 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
263 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
264 * wcsmbs/wcscmp.c: Allow renaming.
266 2011-09-05 David S. Miller <davem@davemloft.net>
268 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
269 stack slot, rather than the struct return pointer slot.
270 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
271 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
273 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
275 2011-09-05 Ulrich Drepper <drepper@gmail.com>
277 * po/ja.po: Update from translation team.
280 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
281 kernel in 64-bit binaries.
283 2011-09-01 David S. Miller <davem@davemloft.net>
285 * elf/elf.h (HWCAP_SPARC_*): Move to..
286 * sysdeps/sparc/sysdep.h: this new file and add new values.
287 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
288 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
289 _DL_HWCAP_COUNT to 24.
290 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
292 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
293 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
294 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
296 instead of magic constants.
297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
299 2011-08-31 David S. Miller <davem@davemloft.net>
301 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
303 Reimplement to do errno handling inline.
304 (SYSCALL_ERROR_HANDLER): New macro.
305 (__SYSCALL_STRING): Do not do errno handling in asm.
306 (__CLONE_SYSCALL_STRING): Delete.
307 (__INTERNAL_SYSCALL_STRING): Delete.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
309 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
310 (PSEUDO): Reimplement to do errno handling inline.
311 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
312 (SYSCALL_ERROR_HANDLER): New macro.
313 (__SYSCALL_STRING): Do not do errno handling in asm.
314 (__CLONE_SYSCALL_STRING): Delete.
315 (__INTERNAL_SYSCALL_STRING): Delete.
316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
317 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
319 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
320 (inline_syscall*): Add 'err' argument.
321 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
322 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
323 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
324 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
326 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
327 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
329 2011-08-30 Andreas Schwab <schwab@redhat.com>
331 * elf/rtld.c (dl_main): Relocate objects in dependency order.
333 2011-08-29 Jiri Olsa <jolsa@redhat.com>
335 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
338 2011-08-24 David S. Miller <davem@davemloft.net>
340 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
342 2011-08-24 Andreas Schwab <schwab@redhat.com>
344 * elf/Makefile: Add rules to build and run unload8 test.
345 * elf/unload8.c: New file.
346 * elf/unload8mod1.c: New file.
347 * elf/unload8mod1x.c: New file.
348 * elf/unload8mod2.c: New file.
349 * elf/unload8mod3.c: New file.
351 * elf/dl-close.c (_dl_close_worker): Reset private search list if
354 2011-08-23 David S. Miller <davem@davemloft.net>
356 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
358 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
359 %sp not %fp in calculations.
360 (_JMPBUF_UNWINDS_ADJ): Likewise.
362 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
363 (aio_suspend): Call it to force an exception region around the
364 AIO_MISC_WAIT() invocation.
366 2011-08-23 Andreas Schwab <schwab@redhat.com>
368 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
371 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
373 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
375 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
377 (Elf64_FuncDesc): Remove.
379 2011-08-22 David S. Miller <davem@davemloft.net>
381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
382 sigaltstack check, add missing cfi directives.
383 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
384 missing cfi directives, and sigaltstack handling.
386 2011-08-16 Andreas Schwab <schwab@redhat.com>
389 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
390 object is seen twice.
391 * elf/dl-fini.c (_dl_sort_fini): Likewise.
393 * elf/Makefile (distribute): Add tst-initorder2.c.
394 (tests): Add tst-initorder2.
395 (modules-names): Add tst-initorder2a tst-initorder2b
396 tst-initorder2c tst-initorder2d. Add rules to build them.
397 ($(objpfx)tst-initorder2.out): New rule.
398 * elf/tst-initorder2.c: New file.
399 * elf/tst-initorder2.exp: New file.
401 2011-08-22 Andreas Schwab <schwab@redhat.com>
403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
405 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
406 dependencies back to end of function.
408 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
411 2011-08-21 Ulrich Drepper <drepper@gmail.com>
413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
414 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
416 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
417 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
418 of __vdso_gettimeofday.
419 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
420 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
422 (_libc_vdso_platform_setup): Remove initialization of
423 __vdso_gettimeofday and __vdso_time.
425 2011-08-20 Ulrich Drepper <drepper@gmail.com>
427 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
429 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
432 * elf/dl-open.c (add_to_global): Report additions to the global scope
434 (dl_open_worker): Also print scope of newly loaded dependencies.
435 (_dl_show_scope): Indicate if there is no scope.
438 * stdio-common/Makefile (tests): Add bug24.
439 * stdio-common/bug24.c: New file.
441 2011-08-19 Andreas Jaeger <aj@suse.de>
444 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
445 non-existant file when using close-on-exec mode.
447 2011-08-20 Ulrich Drepper <drepper@gmail.com>
449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
450 the very first instruction.
452 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
453 the CFI state in the end.
454 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
455 inclusion of dl-trampoline.h.
456 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
458 2011-08-19 Andreas Schwab <schwab@redhat.com>
460 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
461 expectations for long double.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
464 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
466 2011-08-14 David S. Miller <davem@davemloft.net>
468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
469 artificual limit depends upon the system page size.
471 2011-08-17 Ulrich Drepper <drepper@gmail.com>
473 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
474 * resolv/Makefile: Define CFLAGS-libresolv.
476 2011-08-17 Andreas Schwab <schwab@redhat.com>
478 * nss/makedb.c (compute_tables): Make variables used in nested
481 2011-08-17 Ulrich Drepper <drepper@gmail.com>
483 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
484 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
485 if buffer was too small.
487 * elf/pldd.c (main): Attach to all threads in the process.
488 Rewrite /proc handling to use *at functions.
490 2011-08-16 Ulrich Drepper <drepper@gmail.com>
492 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
493 specifies first scope to show.
494 (dl_open_worker): Update callers. Move printing scope of new
495 object to before the relocation.
496 * elf/rtld.c (dl_main): Update _dl_show_scope call.
497 * sysdeps/generic/ldsodefs.h: Update declaration.
499 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
500 string for the scope number.
502 2011-08-14 Ulrich Drepper <drepper@gmail.com>
504 * nscd/servicescache.c (cache_addserv): Make sure written is always
507 2011-08-14 Roland McGrath <roland@hack.frob.com>
509 * sysdeps/i386/i486/bits/atomic.h
510 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
511 statement expression, so as to suppress "set but not used" warning.
512 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
514 * string/strncat.c (STRNCAT): Use prototype definition.
516 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
517 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
519 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
520 (localedef-modules): Add localedef.
521 (locale-modules): Add locale.
523 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
524 * elf/rtld.c (dl_main): Invert order of assignment in last change,
527 2011-08-14 David S. Miller <davem@davemloft.net>
529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
530 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
532 2011-08-13 Ulrich Drepper <drepper@gmail.com>
534 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
535 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
536 * elf/rtld.c (dl_main): Set l_name of vDSO.
537 Call _dl_show_scope when DL_DEBUG_SCOPES.
538 (process_dl_debug): Recognize scopes flag and also set it for all.
539 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
540 Declare _dl_show_scope.
542 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
543 (do_dlopen): Pass caller_dlopen to dl_open.
544 (__libc_dlopen_mode): Initialize caller_dlopen.
546 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
547 of libc. Make tolower call locale-independent. Optimize a bit by
548 using isdigit instead of isalnum.
549 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
551 2011-08-12 Ulrich Drepper <drepper@gmail.com>
553 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
554 was a dependency or dynamically loaded.
556 2011-08-11 Ulrich Drepper <drepper@gmail.com>
558 * intl/l10nflist.c: Allow architecture-specific pop function.
559 * sysdeps/x86_64/l10nflist.c: New file.
561 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
564 2011-08-10 Andreas Schwab <schwab@redhat.com>
566 * include/dirent.h: Add libc_hidden_proto for scandirat and
567 scandirat64. Don't declare __scandirat64.
568 * dirent/scandirat.c: Add libc_hidden_def.
569 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
570 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
572 2011-08-10 David S. Miller <davem@davemloft.net>
574 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
580 2011-08-09 Ulrich Drepper <drepper@gmail.com>
582 * Versions.def [libc]: Add GLIBC_2.15.
583 * dirent/Makefile (routines): Add scandirat and scandirat64.
584 * dirent/Versions [libc]: Export scandirat and scandirat64 for
586 * dirent/dirent.h: Declare scandirat and scandirat64.
587 * dirent/scandirat.c: New file.
588 * dirent/scandirat64.c: New file.
589 * sysdeps/wordsize-64/scandirat.c: New file.
590 * sysdeps/wordsize-64/scandirat64.c: New file.
591 * dirent/opendir.c: Define opendirat.
592 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
594 * dirent/scandir64.c: Adjust for scandir.c change.
595 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
596 __scandirat64, and __scandir_cancel_handler.
597 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
598 additional parameter and use openat instead of open (outside of ld.so).
599 Add new __opendir as wrapper around __opendirat.
600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
601 here without requiring old scandirat implementation.
603 2011-08-08 Ulrich Drepper <drepper@gmail.com>
605 * dirent/scandir.c (cancel_handler): Renamed to
606 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
607 defined. Adjust users.
608 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
609 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
611 2011-08-04 Ulrich Drepper <drepper@gmail.com>
613 * string/test-string.h (IMPL): Use __STRING to expand name and then
616 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
619 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
621 * string/Makefile: Update.
622 (strop-tests): Append strncat.
623 * string/test-wcscmp.c: New file.
624 New comprehensive test for wcscmp.
625 * string/test-strcmp.c: Update.
628 2011-07-22 Andreas Schwab <schwab@redhat.com>
630 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
633 2011-07-26 Andreas Schwab <schwab@redhat.com>
635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
636 encoding to ACE if AI_IDN.
638 2011-08-01 Jakub Jelinek <jakub@redhat.com>
640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
641 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
643 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
645 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
646 Fix overflow bug in strncat.
647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
649 * string/test-strncat.c: Update.
650 Add new tests for checking overflow bugs.
652 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
655 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
656 * sysdeps/i386/i686/multiarch/strcat.S: New file.
657 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
658 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
659 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
660 * sysdeps/i386/i686/multiarch/strncat.S: New file.
661 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
662 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
665 (USE_AS_STRCAT): Define.
666 Add strcat and strncat support.
667 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
669 2011-07-25 Andreas Schwab <schwab@redhat.com>
671 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
672 __n bigger than INT_MAX+1.
673 (__strncmp_g): Likewise.
675 2011-07-23 Ulrich Drepper <drepper@gmail.com>
677 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
678 * libio/stido.h: Likewise.
680 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
685 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
688 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
692 * scripts/test-installation.pl: Don't expect libnss_test1 to be
695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
697 (_dl_x86_64_save_sse): Likewise.
699 2011-07-22 Ulrich Drepper <drepper@gmail.com>
701 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
703 (_dl_x86_64_save_sse): Likewise.
705 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
707 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
709 2011-07-21 Andreas Schwab <schwab@redhat.com>
711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
713 (_dl_x86_64_save_sse): Use correct AVX check.
715 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
718 bug in strncpy/strncat.
719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
721 2011-07-21 Ulrich Drepper <drepper@gmail.com>
723 * string/tester.c (test_strcat): Add tests for different alignments
724 of source and destination.
725 (test_strncat): Likewise.
727 2011-07-20 Ulrich Drepper <drepper@gmail.com>
730 * posix/glob.c (glob): Check passed in values before using them in
731 expressions to avoid some overflows.
732 (glob_in_dir): Likewise.
735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
736 check for AVX enablement so that we don't crash with old kernels and
738 * elf/tst-audit4.c: Add same checks here.
739 * elf/tst-audit6.c: Likewise.
741 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
743 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
745 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
747 2011-07-20 Ulrich Drepper <drepper@gmail.com>
749 * po/cs.po: Update from translation team.
750 * po/bg.po: Likewise.
752 2011-07-12 Marek Polacek <mpolacek@redhat.com>
754 * misc/sys/cdefs.h: Add support for const attribute.
755 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
756 to gnu_dev_{major,minor,makedev} functions.
758 2011-07-20 Marek Polacek <mpolacek@redhat.com>
760 * intl/dcigettext.c (get_output_charset): Add missing bracket.
762 2011-07-20 Andreas Schwab <schwab@redhat.com>
764 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
767 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
770 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
771 register in order to avoid conflicts with the soft frame pointer
772 being held in r11 when necessary.
773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
774 (INTERNAL_VSYSCALL_NCS): Likewise.
776 2011-07-14 Marek Polacek <mpolacek@redhat.com>
778 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
779 * elf/dl-fini.c (_dl_fini): Adjust caller.
780 * elf/dl-close.c (_dl_close_worker): Likewise.
781 * sysdeps/generic/ldsodefs.h: Adjust declaration.
783 2011-07-15 Marek Polacek <mpolacek@redhat.com>
785 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
786 "aux_cache->nlibs < 0".
788 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
789 in the reload-count case.
791 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
794 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
795 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
796 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
797 * sysdeps/x86_64/multiarch/strcat.S: New file.
798 * sysdeps/x86_64/multiarch/strncat.S: New file.
799 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
800 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
801 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
802 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
803 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
804 (USE_AS_STRCAT): Define.
805 Add strcat and strncat support.
806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
808 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
809 * string/strncat.c: Update.
810 (USE_AS_STRNCAT): Define.
811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
812 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
814 * sysdeps/x86_64/multiarch/init-arch.h
815 (bit_Prefer_PMINUB_for_stringop): New.
816 (index_Prefer_PMINUB_for_stringop): Likewise.
817 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
818 bit_Prefer_PMINUB_for_stringop.
820 2011-07-19 Ulrich Drepper <drepper@gmail.com>
822 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
824 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
825 of casting of buffer.
826 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
827 buffer32 and buffer64.
828 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
829 writes instead of casting of buffer.
830 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
832 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
835 2011-07-19 Andreas Schwab <schwab@redhat.com>
837 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
839 2011-07-19 Ulrich Drepper <drepper@gmail.com>
841 * nscd/nscd.c (termination_handler): Don't do anything for a database
842 if it has not yet been initialized.
844 2011-07-18 Ulrich Drepper <drepper@gmail.com>
846 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
848 2011-07-15 Marek Polacek <mpolacek@redhat.com>
850 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
852 2011-07-18 Ulrich Drepper <drepper@gmail.com>
854 * po/nl.po: Update from translation team.
855 * po/sv.po: Likewise.
857 2011-07-16 Roland McGrath <roland@hack.frob.com>
859 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
860 now disallowed by GCC.
862 * configure.in (use-default-link): Default to yes if a test -shared
863 link meets our qualifications.
864 * configure: Regenerated.
866 * config.make.in (output-format): New variable.
867 * configure.in: Check for ld --print-output-format support.
868 * configure: Regenerated.
869 * Makerules ($(common-objpfx)format.lds)
870 [$(output-format) != unknown]: Just use $(output-format),
871 instead of the linker-script munging.
873 2011-07-14 Roland McGrath <roland@hack.frob.com>
875 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
876 of $(common-objpfx)shlib.lds.
877 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
879 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
880 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
882 * configure.in (-z relro check): Adjust test code to add a large
883 writable data section after it.
884 * configure: Regenerated.
886 2011-07-11 Roland McGrath <roland@hack.frob.com>
888 * configure.in (-z relro check): Fix test code to make the variable
890 * configure: Regenerated.
892 2011-07-11 Ulrich Drepper <drepper@gmail.com>
894 * nscd/nscd.h (struct traced_file): Define.
895 (struct database_dyn): Remove inotify_descr, reset_res, and filename
896 elements. Add traced_files.
897 (inotify_fd): Declare.
898 (register_traced_file): Declare.
899 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
900 (inotify_fd): Export.
901 (resolv_conf_descr): Remove.
902 (nscd_init): Move inotify descriptor creation to main.
903 Don't register files for notification here.
904 (register_traced_file): New function.
905 (invalidate_cache): Don't use reset_res to determine whether to call
906 res_init, go through the list of registered files.
907 (main_loop_poll): The inotify descriptors are now stored in the
908 structures for the traced files.
909 (main_loop_epoll): Likewise
910 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
911 to __nss_disable_nscd.
912 * nscd/cache.c (prune_cache): There is no single inotify descriptor
913 for a database anymore. Check the records for all the registered
915 * nss/Makefile (libnss_files-routines): Add files-init.
916 (libnss_db-routines): Add db-init.
917 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
918 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
919 * nss/nss_db/db-init.c: New file.
920 * nss/nss_files/files-init.c: New file.
921 * nss/nsswitch.c (nss_load_library): New function. Broken out of
922 __nss_lookup_function.
923 (__nss_lookup_function): Call nss_load_library.
924 (nss_load_all_libraries): New function.
925 (__nss_disable_nscd): Take parameter with callback function for files
926 to register. Set is_nscd. Load all the DSOs for the NSS modules
927 used for the cached services.
928 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
929 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
930 options for features to all the files in nscd.
932 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
934 2011-07-10 Roland McGrath <roland@hack.frob.com>
936 * csu/elf-init.c (__libc_csu_init): Comment typo.
938 2011-07-09 Ulrich Drepper <drepper@gmail.com>
940 * po/pl.po: Update from translation team.
941 * po/ja.po: Likewise.
942 * po/ru.po: Likewise.
943 * po/ko.po: Likewise.
944 * po/fr.po: Likewise.
946 2011-07-09 Roland McGrath <roland@hack.frob.com>
948 * configure.in (.ctors/.dtors header and trailer check):
949 Use an empirical test on a built program.
950 * configure: Regenerated.
952 * configure.in (-z relro check): Use an empirical test on a built DSO.
953 Detect, but do not require, on ia64.
954 * configure: Regenerated.
956 * configure.in (READELF): Find it with AC_CHECK_TOOL.
957 Update tests that use readelf to use $READELF instead.
958 * configure: Regenerated.
960 2011-07-08 Ulrich Drepper <drepper@gmail.com>
962 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
963 if the result is not used.
965 2011-07-05 Andreas Jaeger <aj@suse.de>
968 * stdlib/tst-strtod.c: Add testcase.
970 2011-07-07 Ulrich Drepper <drepper@gmail.com>
972 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
973 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
974 The latter has a higher limit. Take additional parameter to pass to
976 (__pathconf): Pass file to __statfs_link_max.
977 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
979 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
983 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
984 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
987 (__statfs_filesize_max): Likewise.
988 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
990 2011-07-05 Andreas Jaeger <aj@suse.de>
992 * resolv/res_comp.c (dn_skipname): Remove unused variable.
994 2011-07-06 Marek Polacek <mpolacek@redhat.com>
996 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
998 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
1001 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
1003 * Makefile (strop-tests): Add strncat.
1004 * string/test-strncat.c: New file.
1006 2011-06-30 Marek Polacek <mpolacek@redhat.com>
1008 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
1010 2011-06-21 Andreas Jaeger <aj@suse.de>
1012 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
1013 Copy rule from iconvdata/Makefile.
1015 2011-07-06 Ulrich Drepper <drepper@gmail.com>
1018 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
1019 but no long options are defined, just return 'W'.
1021 2011-06-22 Marek Polacek <mpolacek@redhat.com>
1024 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
1026 2011-07-06 Ulrich Drepper <drepper@gmail.com>
1028 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
1030 (innetgr): Likewise.
1032 2011-07-05 Roland McGrath <roland@hack.frob.com>
1034 * config.make.in (install_root): Default to $(DESTDIR).
1036 2011-07-05 Ulrich Drepper <drepper@gmail.com>
1038 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
1040 2011-07-02 Roland McGrath <roland@hack.frob.com>
1042 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
1044 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
1045 containing directory rather than embedding absolute directory names.
1047 * scripts/check-local-headers.sh: Rewritten using awk.
1048 Match by word, not by line. Print error messages for matches.
1049 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
1051 * Makerules [shlib-lds-flags empty]:
1052 ($(common-objpfx)libc_pic.opts): New target.
1053 ($(common-objpfx)libc_pic.os.clean): New target.
1054 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
1056 * config.make.in (OBJCOPY): New variable.
1057 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
1058 * configure: Regenerated.
1060 * config.make.in (use-default-link): New variable.
1061 * configure.in (use_default_link): Grok --with-default-link to set it.
1062 * configure: Regenerated.
1063 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
1064 (shlib-lds, shlib-lds-flags): Define to empty.
1066 * Makerules (shlib-lds): New variable.
1067 (shlib-lds-flags): New variable.
1068 (build-shlib, build-moduile, build-module-asneeded): Use it.
1069 ($(common-objpfx)libc.so): Use $(shlib-lds).
1070 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
1071 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
1073 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
1074 DT_FLAGS/DT_FLAGS_1 with zero flags.
1076 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
1077 linker script munging.
1079 2011-07-02 Ulrich Drepper <drepper@gmail.com>
1081 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
1083 * crypt/sha512.c (sha512_process_block): Perform total addition using
1084 128-bit if possible.
1085 (__sha512_finish_ctx): Likewise.
1086 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
1088 * crypt/sha256.c (SWAP64): Define.
1089 (sha256_process_block): Perform total addition using 64-bit if
1091 (__sha256_finish_ctx): Likewise.
1093 2011-07-01 Ulrich Drepper <drepper@gmail.com>
1095 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
1096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1097 * nscd/hstcache.c (cache_addhst): Likewise.
1098 * nscd/grpcache.c (cache_addgr): Likewise.
1099 * nscd/aicache.c (addhstaiX): Likewise
1100 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
1102 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
1104 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
1105 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1106 * nscd/hstcache.c (cache_addhst): Likewise.
1107 * nscd/grpcache.c (cache_addgr): Likewise.
1108 * nscd/aicache.c (addhstaiX): Likewise
1110 2011-07-01 Andreas Schwab <schwab@redhat.com>
1112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
1113 domain only when needed.
1115 2011-06-30 Andreas Schwab <schwab@redhat.com>
1117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
1120 2011-06-29 Ulrich Drepper <drepper@gmail.com>
1122 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
1123 are re-adding the entry.
1124 * nscd/servicescache.c (cache_addserv): Likewise.
1126 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
1128 * sysdeps/generic/dl-irel.h: fix protection against multiple
1130 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
1132 2011-06-28 Ulrich Drepper <drepper@gmail.com>
1135 * malloc/memusage.sh: Fix quoting in message.
1136 * debug/xtrace.sh: Likewise.
1138 * configure.in: Remove support for --experimental-malloc option, make
1140 * config.make.in: Likewise.
1141 * malloc/Makefile: Likewise.
1143 2011-06-27 Andreas Schwab <schwab@redhat.com>
1145 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
1146 two-byte characters.
1148 2011-06-27 Roland McGrath <roland@hack.frob.com>
1150 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
1151 AC_CACHE_CHECK invocation.
1152 * configure: Regenerated.
1154 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
1156 2011-06-27 Ulrich Drepper <drepper@gmail.com>
1159 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
1160 bit from old_res_options.
1162 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
1164 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
1165 value type for setfct.
1167 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
1169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1170 __gettimeofday instead of gettimeofday.
1172 2011-06-26 Ulrich Drepper <drepper@gmail.com>
1174 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
1176 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
1178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
1180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
1183 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1186 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1187 strcpy-sse2-unaligned strncpy-sse2-unaligned
1188 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
1189 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
1190 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
1191 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
1192 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
1193 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
1194 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
1195 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
1196 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
1197 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
1198 (STRCPY): Support SSE2 and SSSE3 versions.
1200 2011-06-24 Ulrich Drepper <drepper@gmail.com>
1203 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
1204 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
1205 kernels which artificially limit size of requests.
1207 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1210 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1211 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
1212 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
1213 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
1214 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
1215 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
1216 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
1217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
1218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
1219 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
1220 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
1221 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
1222 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
1223 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
1224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1225 Enable unaligned load optimization for Intel Core i3, i5 and i7
1227 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
1229 (index_Fast_Unaligned_Load): Define.
1230 (HAS_FAST_UNALIGNED_LOAD): Define.
1232 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1234 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
1236 2011-06-22 Ulrich Drepper <drepper@gmail.com>
1239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
1240 until it is clear that the information is realy needed.
1241 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
1243 2011-06-22 Andreas Schwab <schwab@redhat.com>
1245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
1247 2011-06-22 Ulrich Drepper <drepper@gmail.com>
1249 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1250 /sys/devices/system/cpu/online if it is usable.
1252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
1253 reading the information from the /proc filesystem to once a second.
1255 2011-06-21 Andreas Jaeger <aj@suse.de>
1257 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
1258 NULL after inclusion of kernel headers.
1260 2011-06-21 Ulrich Drepper <drepper@gmail.com>
1262 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
1263 calls to internal_setent.
1266 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
1267 addresses using gethostbyname4_r ignore IPv4 addresses.
1269 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
1270 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
1272 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
1274 2011-06-20 David S. Miller <davem@davemloft.net>
1276 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
1278 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
1280 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
1282 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
1283 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
1284 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
1285 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
1286 * sysdeps/x86_64/dl-irel.h: Likewise.
1288 * elf/dl-runtime.c: Use elf_ifunc_invoke.
1289 * elf/dl-sym.c: Likewise.
1291 2011-06-15 Ulrich Drepper <drepper@gmail.com>
1293 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
1294 need to dereference resplen2.
1296 2011-06-14 Andreas Schwab <schwab@redhat.com>
1298 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
1300 2011-06-15 Ulrich Drepper <drepper@gmail.com>
1302 * Makeconfig: Define vardbdir and inst_vardbdir.
1303 * nss/Makefile: Add rules to install db-Makefile.
1305 * nss/nss_db/db-XXX.c: Cleanup.
1307 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
1308 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
1310 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
1311 * nss/makedb.c: Implement -g option to specify that value strings
1312 are generated and should not be added to table iterated over for
1314 * nss/nss_db/db-initgroups.c: New file.
1316 * nss/getent.c: Add support for initgroups lookups through getgrouplist
1319 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
1320 (internal_getgrouplist): Adjust to name change.
1321 Update use_initgroups_entry if this is not the first call.
1322 * nss/databases.def: Add initgroups entry.
1324 * nss/makedb.c (compute_tables): Check result of multiple hash table
1325 sizes to minimize maximum chain length.
1327 2011-06-14 Ulrich Drepper <drepper@gmail.com>
1329 * Versions.def: Add entry for libnss_db.
1330 * shlib-versions: Likewise.
1331 * nss/Makefile: Add rules to build libnss_db.
1332 * nss/Versions: Add libnss_db information. Organize libnss_files
1334 * nss/db-Makefile: Add gshadow support. Change rules for the new
1335 makedb progra. Some minor improvements to generate smaller files.
1336 * nss/nss_db/nss_db.h: Move NSS database header data structures to
1338 * nss/makedb.c: ...here.
1339 Improve database format to be smaller and require less memory at
1341 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
1343 * nss/nss_db/db-netgrp.c: Likewise.
1344 * nss/nss_db/db-open.c: Likewise.
1345 * nss/nss_files/flies-XXX.x: Adjust comments.
1346 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
1347 * nss/nss_files/files-grp.c: Likewise.
1348 * nss/nss_files/files-hosts.c: Likewise.
1349 * nss/nss_files/files-network.c: Likewise.
1350 * nss/nss_files/files-proto.c: Likewise.
1351 * nss/nss_files/files-pwd.c: Likewise.
1352 * nss/nss_files/files-rpc.c: Likewise.
1353 * nss/nss_files/files-service.c: Likewise.
1354 * nss/nss_files/files-sgrp.c: Likewise.
1355 * nss/nss_files/files-spwd.c: Likewise.
1356 * nss/nss_db/db-alias.c: Removed.
1357 * nss/nss_db/dummy-db.h: Removed.
1359 2011-06-02 Ulrich Drepper <drepper@gmail.com>
1361 * nss/makedb.c: Rewritten to not use database library.
1362 * nss/Makefile: Update to build new makedb program.
1364 2011-06-14 Andreas Jaeger <aj@suse.de>
1366 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
1369 2011-06-10 Andreas Schwab <schwab@redhat.com>
1371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
1374 2011-06-10 Roland McGrath <roland@hack.frob.com>
1376 * Makerules (shlib.lds): Fail if the linker script comes out empty.
1377 * elf/Makefile ($(objpfx)ld.so): Likewise.
1379 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
1380 Don't list ld.so twice in dependencies.
1382 * posix/bug-regex31.c: Include <stdlib.h>.
1384 * nscd/hstcache.c (cache_addhst): Remove unused variable.
1386 * nis/nss_compat/compat-spwd.c
1387 (getspent_next_nss_netgr): Remove unused variable.
1388 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1390 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
1391 nonmembers" output to use the right array.
1393 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
1395 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
1397 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
1398 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
1399 * catgets/gencat.c (read_input_file): Likewise.
1400 * locale/programs/locarchive.c (enlarge_archive): Likewise.
1402 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
1403 variable definition inside #if's controlling its use.
1405 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
1407 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
1409 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
1411 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
1414 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
1416 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
1417 * configure: Regenerated.
1419 * Makerules: Revert last change.
1420 * elf/Makefile: Likewise.
1422 2011-06-09 Roland McGrath <roland@hack.frob.com>
1424 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
1425 * elf/Makefile ($(objpfx)librtld.os): Likewise.
1426 (reloc-link): Likewise.
1428 2011-06-09 Ulrich Drepper <drepper@gmail.com>
1430 * elf/Makefile: Add rules to build pldd.
1431 * elf/pldd.c: New file.
1432 * elf/pldd-xx.c: New file.
1434 2011-06-07 Ulrich Drepper <drepper@gmail.com>
1436 * version.h: Update for 2.15 development version.
1438 2011-06-07 David S. Miller <davem@davemloft.net>
1440 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
1442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1443 elf_machine_lazy_rel): Likewise.
1444 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1445 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1446 elf_machine_lazy_rel): Likewise.
1447 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
1448 dl_hwcap via passed in argument.
1449 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
1452 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1454 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
1456 2011-06-06 Roland McGrath <roland@hack.frob.com>
1459 * manual/fdl-1.1.texi: New file, verbatim from:
1460 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
1461 * manual/lgpl-2.1.texi: New file, verbatim from:
1462 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
1463 * manual/Makefile (licenses): New variable, list those new file names.
1465 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
1467 * manual/fdl.texi: File removed.
1468 * manual/lesser.texi: File removed.
1469 * manual/libc.texinfo (Copying, Documentation License):
1470 Use new @include file names, put @appendix directive before @include.
1472 2011-06-04 Jakub Jelinek <jakub@redhat.com>
1475 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
1476 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
1477 (mq_open): Add __NTH.
1479 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
1481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1482 Assume Intel Core i3/i5/i7 processor if AVX is available.
1484 2011-05-31 Ulrich Drepper <drepper@gmail.com>
1486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1489 2011-05-31 Andreas Schwab <schwab@redhat.com>
1491 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
1492 memory. Use alloca_account. Fix memory leak when retrying.
1494 2011-05-31 Ulrich Drepper <drepper@gmail.com>
1496 * version.h (RELEASE): Bump for 2.14 release.
1497 * include/features.h (__GLIBC_MINOR__): Bump to 14.
1499 * config.make.in (RANLIB): Remove entry.
1501 2011-05-30 Ulrich Drepper <drepper@gmail.com>
1503 * po/Makefile (po-sed-cmd): Add ksh to extensions.
1504 (libc.pot): Work around missing support for .ksh extension in xgettext.
1507 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
1508 if both request failed.
1509 (send_dg): In case of server errors clear resplen or *resplen2.
1512 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
1513 when there are multiple maps.
1514 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
1515 (_dl_fini): Remove test here.
1517 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
1519 2011-05-29 Ulrich Drepper <drepper@gmail.com>
1522 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
1523 bit from old_res_options.
1524 (gaih_inet): Likewise.
1527 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
1530 * resolv/res_init.c (res_setoptions): Make the code more compact.
1533 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
1537 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
1539 * malloc/malloc.h: Mark malloc hook variables as deprecated.
1542 * malloc/malloc.h: Declare malloc hook variables as volatile.
1544 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
1548 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
1549 raise in the comment.
1550 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1552 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1554 2011-05-28 Ulrich Drepper <drepper@gmail.com>
1557 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
1558 grow the buffers more if it already has to be sufficient.
1559 (build_wcs_upper_buffer): Likewise.
1560 * posix/regexec.c (check_matching): Likewise.
1561 (clean_state_log_if_needed): Likewise.
1562 (extend_buffers): Don't enlarge buffers beyond size of the input
1564 Patches mostly by Emil Wojak <emil@wojak.eu>.
1565 * posix/bug-regex32.c: New file.
1566 * posix/Makefile (tests): Add bug-regex32.
1568 * locale/findlocale.c (_nl_find_locale): Return right away if
1569 _nl_explode_name failed.
1570 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
1574 * debug/xtrace.sh: Unify messages.
1575 * malloc/memusage.sh: Likewise.
1578 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
1579 time symbol from vDSO. Substitute with vsyscall if not available.
1580 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
1583 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
1584 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
1585 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
1586 Add sendmmsg and internal_sendmmsg.
1587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
1588 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
1589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
1591 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
1592 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
1593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
1595 2011-05-27 Ulrich Drepper <drepper@gmail.com>
1598 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
1599 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
1601 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
1605 * iconvdata/Makefile (tests): Add bug-iconv9.
1606 * iconvdata/bug-iconv9.c: New file.
1608 2011-05-27 Andreas Schwab <schwab@redhat.com>
1611 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
1613 2011-05-25 Jakub Jelinek <jakub@redhat.com>
1615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1616 (struct user_regs_struct): Change intcs field back to cs.
1618 2011-05-25 Ulrich Drepper <drepper@gmail.com>
1620 * po/ja.po: Update from translation team.
1622 2011-05-23 Ulrich Drepper <drepper@gmail.com>
1625 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
1626 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1628 2011-05-20 Andreas Schwab <schwab@redhat.com>
1630 * stdlib/longlong.h: Update from GCC.
1632 2011-05-23 Andreas Schwab <schwab@redhat.com>
1634 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
1636 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
1638 (__sysconf): Pass it down.
1640 2011-05-22 Ulrich Drepper <drepper@gmail.com>
1643 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
1645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1646 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
1647 add in in __libc_use_alloca calls. Adjust callers.
1648 (glob): Use malloc in some situations.
1650 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
1651 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
1654 2011-05-21 Ulrich Drepper <drepper@gmail.com>
1656 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
1657 and CLOCK_BOOTTIME_ALARM.
1660 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
1663 * string/_strerror.c (__strerror_r): Print negative errors as signed
1667 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
1668 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
1669 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
1671 * configure.in: Fix typo in redirection and correct removal of test
1675 * locale/setlocale.c (new_composite_name): Fix test to check for
1676 identical name of all categories.
1679 * libio/filedoalloc.c (local_isatty): New function.
1680 (_IO_file_doallocate): Use local_isatty.
1681 * stdio-common/perror.c (perror): In case a new stream is used
1682 forward the stream error.
1683 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
1686 2011-05-20 Ulrich Drepper <drepper@gmail.com>
1689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
1691 * include/alloca.h (extend_alloca_account): Define.
1694 * posix/regex.h: Fix comments with documentation of user-accessible
1695 fields after compilation and describe correct free'ing of pattern
1696 after re_compile_pattern.
1697 Patch by Reuben Thomas <rrt@sc3d.org>.
1699 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
1701 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
1702 and -mno-altivec to prevent the compiler from using Altivec and/or
1703 VSX instructions when the corresponding registers are not available.
1705 2011-05-19 Andreas Schwab <schwab@redhat.com>
1707 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
1709 2011-05-19 Ulrich Drepper <drepper@gmail.com>
1711 * libio/freopen.c (freopen): Use __dup2, not dup2.
1712 * libio/freopen64.c (freopen64): Likewise.
1714 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
1717 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
1718 * math/Makefile (tests): Add test-powl.
1719 (CFLAGS-test-powl.c): Define.
1720 * math/test-powl.c: New file.
1722 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
1724 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
1726 2011-05-17 Ulrich Drepper <drepper@gmail.com>
1729 * iconvdata/gb18030.c: Update to GB18020-2005.
1731 2011-05-16 Ulrich Drepper <drepper@gmail.com>
1733 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
1734 RE_SYNTAX_POSIX_AWK): Update to match recent development.
1735 Patch by Aharon Robbins <arnold@skeeve.com>.
1738 * stdlib/putenv.c (putenv): Don't always create copy of the variable
1742 * misc/pselect.c (__pselect): Handle timeout value errors hidden
1746 * misc/error.c (error_at_line): Ensure file_name and old_file_name
1747 point to strings before performing equality test for error_one_per_line
1751 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
1754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1755 (struct user_fpregs_struct): Avoid __uint*_t types.
1758 * malloc/mtrace.c (tr_where): Add additional parameter to point to
1759 symbol info. Use it instead of calling _dl_addr locally.
1760 (lock_and_info): New function.
1761 (tr_freehook): Call lock_and_info and pass symbol info as additional
1762 parameter to tr_where.
1763 (tr_mallochook): Likewise.
1764 (tr_reallochook): Likewise.
1765 (tr_memalignhook): Likewise.
1767 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
1768 used and couldn't be at all thread-safe.
1770 2011-05-15 Ulrich Drepper <drepper@gmail.com>
1772 * libio/freopen.c (freopen): Don't close old file descriptor
1773 before the new one is opened. Instead dup the new file descriptor
1774 to the old one after the new stream is created.
1775 * libio/freopen64.c (freopen64): Likewise.
1776 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
1777 * libio/fileops.c (_IO_new_file_close_it): Handle new
1778 _IO_FLAGS2_NOCLOSE flag.
1779 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
1780 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
1781 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
1782 _IO_FLAGS2_NOCLOSE flag.
1783 * include/unistd.h: Add hidden_proto for dup3.
1785 * io/dup3.c: Define hidden symbol.
1786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
1789 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
1790 when an incomplete long option is used.
1791 * posix/tst-getopt_long1.c: New file.
1792 * posix/Makefile (tests): Add tst-getopt_long1.
1795 * scripts/config.guess: Update from autoconf-2.68.
1796 * scripts/config.sub: Likewise.
1799 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
1801 (has_cpuclock): ...this. New function.
1802 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
1803 macro here based on has_cpuclock code.
1806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1807 First byte (not low byte) is now always NUL.
1808 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
1810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1811 Use non-cancelable interfaces.
1814 * locale/iso-639.def: Add entry for Sorani.
1817 * include/stdlib.h: Move include protection to the right place.
1818 Define abort_msg_s. Declare __abort_msg with it.
1819 * stdlib/abort.c (__abort_msg): Adjust type.
1820 * assert/assert.c (__assert_fail_base): New function. Majority
1821 of code from __assert_fail. Allocate memory for __abort_msg with
1823 (__assert_fail): Now call __assert_fail_base.
1824 * assert/assert-perr.c: Remove bulk of implementation. Use
1826 * include/assert.hL Declare __assert_fail_base.
1827 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
1829 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
1831 2011-05-14 Ulrich Drepper <drepper@gmail.com>
1835 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
1836 until all modules are registered in the DTV.
1837 * elf/Makefile: Add rules to build and run tst-tls19.
1838 * elf/tst-tls19.c: New file.
1839 * elf/tst-tls19mod1.c: New file.
1840 * elf/tst-tls19mod2.c: New file.
1841 * elf/tst-tls19mod3.c: New file.
1842 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
1845 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
1849 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
1850 two-byte sequence errors.
1851 * iconvdata/Makefile (tests): Add bug-iconv8.
1852 * iconvdata/bug-iconv8.c: New file.
1855 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
1858 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
1861 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
1862 (dummy_getcfa): New function.
1863 (init): Get _Unwind_GetCFA address, use dummy if not found.
1864 (backtrace_helper): In recursion check, also check whether CFA changes.
1865 (__backtrace): Completely initialize arg.
1867 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
1868 storing incomplete byte sequence in state object. Avoid testing for
1869 guaranteed too small input if we know there is enough data available.
1871 2011-05-11 Andreas Schwab <schwab@redhat.com>
1873 * Makeconfig (+link-pie): Indent.
1874 * Rules (binaries-pie): Define if $(have-fpie) and
1876 (binaries-shared): Also filter out $(binaries-pie).
1877 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
1878 * nscd/Makefile (others-pie): Add nscd.
1879 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
1880 ($(objpfx)nscd): Remove command override.
1881 * login/Makefile (others-pie): Add pt_chown.
1882 ($(objpfx)pt_chown): Remove command override.
1883 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
1884 remove command overrides.
1886 2011-05-13 Ulrich Drepper <drepper@gmail.com>
1888 * libio/tst_putwc.c: Fix error messages.
1891 * libio/fileops.c (_IO_new_file_close_it): Always flush when
1892 currently writing and seek to current position when not.
1893 * libio/Makefile (tests): Add bug-fclose1.
1894 * libio/bug-fclose1.c: New file.
1896 2011-05-12 Ulrich Drepper <drepper@gmail.com>
1899 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
1900 don't set DF_1_NODELETE here.
1901 (do_lookup_x): When entering new entry test for copy relocation
1902 and if necessary set DF_1_NODELETE flag.
1903 * elf/tst-unique4.cc: New file.
1904 * elf/tst-unique4.h: New file.
1905 * elf/tst-unique4lib.cc: New file.
1906 * elf/Makefile: Add rules to build and run tst-unique4.
1907 Patch by Piotr Bury <pbury@goahead.com>.
1909 2011-05-11 Ulrich Drepper <drepper@gmail.com>
1912 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
1915 * misc/mntent_r.c (addmntent): Flush the stream after the output
1918 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
1919 (is_trusted_path_normalize): Skip initial colon. Append slash
1920 to empty buffer. Duplicate is_trusted_path code but allow
1921 constructed patch to be prefix.
1922 (is_dst): Allow $ORIGIN followed by /.
1923 (_dl_dst_substitute): Correct clearing of check_for_trusted.
1924 Correct testing of result of is_trusted_path_normalize
1925 (decompose_rpath): Fix warning.
1927 2011-05-10 Ulrich Drepper <drepper@gmail.com>
1930 * grp/initgroups.c (internal_getgrouplist): When we found the service
1931 list through the initgroups entry in nsswitch.conf do not always
1932 continue on a successful lookup. Don't always use the
1933 __nss_group_database value if it is set.
1934 * nss/nsswitch.conf (initgroups): Change action for successful db
1935 lookup to continue for compatibility.
1937 2011-05-09 Ulrich Drepper <drepper@gmail.com>
1940 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
1942 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
1944 * iconvdata/tst-tables.sh: Likewise.
1945 * iconvdata/cp770.c: New file.
1946 * iconvdata/cp771.c: New file.
1947 * iconvdata/cp772.c: New file.
1948 * iconvdata/cp773.c: New file.
1949 * iconvdata/cp774.c: New file.
1950 * iconvdata/testdata/CP770: New file.
1951 * iconvdata/testdata/CP770..UTF8: New file.
1952 * iconvdata/testdata/CP771: New file.
1953 * iconvdata/testdata/CP771..UTF8: New file.
1954 * iconvdata/testdata/CP772: New file.
1955 * iconvdata/testdata/CP772..UTF8: New file.
1956 * iconvdata/testdata/CP773: New file.
1957 * iconvdata/testdata/CP773..UTF8: New file.
1958 * iconvdata/testdata/CP774: New file.
1959 * iconvdata/testdata/CP774..UTF8: New file.
1961 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
1963 * iconvdata/gen-8bit-gap.sh: Likewise.
1964 * iconvdata/gen-8bit.sh: Likewise.
1966 * locale/iso-639.def: Add ary entry.
1969 * locale/C-translit.h.in: Add U20A1 transliteration.
1972 * locale/iso-639.def: Add wae entry.
1973 Patch by Kevin Bortis <bortis@translate-wae.ch>.
1976 * locale/programs/localedef.c (construct_output_path): Use ssize_t
1980 * locale/C-translit.h.in: Add entry for U20B9.
1981 Patch by pravin.d.s@gmail.com.
1983 2011-05-08 Ulrich Drepper <drepper@gmail.com>
1986 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
1987 ENAMETOOLONG use generic getcwd.
1988 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
1989 in rtld. Use *stat64.
1990 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
1991 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
1992 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
1993 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
1994 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
1995 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
1996 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
1998 * include/dirent.h: Add libc_hidden_proto for rewinddir.
1999 * dirent/rewinddir.c: Add libc_hidden_def.
2000 * sysdeps/mach/hurd/rewinddir.c: Likewise.
2001 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
2003 * include/dirent.h (__alloc_dir): Add flags parameter.
2004 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
2005 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
2007 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
2008 from fdopendir if O_CLOEXEC is already set.
2010 2011-03-15 Alan Modra <amodra@gmail.com>
2012 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
2013 l_tls_firstbyte_offset non-zero. Save padding offset in
2014 l_tls_firstbyte_offset for later use.
2015 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
2016 freeing static tls block.
2018 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
2020 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
2021 where #ifdef was intended. The intent is to prevent ARG_MAX from
2022 being defined by the kernel headers.
2024 2011-05-07 Ulrich Drepper <drepper@gmail.com>
2027 * resolv/resolv.h: Define RES_NOTLDQUERY.
2028 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
2029 no-tld-query and set RES_NOTLDQUERY.
2030 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
2031 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
2032 modern BIND to search name as TLD unless forbidden.
2034 2011-05-07 Petr Baudis <pasky@suse.cz>
2035 Ulrich Drepper <drepper@gmail.com>
2038 * elf/dl-load.c (fillin_rpath): Move trusted path check...
2039 (is_trusted_path): ...to here.
2040 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
2041 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
2042 using is_trusted_path_normalize() in setuid scripts.
2044 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2046 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
2047 __BEGIN/__END_DECLS.
2049 2011-05-06 Ulrich Drepper <drepper@gmail.com>
2051 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
2052 NSS_STATUS_NOTFOUND if no record was found.
2054 2011-05-05 Andreas Schwab <schwab@redhat.com>
2056 * sunrpc/Makefile (headers): Add rpc/netdb.h.
2057 (headers-not-in-tirpc): Remove rpc/netdb.h
2058 * resolv/netdb.h: Revert last change.
2060 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2062 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
2063 circular dependency between libgcc.a and libc.a.
2065 2011-05-05 Andreas Schwab <schwab@redhat.com>
2067 * resolv/netdb.h: Don't include <rpc/netdb.h>.
2068 * nis/Makefile: Don't install rpcsvc/*.
2069 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
2070 instead of <rpc/types.h>.
2071 (MAXHOSTNAMELEN): Define.
2073 2011-05-03 Andreas Schwab <schwab@redhat.com>
2075 * elf/ldconfig.c (add_dir): Don't crash on empty path.
2077 2011-04-28 Maciej Babinski <mbabinski@google.com>
2080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
2081 gethostbyname4_r when IPv6 results are possible.
2083 2011-05-02 Ulrich Drepper <drepper@gmail.com>
2086 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
2087 _PC_PIPE_BUF handling.
2089 2011-04-30 Bruno Haible <bruno@clisp.org>
2092 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
2093 * resolv/netdb.h (getnameinfo): Change type of flags parameter
2095 * inet/getnameinfo.c (getnameinfo): Likewise.
2097 2011-04-29 Ulrich Drepper <drepper@gmail.com>
2099 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
2100 to groups setting in database lookup.
2101 * nss/nsswitch.conf: Add initgroups entry.
2103 2011-04-22 Ulrich Drepper <drepper@gmail.com>
2106 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
2108 Patch by Eric Blake <eblake@redhat.com>.
2110 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
2112 * sunrpc/Makefile (need-export-routines): Add svc_run.
2113 (routines): Remove svc_run.
2114 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
2115 * sunrpc/clnt_perr.c (clnt_perrno): Export.
2116 * sunrpc/svc_run.c (svc_run): Likewise.
2117 * sunrpc/svc_udp.c (svcudp_create): Likewise.
2119 2011-04-21 Ulrich Drepper <drepper@gmail.com>
2121 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
2122 problem in reallocation in last patch.
2124 2011-04-20 Ulrich Drepper <drepper@gmail.com>
2126 * sunrpc/Makefile: Move inclusion of Rules.
2128 2011-04-19 Ulrich Drepper <drepper@gmail.com>
2130 * nss/nss_files/files-initgroups.c: New file.
2131 * nss/Makefile (libnss_files-routines): Add files-initgroups.
2132 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
2133 _nss_files_initgroups_dyn.
2135 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
2137 * elf/elf.h (R_ARM_IRELATIVE): Define.
2139 2011-04-19 Ulrich Drepper <drepper@gmail.com>
2141 * po/ru.po: Update from translation team.
2143 2011-04-17 Ulrich Drepper <drepper@gmail.com>
2145 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
2148 2011-02-06 Mike Frysinger <vapier@gentoo.org>
2151 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
2152 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
2153 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2157 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
2159 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
2161 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2165 2011-04-17 Ulrich Drepper <drepper@gmail.com>
2168 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
2170 * stdlib/bug-getcontext.c: New file.
2171 * stdlib/Makefile: Add rules to build and run bug-getcontext.
2173 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2175 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
2176 instructions into .machine "z9-109".
2177 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2178 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2180 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2182 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
2183 between environment variables and auxiliary vector.
2185 2011-04-16 Ulrich Drepper <drepper@gmail.com>
2187 * Makefile: Add rules to build linkobj/libc.so.
2188 * include/libc-symbols.h: Define libc_hidden_nolink.
2189 * include/rpc/auth.h: Mark functions which are to be hidden.
2190 * include/rpc/auth_des.h: Likewise.
2191 * include/rpc/auth_unix.h: Likewise.
2192 * include/rpc/clnt.h: Likewise.
2193 * include/rpc/des_crypt.h: Likewise.
2194 * include/rpc/key_prot.h: Likewise.
2195 * include/rpc/pmap_clnt.h: Likewise.
2196 * include/rpc/pmap_prot.h: Likewise.
2197 * include/rpc/pmap_rmt.h: Likewise.
2198 * include/rpc/rpc_msg.h: Likewise.
2199 * include/rpc/svc.h: Likewise.
2200 * include/rpc/svc_auth.h: Likewise.
2201 * include/rpc/xdr.h: Likewise.
2202 * nis/Makefile: Link all DSOs against linkobj/libc.so.
2203 * nss/Makefile: Likewise.
2204 * sunrpc/Makefile: Don't install headers. Build library with normal
2205 entry points. Don't build rpcinfo. Link RPC tests appropriately.
2206 * sunrpc/auth_des.c: Hide exported symbols by default, export some
2207 for the compat linking library. Remove use of INTDEF/INTUSE.
2208 * sunrpc/auth_none.c: Likewise.
2209 * sunrpc/auth_unix.c: Likewise.
2210 * sunrpc/authdes_prot.c: Likewise.
2211 * sunrpc/authuxprot.c: Likewise.
2212 * sunrpc/clnt_gen.c: Likewise.
2213 * sunrpc/clnt_perr.c: Likewise.
2214 * sunrpc/clnt_raw.c: Likewise.
2215 * sunrpc/clnt_simp.c: Likewise.
2216 * sunrpc/clnt_tcp.c: Likewise.
2217 * sunrpc/clnt_udp.c: Likewise.
2218 * sunrpc/clnt_unix.c: Likewise.
2219 * sunrpc/des_crypt.c: Likewise.
2220 * sunrpc/des_soft.c: Likewise.
2221 * sunrpc/get_myaddr.c: Likewise.
2222 * sunrpc/key_call.c: Likewise.
2223 * sunrpc/key_prot.c: Likewise.
2224 * sunrpc/netname.c: Likewise.
2225 * sunrpc/pm_getmaps.c: Likewise.
2226 * sunrpc/pm_getport.c: Likewise.
2227 * sunrpc/pmap_clnt.c: Likewise.
2228 * sunrpc/pmap_prot.c: Likewise.
2229 * sunrpc/pmap_prot2.c: Likewise.
2230 * sunrpc/pmap_rmt.c: Likewise.
2231 * sunrpc/publickey.c: Likewise.
2232 * sunrpc/rpc_cmsg.c: Likewise.
2233 * sunrpc/rpc_common.c: Likewise.
2234 * sunrpc/rpc_dtable.c: Likewise.
2235 * sunrpc/rpc_prot.c: Likewise.
2236 * sunrpc/rpc_thread.c: Likewise.
2237 * sunrpc/rtime.c: Likewise.
2238 * sunrpc/svc.c: Likewise.
2239 * sunrpc/svc_auth.c: Likewise.
2240 * sunrpc/svc_authux.c: Likewise.
2241 * sunrpc/svc_raw.c: Likewise.
2242 * sunrpc/svc_run.c: Likewise.
2243 * sunrpc/svc_simple.c: Likewise.
2244 * sunrpc/svc_tcp.c: Likewise.
2245 * sunrpc/svc_udp.c: Likewise.
2246 * sunrpc/svc_unix.c: Likewise.
2247 * sunrpc/svcauth_des.c: Likewise.
2248 * sunrpc/xcrypt.c: Likewise.
2249 * sunrpc/xdr.c: Likewise.
2250 * sunrpc/xdr_array.c: Likewise.
2251 * sunrpc/xdr_float.c: Likewise.
2252 * sunrpc/xdr_intXX_t.c: Likewise.
2253 * sunrpc/xdr_mem.c: Likewise.
2254 * sunrpc/xdr_rec.c: Likewise.
2255 * sunrpc/xdr_ref.c: Likewise.
2256 * sunrpc/xdr_sizeof.c: Likewise.
2257 * sunrpc/xdr_stdio.c: Likewise.
2259 2011-04-10 Ulrich Drepper <drepper@gmail.com>
2262 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
2263 * sysdeps/ia64/dl-tls.h: Likewise.
2264 * sysdeps/powerpc/dl-tls.h: Likewise.
2265 * sysdeps/s390/dl-tls.h: Likewise.
2266 * sysdeps/sh/dl-tls.h: Likewise.
2267 * sysdeps/sparc/dl-tls.h: Likewise.
2268 * sysdeps/x86_64/dl-tls.h: Likewise.
2269 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
2271 2011-03-14 Andreas Schwab <schwab@redhat.com>
2273 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
2274 rpath element also skip the following colon.
2275 (expand_dynamic_string_token): Add is_path parameter and pass
2276 down to DL_DST_REQUIRED and _dl_dst_substitute.
2277 (decompose_rpath): Call expand_dynamic_string_token with
2278 non-zero is_path. Ignore empty rpaths.
2279 (_dl_map_object_from_fd): Call expand_dynamic_string_token
2282 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2287 2011-04-09 Ulrich Drepper <drepper@gmail.com>
2290 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
2291 Patch by Filipe David Manana <fdmanana@apache.org>.
2293 2011-04-07 Andreas Schwab <schwab@redhat.com>
2295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
2296 Maintain aligned stack.
2297 (CHECK_RSP): Remove unused macro.
2299 2011-04-03 Ulrich Drepper <drepper@gmail.com>
2301 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
2302 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2304 2011-04-02 Ulrich Drepper <drepper@gmail.com>
2306 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
2308 * include/features.h: Mention __USE_XOPEN2K8 in comment.
2310 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
2313 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
2314 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
2315 * sysdeps/x86_64/memmove.c: New file.
2316 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
2317 (memcpy): Renamed to ...
2318 (__new_memcpy): This.
2319 (memcpy): Provide GLIBC_2_14 memcpy.
2320 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
2321 (memcpy): Provide GLIBC_2_2_5 memcpy.
2323 2011-04-01 Ulrich Drepper <drepper@gmail.com>
2326 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
2328 2011-03-30 Andreas Schwab <schwab@redhat.com>
2330 * misc/syncfs.c: New file.
2331 * misc/Makefile (routines): Add syncfs.
2332 * posix/unistd.h: Declare syncfs.
2333 * sysdeps/unix/syscalls.list: Add syncfs.
2335 2011-04-01 Andreas Schwab <schwab@redhat.com>
2337 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
2339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2344 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2347 2011-04-01 Ulrich Drepper <drepper@gmail.com>
2349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
2350 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2351 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2357 * io/Makefile: Compile fallocate.c, fallocate64.c, and
2358 sync_file_range.c with -fexceptions.
2359 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
2360 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2361 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2362 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2363 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2364 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
2366 sync_file_range as cancellation point
2367 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
2368 now a wrapper around __call_sync_file_range with cancellation handling.
2369 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
2370 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
2371 function name to __call_sync_file_range.
2372 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
2373 Add call_sync_file_range.
2375 2011-04-01 Andreas Schwab <schwab@redhat.com>
2377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2380 2011-04-01 Ulrich Drepper <drepper@gmail.com>
2382 * iconv/iconv.h: Fix typo in comment.
2383 * io/fcntl.h: Likewise.
2384 * libio/stdio.h: Likewise.
2385 * posix/spawn.h: Likewise.
2386 * posix/unistd.h: Likewise.
2387 * stdlib/stdlib.h: Likewise.
2388 * time/time.h: Likewise.
2389 * wcsmbs/wchar.h: Likewise.
2391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
2392 open_by_handle): Add.
2393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
2394 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
2395 Augment a few comments.
2396 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2401 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
2404 * io/fcntl.h (AT_EMPTY_PATH): Define.
2406 2011-03-30 Ulrich Drepper <drepper@gmail.com>
2408 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
2409 * sysdeps/unix/sysv/linux/bits/time.h: New file.
2410 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
2412 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
2413 * Versions.def: Add GLIBC_2.14.
2414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
2417 2011-03-22 Ulrich Drepper <drepper@gmail.com>
2419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
2421 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2423 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
2426 * string/test-strncmp.c (do_page_test): New function.
2428 (test_main): Call check2.
2429 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
2431 2011-03-20 Ulrich Drepper <drepper@gmail.com>
2434 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
2435 Handle cache information in CPU leaf 4.
2436 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2438 2011-03-18 Ulrich Drepper <drepper@gmail.com>
2441 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
2442 character representation.
2443 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
2445 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
2447 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
2448 END(__isnan) to END(__isnanf) to match function entry point/label
2449 EALIGN(__isnanf,...).
2451 2011-03-10 Jakub Jelinek <jakub@redhat.com>
2453 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
2455 2011-03-10 Ulrich Drepper <drepper@gmail.com>
2458 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
2459 copy from the symbol referenced in the relocation to initialize the
2461 Patch by Piotr Bury <pbury@goahead.com>.
2462 * elf/Makefile: Add rules to build and tst-unique3.
2463 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
2464 * elf/tst-unique3.cc: New file.
2465 * elf/tst-unique3.h: New file.
2466 * elf/tst-unique3lib.cc: New file.
2467 * elf/tst-unique3lib2.cc: New file.
2469 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
2471 2011-03-10 Mike Frysinger <vapier@gentoo.org>
2473 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
2474 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
2477 2011-03-06 Ulrich Drepper <drepper@gmail.com>
2479 * elf/dl-load.c (_dl_map_object): If we are looking for the first
2480 to-be-loaded object along a path to loader is ld.so.
2482 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2483 Ulrich Drepper <drepper@gmail.com>
2485 * sysdeps/x86_64/memset.S: After aligning destination, code
2486 branches to different locations depending on the value of
2487 misalignment, when multiarch is enabled. Fix this.
2489 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2491 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
2492 Set _x86_64_preferred_memory_instruction for AMD processsors.
2493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2494 Set bit_Prefer_SSE_for_memop for AMD processors.
2496 2011-03-04 Ulrich Drepper <drepper@gmail.com>
2498 * libio/fmemopen.c (fmemopen): Optimize a bit.
2500 2011-03-03 Andreas Schwab <schwab@redhat.com>
2502 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
2504 2011-03-03 Roland McGrath <roland@redhat.com>
2506 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
2508 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
2510 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
2511 __bzero_ultra1 instead of __memset_ultra1.
2513 2011-02-23 Andreas Schwab <schwab@redhat.com>
2514 Ulrich Drepper <drepper@gmail.com>
2517 * include/link.h (struct link_map): Add l_orig_initfini.
2518 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
2519 returning unsuccessfully.
2520 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
2521 close of a file loaded at startup, restore the original l_initfini
2523 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
2524 list, store the pointer.
2525 * elf/Makefile ($(objpfx)noload-mem): New rule.
2526 (noload-ENV): Define.
2527 (tests): Add $(objpfx)noload-mem.
2528 * elf/noload.c: Include <memcheck.h>.
2529 (main): Call mtrace. Close all opened handles.
2531 2011-02-17 Andreas Schwab <schwab@redhat.com>
2534 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
2535 dependencies are missing.
2537 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2539 Fix __if_freereq crash: Unlike the generic version which uses free,
2541 * sysdeps/mach/hurd/ifreq.h: New file.
2543 2011-01-27 Petr Baudis <pasky@suse.cz>
2544 Ulrich Drepper <drepper@gmail.com>
2547 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
2549 * stdio-common/bug23.c: New file.
2550 * stdio-common/Makefile (tests): Add bug23.
2552 2010-09-28 Andreas Schwab <schwab@redhat.com>
2553 Ulrich Drepper <drepper@gmail.com>
2556 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
2557 before performing relro protection. At old place add assertion
2558 to make sure nothing changed.
2560 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
2561 Glauber de Oliveira Costa <glommer@gmail.com>
2563 * elf/elf.h: Add new ARM TLS relocs.
2565 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2568 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
2570 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
2572 * sysdeps/wordsize-64/tst-writev.c: New file.
2574 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
2576 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
2577 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
2578 insns in _dl_start to prevent a TOC reference before relocs are
2581 2011-02-15 Ulrich Drepper <drepper@gmail.com>
2584 * Makeconfig: Remove RANLIB definition.
2585 * Makerules: Don't use RANLIB.
2586 * aclocal.m4: Remove ranlib test.
2587 * configure.in: No need to check for ranlib.
2588 * elf/rtld-Rules: Don't use RANLIB.
2590 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2592 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
2594 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
2595 inclusion protection macro.
2597 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
2598 SIGRTMIN and SIGRTMAX and print information in that case only when
2599 SIGRTMIN is defined.
2601 2011-02-11 Jakub Jelinek <jakub@redhat.com>
2603 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
2604 arginfo fn returning -1.
2606 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
2607 and thousands string is zero terminated.
2609 2011-02-03 Andreas Schwab <schwab@redhat.com>
2611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
2612 sysdeps/unix/sysv/linux/bits/socket.h.
2614 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2616 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
2617 (__CPU_COUNT): Remove old macros.
2618 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
2619 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
2620 (__CPU_ALLOC, __CPU_FREE): Add macros.
2621 (__sched_cpualloc, __sched_cpufree): Add declarations.
2623 2011-02-05 Ulrich Drepper <drepper@gmail.com>
2625 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
2626 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
2627 * nscd/aicache.c (addhstaiX): Return timeout of added value.
2628 (readdhstai): Return value of addhstaiX call.
2629 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
2630 (addgrbyX): Return value returned by cache_addgr.
2631 (readdgrbyname): Return value returned by addgrbyX.
2632 (readdgrbygid): Likewise.
2633 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
2634 (addpwbyX): Return value returned by cache_addpw.
2635 (readdpwbyname): Return value returned by addhstbyX.
2636 (readdpwbyuid): Likewise.
2637 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
2638 (addservbyX): Return value returned by cache_addserv.
2639 (readdservbyname): Return value returned by addservbyX:
2640 (readdservbyport): Likewise.
2641 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
2642 (addhstbyX): Return value returned by cache_addhst.
2643 (readdhstbyname): Return value returned by addhstbyX.
2644 (readdhstbyaddr): Likewise.
2645 (readdhstbynamev6): Likewise.
2646 (readdhstbyaddrv6): Likewise.
2647 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
2648 (readdinitgroups): Return value returned by addinitgroupsX.
2649 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
2650 (prune_cache): Keep track of timeout value of re-added entries.
2651 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
2652 * nscd/nscd.h: Adjust prototypes of readd* functions.
2654 2011-02-04 Roland McGrath <roland@redhat.com>
2656 * nis/nis_server.c (nis_servstate): Use the right name for 0.
2657 (nis_stats): Likewise.
2658 * nis/nis_modify.c (nis_modify): Likewise.
2659 * nis/nis_remove.c (nis_remove): Likewise.
2660 * nis/nis_add.c (nis_add): Likewise.
2662 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
2664 * posix/fnmatch_loop.c: Add some consts.
2666 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
2668 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
2671 * config.make.in (config-cflags-novzeroupper): Define.
2672 * configure.in: Substitute libc_cv_cc_novzeroupper.
2673 * elf/Makefile (AVX-CFLAGS): Define.
2674 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
2675 (CFLAGS-tst-auditmod4a.c): Likewise.
2676 (CFLAGS-tst-auditmod4b.c): Likewise.
2677 (CFLAGS-tst-auditmod6b.c): Likewise.
2678 (CFLAGS-tst-auditmod6c.c): Likewise.
2679 (CFLAGS-tst-auditmod7b.c): Likewise.
2680 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
2682 2011-02-02 Ulrich Drepper <drepper@gmail.com>
2684 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
2685 function to the callback.
2686 Patch partly by Jiri Olsa <jolsa@redhat.com>.
2688 2011-02-02 Andreas Schwab <schwab@redhat.com>
2690 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
2693 2011-01-19 Ulrich Drepper <drepper@gmail.com>
2696 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
2698 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
2700 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
2703 * elf/Makefile: Add rules to build and run new test.
2704 * elf/tst-initorder.c: New file.
2705 * elf/tst-initorder.exp: New file.
2706 * elf/tst-initordera1.c: New file.
2707 * elf/tst-initordera2.c: New file.
2708 * elf/tst-initordera3.c: New file.
2709 * elf/tst-initordera4.c: New file.
2710 * elf/tst-initorderb1.c: New file.
2711 * elf/tst-initorderb2.c: New file.
2712 * elf/tst-order-a1.c: New file.
2713 * elf/tst-order-a2.c: New file.
2714 * elf/tst-order-a3.c: New file.
2715 * elf/tst-order-a4.c: New file.
2716 * elf/tst-order-b1.c: New file.
2717 * elf/tst-order-b2.c: New file.
2718 * elf/tst-order-main.c: New file.
2719 New test case by George Gensure <werkt0@gmail.com>.
2721 2010-10-01 Andreas Schwab <schwab@redhat.com>
2723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2724 decoding ACE if AI_CANONIDN.
2726 2011-01-18 Ulrich Drepper <drepper@gmail.com>
2728 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
2730 2011-01-17 Ulrich Drepper <drepper@gmail.com>
2732 * version.h (RELEASE): Bump for 2.13 release.
2733 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
2735 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
2737 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
2739 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2741 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2742 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2744 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2746 * posix/getconf.c: Update copyright year.
2747 * catgets/gencat.c: Likewise.
2748 * csu/version.c: Likewise.
2749 * debug/catchsegv.sh: Likewise.
2750 * debug/xtrace.sh: Likewise.
2751 * elf/ldconfig.c: Likewise.
2752 * elf/ldd.bash.in: Likewise.
2753 * elf/sprof.c (print_version): Likewise.
2754 * iconv/iconv_prog.c: Likewise.
2755 * iconv/iconvconfig.c: Likewise.
2756 * locale/programs/locale.c: Likewise.
2757 * locale/programs/localedef.c: Likewise.
2758 * malloc/memusage.sh: Likewise.
2759 * malloc/mtrace.pl: Likewise.
2760 * nscd/nscd.c (print_version): Likewise.
2761 * nss/getent.c: Likewise.
2763 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
2764 PF_CAIF, and PF_ALG.
2765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2767 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
2769 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
2770 (modules-names): Use them.
2771 (ifunc-test-modules, ifunc-pie-tests): Define.
2772 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
2773 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
2774 (test-extras): Likewise.
2775 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
2776 $(compile-command.c).
2777 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
2778 (all-built-dso): Define.
2779 (check-textrel.out, check-execstack.out): Depend on it.
2781 * configure.in: Don't override --enable-multi-arch.
2783 2011-01-15 Ulrich Drepper <drepper@gmail.com>
2786 * nscd/hstcache.c (tryagain): Define.
2787 (cache_addhst): Return tryagain not notfound for temporary errors.
2788 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
2791 2011-01-14 Ulrich Drepper <drepper@gmail.com>
2794 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
2795 to make the syscall.
2796 * sysdeps/unix/sysv/linux/setgroups.c: New file.
2799 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
2800 and fall back to matching as normal character if the string ends before
2801 the matching ']' is found. This is what POSIX requires.
2802 * posix/testfnm.c: Adjust test result.
2803 * posix/globtest.sh: Adjust test result. Add new test.
2804 * posix/tst-fnmatch.input: Likewise.
2805 * posix/tst-fnmatch2.c: Add new test.
2807 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
2809 * elf/Makefile (check-execstack): Revert last change. Depend on
2811 (check-execstack.h): New target.
2812 (generated): Add check-execstack.h.
2813 * elf/check-execstack.c: Include "check-execstack.h".
2814 (main): Revert last change.
2815 (handle_file): Return zero if GNU_STACK is absent and
2816 DEFAULT_STACK_PERMS doesn't include PF_X.
2818 2011-01-13 Ulrich Drepper <drepper@gmail.com>
2820 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
2821 in child fails because the descriptor is already closed.
2822 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
2823 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
2824 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2827 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
2831 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
2832 temporary buffer used to handle multi lookups locally.
2833 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
2835 2011-01-12 Ulrich Drepper <drepper@gmail.com>
2837 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
2840 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
2842 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
2845 2011-01-12 Ulrich Drepper <drepper@gmail.com>
2848 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
2849 characters. When rounding increased number of integer digits recompute
2851 * stdio-common/tst-grouping.c: New file.
2852 * stdio-common/Makefile: Add rules to build and run tst-grouping.
2854 2011-01-09 Ulrich Drepper <drepper@gmail.com>
2856 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
2857 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
2859 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
2861 * bits/select.h: Likewise.
2863 2011-01-08 Ulrich Drepper <drepper@gmail.com>
2865 * po/ja.po: Update from translation team.
2867 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
2871 implementation just like for lxstat, fxstatat, et al.
2873 2010-12-27 Jim Meyering <meyering@redhat.com>
2876 * posix/regexec.c (build_trtable): Return failure indication upon
2877 calloc failure. Otherwise, re_search_internal could infloop on OOM.
2879 2010-12-25 Ulrich Drepper <drepper@gmail.com>
2882 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2883 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
2885 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
2888 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
2891 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
2892 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
2894 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
2896 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
2897 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
2898 script has SORT_BY_INIT_PRIORITY.
2899 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
2900 NO_CTORS_DTORS_SECTIONS is defined.
2901 * elf/soinit.c: Likewise.
2902 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
2903 NO_CTORS_DTORS_SECTIONS is defined.
2904 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2905 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2906 * sysdeps/sh/init-first.c: Likewise.
2907 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2909 2010-12-24 Ulrich Drepper <drepper@gmail.com>
2911 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
2912 always use the slow path.
2914 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
2916 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
2917 similar rule which adds the sysdep directories to the header search in
2918 order to pick up the correct platform stackinfo.h.
2919 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
2920 perform test if it is, otherwise return successfully without testing.
2921 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
2922 DEFAULT_STACK_PERMS define in stackinfo.h.
2923 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
2924 defined in stackinfo.h.
2925 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
2926 DEFAULT_STACK_PERMS defined in stackinfo.h.
2927 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
2928 * sysdeps/ia64/stackinfo.h: Likewise.
2929 * sysdeps/s390/stackinfo.h: Likewise.
2930 * sysdeps/sh/stackinfo.h: Likewise.
2931 * sysdeps/sparc/stackinfo.h: Likewise.
2932 * sysdeps/x86_64/stackinfo.h: Likewise.
2933 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
2934 PF_X for powerpc64. Retain PF_X for powerpc32.
2936 2010-12-19 Ulrich Drepper <drepper@gmail.com>
2938 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
2940 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
2941 GETDENTS_64BIT_ALIGNED.
2943 2010-12-14 Ulrich Drepper <dreper@gmail.com>
2945 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
2947 2010-12-10 Andreas Schwab <schwab@redhat.com>
2949 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
2952 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
2953 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
2955 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
2956 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
2958 2010-12-09 Ulrich Drepper <drepper@gmail.com>
2961 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
2964 2010-12-09 Jakub Jelinek <jakub@redhat.com>
2966 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
2968 2010-12-03 Ulrich Drepper <drepper@gmail.com>
2970 * po/it.po: Update from translation team.
2972 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
2974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
2977 2010-11-30 Ulrich Drepper <drepper@gmail.com>
2979 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
2981 2010-11-24 Andreas Schwab <schwab@redhat.com>
2983 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
2985 (gaih_getanswer_slice): Likewise.
2987 2010-10-20 Jakub Jelinek <jakub@redhat.com>
2989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
2991 2010-05-31 Petr Baudis <pasky@suse.cz>
2994 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
2995 silently even in the chroot mode.
2997 2010-11-22 Ulrich Drepper <drepper@gmail.com>
2999 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
3000 last patch a bit. Pretty printing
3002 2010-05-31 Petr Baudis <pasky@suse.cz>
3005 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
3006 initialization of skip_initgroups_dyn.
3008 2010-11-19 Ulrich Drepper <drepper@gmail.com>
3010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
3011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3013 2010-11-16 Ulrich Drepper <drepper@gmail.com>
3015 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
3017 2010-11-11 Andreas Schwab <schwab@redhat.com>
3019 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
3020 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
3021 (tst-fnmatch-ENV): Set MALLOC_TRACE.
3022 ($(objpfx)tst-fnmatch-mem): New rule.
3023 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
3024 * posix/tst-fnmatch.c (main): Call mtrace.
3026 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
3028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3029 Support Intel processor model 6 and model 0x2c.
3031 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
3033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
3036 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
3039 * string/test-strncasecmp.c (check_result): New function.
3040 (do_one_test): Use it.
3041 (check1): New function.
3042 (test_main): Use it.
3043 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
3044 Support strcasecmp and strncasecmp.
3046 2010-11-08 Ulrich Drepper <drepper@gmail.com>
3049 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
3050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3052 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
3054 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
3056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3058 * sysdeps/x86_64/multiarch/bzero.S: New file.
3059 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
3060 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
3061 * sysdeps/x86_64/multiarch/memset.S: New file.
3062 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
3063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3064 Set bit_Prefer_SSE_for_memop for Intel processors.
3065 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
3067 (index_Prefer_SSE_for_memop): Define.
3068 (HAS_PREFER_SSE_FOR_MEMOP): Define.
3070 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
3072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
3073 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
3075 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
3078 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3079 (__x86_64_raw_data_cache_size_half): Likewise.
3080 (__x86_64_raw_shared_cache_size): Likewise.
3081 (__x86_64_raw_shared_cache_size_half): Likewise.
3083 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3084 (__x86_64_raw_data_cache_size_half): Likewise.
3085 (__x86_64_raw_shared_cache_size): Likewise.
3086 (__x86_64_raw_shared_cache_size_half): Likewise.
3087 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
3088 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
3089 and __x86_64_raw_shared_cache_size_half. Round
3090 __x86_64_data_cache_size_half, __x86_64_data_cache_size
3091 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
3092 to multiple of 256 bytes.
3094 2010-11-03 Ulrich Drepper <drepper@gmail.com>
3097 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
3098 of inacessible symlinks. Verify result of symlink before returning it.
3099 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3100 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
3102 2010-10-28 Erich Ritz <erichritz@gmail.com>
3104 * math/math.h (isinf): Fix typo in comment.
3106 2010-11-01 Ulrich Drepper <drepper@gmail.com>
3108 * po/da.po: Update from translation team.
3110 2010-10-26 Ulrich Drepper <drepper@gmail.com>
3112 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
3113 is added to the list.
3115 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3116 Ulrich Drepper <drepper@gmail.com>
3118 * elf/dl-object.c (_dl_new_object): Don't append the new object to
3119 the global list here. Move code to...
3120 (_dl_add_to_namespace_list): ...here. New function.
3121 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
3122 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
3123 * elf/dl-load.c (lose): Don't remove the element from the list.
3124 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
3125 (_dl_map_object): Likewise.
3127 2010-10-25 Ulrich Drepper <drepper@gmail.com>
3130 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
3131 into all bytes of SSE register.
3132 Patch by Richard Li <richardpku@gmail.com>.
3134 2010-10-24 Ulrich Drepper <drepper@gmail.com>
3137 * malloc/malloc.c (_int_free): Fill correct number of bytes when
3140 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
3142 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
3143 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
3144 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
3145 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
3150 2010-10-22 Andreas Schwab <schwab@redhat.com>
3152 * include/dlfcn.h (__RTLD_SECURE): Define.
3153 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
3154 mode & __RTLD_SECURE instead.
3155 (open_path): Rename preloaded parameter to secure.
3156 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
3157 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
3158 * elf/dl-deps.c (openaux): Likewise.
3159 * elf/rtld.c (struct map_args): Remove is_preloaded.
3160 (map_doit): Don't use it.
3161 (dl_main): Likewise.
3162 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
3163 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
3165 2010-09-09 Andreas Schwab <schwab@redhat.com>
3167 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
3168 (sysd-rules-targets): Remove duplicates.
3169 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
3170 rtld-%.$o dependency.
3172 2010-10-18 Andreas Schwab <schwab@redhat.com>
3174 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
3175 _dl_map_object do it.
3177 2010-10-19 Ulrich Drepper <drepper@gmail.com>
3179 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
3180 fast fma builtins, define the macros in the C99 standard.
3181 (FP_FAST_FMAF): Likewise.
3182 (FP_FAST_FMAL): Likewise.
3183 * sysdeps/x86_64/bits/mathdef.h: Likewise.
3185 * bits/mathdef.h: Update copyright year.
3186 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3188 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
3190 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
3191 builtins, define the macros in the C99 standard.
3192 (FP_FAST_FMAF): Likewise.
3193 (FP_FAST_FMAL): Likewise.
3194 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
3196 (FP_FAST_FMAF): Likewise.
3198 2010-10-15 Jakub Jelinek <jakub@redhat.com>
3201 * math/libm-test.inc (fma_test): Some new testcases.
3202 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
3203 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
3204 y and infinite z. Do multiplication by C already in long double.
3205 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
3206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
3207 y and infinite z. Do bitwise or of inexact bit into u.d.
3208 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
3209 * sysdeps/i386/fpu/s_fmaf.S: Removed.
3210 * sysdeps/i386/fpu/s_fma.S: Removed.
3211 * sysdeps/i386/fpu/s_fmal.S: Removed.
3213 2010-10-16 Jakub Jelinek <jakub@redhat.com>
3216 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
3217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
3218 computation is not scheduled after fetestexcept. Fix value
3219 of minimum denormal long double.
3221 2010-10-14 Jakub Jelinek <jakub@redhat.com>
3224 * math/libm-test.inc (fma_test): Add some more tests.
3225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
3228 2010-10-15 Andreas Schwab <schwab@redhat.com>
3230 * scripts/data/localplt-s390-linux-gnu.data: New file.
3231 * scripts/data/localplt-s390x-linux-gnu.data: New file.
3233 2010-10-13 Jakub Jelinek <jakub@redhat.com>
3236 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
3237 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
3239 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
3241 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
3242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
3243 if one of x and y is very large and the other is subnormal.
3244 * sysdeps/s390/fpu/s_fmaf.c: New file.
3245 * sysdeps/s390/fpu/s_fma.c: New file.
3246 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
3247 * sysdeps/powerpc/fpu/s_fma.S: New file.
3248 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
3249 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
3250 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
3252 2010-10-12 Jakub Jelinek <jakub@redhat.com>
3255 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
3257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
3258 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
3259 * sysdeps/i386/i686/multiarch/s_fma.c: Include
3260 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
3261 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
3262 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
3265 2010-10-12 Ulrich Drepper <drepper@redhat.com>
3268 * posix/regcomp.c (parse_branch): One more memory leak plugged.
3269 * posix/bug-regex31.input: Add test case.
3271 2010-10-11 Ulrich Drepper <drepper@gmail.com>
3273 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
3274 * posix/bug-regex31.input: New file.
3277 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
3278 (parse_sub_exp): Fix last change, use postorder.
3280 * posix/bug-regex31.c: New file.
3281 * posix/Makefile: Add rules to build and run bug-regex31.
3283 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
3286 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
3289 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
3290 to have entries in sys_siglist.
3293 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
3296 2010-10-07 Jakub Jelinek <jakub@redhat.com>
3299 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
3300 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
3301 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3302 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
3303 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3304 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
3305 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
3306 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
3307 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
3308 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
3309 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
3310 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
3311 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3312 * math/ftestexcept.c (fetestexcept): Likewise.
3313 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
3314 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3315 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3316 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
3317 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
3318 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
3319 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3321 2010-10-11 Ulrich Drepper <drepper@gmail.com>
3324 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
3327 2010-10-06 Ulrich Drepper <drepper@gmail.com>
3329 * string/bug-strstr1.c: New file.
3330 * string/Makefile: Add rules to build and run bug-strstr1.
3332 2010-10-05 Eric Blake <eblake@redhat.com>
3335 * string/str-two-way.h (two_way_long_needle): Always clear memory
3336 when skipping input due to the shift table.
3338 2010-10-03 Ulrich Drepper <drepper@gmail.com>
3341 * malloc/mcheck.c: Handle large requests.
3344 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
3345 for strncmp and strncasecmp.
3346 * string/stratcliff.c: Add tests for strcmp and strncmp.
3347 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
3349 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3351 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
3354 2010-09-30 Andreas Jaeger <aj@suse.de>
3356 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
3357 (CGROUP_SUPER_MAGIC): Define.
3358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3359 Handle btrfs and cgroup file systems.
3360 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3363 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
3365 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
3366 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
3368 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3371 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
3372 trying to locate the ELF header.
3374 2010-09-27 Andreas Schwab <schwab@redhat.com>
3377 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
3378 Mask out sign-bit copies when constructing f_fsid.
3380 2010-09-24 Petr Baudis <pasky@suse.cz>
3382 * debug/stack_chk_fail_local.c: Add missing licence exception.
3383 * debug/warning-nop.c: Likewise.
3385 2010-09-15 Joseph Myers <joseph@codesourcery.com>
3387 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
3388 implementing getdents64 using getdents syscall, set d_type if
3389 __ASSUME_GETDENTS32_D_TYPE.
3391 2010-09-16 Andreas Schwab <schwab@redhat.com>
3393 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
3394 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
3396 2010-09-21 Ulrich Drepper <drepper@redhat.com>
3399 * posix/unistd.h: Undo change of feature selection for ftruncate from
3402 2010-09-20 Ulrich Drepper <drepper@redhat.com>
3404 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
3407 2010-09-20 Andreas Schwab <schwab@redhat.com>
3409 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3411 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3413 2010-09-14 Andreas Schwab <schwab@redhat.com>
3415 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
3416 variables after CHECK_SP call.
3417 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3419 2010-09-13 Andreas Schwab <schwab@redhat.com>
3420 Ulrich Drepper <drepper@redhat.com>
3422 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
3423 re-relocationg ld.so.
3424 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
3425 _dl_init_paths call.
3426 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
3429 2010-09-14 Ulrich Drepper <drepper@redhat.com>
3431 * resolv/res_init.c (__res_vinit): Count the default server we added.
3433 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
3434 Ulrich Drepper <drepper@redhat.com>
3437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3438 (____longjmp_chk): Use %ebx for saving value across system call.
3441 2010-09-06 Andreas Schwab <schwab@redhat.com>
3443 * manual/Makefile: Don't mix pattern rules with normal rules.
3445 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
3447 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
3449 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3450 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3451 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3452 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3456 2010-09-04 Ulrich Drepper <drepper@redhat.com>
3459 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
3460 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
3462 2010-09-02 Ulrich Drepper <drepper@redhat.com>
3464 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
3465 * sysdeps/x86_64/addmul_1.S: Likewise.
3466 * sysdeps/x86_64/lshift.S: Likewise.
3467 * sysdeps/x86_64/mul_1.S: Likewise.
3468 * sysdeps/x86_64/rshift.S: Likewise.
3469 * sysdeps/x86_64/sub_n.S: Likewise.
3470 * sysdeps/x86_64/submul_1.S: Likewise.
3472 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3474 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
3475 Define __sched_param instead of SCHED_* and sched_param when
3476 <bits/sched.h> is included with __need_schedparam defined.
3477 * bits/sched.h [__need_schedparam]
3478 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
3479 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
3480 (__defined_schedparam): Define to 1.
3481 (__sched_param): New structure, identical to sched_param.
3482 (__need_schedparam): Undefine.
3484 2010-08-31 Mike Frysinger <vapier@gentoo.org>
3486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
3487 (epoll_create1): Declare.
3489 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
3491 2010-08-31 Andreas Schwab <schwab@redhat.com>
3494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
3495 shifting retval into place.
3497 2010-09-01 Ulrich Drepper <drepper@redhat.com>
3499 * nis/rpcsvc/nis.h: Update copyright notice.
3500 * nis/rpcsvc/nis.x: Likewise.
3501 * nis/rpcsvc/nis_callback.h: Likewise.
3502 * nis/rpcsvc/nis_callback.x: Likewise.
3503 * nis/rpcsvc/nis_object.x: Likewise.
3504 * nis/rpcsvc/nis_tags.h: Likewise.
3505 * nis/rpcsvc/yp.h: Likewise.
3506 * nis/rpcsvc/yp.x: Likewise.
3507 * nis/rpcsvc/ypupd.h: Likewise.
3508 * nis/yp_xdr.c: Likewise.
3509 * nis/ypupdate_xdr.c: Likewise.
3511 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
3512 mainly the body of pmap_getport. Add parameters to specify timeouts.
3513 (pmap_getport): Use __libc_rpc_getport.
3514 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
3515 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
3516 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
3518 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
3523 2010-08-27 Roland McGrath <roland@redhat.com>
3525 * sysdeps/i386/i686/multiarch/Makefile
3526 (CFLAGS-varshift.c): New variable.
3528 2010-08-27 Ulrich Drepper <drepper@redhat.com>
3530 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
3531 * sysdeps/i386/i686/multiarch/varshift.c: New file.
3533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
3535 * sysdeps/x86_64/strlen.S: Minimal code improvement.
3537 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
3539 * sysdeps/x86_64/strlen.S: Unroll the loop.
3540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3541 strlen-sse2 strlen-sse2-bsf.
3542 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
3543 __strlen_no_bsf if bit_Slow_BSF is set.
3544 (__strlen_sse42): Removed.
3545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
3546 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
3548 2010-08-25 Roland McGrath <roland@redhat.com>
3550 * sysdeps/x86_64/multiarch/varshift.S: File removed.
3551 * sysdeps/x86_64/multiarch/varshift.c: New file.
3552 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
3553 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
3554 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
3555 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3557 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
3559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3560 strlen-sse2 strlen-sse2-bsf.
3561 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
3562 __strlen_sse2_bsf if bit_Slow_BSF is unset.
3563 (__strlen_sse2): Removed.
3564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
3565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
3566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3567 bit_Slow_BSF for Atom.
3568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
3569 (index_Slow_BSF): Define.
3570 (HAS_SLOW_BSF): Define.
3572 2010-08-25 Ulrich Drepper <drepper@redhat.com>
3575 * resolv/res_init.c (__res_vinit): When no server address at all
3576 is given default to loopback.
3578 2010-08-24 Roland McGrath <roland@redhat.com>
3580 * configure.in: Remove config-name.h generation.
3581 * configure: Regenerated.
3582 * config-name.in: File removed.
3583 * scripts/config-uname.sh: New file.
3584 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
3585 ($(objdir)config-name.h): New target.
3587 * sunrpc/rpc_parse.h: Avoid nested comment.
3589 2010-08-24 Richard Henderson <rth@redhat.com>
3590 Ulrich Drepper <drepper@redhat.com>
3591 H.J. Lu <hongjiu.lu@intel.com>
3593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
3594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
3595 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
3596 Replace _mm_srli_si128 with __m128i_shift_right. Replace
3597 _mm_alignr_epi8 with _mm_loadu_si128.
3598 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
3599 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
3600 (__m128i_shift_right): Removed.
3601 * sysdeps/i386/i686/multiarch/varshift.h: New file.
3602 * sysdeps/i386/i686/multiarch/varshift.S: New file.
3603 * sysdeps/x86_64/multiarch/varshift.h: New file.
3604 * sysdeps/x86_64/multiarch/varshift.S: New file.
3606 2010-08-21 Mike Frysinger <vapier@gentoo.org>
3608 * configure.in: Move assembler checks to before sysdep dir checking.
3610 2010-08-20 Petr Baudis <pasky@suse.cz>
3612 * LICENSES: Sync the sunrpc license.
3614 2010-08-19 Ulrich Drepper <drepper@redhat.com>
3616 * sunrpc/auth_des.c: Update copyright notice once again.
3617 * sunrpc/auth_none.c: Likewise.
3618 * sunrpc/auth_unix.c: Likewise.
3619 * sunrpc/authdes_prot.c: Likewise.
3620 * sunrpc/authuxprot.c: Likewise.
3621 * sunrpc/bindrsvprt.c: Likewise.
3622 * sunrpc/clnt_gen.c: Likewise.
3623 * sunrpc/clnt_perr.c: Likewise.
3624 * sunrpc/clnt_raw.c: Likewise.
3625 * sunrpc/clnt_simp.c: Likewise.
3626 * sunrpc/clnt_tcp.c: Likewise.
3627 * sunrpc/clnt_udp.c: Likewise.
3628 * sunrpc/clnt_unix.c: Likewise.
3629 * sunrpc/des_crypt.c: Likewise.
3630 * sunrpc/des_soft.c: Likewise.
3631 * sunrpc/get_myaddr.c: Likewise.
3632 * sunrpc/getrpcport.c: Likewise.
3633 * sunrpc/key_call.c: Likewise.
3634 * sunrpc/key_prot.c: Likewise.
3635 * sunrpc/openchild.c: Likewise.
3636 * sunrpc/pm_getmaps.c: Likewise.
3637 * sunrpc/pm_getport.c: Likewise.
3638 * sunrpc/pmap_clnt.c: Likewise.
3639 * sunrpc/pmap_prot.c: Likewise.
3640 * sunrpc/pmap_prot2.c: Likewise.
3641 * sunrpc/pmap_rmt.c: Likewise.
3642 * sunrpc/rpc/auth.h: Likewise.
3643 * sunrpc/rpc/auth_unix.h: Likewise.
3644 * sunrpc/rpc/clnt.h: Likewise.
3645 * sunrpc/rpc/des_crypt.h: Likewise.
3646 * sunrpc/rpc/key_prot.h: Likewise.
3647 * sunrpc/rpc/netdb.h: Likewise.
3648 * sunrpc/rpc/pmap_clnt.h: Likewise.
3649 * sunrpc/rpc/pmap_prot.h: Likewise.
3650 * sunrpc/rpc/pmap_rmt.h: Likewise.
3651 * sunrpc/rpc/rpc.h: Likewise.
3652 * sunrpc/rpc/rpc_des.h: Likewise.
3653 * sunrpc/rpc/rpc_msg.h: Likewise.
3654 * sunrpc/rpc/svc.h: Likewise.
3655 * sunrpc/rpc/svc_auth.h: Likewise.
3656 * sunrpc/rpc/types.h: Likewise.
3657 * sunrpc/rpc/xdr.h: Likewise.
3658 * sunrpc/rpc_clntout.c: Likewise.
3659 * sunrpc/rpc_cmsg.c: Likewise.
3660 * sunrpc/rpc_common.c: Likewise.
3661 * sunrpc/rpc_cout.c: Likewise.
3662 * sunrpc/rpc_dtable.c: Likewise.
3663 * sunrpc/rpc_hout.c: Likewise.
3664 * sunrpc/rpc_main.c: Likewise.
3665 * sunrpc/rpc_parse.c: Likewise.
3666 * sunrpc/rpc_parse.h: Likewise.
3667 * sunrpc/rpc_prot.c: Likewise.
3668 * sunrpc/rpc_sample.c: Likewise.
3669 * sunrpc/rpc_scan.c: Likewise.
3670 * sunrpc/rpc_scan.h: Likewise.
3671 * sunrpc/rpc_svcout.c: Likewise.
3672 * sunrpc/rpc_tblout.c: Likewise.
3673 * sunrpc/rpc_util.c: Likewise.
3674 * sunrpc/rpc_util.h: Likewise.
3675 * sunrpc/rpcinfo.c: Likewise.
3676 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
3677 * sunrpc/rpcsvc/key_prot.x: Likewise.
3678 * sunrpc/rpcsvc/klm_prot.x: Likewise.
3679 * sunrpc/rpcsvc/mount.x: Likewise.
3680 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
3681 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
3682 * sunrpc/rpcsvc/rex.x: Likewise.
3683 * sunrpc/rpcsvc/rstat.x: Likewise.
3684 * sunrpc/rpcsvc/rusers.x: Likewise.
3685 * sunrpc/rpcsvc/sm_inter.x: Likewise.
3686 * sunrpc/rpcsvc/spray.x: Likewise.
3687 * sunrpc/rpcsvc/yppasswd.x: Likewise.
3688 * sunrpc/rtime.c: Likewise.
3689 * sunrpc/svc.c: Likewise.
3690 * sunrpc/svc_auth.c: Likewise.
3691 * sunrpc/svc_authux.c: Likewise.
3692 * sunrpc/svc_raw.c: Likewise.
3693 * sunrpc/svc_run.c: Likewise.
3694 * sunrpc/svc_simple.c: Likewise.
3695 * sunrpc/svc_tcp.c: Likewise.
3696 * sunrpc/svc_udp.c: Likewise.
3697 * sunrpc/svc_unix.c: Likewise.
3698 * sunrpc/svcauth_des.c: Likewise.
3699 * sunrpc/xcrypt.c: Likewise.
3700 * sunrpc/xdr.c: Likewise.
3701 * sunrpc/xdr_array.c: Likewise.
3702 * sunrpc/xdr_float.c: Likewise.
3703 * sunrpc/xdr_mem.c: Likewise.
3704 * sunrpc/xdr_rec.c: Likewise.
3705 * sunrpc/xdr_ref.c: Likewise.
3706 * sunrpc/xdr_sizeof.c: Likewise.
3707 * sunrpc/xdr_stdio.c: Likewise.
3709 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
3712 2010-08-19 Andreas Schwab <schwab@redhat.com>
3714 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
3716 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
3718 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
3719 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
3720 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
3721 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
3722 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
3723 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
3724 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
3725 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
3726 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
3727 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
3728 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
3729 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
3730 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
3731 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
3733 2010-07-26 Anton Blanchard <anton@samba.org>
3735 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
3736 * malloc/arena.c (heap_trim): Likewise.
3738 2010-08-16 Ulrich Drepper <drepper@redhat.com>
3740 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
3742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
3743 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
3745 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
3747 * sysdeps/i386/elf/Makefile: New file.
3749 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3751 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
3753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3756 2010-08-15 Ulrich Drepper <drepper@redhat.com>
3758 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
3760 * sysdeps/multiarch/strcmp.S: Likewise.
3762 2010-08-14 Ulrich Drepper <drepper@redhat.com>
3764 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3765 strncase_l-nonascii.
3766 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3767 Add strncase_l-ssse3.
3768 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
3769 * sysdeps/x86_64/strcmp.S: Likewise.
3770 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
3771 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
3772 * sysdeps/x86_64/strncase.S: New file.
3773 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
3774 * sysdeps/x86_64/strncase_l.S: New file.
3775 * string/Makefile (strop-tests): Add strncasecmp.
3776 * string/test-strncasecmp.c: New file.
3778 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
3781 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
3782 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
3784 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3786 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
3788 2010-08-12 Ulrich Drepper <drepper@redhat.com>
3790 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
3791 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3792 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3794 2010-05-01 Alan Modra <amodra@gmail.com>
3796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
3797 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
3798 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
3799 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
3800 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
3801 tidying. Don't tail-call __sigjmp_save for static lib.
3802 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
3804 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
3805 (CALL_MCOUNT): Add eh info, and nop after bl.
3806 (TAIL_CALL_SYSCALL_ERROR): New macro.
3807 (PSEUDO_RET): Use it.
3808 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3809 Correct save location of integer regs and cr.
3810 (_dl_profile_resolve): Correct cr save location. Delete nops
3811 after bl when SHARED. Reduce cfi size a little by better
3812 placement of cfi directives.
3813 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
3814 make a stack frame. Instead use parm save area as a temp.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
3816 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3818 Don't make a stack frame for parent, use parm save area.
3819 Increase child stack frame to 112 bytes. Don't save unused reg,
3820 and adjust reg usage. Set up cfi on error recovery and
3821 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
3822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3823 (__makecontext): Add dummy nop after jump to exit.
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
3825 Use correct parm save area and cr save, reduce stack frame.
3826 Correct cfi for possible PSEUDO_RET frame setup.
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
3828 Branch to local label emitted by PSEUDO_RET rather than
3831 2010-08-12 Andreas Schwab <schwab@redhat.com>
3834 * locale/programs/locale.c (print_assignment): New function.
3835 (show_locale_vars): Use it.
3837 2010-08-11 Ulrich Drepper <drepper@redhat.com>
3839 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
3841 (struct statfs64): Likewise.
3842 (_STATFS_F_FLAGS): Define.
3843 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
3844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3845 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
3846 (ST_VALID): Define locally.
3847 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
3848 __statvfs_getflags, use the provided value.
3849 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3850 __ASSUME_STATFS_F_FLAGS.
3852 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
3854 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3856 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
3857 fanotify_mask for GLIBC_2.13.
3858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
3859 fanotify_init and fanotify_mark.
3860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3861 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
3863 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
3865 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
3866 prlimit64 for GLIBC_2.13.
3867 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
3869 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3872 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3873 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
3874 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
3875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
3877 * sysdeps/unix/sysv/linux/prlimit.c: New file.
3880 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
3881 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
3883 * nss/Makefile: Add rules to build and run tst-nss-test1.
3884 * shlib-versions: Add entry for libnss_test1.
3885 * nss/nss_test1.c: New file.
3886 * nss/tst-nss-test1.c: New file.
3888 * nss/nsswitch.c (__nss_database_custom): Define new variable.
3889 (__nss_configure_lookup): Set appropriate entry in
3890 __nss_configure_lookup to true.
3891 * nss/nsswitch.h: Define enum with indeces of databases in
3892 databases and __nss_database_custom arrays. Declare
3893 __nss_database_custom.
3894 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
3895 to avoid using nscd when custom rules are installed.
3896 * nss/getXXbyYY_r.c: Likewise.
3897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3899 * nss/nss_files/files-parse.c: Whitespace fixes.
3901 2010-08-09 Ulrich Drepper <drepper@redhat.com>
3904 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
3905 * posix/fnmatch_loop.c: Likewise.
3907 2010-07-17 Andi Kleen <ak@linux.intel.com>
3909 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
3910 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
3911 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
3912 * Versions.def [GLIBC_2.13]: Add.
3914 2010-08-06 Ulrich Drepper <drepper@redhat.com>
3916 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3917 Also fail if tpwd after pwuid call is NULL.
3919 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3921 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
3922 when converting to ms.
3924 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3926 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
3927 EOPNOTSUPP errors with ENOTTY.
3928 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
3929 EOPNOTSUPP errors with ENOTTY.
3931 2010-07-31 Ulrich Drepper <drepper@redhat.com>
3933 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3934 Add strcasecmp_l-ssse3.
3935 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
3937 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
3938 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
3939 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
3941 2010-07-30 Ulrich Drepper <drepper@redhat.com>
3943 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
3945 * string/Makefile (strop-tests): Add strcasecmp.
3946 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3947 strcasecmp_l-nonascii.
3948 (gen-as-const-headers): Add locale-defines.sym.
3949 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
3950 * sysdeps/x86_64/strcasecmp.S: New file.
3951 * sysdeps/x86_64/strcasecmp_l.S: New file.
3952 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
3953 * sysdeps/x86_64/locale-defines.sym: New file.
3954 * string/test-strcasecmp.c: New file.
3956 * string/test-strcasestr.c: Test both ends of the range of characters.
3957 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
3959 2010-07-29 Roland McGrath <roland@redhat.com>
3962 * manual/locale.texi (Yes-or-No Questions): Fix example code.
3964 2010-07-27 Ulrich Drepper <drepper@redhat.com>
3966 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
3969 2010-07-27 Andreas Schwab <schwab@redhat.com>
3971 * manual/memory.texi (Malloc Tunable Parameters): Document
3974 2010-07-26 Roland McGrath <roland@redhat.com>
3977 * configure.in (-fgnu89-inline check): Set and substitute
3978 gnu89_inline, not libc_cv_gnu89_inline.
3979 * configure: Regenerated.
3980 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
3982 2010-07-26 Ulrich Drepper <drepper@redhat.com>
3984 * string/test-strnlen.c: New file.
3985 * string/Makefile (strop-tests): Add strnlen.
3986 * string/tester.c (test_strnlen): Add a few more test cases.
3987 * string/tst-strlen.c: Better error reporting.
3989 * sysdeps/x86_64/strnlen.S: New file.
3991 2010-07-24 Ulrich Drepper <drepper@redhat.com>
3993 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
3994 lower-latency instructions.
3996 2010-07-23 Ulrich Drepper <drepper@redhat.com>
3998 * string/test-strcasestr.c: New file.
3999 * string/test-strstr.c: New file.
4000 * string/Makefile (strop-tests): Add strstr and strcasestr.
4001 * string/str-two-way.h: Don't undefine MAX.
4002 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
4004 2010-07-21 Andreas Schwab <schwab@redhat.com>
4006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4007 strcasestr-nonascii.
4008 (CFLAGS-strcasestr-nonascii.c): Define.
4009 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
4010 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
4011 Remove unused attribute.
4013 2010-07-20 Roland McGrath <roland@redhat.com>
4015 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
4016 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
4017 ld.so.cache was broken. With it, there is no way to disable dsocaps
4018 like LD_HWCAP_MASK can disable hwcaps.
4020 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4022 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
4024 2010-07-16 Ulrich Drepper <drepper@redhat.com>
4026 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
4028 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
4029 __strcasestr_sse42_nonascii.
4030 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
4031 strcasestr-nonascii.c.
4032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
4034 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
4036 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
4037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
4038 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
4039 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
4041 2010-07-09 Ulrich Drepper <drepper@redhat.com>
4043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
4046 2010-07-06 Andreas Schwab <schwab@redhat.com>
4049 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
4052 2010-07-06 Ulrich Drepper <drepper@redhat.com>
4054 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
4055 _PC_PIPE_BUF using F_GETPIPE_SZ.
4057 2010-07-05 Roland McGrath <roland@redhat.com>
4059 * manual/arith.texi (Rounding Functions): Fix rint description
4060 implicit in round description.
4062 2010-07-02 Ulrich Drepper <drepper@redhat.com>
4064 * elf/Makefile: Fix linking for a few tests to make recent linker
4067 2010-06-30 Andreas Schwab <schwab@redhat.com>
4069 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4070 $(common-objpfx)libc_nonshared.a.
4072 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
4074 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
4075 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
4076 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4077 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4078 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
4079 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
4080 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4081 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
4089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
4096 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
4097 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
4098 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
4099 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
4100 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
4101 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
4102 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
4103 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
4104 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
4105 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
4106 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
4107 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
4113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
4123 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
4125 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
4126 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
4127 * string/memmove.c (memmove): Renamed to ...
4128 (MEMMOVE): ...this. Default to memmove.
4129 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
4130 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
4132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4133 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
4134 mempcpy-ssse3-back memmove-ssse3-back.
4135 * sysdeps/x86_64/multiarch/bcopy.S: New file .
4136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
4137 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
4138 * sysdeps/x86_64/multiarch/memcpy.S: New file.
4139 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
4140 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
4141 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
4142 * sysdeps/x86_64/multiarch/memmove.c: New file.
4143 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
4144 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
4145 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
4146 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
4147 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
4148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
4150 (index_Fast_Copy_Backward): Define.
4151 (HAS_ARCH_FEATURE): Define.
4152 (HAS_FAST_REP_STRING): Define.
4153 (HAS_FAST_COPY_BACKWARD): Define.
4155 2010-06-21 Andreas Schwab <schwab@redhat.com>
4157 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4158 Restore proper fallback handling.
4160 2010-06-19 Ulrich Drepper <drepper@redhat.com>
4163 * posix/group_member.c (__group_member): Correct checking loop.
4165 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
4166 OOM in getpwuid_r correctly. Return error number when the caller
4167 should return, otherwise -1.
4168 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
4169 call returning > 0 value.
4170 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
4172 2010-06-07 Andreas Schwab <schwab@redhat.com>
4174 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
4175 libc_nonshared.a from targets in modules-names.
4177 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
4179 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
4182 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
4184 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
4185 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
4186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
4187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
4189 2010-06-02 Andreas Schwab <schwab@redhat.com>
4191 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
4193 2010-06-14 Ulrich Drepper <drepper@redhat.com>
4195 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
4197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4202 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
4204 2010-06-14 Roland McGrath <roland@redhat.com>
4206 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
4208 2010-06-07 Jakub Jelinek <jakub@redhat.com>
4210 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
4211 __REDIRECT followed by __THROW.
4212 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
4213 * posix/getopt.h (getopt): Likewise.
4215 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4217 * hurd/lookup-at.c (__file_name_lookup_at): Accept
4218 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
4219 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
4221 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
4222 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
4224 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
4226 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
4228 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
4231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4232 Properly check family and model.
4234 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
4236 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
4238 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
4240 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
4242 2010-05-21 Ulrich Drepper <drepper@redhat.com>
4244 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
4247 2010-05-19 Andreas Schwab <schwab@redhat.com>
4249 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
4252 2010-05-21 Andreas Schwab <schwab@redhat.com>
4254 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
4255 and internal_recvmmsg.
4256 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
4257 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
4258 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
4259 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
4261 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
4262 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4263 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4265 2010-05-20 Andreas Schwab <schwab@redhat.com>
4267 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
4269 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
4271 POWER7 optimizations.
4272 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
4273 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
4275 2010-05-19 Ulrich Drepper <drepper@redhat.com>
4277 * version.h: Update for 2.13 development version.
4279 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
4281 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
4282 exceptions. Return 0.
4284 2010-05-07 Roland McGrath <roland@redhat.com>
4286 * elf/ldconfig.c (main): Add a const.
4288 2010-05-06 Ulrich Drepper <drepper@redhat.com>
4290 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
4291 (args_options): Add no-idn option.
4292 (ahosts_keys_int): Add idn_flags to ai_flags.
4293 (parse_option): Handle 'i' option to clear idn_flags.
4295 * malloc/malloc.c (_int_free): Possible race in the most recently
4296 added check. Only act on the data if no current modification
4299 See ChangeLog.17 for earlier changes.