1 2011-07-22 Ulrich Drepper <drepper@gmail.com>
3 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5 (_dl_x86_64_save_sse): Likewise.
7 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11 2011-07-21 Andreas Schwab <schwab@redhat.com>
13 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15 (_dl_x86_64_save_sse): Use correct AVX check.
17 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20 bug in strncpy/strncat.
21 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25 * string/tester.c (test_strcat): Add tests for different alignments
26 of source and destination.
27 (test_strncat): Likewise.
29 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32 * posix/glob.c (glob): Check passed in values before using them in
33 expressions to avoid some overflows.
34 (glob_in_dir): Likewise.
37 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38 check for AVX enablement so that we don't crash with old kernels and
40 * elf/tst-audit4.c: Add same checks here.
41 * elf/tst-audit6.c: Likewise.
43 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51 * po/cs.po: Update from translation team.
54 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56 * misc/sys/cdefs.h: Add support for const attribute.
57 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58 to gnu_dev_{major,minor,makedev} functions.
60 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62 * intl/dcigettext.c (get_output_charset): Add missing bracket.
64 2011-07-20 Andreas Schwab <schwab@redhat.com>
66 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73 register in order to avoid conflicts with the soft frame pointer
74 being held in r11 when necessary.
75 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76 (INTERNAL_VSYSCALL_NCS): Likewise.
78 2011-07-14 Marek Polacek <mpolacek@redhat.com>
80 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81 * elf/dl-fini.c (_dl_fini): Adjust caller.
82 * elf/dl-close.c (_dl_close_worker): Likewise.
83 * sysdeps/generic/ldsodefs.h: Adjust declaration.
85 2011-07-15 Marek Polacek <mpolacek@redhat.com>
87 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88 "aux_cache->nlibs < 0".
90 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91 in the reload-count case.
93 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
95 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
97 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
98 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
99 * sysdeps/x86_64/multiarch/strcat.S: New file.
100 * sysdeps/x86_64/multiarch/strncat.S: New file.
101 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
102 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
103 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
104 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
105 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
106 (USE_AS_STRCAT): Define.
107 Add strcat and strncat support.
108 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
109 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
110 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
111 * string/strncat.c: Update.
112 (USE_AS_STRNCAT): Define.
113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
114 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
116 * sysdeps/x86_64/multiarch/init-arch.h
117 (bit_Prefer_PMINUB_for_stringop): New.
118 (index_Prefer_PMINUB_for_stringop): Likewise.
119 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
120 bit_Prefer_PMINUB_for_stringop.
122 2011-07-19 Ulrich Drepper <drepper@gmail.com>
124 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
126 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
127 of casting of buffer.
128 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
129 buffer32 and buffer64.
130 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
131 writes instead of casting of buffer.
132 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
134 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
137 2011-07-19 Andreas Schwab <schwab@redhat.com>
139 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
141 2011-07-19 Ulrich Drepper <drepper@gmail.com>
143 * nscd/nscd.c (termination_handler): Don't do anything for a database
144 if it has not yet been initialized.
146 2011-07-18 Ulrich Drepper <drepper@gmail.com>
148 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
150 2011-07-15 Marek Polacek <mpolacek@redhat.com>
152 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
154 2011-07-18 Ulrich Drepper <drepper@gmail.com>
156 * po/nl.po: Update from translation team.
157 * po/sv.po: Likewise.
159 2011-07-16 Roland McGrath <roland@hack.frob.com>
161 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
162 now disallowed by GCC.
164 * configure.in (use-default-link): Default to yes if a test -shared
165 link meets our qualifications.
166 * configure: Regenerated.
168 * config.make.in (output-format): New variable.
169 * configure.in: Check for ld --print-output-format support.
170 * configure: Regenerated.
171 * Makerules ($(common-objpfx)format.lds)
172 [$(output-format) != unknown]: Just use $(output-format),
173 instead of the linker-script munging.
175 2011-07-14 Roland McGrath <roland@hack.frob.com>
177 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
178 of $(common-objpfx)shlib.lds.
179 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
181 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
182 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
184 * configure.in (-z relro check): Adjust test code to add a large
185 writable data section after it.
186 * configure: Regenerated.
188 2011-07-11 Roland McGrath <roland@hack.frob.com>
190 * configure.in (-z relro check): Fix test code to make the variable
192 * configure: Regenerated.
194 2011-07-11 Ulrich Drepper <drepper@gmail.com>
196 * nscd/nscd.h (struct traced_file): Define.
197 (struct database_dyn): Remove inotify_descr, reset_res, and filename
198 elements. Add traced_files.
199 (inotify_fd): Declare.
200 (register_traced_file): Declare.
201 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
202 (inotify_fd): Export.
203 (resolv_conf_descr): Remove.
204 (nscd_init): Move inotify descriptor creation to main.
205 Don't register files for notification here.
206 (register_traced_file): New function.
207 (invalidate_cache): Don't use reset_res to determine whether to call
208 res_init, go through the list of registered files.
209 (main_loop_poll): The inotify descriptors are now stored in the
210 structures for the traced files.
211 (main_loop_epoll): Likewise
212 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
213 to __nss_disable_nscd.
214 * nscd/cache.c (prune_cache): There is no single inotify descriptor
215 for a database anymore. Check the records for all the registered
217 * nss/Makefile (libnss_files-routines): Add files-init.
218 (libnss_db-routines): Add db-init.
219 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
220 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
221 * nss/nss_db/db-init.c: New file.
222 * nss/nss_files/files-init.c: New file.
223 * nss/nsswitch.c (nss_load_library): New function. Broken out of
224 __nss_lookup_function.
225 (__nss_lookup_function): Call nss_load_library.
226 (nss_load_all_libraries): New function.
227 (__nss_disable_nscd): Take parameter with callback function for files
228 to register. Set is_nscd. Load all the DSOs for the NSS modules
229 used for the cached services.
230 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
231 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
232 options for features to all the files in nscd.
234 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
236 2011-07-10 Roland McGrath <roland@hack.frob.com>
238 * csu/elf-init.c (__libc_csu_init): Comment typo.
240 2011-07-09 Ulrich Drepper <drepper@gmail.com>
242 * po/pl.po: Update from translation team.
243 * po/ja.po: Likewise.
244 * po/ru.po: Likewise.
245 * po/ko.po: Likewise.
246 * po/fr.po: Likewise.
248 2011-07-09 Roland McGrath <roland@hack.frob.com>
250 * configure.in (.ctors/.dtors header and trailer check):
251 Use an empirical test on a built program.
252 * configure: Regenerated.
254 * configure.in (-z relro check): Use an empirical test on a built DSO.
255 Detect, but do not require, on ia64.
256 * configure: Regenerated.
258 * configure.in (READELF): Find it with AC_CHECK_TOOL.
259 Update tests that use readelf to use $READELF instead.
260 * configure: Regenerated.
262 2011-07-08 Ulrich Drepper <drepper@gmail.com>
264 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
265 if the result is not used.
267 2011-07-05 Andreas Jaeger <aj@suse.de>
270 * stdlib/tst-strtod.c: Add testcase.
272 2011-07-07 Ulrich Drepper <drepper@gmail.com>
274 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
275 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
276 The latter has a higher limit. Take additional parameter to pass to
278 (__pathconf): Pass file to __statfs_link_max.
279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
281 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
285 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
286 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
288 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
289 (__statfs_filesize_max): Likewise.
290 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
292 2011-07-05 Andreas Jaeger <aj@suse.de>
294 * resolv/res_comp.c (dn_skipname): Remove unused variable.
296 2011-07-06 Marek Polacek <mpolacek@redhat.com>
298 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
300 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
303 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
305 * Makefile (strop-tests): Add strncat.
306 * string/test-strncat.c: New file.
308 2011-06-30 Marek Polacek <mpolacek@redhat.com>
310 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
312 2011-06-21 Andreas Jaeger <aj@suse.de>
314 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
315 Copy rule from iconvdata/Makefile.
317 2011-07-06 Ulrich Drepper <drepper@gmail.com>
320 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
321 but no long options are defined, just return 'W'.
323 2011-06-22 Marek Polacek <mpolacek@redhat.com>
326 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
328 2011-07-06 Ulrich Drepper <drepper@gmail.com>
330 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
334 2011-07-05 Roland McGrath <roland@hack.frob.com>
336 * config.make.in (install_root): Default to $(DESTDIR).
338 2011-07-05 Ulrich Drepper <drepper@gmail.com>
340 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
342 2011-07-02 Roland McGrath <roland@hack.frob.com>
344 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
346 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
347 containing directory rather than embedding absolute directory names.
349 * scripts/check-local-headers.sh: Rewritten using awk.
350 Match by word, not by line. Print error messages for matches.
351 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
353 * Makerules [shlib-lds-flags empty]:
354 ($(common-objpfx)libc_pic.opts): New target.
355 ($(common-objpfx)libc_pic.os.clean): New target.
356 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
358 * config.make.in (OBJCOPY): New variable.
359 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
360 * configure: Regenerated.
362 * config.make.in (use-default-link): New variable.
363 * configure.in (use_default_link): Grok --with-default-link to set it.
364 * configure: Regenerated.
365 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
366 (shlib-lds, shlib-lds-flags): Define to empty.
368 * Makerules (shlib-lds): New variable.
369 (shlib-lds-flags): New variable.
370 (build-shlib, build-moduile, build-module-asneeded): Use it.
371 ($(common-objpfx)libc.so): Use $(shlib-lds).
372 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
373 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
375 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
376 DT_FLAGS/DT_FLAGS_1 with zero flags.
378 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
379 linker script munging.
381 2011-07-02 Ulrich Drepper <drepper@gmail.com>
383 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
385 * crypt/sha512.c (sha512_process_block): Perform total addition using
387 (__sha512_finish_ctx): Likewise.
388 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
390 * crypt/sha256.c (SWAP64): Define.
391 (sha256_process_block): Perform total addition using 64-bit if
393 (__sha256_finish_ctx): Likewise.
395 2011-07-01 Ulrich Drepper <drepper@gmail.com>
397 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
399 * nscd/hstcache.c (cache_addhst): Likewise.
400 * nscd/grpcache.c (cache_addgr): Likewise.
401 * nscd/aicache.c (addhstaiX): Likewise
402 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
404 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
406 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
408 * nscd/hstcache.c (cache_addhst): Likewise.
409 * nscd/grpcache.c (cache_addgr): Likewise.
410 * nscd/aicache.c (addhstaiX): Likewise
412 2011-07-01 Andreas Schwab <schwab@redhat.com>
414 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
415 domain only when needed.
417 2011-06-30 Andreas Schwab <schwab@redhat.com>
419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
422 2011-06-29 Ulrich Drepper <drepper@gmail.com>
424 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
425 are re-adding the entry.
426 * nscd/servicescache.c (cache_addserv): Likewise.
428 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
430 * sysdeps/generic/dl-irel.h: fix protection against multiple
432 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
434 2011-06-28 Ulrich Drepper <drepper@gmail.com>
437 * malloc/memusage.sh: Fix quoting in message.
438 * debug/xtrace.sh: Likewise.
440 * configure.in: Remove support for --experimental-malloc option, make
442 * config.make.in: Likewise.
443 * malloc/Makefile: Likewise.
445 2011-06-27 Andreas Schwab <schwab@redhat.com>
447 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
450 2011-06-27 Roland McGrath <roland@hack.frob.com>
452 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
453 AC_CACHE_CHECK invocation.
454 * configure: Regenerated.
456 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
458 2011-06-27 Ulrich Drepper <drepper@gmail.com>
461 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
462 bit from old_res_options.
464 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
466 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
467 value type for setfct.
469 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
472 __gettimeofday instead of gettimeofday.
474 2011-06-26 Ulrich Drepper <drepper@gmail.com>
476 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
478 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
480 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
485 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
488 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
489 strcpy-sse2-unaligned strncpy-sse2-unaligned
490 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
491 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
492 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
493 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
494 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
495 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
496 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
497 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
498 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
499 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
500 (STRCPY): Support SSE2 and SSSE3 versions.
502 2011-06-24 Ulrich Drepper <drepper@gmail.com>
505 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
506 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
507 kernels which artificially limit size of requests.
509 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
512 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
513 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
514 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
515 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
516 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
517 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
518 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
521 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
522 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
523 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
524 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
525 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
527 Enable unaligned load optimization for Intel Core i3, i5 and i7
529 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
531 (index_Fast_Unaligned_Load): Define.
532 (HAS_FAST_UNALIGNED_LOAD): Define.
534 2011-06-23 Marek Polacek <mpolacek@redhat.com>
536 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
538 2011-06-22 Ulrich Drepper <drepper@gmail.com>
541 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
542 until it is clear that the information is realy needed.
543 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
545 2011-06-22 Andreas Schwab <schwab@redhat.com>
547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
549 2011-06-22 Ulrich Drepper <drepper@gmail.com>
551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
552 /sys/devices/system/cpu/online if it is usable.
554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
555 reading the information from the /proc filesystem to once a second.
557 2011-06-21 Andreas Jaeger <aj@suse.de>
559 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
560 NULL after inclusion of kernel headers.
562 2011-06-21 Ulrich Drepper <drepper@gmail.com>
564 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
565 calls to internal_setent.
568 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
569 addresses using gethostbyname4_r ignore IPv4 addresses.
571 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
572 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
574 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
576 2011-06-20 David S. Miller <davem@davemloft.net>
578 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
580 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
582 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
584 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
585 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
586 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
587 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
588 * sysdeps/x86_64/dl-irel.h: Likewise.
590 * elf/dl-runtime.c: Use elf_ifunc_invoke.
591 * elf/dl-sym.c: Likewise.
593 2011-06-15 Ulrich Drepper <drepper@gmail.com>
595 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
596 need to dereference resplen2.
598 2011-06-14 Andreas Schwab <schwab@redhat.com>
600 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
602 2011-06-15 Ulrich Drepper <drepper@gmail.com>
604 * Makeconfig: Define vardbdir and inst_vardbdir.
605 * nss/Makefile: Add rules to install db-Makefile.
607 * nss/nss_db/db-XXX.c: Cleanup.
609 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
610 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
612 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
613 * nss/makedb.c: Implement -g option to specify that value strings
614 are generated and should not be added to table iterated over for
616 * nss/nss_db/db-initgroups.c: New file.
618 * nss/getent.c: Add support for initgroups lookups through getgrouplist
621 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
622 (internal_getgrouplist): Adjust to name change.
623 Update use_initgroups_entry if this is not the first call.
624 * nss/databases.def: Add initgroups entry.
626 * nss/makedb.c (compute_tables): Check result of multiple hash table
627 sizes to minimize maximum chain length.
629 2011-06-14 Ulrich Drepper <drepper@gmail.com>
631 * Versions.def: Add entry for libnss_db.
632 * shlib-versions: Likewise.
633 * nss/Makefile: Add rules to build libnss_db.
634 * nss/Versions: Add libnss_db information. Organize libnss_files
636 * nss/db-Makefile: Add gshadow support. Change rules for the new
637 makedb progra. Some minor improvements to generate smaller files.
638 * nss/nss_db/nss_db.h: Move NSS database header data structures to
640 * nss/makedb.c: ...here.
641 Improve database format to be smaller and require less memory at
643 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
645 * nss/nss_db/db-netgrp.c: Likewise.
646 * nss/nss_db/db-open.c: Likewise.
647 * nss/nss_files/flies-XXX.x: Adjust comments.
648 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
649 * nss/nss_files/files-grp.c: Likewise.
650 * nss/nss_files/files-hosts.c: Likewise.
651 * nss/nss_files/files-network.c: Likewise.
652 * nss/nss_files/files-proto.c: Likewise.
653 * nss/nss_files/files-pwd.c: Likewise.
654 * nss/nss_files/files-rpc.c: Likewise.
655 * nss/nss_files/files-service.c: Likewise.
656 * nss/nss_files/files-sgrp.c: Likewise.
657 * nss/nss_files/files-spwd.c: Likewise.
658 * nss/nss_db/db-alias.c: Removed.
659 * nss/nss_db/dummy-db.h: Removed.
661 2011-06-02 Ulrich Drepper <drepper@gmail.com>
663 * nss/makedb.c: Rewritten to not use database library.
664 * nss/Makefile: Update to build new makedb program.
666 2011-06-14 Andreas Jaeger <aj@suse.de>
668 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
671 2011-06-10 Andreas Schwab <schwab@redhat.com>
673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
676 2011-06-10 Roland McGrath <roland@hack.frob.com>
678 * Makerules (shlib.lds): Fail if the linker script comes out empty.
679 * elf/Makefile ($(objpfx)ld.so): Likewise.
681 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
682 Don't list ld.so twice in dependencies.
684 * posix/bug-regex31.c: Include <stdlib.h>.
686 * nscd/hstcache.c (cache_addhst): Remove unused variable.
688 * nis/nss_compat/compat-spwd.c
689 (getspent_next_nss_netgr): Remove unused variable.
690 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
692 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
693 nonmembers" output to use the right array.
695 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
697 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
699 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
700 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
701 * catgets/gencat.c (read_input_file): Likewise.
702 * locale/programs/locarchive.c (enlarge_archive): Likewise.
704 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
705 variable definition inside #if's controlling its use.
707 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
709 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
711 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
713 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
716 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
718 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
719 * configure: Regenerated.
721 * Makerules: Revert last change.
722 * elf/Makefile: Likewise.
724 2011-06-09 Roland McGrath <roland@hack.frob.com>
726 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
727 * elf/Makefile ($(objpfx)librtld.os): Likewise.
728 (reloc-link): Likewise.
730 2011-06-09 Ulrich Drepper <drepper@gmail.com>
732 * elf/Makefile: Add rules to build pldd.
733 * elf/pldd.c: New file.
734 * elf/pldd-xx.c: New file.
736 2011-06-07 Ulrich Drepper <drepper@gmail.com>
738 * version.h: Update for 2.15 development version.
740 2011-06-07 David S. Miller <davem@davemloft.net>
742 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
745 elf_machine_lazy_rel): Likewise.
746 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
747 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
748 elf_machine_lazy_rel): Likewise.
749 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
750 dl_hwcap via passed in argument.
751 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
754 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
756 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
758 2011-06-06 Roland McGrath <roland@hack.frob.com>
761 * manual/fdl-1.1.texi: New file, verbatim from:
762 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
763 * manual/lgpl-2.1.texi: New file, verbatim from:
764 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
765 * manual/Makefile (licenses): New variable, list those new file names.
767 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
769 * manual/fdl.texi: File removed.
770 * manual/lesser.texi: File removed.
771 * manual/libc.texinfo (Copying, Documentation License):
772 Use new @include file names, put @appendix directive before @include.
774 2011-06-04 Jakub Jelinek <jakub@redhat.com>
777 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
778 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
779 (mq_open): Add __NTH.
781 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
784 Assume Intel Core i3/i5/i7 processor if AVX is available.
786 2011-05-31 Ulrich Drepper <drepper@gmail.com>
788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
791 2011-05-31 Andreas Schwab <schwab@redhat.com>
793 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
794 memory. Use alloca_account. Fix memory leak when retrying.
796 2011-05-31 Ulrich Drepper <drepper@gmail.com>
798 * version.h (RELEASE): Bump for 2.14 release.
799 * include/features.h (__GLIBC_MINOR__): Bump to 14.
801 * config.make.in (RANLIB): Remove entry.
803 2011-05-30 Ulrich Drepper <drepper@gmail.com>
805 * po/Makefile (po-sed-cmd): Add ksh to extensions.
806 (libc.pot): Work around missing support for .ksh extension in xgettext.
809 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
810 if both request failed.
811 (send_dg): In case of server errors clear resplen or *resplen2.
814 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
815 when there are multiple maps.
816 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
817 (_dl_fini): Remove test here.
819 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
821 2011-05-29 Ulrich Drepper <drepper@gmail.com>
824 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
825 bit from old_res_options.
826 (gaih_inet): Likewise.
829 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
832 * resolv/res_init.c (res_setoptions): Make the code more compact.
835 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
839 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
841 * malloc/malloc.h: Mark malloc hook variables as deprecated.
844 * malloc/malloc.h: Declare malloc hook variables as volatile.
846 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
850 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
851 raise in the comment.
852 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
853 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
854 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
856 2011-05-28 Ulrich Drepper <drepper@gmail.com>
859 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
860 grow the buffers more if it already has to be sufficient.
861 (build_wcs_upper_buffer): Likewise.
862 * posix/regexec.c (check_matching): Likewise.
863 (clean_state_log_if_needed): Likewise.
864 (extend_buffers): Don't enlarge buffers beyond size of the input
866 Patches mostly by Emil Wojak <emil@wojak.eu>.
867 * posix/bug-regex32.c: New file.
868 * posix/Makefile (tests): Add bug-regex32.
870 * locale/findlocale.c (_nl_find_locale): Return right away if
871 _nl_explode_name failed.
872 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
874 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
876 * debug/xtrace.sh: Unify messages.
877 * malloc/memusage.sh: Likewise.
880 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
881 time symbol from vDSO. Substitute with vsyscall if not available.
882 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
885 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
886 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
887 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
888 Add sendmmsg and internal_sendmmsg.
889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
890 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
891 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
893 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
894 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
895 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
897 2011-05-27 Ulrich Drepper <drepper@gmail.com>
900 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
901 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
903 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
907 * iconvdata/Makefile (tests): Add bug-iconv9.
908 * iconvdata/bug-iconv9.c: New file.
910 2011-05-27 Andreas Schwab <schwab@redhat.com>
913 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
915 2011-05-25 Jakub Jelinek <jakub@redhat.com>
917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
918 (struct user_regs_struct): Change intcs field back to cs.
920 2011-05-25 Ulrich Drepper <drepper@gmail.com>
922 * po/ja.po: Update from translation team.
924 2011-05-23 Ulrich Drepper <drepper@gmail.com>
927 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
928 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
930 2011-05-20 Andreas Schwab <schwab@redhat.com>
932 * stdlib/longlong.h: Update from GCC.
934 2011-05-23 Andreas Schwab <schwab@redhat.com>
936 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
938 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
940 (__sysconf): Pass it down.
942 2011-05-22 Ulrich Drepper <drepper@gmail.com>
945 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
947 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
948 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
949 add in in __libc_use_alloca calls. Adjust callers.
950 (glob): Use malloc in some situations.
952 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
953 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
956 2011-05-21 Ulrich Drepper <drepper@gmail.com>
958 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
959 and CLOCK_BOOTTIME_ALARM.
962 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
965 * string/_strerror.c (__strerror_r): Print negative errors as signed
969 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
970 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
971 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
973 * configure.in: Fix typo in redirection and correct removal of test
977 * locale/setlocale.c (new_composite_name): Fix test to check for
978 identical name of all categories.
981 * libio/filedoalloc.c (local_isatty): New function.
982 (_IO_file_doallocate): Use local_isatty.
983 * stdio-common/perror.c (perror): In case a new stream is used
984 forward the stream error.
985 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
988 2011-05-20 Ulrich Drepper <drepper@gmail.com>
991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
993 * include/alloca.h (extend_alloca_account): Define.
996 * posix/regex.h: Fix comments with documentation of user-accessible
997 fields after compilation and describe correct free'ing of pattern
998 after re_compile_pattern.
999 Patch by Reuben Thomas <rrt@sc3d.org>.
1001 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
1003 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
1004 and -mno-altivec to prevent the compiler from using Altivec and/or
1005 VSX instructions when the corresponding registers are not available.
1007 2011-05-19 Andreas Schwab <schwab@redhat.com>
1009 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
1011 2011-05-19 Ulrich Drepper <drepper@gmail.com>
1013 * libio/freopen.c (freopen): Use __dup2, not dup2.
1014 * libio/freopen64.c (freopen64): Likewise.
1016 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
1019 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
1020 * math/Makefile (tests): Add test-powl.
1021 (CFLAGS-test-powl.c): Define.
1022 * math/test-powl.c: New file.
1024 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
1026 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
1028 2011-05-17 Ulrich Drepper <drepper@gmail.com>
1031 * iconvdata/gb18030.c: Update to GB18020-2005.
1033 2011-05-16 Ulrich Drepper <drepper@gmail.com>
1035 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
1036 RE_SYNTAX_POSIX_AWK): Update to match recent development.
1037 Patch by Aharon Robbins <arnold@skeeve.com>.
1040 * stdlib/putenv.c (putenv): Don't always create copy of the variable
1044 * misc/pselect.c (__pselect): Handle timeout value errors hidden
1048 * misc/error.c (error_at_line): Ensure file_name and old_file_name
1049 point to strings before performing equality test for error_one_per_line
1053 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
1056 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1057 (struct user_fpregs_struct): Avoid __uint*_t types.
1060 * malloc/mtrace.c (tr_where): Add additional parameter to point to
1061 symbol info. Use it instead of calling _dl_addr locally.
1062 (lock_and_info): New function.
1063 (tr_freehook): Call lock_and_info and pass symbol info as additional
1064 parameter to tr_where.
1065 (tr_mallochook): Likewise.
1066 (tr_reallochook): Likewise.
1067 (tr_memalignhook): Likewise.
1069 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
1070 used and couldn't be at all thread-safe.
1072 2011-05-15 Ulrich Drepper <drepper@gmail.com>
1074 * libio/freopen.c (freopen): Don't close old file descriptor
1075 before the new one is opened. Instead dup the new file descriptor
1076 to the old one after the new stream is created.
1077 * libio/freopen64.c (freopen64): Likewise.
1078 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
1079 * libio/fileops.c (_IO_new_file_close_it): Handle new
1080 _IO_FLAGS2_NOCLOSE flag.
1081 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
1082 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
1083 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
1084 _IO_FLAGS2_NOCLOSE flag.
1085 * include/unistd.h: Add hidden_proto for dup3.
1087 * io/dup3.c: Define hidden symbol.
1088 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
1091 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
1092 when an incomplete long option is used.
1093 * posix/tst-getopt_long1.c: New file.
1094 * posix/Makefile (tests): Add tst-getopt_long1.
1097 * scripts/config.guess: Update from autoconf-2.68.
1098 * scripts/config.sub: Likewise.
1101 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
1103 (has_cpuclock): ...this. New function.
1104 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
1105 macro here based on has_cpuclock code.
1108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1109 First byte (not low byte) is now always NUL.
1110 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
1112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1113 Use non-cancelable interfaces.
1116 * locale/iso-639.def: Add entry for Sorani.
1119 * include/stdlib.h: Move include protection to the right place.
1120 Define abort_msg_s. Declare __abort_msg with it.
1121 * stdlib/abort.c (__abort_msg): Adjust type.
1122 * assert/assert.c (__assert_fail_base): New function. Majority
1123 of code from __assert_fail. Allocate memory for __abort_msg with
1125 (__assert_fail): Now call __assert_fail_base.
1126 * assert/assert-perr.c: Remove bulk of implementation. Use
1128 * include/assert.hL Declare __assert_fail_base.
1129 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
1131 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
1133 2011-05-14 Ulrich Drepper <drepper@gmail.com>
1137 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
1138 until all modules are registered in the DTV.
1139 * elf/Makefile: Add rules to build and run tst-tls19.
1140 * elf/tst-tls19.c: New file.
1141 * elf/tst-tls19mod1.c: New file.
1142 * elf/tst-tls19mod2.c: New file.
1143 * elf/tst-tls19mod3.c: New file.
1144 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
1147 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
1151 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
1152 two-byte sequence errors.
1153 * iconvdata/Makefile (tests): Add bug-iconv8.
1154 * iconvdata/bug-iconv8.c: New file.
1157 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
1160 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
1163 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
1164 (dummy_getcfa): New function.
1165 (init): Get _Unwind_GetCFA address, use dummy if not found.
1166 (backtrace_helper): In recursion check, also check whether CFA changes.
1167 (__backtrace): Completely initialize arg.
1169 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
1170 storing incomplete byte sequence in state object. Avoid testing for
1171 guaranteed too small input if we know there is enough data available.
1173 2011-05-11 Andreas Schwab <schwab@redhat.com>
1175 * Makeconfig (+link-pie): Indent.
1176 * Rules (binaries-pie): Define if $(have-fpie) and
1178 (binaries-shared): Also filter out $(binaries-pie).
1179 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
1180 * nscd/Makefile (others-pie): Add nscd.
1181 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
1182 ($(objpfx)nscd): Remove command override.
1183 * login/Makefile (others-pie): Add pt_chown.
1184 ($(objpfx)pt_chown): Remove command override.
1185 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
1186 remove command overrides.
1188 2011-05-13 Ulrich Drepper <drepper@gmail.com>
1190 * libio/tst_putwc.c: Fix error messages.
1193 * libio/fileops.c (_IO_new_file_close_it): Always flush when
1194 currently writing and seek to current position when not.
1195 * libio/Makefile (tests): Add bug-fclose1.
1196 * libio/bug-fclose1.c: New file.
1198 2011-05-12 Ulrich Drepper <drepper@gmail.com>
1201 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
1202 don't set DF_1_NODELETE here.
1203 (do_lookup_x): When entering new entry test for copy relocation
1204 and if necessary set DF_1_NODELETE flag.
1205 * elf/tst-unique4.cc: New file.
1206 * elf/tst-unique4.h: New file.
1207 * elf/tst-unique4lib.cc: New file.
1208 * elf/Makefile: Add rules to build and run tst-unique4.
1209 Patch by Piotr Bury <pbury@goahead.com>.
1211 2011-05-11 Ulrich Drepper <drepper@gmail.com>
1214 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
1217 * misc/mntent_r.c (addmntent): Flush the stream after the output
1220 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
1221 (is_trusted_path_normalize): Skip initial colon. Append slash
1222 to empty buffer. Duplicate is_trusted_path code but allow
1223 constructed patch to be prefix.
1224 (is_dst): Allow $ORIGIN followed by /.
1225 (_dl_dst_substitute): Correct clearing of check_for_trusted.
1226 Correct testing of result of is_trusted_path_normalize
1227 (decompose_rpath): Fix warning.
1229 2011-05-10 Ulrich Drepper <drepper@gmail.com>
1232 * grp/initgroups.c (internal_getgrouplist): When we found the service
1233 list through the initgroups entry in nsswitch.conf do not always
1234 continue on a successful lookup. Don't always use the
1235 __nss_group_database value if it is set.
1236 * nss/nsswitch.conf (initgroups): Change action for successful db
1237 lookup to continue for compatibility.
1239 2011-05-09 Ulrich Drepper <drepper@gmail.com>
1242 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
1244 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
1246 * iconvdata/tst-tables.sh: Likewise.
1247 * iconvdata/cp770.c: New file.
1248 * iconvdata/cp771.c: New file.
1249 * iconvdata/cp772.c: New file.
1250 * iconvdata/cp773.c: New file.
1251 * iconvdata/cp774.c: New file.
1252 * iconvdata/testdata/CP770: New file.
1253 * iconvdata/testdata/CP770..UTF8: New file.
1254 * iconvdata/testdata/CP771: New file.
1255 * iconvdata/testdata/CP771..UTF8: New file.
1256 * iconvdata/testdata/CP772: New file.
1257 * iconvdata/testdata/CP772..UTF8: New file.
1258 * iconvdata/testdata/CP773: New file.
1259 * iconvdata/testdata/CP773..UTF8: New file.
1260 * iconvdata/testdata/CP774: New file.
1261 * iconvdata/testdata/CP774..UTF8: New file.
1263 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
1265 * iconvdata/gen-8bit-gap.sh: Likewise.
1266 * iconvdata/gen-8bit.sh: Likewise.
1268 * locale/iso-639.def: Add ary entry.
1271 * locale/C-translit.h.in: Add U20A1 transliteration.
1274 * locale/iso-639.def: Add wae entry.
1275 Patch by Kevin Bortis <bortis@translate-wae.ch>.
1278 * locale/programs/localedef.c (construct_output_path): Use ssize_t
1282 * locale/C-translit.h.in: Add entry for U20B9.
1283 Patch by pravin.d.s@gmail.com.
1285 2011-05-08 Ulrich Drepper <drepper@gmail.com>
1288 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
1289 ENAMETOOLONG use generic getcwd.
1290 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
1291 in rtld. Use *stat64.
1292 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
1293 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
1294 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
1295 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
1296 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
1297 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
1298 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
1300 * include/dirent.h: Add libc_hidden_proto for rewinddir.
1301 * dirent/rewinddir.c: Add libc_hidden_def.
1302 * sysdeps/mach/hurd/rewinddir.c: Likewise.
1303 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
1305 * include/dirent.h (__alloc_dir): Add flags parameter.
1306 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
1307 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
1309 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
1310 from fdopendir if O_CLOEXEC is already set.
1312 2011-03-15 Alan Modra <amodra@gmail.com>
1314 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
1315 l_tls_firstbyte_offset non-zero. Save padding offset in
1316 l_tls_firstbyte_offset for later use.
1317 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
1318 freeing static tls block.
1320 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
1322 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
1323 where #ifdef was intended. The intent is to prevent ARG_MAX from
1324 being defined by the kernel headers.
1326 2011-05-07 Ulrich Drepper <drepper@gmail.com>
1329 * resolv/resolv.h: Define RES_NOTLDQUERY.
1330 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
1331 no-tld-query and set RES_NOTLDQUERY.
1332 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
1333 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
1334 modern BIND to search name as TLD unless forbidden.
1336 2011-05-07 Petr Baudis <pasky@suse.cz>
1337 Ulrich Drepper <drepper@gmail.com>
1340 * elf/dl-load.c (fillin_rpath): Move trusted path check...
1341 (is_trusted_path): ...to here.
1342 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
1343 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
1344 using is_trusted_path_normalize() in setuid scripts.
1346 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1348 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
1349 __BEGIN/__END_DECLS.
1351 2011-05-06 Ulrich Drepper <drepper@gmail.com>
1353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
1354 NSS_STATUS_NOTFOUND if no record was found.
1356 2011-05-05 Andreas Schwab <schwab@redhat.com>
1358 * sunrpc/Makefile (headers): Add rpc/netdb.h.
1359 (headers-not-in-tirpc): Remove rpc/netdb.h
1360 * resolv/netdb.h: Revert last change.
1362 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1364 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
1365 circular dependency between libgcc.a and libc.a.
1367 2011-05-05 Andreas Schwab <schwab@redhat.com>
1369 * resolv/netdb.h: Don't include <rpc/netdb.h>.
1370 * nis/Makefile: Don't install rpcsvc/*.
1371 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
1372 instead of <rpc/types.h>.
1373 (MAXHOSTNAMELEN): Define.
1375 2011-05-03 Andreas Schwab <schwab@redhat.com>
1377 * elf/ldconfig.c (add_dir): Don't crash on empty path.
1379 2011-04-28 Maciej Babinski <mbabinski@google.com>
1382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
1383 gethostbyname4_r when IPv6 results are possible.
1385 2011-05-02 Ulrich Drepper <drepper@gmail.com>
1388 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
1389 _PC_PIPE_BUF handling.
1391 2011-04-30 Bruno Haible <bruno@clisp.org>
1394 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
1395 * resolv/netdb.h (getnameinfo): Change type of flags parameter
1397 * inet/getnameinfo.c (getnameinfo): Likewise.
1399 2011-04-29 Ulrich Drepper <drepper@gmail.com>
1401 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
1402 to groups setting in database lookup.
1403 * nss/nsswitch.conf: Add initgroups entry.
1405 2011-04-22 Ulrich Drepper <drepper@gmail.com>
1408 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
1410 Patch by Eric Blake <eblake@redhat.com>.
1412 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
1414 * sunrpc/Makefile (need-export-routines): Add svc_run.
1415 (routines): Remove svc_run.
1416 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
1417 * sunrpc/clnt_perr.c (clnt_perrno): Export.
1418 * sunrpc/svc_run.c (svc_run): Likewise.
1419 * sunrpc/svc_udp.c (svcudp_create): Likewise.
1421 2011-04-21 Ulrich Drepper <drepper@gmail.com>
1423 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
1424 problem in reallocation in last patch.
1426 2011-04-20 Ulrich Drepper <drepper@gmail.com>
1428 * sunrpc/Makefile: Move inclusion of Rules.
1430 2011-04-19 Ulrich Drepper <drepper@gmail.com>
1432 * nss/nss_files/files-initgroups.c: New file.
1433 * nss/Makefile (libnss_files-routines): Add files-initgroups.
1434 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
1435 _nss_files_initgroups_dyn.
1437 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
1439 * elf/elf.h (R_ARM_IRELATIVE): Define.
1441 2011-04-19 Ulrich Drepper <drepper@gmail.com>
1443 * po/ru.po: Update from translation team.
1445 2011-04-17 Ulrich Drepper <drepper@gmail.com>
1447 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
1450 2011-02-06 Mike Frysinger <vapier@gentoo.org>
1453 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
1454 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
1455 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1459 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
1461 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
1463 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1464 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1467 2011-04-17 Ulrich Drepper <drepper@gmail.com>
1470 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
1472 * stdlib/bug-getcontext.c: New file.
1473 * stdlib/Makefile: Add rules to build and run bug-getcontext.
1475 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1477 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
1478 instructions into .machine "z9-109".
1479 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1480 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1482 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1484 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
1485 between environment variables and auxiliary vector.
1487 2011-04-16 Ulrich Drepper <drepper@gmail.com>
1489 * Makefile: Add rules to build linkobj/libc.so.
1490 * include/libc-symbols.h: Define libc_hidden_nolink.
1491 * include/rpc/auth.h: Mark functions which are to be hidden.
1492 * include/rpc/auth_des.h: Likewise.
1493 * include/rpc/auth_unix.h: Likewise.
1494 * include/rpc/clnt.h: Likewise.
1495 * include/rpc/des_crypt.h: Likewise.
1496 * include/rpc/key_prot.h: Likewise.
1497 * include/rpc/pmap_clnt.h: Likewise.
1498 * include/rpc/pmap_prot.h: Likewise.
1499 * include/rpc/pmap_rmt.h: Likewise.
1500 * include/rpc/rpc_msg.h: Likewise.
1501 * include/rpc/svc.h: Likewise.
1502 * include/rpc/svc_auth.h: Likewise.
1503 * include/rpc/xdr.h: Likewise.
1504 * nis/Makefile: Link all DSOs against linkobj/libc.so.
1505 * nss/Makefile: Likewise.
1506 * sunrpc/Makefile: Don't install headers. Build library with normal
1507 entry points. Don't build rpcinfo. Link RPC tests appropriately.
1508 * sunrpc/auth_des.c: Hide exported symbols by default, export some
1509 for the compat linking library. Remove use of INTDEF/INTUSE.
1510 * sunrpc/auth_none.c: Likewise.
1511 * sunrpc/auth_unix.c: Likewise.
1512 * sunrpc/authdes_prot.c: Likewise.
1513 * sunrpc/authuxprot.c: Likewise.
1514 * sunrpc/clnt_gen.c: Likewise.
1515 * sunrpc/clnt_perr.c: Likewise.
1516 * sunrpc/clnt_raw.c: Likewise.
1517 * sunrpc/clnt_simp.c: Likewise.
1518 * sunrpc/clnt_tcp.c: Likewise.
1519 * sunrpc/clnt_udp.c: Likewise.
1520 * sunrpc/clnt_unix.c: Likewise.
1521 * sunrpc/des_crypt.c: Likewise.
1522 * sunrpc/des_soft.c: Likewise.
1523 * sunrpc/get_myaddr.c: Likewise.
1524 * sunrpc/key_call.c: Likewise.
1525 * sunrpc/key_prot.c: Likewise.
1526 * sunrpc/netname.c: Likewise.
1527 * sunrpc/pm_getmaps.c: Likewise.
1528 * sunrpc/pm_getport.c: Likewise.
1529 * sunrpc/pmap_clnt.c: Likewise.
1530 * sunrpc/pmap_prot.c: Likewise.
1531 * sunrpc/pmap_prot2.c: Likewise.
1532 * sunrpc/pmap_rmt.c: Likewise.
1533 * sunrpc/publickey.c: Likewise.
1534 * sunrpc/rpc_cmsg.c: Likewise.
1535 * sunrpc/rpc_common.c: Likewise.
1536 * sunrpc/rpc_dtable.c: Likewise.
1537 * sunrpc/rpc_prot.c: Likewise.
1538 * sunrpc/rpc_thread.c: Likewise.
1539 * sunrpc/rtime.c: Likewise.
1540 * sunrpc/svc.c: Likewise.
1541 * sunrpc/svc_auth.c: Likewise.
1542 * sunrpc/svc_authux.c: Likewise.
1543 * sunrpc/svc_raw.c: Likewise.
1544 * sunrpc/svc_run.c: Likewise.
1545 * sunrpc/svc_simple.c: Likewise.
1546 * sunrpc/svc_tcp.c: Likewise.
1547 * sunrpc/svc_udp.c: Likewise.
1548 * sunrpc/svc_unix.c: Likewise.
1549 * sunrpc/svcauth_des.c: Likewise.
1550 * sunrpc/xcrypt.c: Likewise.
1551 * sunrpc/xdr.c: Likewise.
1552 * sunrpc/xdr_array.c: Likewise.
1553 * sunrpc/xdr_float.c: Likewise.
1554 * sunrpc/xdr_intXX_t.c: Likewise.
1555 * sunrpc/xdr_mem.c: Likewise.
1556 * sunrpc/xdr_rec.c: Likewise.
1557 * sunrpc/xdr_ref.c: Likewise.
1558 * sunrpc/xdr_sizeof.c: Likewise.
1559 * sunrpc/xdr_stdio.c: Likewise.
1561 2011-04-10 Ulrich Drepper <drepper@gmail.com>
1564 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
1565 * sysdeps/ia64/dl-tls.h: Likewise.
1566 * sysdeps/powerpc/dl-tls.h: Likewise.
1567 * sysdeps/s390/dl-tls.h: Likewise.
1568 * sysdeps/sh/dl-tls.h: Likewise.
1569 * sysdeps/sparc/dl-tls.h: Likewise.
1570 * sysdeps/x86_64/dl-tls.h: Likewise.
1571 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
1573 2011-03-14 Andreas Schwab <schwab@redhat.com>
1575 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
1576 rpath element also skip the following colon.
1577 (expand_dynamic_string_token): Add is_path parameter and pass
1578 down to DL_DST_REQUIRED and _dl_dst_substitute.
1579 (decompose_rpath): Call expand_dynamic_string_token with
1580 non-zero is_path. Ignore empty rpaths.
1581 (_dl_map_object_from_fd): Call expand_dynamic_string_token
1584 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1589 2011-04-09 Ulrich Drepper <drepper@gmail.com>
1592 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
1593 Patch by Filipe David Manana <fdmanana@apache.org>.
1595 2011-04-07 Andreas Schwab <schwab@redhat.com>
1597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
1598 Maintain aligned stack.
1599 (CHECK_RSP): Remove unused macro.
1601 2011-04-03 Ulrich Drepper <drepper@gmail.com>
1603 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
1604 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
1606 2011-04-02 Ulrich Drepper <drepper@gmail.com>
1608 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
1610 * include/features.h: Mention __USE_XOPEN2K8 in comment.
1612 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
1615 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
1616 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
1617 * sysdeps/x86_64/memmove.c: New file.
1618 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
1619 (memcpy): Renamed to ...
1620 (__new_memcpy): This.
1621 (memcpy): Provide GLIBC_2_14 memcpy.
1622 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
1623 (memcpy): Provide GLIBC_2_2_5 memcpy.
1625 2011-04-01 Ulrich Drepper <drepper@gmail.com>
1628 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
1630 2011-03-30 Andreas Schwab <schwab@redhat.com>
1632 * misc/syncfs.c: New file.
1633 * misc/Makefile (routines): Add syncfs.
1634 * posix/unistd.h: Declare syncfs.
1635 * sysdeps/unix/syscalls.list: Add syncfs.
1637 2011-04-01 Andreas Schwab <schwab@redhat.com>
1639 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
1641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1644 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1646 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1649 2011-04-01 Ulrich Drepper <drepper@gmail.com>
1651 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
1652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1653 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1659 * io/Makefile: Compile fallocate.c, fallocate64.c, and
1660 sync_file_range.c with -fexceptions.
1661 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
1662 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
1663 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1664 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1665 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1666 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
1668 sync_file_range as cancellation point
1669 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
1670 now a wrapper around __call_sync_file_range with cancellation handling.
1671 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
1672 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
1673 function name to __call_sync_file_range.
1674 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
1675 Add call_sync_file_range.
1677 2011-04-01 Andreas Schwab <schwab@redhat.com>
1679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1682 2011-04-01 Ulrich Drepper <drepper@gmail.com>
1684 * iconv/iconv.h: Fix typo in comment.
1685 * io/fcntl.h: Likewise.
1686 * libio/stdio.h: Likewise.
1687 * posix/spawn.h: Likewise.
1688 * posix/unistd.h: Likewise.
1689 * stdlib/stdlib.h: Likewise.
1690 * time/time.h: Likewise.
1691 * wcsmbs/wchar.h: Likewise.
1693 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
1694 open_by_handle): Add.
1695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
1696 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
1697 Augment a few comments.
1698 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1700 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1703 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
1706 * io/fcntl.h (AT_EMPTY_PATH): Define.
1708 2011-03-30 Ulrich Drepper <drepper@gmail.com>
1710 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
1711 * sysdeps/unix/sysv/linux/bits/time.h: New file.
1712 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
1714 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
1715 * Versions.def: Add GLIBC_2.14.
1716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
1719 2011-03-22 Ulrich Drepper <drepper@gmail.com>
1721 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
1723 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1725 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
1728 * string/test-strncmp.c (do_page_test): New function.
1730 (test_main): Call check2.
1731 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
1733 2011-03-20 Ulrich Drepper <drepper@gmail.com>
1736 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
1737 Handle cache information in CPU leaf 4.
1738 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1740 2011-03-18 Ulrich Drepper <drepper@gmail.com>
1743 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
1744 character representation.
1745 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
1747 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
1749 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
1750 END(__isnan) to END(__isnanf) to match function entry point/label
1751 EALIGN(__isnanf,...).
1753 2011-03-10 Jakub Jelinek <jakub@redhat.com>
1755 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
1757 2011-03-10 Ulrich Drepper <drepper@gmail.com>
1760 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
1761 copy from the symbol referenced in the relocation to initialize the
1763 Patch by Piotr Bury <pbury@goahead.com>.
1764 * elf/Makefile: Add rules to build and tst-unique3.
1765 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
1766 * elf/tst-unique3.cc: New file.
1767 * elf/tst-unique3.h: New file.
1768 * elf/tst-unique3lib.cc: New file.
1769 * elf/tst-unique3lib2.cc: New file.
1771 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
1773 2011-03-10 Mike Frysinger <vapier@gentoo.org>
1775 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
1776 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
1779 2011-03-06 Ulrich Drepper <drepper@gmail.com>
1781 * elf/dl-load.c (_dl_map_object): If we are looking for the first
1782 to-be-loaded object along a path to loader is ld.so.
1784 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1785 Ulrich Drepper <drepper@gmail.com>
1787 * sysdeps/x86_64/memset.S: After aligning destination, code
1788 branches to different locations depending on the value of
1789 misalignment, when multiarch is enabled. Fix this.
1791 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1793 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
1794 Set _x86_64_preferred_memory_instruction for AMD processsors.
1795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1796 Set bit_Prefer_SSE_for_memop for AMD processors.
1798 2011-03-04 Ulrich Drepper <drepper@gmail.com>
1800 * libio/fmemopen.c (fmemopen): Optimize a bit.
1802 2011-03-03 Andreas Schwab <schwab@redhat.com>
1804 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
1806 2011-03-03 Roland McGrath <roland@redhat.com>
1808 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
1810 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
1812 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
1813 __bzero_ultra1 instead of __memset_ultra1.
1815 2011-02-23 Andreas Schwab <schwab@redhat.com>
1816 Ulrich Drepper <drepper@gmail.com>
1819 * include/link.h (struct link_map): Add l_orig_initfini.
1820 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
1821 returning unsuccessfully.
1822 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
1823 close of a file loaded at startup, restore the original l_initfini
1825 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
1826 list, store the pointer.
1827 * elf/Makefile ($(objpfx)noload-mem): New rule.
1828 (noload-ENV): Define.
1829 (tests): Add $(objpfx)noload-mem.
1830 * elf/noload.c: Include <memcheck.h>.
1831 (main): Call mtrace. Close all opened handles.
1833 2011-02-17 Andreas Schwab <schwab@redhat.com>
1836 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
1837 dependencies are missing.
1839 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1841 Fix __if_freereq crash: Unlike the generic version which uses free,
1843 * sysdeps/mach/hurd/ifreq.h: New file.
1845 2011-01-27 Petr Baudis <pasky@suse.cz>
1846 Ulrich Drepper <drepper@gmail.com>
1849 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
1851 * stdio-common/bug23.c: New file.
1852 * stdio-common/Makefile (tests): Add bug23.
1854 2010-09-28 Andreas Schwab <schwab@redhat.com>
1855 Ulrich Drepper <drepper@gmail.com>
1858 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
1859 before performing relro protection. At old place add assertion
1860 to make sure nothing changed.
1862 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
1863 Glauber de Oliveira Costa <glommer@gmail.com>
1865 * elf/elf.h: Add new ARM TLS relocs.
1867 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1870 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
1872 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
1874 * sysdeps/wordsize-64/tst-writev.c: New file.
1876 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
1878 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
1879 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
1880 insns in _dl_start to prevent a TOC reference before relocs are
1883 2011-02-15 Ulrich Drepper <drepper@gmail.com>
1886 * Makeconfig: Remove RANLIB definition.
1887 * Makerules: Don't use RANLIB.
1888 * aclocal.m4: Remove ranlib test.
1889 * configure.in: No need to check for ranlib.
1890 * elf/rtld-Rules: Don't use RANLIB.
1892 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1894 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
1896 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
1897 inclusion protection macro.
1899 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
1900 SIGRTMIN and SIGRTMAX and print information in that case only when
1901 SIGRTMIN is defined.
1903 2011-02-11 Jakub Jelinek <jakub@redhat.com>
1905 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
1906 arginfo fn returning -1.
1908 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
1909 and thousands string is zero terminated.
1911 2011-02-03 Andreas Schwab <schwab@redhat.com>
1913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
1914 sysdeps/unix/sysv/linux/bits/socket.h.
1916 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1918 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
1919 (__CPU_COUNT): Remove old macros.
1920 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
1921 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
1922 (__CPU_ALLOC, __CPU_FREE): Add macros.
1923 (__sched_cpualloc, __sched_cpufree): Add declarations.
1925 2011-02-05 Ulrich Drepper <drepper@gmail.com>
1927 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
1928 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
1929 * nscd/aicache.c (addhstaiX): Return timeout of added value.
1930 (readdhstai): Return value of addhstaiX call.
1931 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
1932 (addgrbyX): Return value returned by cache_addgr.
1933 (readdgrbyname): Return value returned by addgrbyX.
1934 (readdgrbygid): Likewise.
1935 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
1936 (addpwbyX): Return value returned by cache_addpw.
1937 (readdpwbyname): Return value returned by addhstbyX.
1938 (readdpwbyuid): Likewise.
1939 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
1940 (addservbyX): Return value returned by cache_addserv.
1941 (readdservbyname): Return value returned by addservbyX:
1942 (readdservbyport): Likewise.
1943 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
1944 (addhstbyX): Return value returned by cache_addhst.
1945 (readdhstbyname): Return value returned by addhstbyX.
1946 (readdhstbyaddr): Likewise.
1947 (readdhstbynamev6): Likewise.
1948 (readdhstbyaddrv6): Likewise.
1949 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
1950 (readdinitgroups): Return value returned by addinitgroupsX.
1951 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
1952 (prune_cache): Keep track of timeout value of re-added entries.
1953 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
1954 * nscd/nscd.h: Adjust prototypes of readd* functions.
1956 2011-02-04 Roland McGrath <roland@redhat.com>
1958 * nis/nis_server.c (nis_servstate): Use the right name for 0.
1959 (nis_stats): Likewise.
1960 * nis/nis_modify.c (nis_modify): Likewise.
1961 * nis/nis_remove.c (nis_remove): Likewise.
1962 * nis/nis_add.c (nis_add): Likewise.
1964 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
1966 * posix/fnmatch_loop.c: Add some consts.
1968 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
1970 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
1973 * config.make.in (config-cflags-novzeroupper): Define.
1974 * configure.in: Substitute libc_cv_cc_novzeroupper.
1975 * elf/Makefile (AVX-CFLAGS): Define.
1976 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
1977 (CFLAGS-tst-auditmod4a.c): Likewise.
1978 (CFLAGS-tst-auditmod4b.c): Likewise.
1979 (CFLAGS-tst-auditmod6b.c): Likewise.
1980 (CFLAGS-tst-auditmod6c.c): Likewise.
1981 (CFLAGS-tst-auditmod7b.c): Likewise.
1982 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
1984 2011-02-02 Ulrich Drepper <drepper@gmail.com>
1986 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
1987 function to the callback.
1988 Patch partly by Jiri Olsa <jolsa@redhat.com>.
1990 2011-02-02 Andreas Schwab <schwab@redhat.com>
1992 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
1995 2011-01-19 Ulrich Drepper <drepper@gmail.com>
1998 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
2000 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
2002 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
2005 * elf/Makefile: Add rules to build and run new test.
2006 * elf/tst-initorder.c: New file.
2007 * elf/tst-initorder.exp: New file.
2008 * elf/tst-initordera1.c: New file.
2009 * elf/tst-initordera2.c: New file.
2010 * elf/tst-initordera3.c: New file.
2011 * elf/tst-initordera4.c: New file.
2012 * elf/tst-initorderb1.c: New file.
2013 * elf/tst-initorderb2.c: New file.
2014 * elf/tst-order-a1.c: New file.
2015 * elf/tst-order-a2.c: New file.
2016 * elf/tst-order-a3.c: New file.
2017 * elf/tst-order-a4.c: New file.
2018 * elf/tst-order-b1.c: New file.
2019 * elf/tst-order-b2.c: New file.
2020 * elf/tst-order-main.c: New file.
2021 New test case by George Gensure <werkt0@gmail.com>.
2023 2010-10-01 Andreas Schwab <schwab@redhat.com>
2025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2026 decoding ACE if AI_CANONIDN.
2028 2011-01-18 Ulrich Drepper <drepper@gmail.com>
2030 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
2032 2011-01-17 Ulrich Drepper <drepper@gmail.com>
2034 * version.h (RELEASE): Bump for 2.13 release.
2035 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
2037 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
2039 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
2041 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2042 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2044 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2046 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2048 * posix/getconf.c: Update copyright year.
2049 * catgets/gencat.c: Likewise.
2050 * csu/version.c: Likewise.
2051 * debug/catchsegv.sh: Likewise.
2052 * debug/xtrace.sh: Likewise.
2053 * elf/ldconfig.c: Likewise.
2054 * elf/ldd.bash.in: Likewise.
2055 * elf/sprof.c (print_version): Likewise.
2056 * iconv/iconv_prog.c: Likewise.
2057 * iconv/iconvconfig.c: Likewise.
2058 * locale/programs/locale.c: Likewise.
2059 * locale/programs/localedef.c: Likewise.
2060 * malloc/memusage.sh: Likewise.
2061 * malloc/mtrace.pl: Likewise.
2062 * nscd/nscd.c (print_version): Likewise.
2063 * nss/getent.c: Likewise.
2065 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
2066 PF_CAIF, and PF_ALG.
2067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2069 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
2071 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
2072 (modules-names): Use them.
2073 (ifunc-test-modules, ifunc-pie-tests): Define.
2074 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
2075 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
2076 (test-extras): Likewise.
2077 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
2078 $(compile-command.c).
2079 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
2080 (all-built-dso): Define.
2081 (check-textrel.out, check-execstack.out): Depend on it.
2083 * configure.in: Don't override --enable-multi-arch.
2085 2011-01-15 Ulrich Drepper <drepper@gmail.com>
2088 * nscd/hstcache.c (tryagain): Define.
2089 (cache_addhst): Return tryagain not notfound for temporary errors.
2090 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
2093 2011-01-14 Ulrich Drepper <drepper@gmail.com>
2096 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
2097 to make the syscall.
2098 * sysdeps/unix/sysv/linux/setgroups.c: New file.
2101 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
2102 and fall back to matching as normal character if the string ends before
2103 the matching ']' is found. This is what POSIX requires.
2104 * posix/testfnm.c: Adjust test result.
2105 * posix/globtest.sh: Adjust test result. Add new test.
2106 * posix/tst-fnmatch.input: Likewise.
2107 * posix/tst-fnmatch2.c: Add new test.
2109 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
2111 * elf/Makefile (check-execstack): Revert last change. Depend on
2113 (check-execstack.h): New target.
2114 (generated): Add check-execstack.h.
2115 * elf/check-execstack.c: Include "check-execstack.h".
2116 (main): Revert last change.
2117 (handle_file): Return zero if GNU_STACK is absent and
2118 DEFAULT_STACK_PERMS doesn't include PF_X.
2120 2011-01-13 Ulrich Drepper <drepper@gmail.com>
2122 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
2123 in child fails because the descriptor is already closed.
2124 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
2125 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
2126 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2129 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
2133 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
2134 temporary buffer used to handle multi lookups locally.
2135 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
2137 2011-01-12 Ulrich Drepper <drepper@gmail.com>
2139 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
2142 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
2144 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
2147 2011-01-12 Ulrich Drepper <drepper@gmail.com>
2150 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
2151 characters. When rounding increased number of integer digits recompute
2153 * stdio-common/tst-grouping.c: New file.
2154 * stdio-common/Makefile: Add rules to build and run tst-grouping.
2156 2011-01-09 Ulrich Drepper <drepper@gmail.com>
2158 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
2159 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
2161 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
2163 * bits/select.h: Likewise.
2165 2011-01-08 Ulrich Drepper <drepper@gmail.com>
2167 * po/ja.po: Update from translation team.
2169 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
2172 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
2173 implementation just like for lxstat, fxstatat, et al.
2175 2010-12-27 Jim Meyering <meyering@redhat.com>
2178 * posix/regexec.c (build_trtable): Return failure indication upon
2179 calloc failure. Otherwise, re_search_internal could infloop on OOM.
2181 2010-12-25 Ulrich Drepper <drepper@gmail.com>
2184 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2185 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2186 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
2187 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
2190 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
2193 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
2194 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
2196 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
2198 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
2199 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
2200 script has SORT_BY_INIT_PRIORITY.
2201 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
2202 NO_CTORS_DTORS_SECTIONS is defined.
2203 * elf/soinit.c: Likewise.
2204 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
2205 NO_CTORS_DTORS_SECTIONS is defined.
2206 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2207 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2208 * sysdeps/sh/init-first.c: Likewise.
2209 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2211 2010-12-24 Ulrich Drepper <drepper@gmail.com>
2213 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
2214 always use the slow path.
2216 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
2218 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
2219 similar rule which adds the sysdep directories to the header search in
2220 order to pick up the correct platform stackinfo.h.
2221 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
2222 perform test if it is, otherwise return successfully without testing.
2223 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
2224 DEFAULT_STACK_PERMS define in stackinfo.h.
2225 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
2226 defined in stackinfo.h.
2227 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
2228 DEFAULT_STACK_PERMS defined in stackinfo.h.
2229 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
2230 * sysdeps/ia64/stackinfo.h: Likewise.
2231 * sysdeps/s390/stackinfo.h: Likewise.
2232 * sysdeps/sh/stackinfo.h: Likewise.
2233 * sysdeps/sparc/stackinfo.h: Likewise.
2234 * sysdeps/x86_64/stackinfo.h: Likewise.
2235 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
2236 PF_X for powerpc64. Retain PF_X for powerpc32.
2238 2010-12-19 Ulrich Drepper <drepper@gmail.com>
2240 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
2242 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
2243 GETDENTS_64BIT_ALIGNED.
2245 2010-12-14 Ulrich Drepper <dreper@gmail.com>
2247 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
2249 2010-12-10 Andreas Schwab <schwab@redhat.com>
2251 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
2254 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
2255 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
2257 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
2258 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
2260 2010-12-09 Ulrich Drepper <drepper@gmail.com>
2263 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
2266 2010-12-09 Jakub Jelinek <jakub@redhat.com>
2268 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
2270 2010-12-03 Ulrich Drepper <drepper@gmail.com>
2272 * po/it.po: Update from translation team.
2274 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
2276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
2279 2010-11-30 Ulrich Drepper <drepper@gmail.com>
2281 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
2283 2010-11-24 Andreas Schwab <schwab@redhat.com>
2285 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
2287 (gaih_getanswer_slice): Likewise.
2289 2010-10-20 Jakub Jelinek <jakub@redhat.com>
2291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
2293 2010-05-31 Petr Baudis <pasky@suse.cz>
2296 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
2297 silently even in the chroot mode.
2299 2010-11-22 Ulrich Drepper <drepper@gmail.com>
2301 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
2302 last patch a bit. Pretty printing
2304 2010-05-31 Petr Baudis <pasky@suse.cz>
2307 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
2308 initialization of skip_initgroups_dyn.
2310 2010-11-19 Ulrich Drepper <drepper@gmail.com>
2312 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
2313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2315 2010-11-16 Ulrich Drepper <drepper@gmail.com>
2317 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
2319 2010-11-11 Andreas Schwab <schwab@redhat.com>
2321 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
2322 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
2323 (tst-fnmatch-ENV): Set MALLOC_TRACE.
2324 ($(objpfx)tst-fnmatch-mem): New rule.
2325 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
2326 * posix/tst-fnmatch.c (main): Call mtrace.
2328 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
2330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2331 Support Intel processor model 6 and model 0x2c.
2333 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
2335 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
2338 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
2341 * string/test-strncasecmp.c (check_result): New function.
2342 (do_one_test): Use it.
2343 (check1): New function.
2344 (test_main): Use it.
2345 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
2346 Support strcasecmp and strncasecmp.
2348 2010-11-08 Ulrich Drepper <drepper@gmail.com>
2351 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
2352 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2354 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
2356 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
2358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2360 * sysdeps/x86_64/multiarch/bzero.S: New file.
2361 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
2362 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
2363 * sysdeps/x86_64/multiarch/memset.S: New file.
2364 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
2365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2366 Set bit_Prefer_SSE_for_memop for Intel processors.
2367 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
2369 (index_Prefer_SSE_for_memop): Define.
2370 (HAS_PREFER_SSE_FOR_MEMOP): Define.
2372 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
2374 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
2375 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
2377 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
2380 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2381 (__x86_64_raw_data_cache_size_half): Likewise.
2382 (__x86_64_raw_shared_cache_size): Likewise.
2383 (__x86_64_raw_shared_cache_size_half): Likewise.
2385 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2386 (__x86_64_raw_data_cache_size_half): Likewise.
2387 (__x86_64_raw_shared_cache_size): Likewise.
2388 (__x86_64_raw_shared_cache_size_half): Likewise.
2389 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
2390 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
2391 and __x86_64_raw_shared_cache_size_half. Round
2392 __x86_64_data_cache_size_half, __x86_64_data_cache_size
2393 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
2394 to multiple of 256 bytes.
2396 2010-11-03 Ulrich Drepper <drepper@gmail.com>
2399 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
2400 of inacessible symlinks. Verify result of symlink before returning it.
2401 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2402 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
2404 2010-10-28 Erich Ritz <erichritz@gmail.com>
2406 * math/math.h (isinf): Fix typo in comment.
2408 2010-11-01 Ulrich Drepper <drepper@gmail.com>
2410 * po/da.po: Update from translation team.
2412 2010-10-26 Ulrich Drepper <drepper@gmail.com>
2414 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
2415 is added to the list.
2417 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2418 Ulrich Drepper <drepper@gmail.com>
2420 * elf/dl-object.c (_dl_new_object): Don't append the new object to
2421 the global list here. Move code to...
2422 (_dl_add_to_namespace_list): ...here. New function.
2423 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
2424 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
2425 * elf/dl-load.c (lose): Don't remove the element from the list.
2426 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
2427 (_dl_map_object): Likewise.
2429 2010-10-25 Ulrich Drepper <drepper@gmail.com>
2432 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
2433 into all bytes of SSE register.
2434 Patch by Richard Li <richardpku@gmail.com>.
2436 2010-10-24 Ulrich Drepper <drepper@gmail.com>
2439 * malloc/malloc.c (_int_free): Fill correct number of bytes when
2442 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
2444 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
2445 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
2446 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
2447 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
2452 2010-10-22 Andreas Schwab <schwab@redhat.com>
2454 * include/dlfcn.h (__RTLD_SECURE): Define.
2455 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
2456 mode & __RTLD_SECURE instead.
2457 (open_path): Rename preloaded parameter to secure.
2458 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
2459 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
2460 * elf/dl-deps.c (openaux): Likewise.
2461 * elf/rtld.c (struct map_args): Remove is_preloaded.
2462 (map_doit): Don't use it.
2463 (dl_main): Likewise.
2464 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
2465 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
2467 2010-09-09 Andreas Schwab <schwab@redhat.com>
2469 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
2470 (sysd-rules-targets): Remove duplicates.
2471 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
2472 rtld-%.$o dependency.
2474 2010-10-18 Andreas Schwab <schwab@redhat.com>
2476 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
2477 _dl_map_object do it.
2479 2010-10-19 Ulrich Drepper <drepper@gmail.com>
2481 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
2482 fast fma builtins, define the macros in the C99 standard.
2483 (FP_FAST_FMAF): Likewise.
2484 (FP_FAST_FMAL): Likewise.
2485 * sysdeps/x86_64/bits/mathdef.h: Likewise.
2487 * bits/mathdef.h: Update copyright year.
2488 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2490 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
2492 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
2493 builtins, define the macros in the C99 standard.
2494 (FP_FAST_FMAF): Likewise.
2495 (FP_FAST_FMAL): Likewise.
2496 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
2498 (FP_FAST_FMAF): Likewise.
2500 2010-10-15 Jakub Jelinek <jakub@redhat.com>
2503 * math/libm-test.inc (fma_test): Some new testcases.
2504 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
2505 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
2506 y and infinite z. Do multiplication by C already in long double.
2507 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
2508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
2509 y and infinite z. Do bitwise or of inexact bit into u.d.
2510 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
2511 * sysdeps/i386/fpu/s_fmaf.S: Removed.
2512 * sysdeps/i386/fpu/s_fma.S: Removed.
2513 * sysdeps/i386/fpu/s_fmal.S: Removed.
2515 2010-10-16 Jakub Jelinek <jakub@redhat.com>
2518 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
2519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
2520 computation is not scheduled after fetestexcept. Fix value
2521 of minimum denormal long double.
2523 2010-10-14 Jakub Jelinek <jakub@redhat.com>
2526 * math/libm-test.inc (fma_test): Add some more tests.
2527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
2530 2010-10-15 Andreas Schwab <schwab@redhat.com>
2532 * scripts/data/localplt-s390-linux-gnu.data: New file.
2533 * scripts/data/localplt-s390x-linux-gnu.data: New file.
2535 2010-10-13 Jakub Jelinek <jakub@redhat.com>
2538 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
2539 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
2541 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
2543 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
2544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
2545 if one of x and y is very large and the other is subnormal.
2546 * sysdeps/s390/fpu/s_fmaf.c: New file.
2547 * sysdeps/s390/fpu/s_fma.c: New file.
2548 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
2549 * sysdeps/powerpc/fpu/s_fma.S: New file.
2550 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
2551 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
2552 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
2554 2010-10-12 Jakub Jelinek <jakub@redhat.com>
2557 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
2559 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
2560 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
2561 * sysdeps/i386/i686/multiarch/s_fma.c: Include
2562 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
2563 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
2564 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
2565 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
2567 2010-10-12 Ulrich Drepper <drepper@redhat.com>
2570 * posix/regcomp.c (parse_branch): One more memory leak plugged.
2571 * posix/bug-regex31.input: Add test case.
2573 2010-10-11 Ulrich Drepper <drepper@gmail.com>
2575 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
2576 * posix/bug-regex31.input: New file.
2579 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
2580 (parse_sub_exp): Fix last change, use postorder.
2582 * posix/bug-regex31.c: New file.
2583 * posix/Makefile: Add rules to build and run bug-regex31.
2585 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
2588 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
2591 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
2592 to have entries in sys_siglist.
2595 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
2598 2010-10-07 Jakub Jelinek <jakub@redhat.com>
2601 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
2602 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
2603 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
2604 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
2605 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2606 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
2607 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
2608 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
2609 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
2610 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
2611 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
2612 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
2613 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2614 * math/ftestexcept.c (fetestexcept): Likewise.
2615 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
2616 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2617 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2618 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
2619 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
2620 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
2621 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2623 2010-10-11 Ulrich Drepper <drepper@gmail.com>
2626 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
2629 2010-10-06 Ulrich Drepper <drepper@gmail.com>
2631 * string/bug-strstr1.c: New file.
2632 * string/Makefile: Add rules to build and run bug-strstr1.
2634 2010-10-05 Eric Blake <eblake@redhat.com>
2637 * string/str-two-way.h (two_way_long_needle): Always clear memory
2638 when skipping input due to the shift table.
2640 2010-10-03 Ulrich Drepper <drepper@gmail.com>
2643 * malloc/mcheck.c: Handle large requests.
2646 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
2647 for strncmp and strncasecmp.
2648 * string/stratcliff.c: Add tests for strcmp and strncmp.
2649 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
2651 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2653 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
2656 2010-09-30 Andreas Jaeger <aj@suse.de>
2658 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
2659 (CGROUP_SUPER_MAGIC): Define.
2660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2661 Handle btrfs and cgroup file systems.
2662 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2665 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
2667 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
2668 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
2670 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2673 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
2674 trying to locate the ELF header.
2676 2010-09-27 Andreas Schwab <schwab@redhat.com>
2679 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
2680 Mask out sign-bit copies when constructing f_fsid.
2682 2010-09-24 Petr Baudis <pasky@suse.cz>
2684 * debug/stack_chk_fail_local.c: Add missing licence exception.
2685 * debug/warning-nop.c: Likewise.
2687 2010-09-15 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
2690 implementing getdents64 using getdents syscall, set d_type if
2691 __ASSUME_GETDENTS32_D_TYPE.
2693 2010-09-16 Andreas Schwab <schwab@redhat.com>
2695 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
2696 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
2698 2010-09-21 Ulrich Drepper <drepper@redhat.com>
2701 * posix/unistd.h: Undo change of feature selection for ftruncate from
2704 2010-09-20 Ulrich Drepper <drepper@redhat.com>
2706 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
2709 2010-09-20 Andreas Schwab <schwab@redhat.com>
2711 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2713 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2715 2010-09-14 Andreas Schwab <schwab@redhat.com>
2717 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
2718 variables after CHECK_SP call.
2719 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
2721 2010-09-13 Andreas Schwab <schwab@redhat.com>
2722 Ulrich Drepper <drepper@redhat.com>
2724 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
2725 re-relocationg ld.so.
2726 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
2727 _dl_init_paths call.
2728 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
2731 2010-09-14 Ulrich Drepper <drepper@redhat.com>
2733 * resolv/res_init.c (__res_vinit): Count the default server we added.
2735 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
2736 Ulrich Drepper <drepper@redhat.com>
2739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2740 (____longjmp_chk): Use %ebx for saving value across system call.
2743 2010-09-06 Andreas Schwab <schwab@redhat.com>
2745 * manual/Makefile: Don't mix pattern rules with normal rules.
2747 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
2749 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
2751 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2752 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2753 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2754 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2758 2010-09-04 Ulrich Drepper <drepper@redhat.com>
2761 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
2762 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
2764 2010-09-02 Ulrich Drepper <drepper@redhat.com>
2766 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
2767 * sysdeps/x86_64/addmul_1.S: Likewise.
2768 * sysdeps/x86_64/lshift.S: Likewise.
2769 * sysdeps/x86_64/mul_1.S: Likewise.
2770 * sysdeps/x86_64/rshift.S: Likewise.
2771 * sysdeps/x86_64/sub_n.S: Likewise.
2772 * sysdeps/x86_64/submul_1.S: Likewise.
2774 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2776 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
2777 Define __sched_param instead of SCHED_* and sched_param when
2778 <bits/sched.h> is included with __need_schedparam defined.
2779 * bits/sched.h [__need_schedparam]
2780 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
2781 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
2782 (__defined_schedparam): Define to 1.
2783 (__sched_param): New structure, identical to sched_param.
2784 (__need_schedparam): Undefine.
2786 2010-08-31 Mike Frysinger <vapier@gentoo.org>
2788 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
2789 (epoll_create1): Declare.
2791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
2793 2010-08-31 Andreas Schwab <schwab@redhat.com>
2796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
2797 shifting retval into place.
2799 2010-09-01 Ulrich Drepper <drepper@redhat.com>
2801 * nis/rpcsvc/nis.h: Update copyright notice.
2802 * nis/rpcsvc/nis.x: Likewise.
2803 * nis/rpcsvc/nis_callback.h: Likewise.
2804 * nis/rpcsvc/nis_callback.x: Likewise.
2805 * nis/rpcsvc/nis_object.x: Likewise.
2806 * nis/rpcsvc/nis_tags.h: Likewise.
2807 * nis/rpcsvc/yp.h: Likewise.
2808 * nis/rpcsvc/yp.x: Likewise.
2809 * nis/rpcsvc/ypupd.h: Likewise.
2810 * nis/yp_xdr.c: Likewise.
2811 * nis/ypupdate_xdr.c: Likewise.
2813 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
2814 mainly the body of pmap_getport. Add parameters to specify timeouts.
2815 (pmap_getport): Use __libc_rpc_getport.
2816 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
2817 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
2818 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
2820 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
2825 2010-08-27 Roland McGrath <roland@redhat.com>
2827 * sysdeps/i386/i686/multiarch/Makefile
2828 (CFLAGS-varshift.c): New variable.
2830 2010-08-27 Ulrich Drepper <drepper@redhat.com>
2832 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
2833 * sysdeps/i386/i686/multiarch/varshift.c: New file.
2835 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
2837 * sysdeps/x86_64/strlen.S: Minimal code improvement.
2839 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
2841 * sysdeps/x86_64/strlen.S: Unroll the loop.
2842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2843 strlen-sse2 strlen-sse2-bsf.
2844 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
2845 __strlen_no_bsf if bit_Slow_BSF is set.
2846 (__strlen_sse42): Removed.
2847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
2848 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
2850 2010-08-25 Roland McGrath <roland@redhat.com>
2852 * sysdeps/x86_64/multiarch/varshift.S: File removed.
2853 * sysdeps/x86_64/multiarch/varshift.c: New file.
2854 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
2855 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
2856 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
2857 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2859 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
2861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2862 strlen-sse2 strlen-sse2-bsf.
2863 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
2864 __strlen_sse2_bsf if bit_Slow_BSF is unset.
2865 (__strlen_sse2): Removed.
2866 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
2867 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
2868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2869 bit_Slow_BSF for Atom.
2870 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
2871 (index_Slow_BSF): Define.
2872 (HAS_SLOW_BSF): Define.
2874 2010-08-25 Ulrich Drepper <drepper@redhat.com>
2877 * resolv/res_init.c (__res_vinit): When no server address at all
2878 is given default to loopback.
2880 2010-08-24 Roland McGrath <roland@redhat.com>
2882 * configure.in: Remove config-name.h generation.
2883 * configure: Regenerated.
2884 * config-name.in: File removed.
2885 * scripts/config-uname.sh: New file.
2886 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
2887 ($(objdir)config-name.h): New target.
2889 * sunrpc/rpc_parse.h: Avoid nested comment.
2891 2010-08-24 Richard Henderson <rth@redhat.com>
2892 Ulrich Drepper <drepper@redhat.com>
2893 H.J. Lu <hongjiu.lu@intel.com>
2895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
2896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
2897 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
2898 Replace _mm_srli_si128 with __m128i_shift_right. Replace
2899 _mm_alignr_epi8 with _mm_loadu_si128.
2900 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
2901 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
2902 (__m128i_shift_right): Removed.
2903 * sysdeps/i386/i686/multiarch/varshift.h: New file.
2904 * sysdeps/i386/i686/multiarch/varshift.S: New file.
2905 * sysdeps/x86_64/multiarch/varshift.h: New file.
2906 * sysdeps/x86_64/multiarch/varshift.S: New file.
2908 2010-08-21 Mike Frysinger <vapier@gentoo.org>
2910 * configure.in: Move assembler checks to before sysdep dir checking.
2912 2010-08-20 Petr Baudis <pasky@suse.cz>
2914 * LICENSES: Sync the sunrpc license.
2916 2010-08-19 Ulrich Drepper <drepper@redhat.com>
2918 * sunrpc/auth_des.c: Update copyright notice once again.
2919 * sunrpc/auth_none.c: Likewise.
2920 * sunrpc/auth_unix.c: Likewise.
2921 * sunrpc/authdes_prot.c: Likewise.
2922 * sunrpc/authuxprot.c: Likewise.
2923 * sunrpc/bindrsvprt.c: Likewise.
2924 * sunrpc/clnt_gen.c: Likewise.
2925 * sunrpc/clnt_perr.c: Likewise.
2926 * sunrpc/clnt_raw.c: Likewise.
2927 * sunrpc/clnt_simp.c: Likewise.
2928 * sunrpc/clnt_tcp.c: Likewise.
2929 * sunrpc/clnt_udp.c: Likewise.
2930 * sunrpc/clnt_unix.c: Likewise.
2931 * sunrpc/des_crypt.c: Likewise.
2932 * sunrpc/des_soft.c: Likewise.
2933 * sunrpc/get_myaddr.c: Likewise.
2934 * sunrpc/getrpcport.c: Likewise.
2935 * sunrpc/key_call.c: Likewise.
2936 * sunrpc/key_prot.c: Likewise.
2937 * sunrpc/openchild.c: Likewise.
2938 * sunrpc/pm_getmaps.c: Likewise.
2939 * sunrpc/pm_getport.c: Likewise.
2940 * sunrpc/pmap_clnt.c: Likewise.
2941 * sunrpc/pmap_prot.c: Likewise.
2942 * sunrpc/pmap_prot2.c: Likewise.
2943 * sunrpc/pmap_rmt.c: Likewise.
2944 * sunrpc/rpc/auth.h: Likewise.
2945 * sunrpc/rpc/auth_unix.h: Likewise.
2946 * sunrpc/rpc/clnt.h: Likewise.
2947 * sunrpc/rpc/des_crypt.h: Likewise.
2948 * sunrpc/rpc/key_prot.h: Likewise.
2949 * sunrpc/rpc/netdb.h: Likewise.
2950 * sunrpc/rpc/pmap_clnt.h: Likewise.
2951 * sunrpc/rpc/pmap_prot.h: Likewise.
2952 * sunrpc/rpc/pmap_rmt.h: Likewise.
2953 * sunrpc/rpc/rpc.h: Likewise.
2954 * sunrpc/rpc/rpc_des.h: Likewise.
2955 * sunrpc/rpc/rpc_msg.h: Likewise.
2956 * sunrpc/rpc/svc.h: Likewise.
2957 * sunrpc/rpc/svc_auth.h: Likewise.
2958 * sunrpc/rpc/types.h: Likewise.
2959 * sunrpc/rpc/xdr.h: Likewise.
2960 * sunrpc/rpc_clntout.c: Likewise.
2961 * sunrpc/rpc_cmsg.c: Likewise.
2962 * sunrpc/rpc_common.c: Likewise.
2963 * sunrpc/rpc_cout.c: Likewise.
2964 * sunrpc/rpc_dtable.c: Likewise.
2965 * sunrpc/rpc_hout.c: Likewise.
2966 * sunrpc/rpc_main.c: Likewise.
2967 * sunrpc/rpc_parse.c: Likewise.
2968 * sunrpc/rpc_parse.h: Likewise.
2969 * sunrpc/rpc_prot.c: Likewise.
2970 * sunrpc/rpc_sample.c: Likewise.
2971 * sunrpc/rpc_scan.c: Likewise.
2972 * sunrpc/rpc_scan.h: Likewise.
2973 * sunrpc/rpc_svcout.c: Likewise.
2974 * sunrpc/rpc_tblout.c: Likewise.
2975 * sunrpc/rpc_util.c: Likewise.
2976 * sunrpc/rpc_util.h: Likewise.
2977 * sunrpc/rpcinfo.c: Likewise.
2978 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
2979 * sunrpc/rpcsvc/key_prot.x: Likewise.
2980 * sunrpc/rpcsvc/klm_prot.x: Likewise.
2981 * sunrpc/rpcsvc/mount.x: Likewise.
2982 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
2983 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
2984 * sunrpc/rpcsvc/rex.x: Likewise.
2985 * sunrpc/rpcsvc/rstat.x: Likewise.
2986 * sunrpc/rpcsvc/rusers.x: Likewise.
2987 * sunrpc/rpcsvc/sm_inter.x: Likewise.
2988 * sunrpc/rpcsvc/spray.x: Likewise.
2989 * sunrpc/rpcsvc/yppasswd.x: Likewise.
2990 * sunrpc/rtime.c: Likewise.
2991 * sunrpc/svc.c: Likewise.
2992 * sunrpc/svc_auth.c: Likewise.
2993 * sunrpc/svc_authux.c: Likewise.
2994 * sunrpc/svc_raw.c: Likewise.
2995 * sunrpc/svc_run.c: Likewise.
2996 * sunrpc/svc_simple.c: Likewise.
2997 * sunrpc/svc_tcp.c: Likewise.
2998 * sunrpc/svc_udp.c: Likewise.
2999 * sunrpc/svc_unix.c: Likewise.
3000 * sunrpc/svcauth_des.c: Likewise.
3001 * sunrpc/xcrypt.c: Likewise.
3002 * sunrpc/xdr.c: Likewise.
3003 * sunrpc/xdr_array.c: Likewise.
3004 * sunrpc/xdr_float.c: Likewise.
3005 * sunrpc/xdr_mem.c: Likewise.
3006 * sunrpc/xdr_rec.c: Likewise.
3007 * sunrpc/xdr_ref.c: Likewise.
3008 * sunrpc/xdr_sizeof.c: Likewise.
3009 * sunrpc/xdr_stdio.c: Likewise.
3011 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
3014 2010-08-19 Andreas Schwab <schwab@redhat.com>
3016 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
3018 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
3020 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
3021 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
3022 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
3023 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
3024 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
3025 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
3026 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
3027 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
3028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
3029 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
3030 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
3031 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
3032 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
3033 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
3035 2010-07-26 Anton Blanchard <anton@samba.org>
3037 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
3038 * malloc/arena.c (heap_trim): Likewise.
3040 2010-08-16 Ulrich Drepper <drepper@redhat.com>
3042 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
3044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
3045 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
3047 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
3049 * sysdeps/i386/elf/Makefile: New file.
3051 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3053 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
3055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3058 2010-08-15 Ulrich Drepper <drepper@redhat.com>
3060 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
3062 * sysdeps/multiarch/strcmp.S: Likewise.
3064 2010-08-14 Ulrich Drepper <drepper@redhat.com>
3066 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3067 strncase_l-nonascii.
3068 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3069 Add strncase_l-ssse3.
3070 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
3071 * sysdeps/x86_64/strcmp.S: Likewise.
3072 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
3073 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
3074 * sysdeps/x86_64/strncase.S: New file.
3075 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
3076 * sysdeps/x86_64/strncase_l.S: New file.
3077 * string/Makefile (strop-tests): Add strncasecmp.
3078 * string/test-strncasecmp.c: New file.
3080 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
3083 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
3084 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
3086 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3088 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
3090 2010-08-12 Ulrich Drepper <drepper@redhat.com>
3092 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
3093 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3096 2010-05-01 Alan Modra <amodra@gmail.com>
3098 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
3099 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
3100 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
3101 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
3102 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
3103 tidying. Don't tail-call __sigjmp_save for static lib.
3104 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
3106 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
3107 (CALL_MCOUNT): Add eh info, and nop after bl.
3108 (TAIL_CALL_SYSCALL_ERROR): New macro.
3109 (PSEUDO_RET): Use it.
3110 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3111 Correct save location of integer regs and cr.
3112 (_dl_profile_resolve): Correct cr save location. Delete nops
3113 after bl when SHARED. Reduce cfi size a little by better
3114 placement of cfi directives.
3115 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
3116 make a stack frame. Instead use parm save area as a temp.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
3118 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3120 Don't make a stack frame for parent, use parm save area.
3121 Increase child stack frame to 112 bytes. Don't save unused reg,
3122 and adjust reg usage. Set up cfi on error recovery and
3123 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3125 (__makecontext): Add dummy nop after jump to exit.
3126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
3127 Use correct parm save area and cr save, reduce stack frame.
3128 Correct cfi for possible PSEUDO_RET frame setup.
3129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
3130 Branch to local label emitted by PSEUDO_RET rather than
3133 2010-08-12 Andreas Schwab <schwab@redhat.com>
3136 * locale/programs/locale.c (print_assignment): New function.
3137 (show_locale_vars): Use it.
3139 2010-08-11 Ulrich Drepper <drepper@redhat.com>
3141 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
3143 (struct statfs64): Likewise.
3144 (_STATFS_F_FLAGS): Define.
3145 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
3146 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3147 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
3148 (ST_VALID): Define locally.
3149 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
3150 __statvfs_getflags, use the provided value.
3151 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3152 __ASSUME_STATFS_F_FLAGS.
3154 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
3156 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3158 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
3159 fanotify_mask for GLIBC_2.13.
3160 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
3161 fanotify_init and fanotify_mark.
3162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3163 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
3165 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
3167 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
3168 prlimit64 for GLIBC_2.13.
3169 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
3171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3174 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3175 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
3176 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
3177 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
3179 * sysdeps/unix/sysv/linux/prlimit.c: New file.
3182 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
3183 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
3185 * nss/Makefile: Add rules to build and run tst-nss-test1.
3186 * shlib-versions: Add entry for libnss_test1.
3187 * nss/nss_test1.c: New file.
3188 * nss/tst-nss-test1.c: New file.
3190 * nss/nsswitch.c (__nss_database_custom): Define new variable.
3191 (__nss_configure_lookup): Set appropriate entry in
3192 __nss_configure_lookup to true.
3193 * nss/nsswitch.h: Define enum with indeces of databases in
3194 databases and __nss_database_custom arrays. Declare
3195 __nss_database_custom.
3196 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
3197 to avoid using nscd when custom rules are installed.
3198 * nss/getXXbyYY_r.c: Likewise.
3199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3201 * nss/nss_files/files-parse.c: Whitespace fixes.
3203 2010-08-09 Ulrich Drepper <drepper@redhat.com>
3206 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
3207 * posix/fnmatch_loop.c: Likewise.
3209 2010-07-17 Andi Kleen <ak@linux.intel.com>
3211 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
3212 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
3213 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
3214 * Versions.def [GLIBC_2.13]: Add.
3216 2010-08-06 Ulrich Drepper <drepper@redhat.com>
3218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3219 Also fail if tpwd after pwuid call is NULL.
3221 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3223 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
3224 when converting to ms.
3226 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3228 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
3229 EOPNOTSUPP errors with ENOTTY.
3230 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
3231 EOPNOTSUPP errors with ENOTTY.
3233 2010-07-31 Ulrich Drepper <drepper@redhat.com>
3235 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3236 Add strcasecmp_l-ssse3.
3237 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
3239 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
3240 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
3241 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
3243 2010-07-30 Ulrich Drepper <drepper@redhat.com>
3245 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
3247 * string/Makefile (strop-tests): Add strcasecmp.
3248 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3249 strcasecmp_l-nonascii.
3250 (gen-as-const-headers): Add locale-defines.sym.
3251 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
3252 * sysdeps/x86_64/strcasecmp.S: New file.
3253 * sysdeps/x86_64/strcasecmp_l.S: New file.
3254 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
3255 * sysdeps/x86_64/locale-defines.sym: New file.
3256 * string/test-strcasecmp.c: New file.
3258 * string/test-strcasestr.c: Test both ends of the range of characters.
3259 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
3261 2010-07-29 Roland McGrath <roland@redhat.com>
3264 * manual/locale.texi (Yes-or-No Questions): Fix example code.
3266 2010-07-27 Ulrich Drepper <drepper@redhat.com>
3268 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
3271 2010-07-27 Andreas Schwab <schwab@redhat.com>
3273 * manual/memory.texi (Malloc Tunable Parameters): Document
3276 2010-07-26 Roland McGrath <roland@redhat.com>
3279 * configure.in (-fgnu89-inline check): Set and substitute
3280 gnu89_inline, not libc_cv_gnu89_inline.
3281 * configure: Regenerated.
3282 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
3284 2010-07-26 Ulrich Drepper <drepper@redhat.com>
3286 * string/test-strnlen.c: New file.
3287 * string/Makefile (strop-tests): Add strnlen.
3288 * string/tester.c (test_strnlen): Add a few more test cases.
3289 * string/tst-strlen.c: Better error reporting.
3291 * sysdeps/x86_64/strnlen.S: New file.
3293 2010-07-24 Ulrich Drepper <drepper@redhat.com>
3295 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
3296 lower-latency instructions.
3298 2010-07-23 Ulrich Drepper <drepper@redhat.com>
3300 * string/test-strcasestr.c: New file.
3301 * string/test-strstr.c: New file.
3302 * string/Makefile (strop-tests): Add strstr and strcasestr.
3303 * string/str-two-way.h: Don't undefine MAX.
3304 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
3306 2010-07-21 Andreas Schwab <schwab@redhat.com>
3308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3309 strcasestr-nonascii.
3310 (CFLAGS-strcasestr-nonascii.c): Define.
3311 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
3312 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
3313 Remove unused attribute.
3315 2010-07-20 Roland McGrath <roland@redhat.com>
3317 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
3318 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
3319 ld.so.cache was broken. With it, there is no way to disable dsocaps
3320 like LD_HWCAP_MASK can disable hwcaps.
3322 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
3324 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
3326 2010-07-16 Ulrich Drepper <drepper@redhat.com>
3328 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
3330 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
3331 __strcasestr_sse42_nonascii.
3332 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
3333 strcasestr-nonascii.c.
3334 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
3336 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
3338 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
3339 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
3340 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
3341 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
3343 2010-07-09 Ulrich Drepper <drepper@redhat.com>
3345 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
3348 2010-07-06 Andreas Schwab <schwab@redhat.com>
3351 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
3354 2010-07-06 Ulrich Drepper <drepper@redhat.com>
3356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
3357 _PC_PIPE_BUF using F_GETPIPE_SZ.
3359 2010-07-05 Roland McGrath <roland@redhat.com>
3361 * manual/arith.texi (Rounding Functions): Fix rint description
3362 implicit in round description.
3364 2010-07-02 Ulrich Drepper <drepper@redhat.com>
3366 * elf/Makefile: Fix linking for a few tests to make recent linker
3369 2010-06-30 Andreas Schwab <schwab@redhat.com>
3371 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3372 $(common-objpfx)libc_nonshared.a.
3374 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
3376 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
3377 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
3378 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3379 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3380 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
3381 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
3382 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3383 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
3398 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
3399 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
3400 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
3401 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
3402 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
3403 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
3404 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
3405 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
3406 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
3407 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
3408 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
3409 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
3425 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
3427 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
3428 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
3429 * string/memmove.c (memmove): Renamed to ...
3430 (MEMMOVE): ...this. Default to memmove.
3431 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
3432 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
3434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3435 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
3436 mempcpy-ssse3-back memmove-ssse3-back.
3437 * sysdeps/x86_64/multiarch/bcopy.S: New file .
3438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
3439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
3440 * sysdeps/x86_64/multiarch/memcpy.S: New file.
3441 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
3442 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
3443 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
3444 * sysdeps/x86_64/multiarch/memmove.c: New file.
3445 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
3446 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
3447 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
3448 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
3449 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
3450 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
3452 (index_Fast_Copy_Backward): Define.
3453 (HAS_ARCH_FEATURE): Define.
3454 (HAS_FAST_REP_STRING): Define.
3455 (HAS_FAST_COPY_BACKWARD): Define.
3457 2010-06-21 Andreas Schwab <schwab@redhat.com>
3459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3460 Restore proper fallback handling.
3462 2010-06-19 Ulrich Drepper <drepper@redhat.com>
3465 * posix/group_member.c (__group_member): Correct checking loop.
3467 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
3468 OOM in getpwuid_r correctly. Return error number when the caller
3469 should return, otherwise -1.
3470 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
3471 call returning > 0 value.
3472 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
3474 2010-06-07 Andreas Schwab <schwab@redhat.com>
3476 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
3477 libc_nonshared.a from targets in modules-names.
3479 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
3481 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
3484 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
3486 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
3487 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
3488 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
3489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
3491 2010-06-02 Andreas Schwab <schwab@redhat.com>
3493 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
3495 2010-06-14 Ulrich Drepper <drepper@redhat.com>
3497 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
3499 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3500 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3503 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
3506 2010-06-14 Roland McGrath <roland@redhat.com>
3508 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
3510 2010-06-07 Jakub Jelinek <jakub@redhat.com>
3512 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
3513 __REDIRECT followed by __THROW.
3514 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
3515 * posix/getopt.h (getopt): Likewise.
3517 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
3519 * hurd/lookup-at.c (__file_name_lookup_at): Accept
3520 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
3521 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
3523 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
3524 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
3526 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
3528 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
3530 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
3533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3534 Properly check family and model.
3536 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
3538 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
3540 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
3542 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
3544 2010-05-21 Ulrich Drepper <drepper@redhat.com>
3546 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
3549 2010-05-19 Andreas Schwab <schwab@redhat.com>
3551 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
3554 2010-05-21 Andreas Schwab <schwab@redhat.com>
3556 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
3557 and internal_recvmmsg.
3558 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
3559 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
3560 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
3561 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
3563 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
3564 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3565 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3567 2010-05-20 Andreas Schwab <schwab@redhat.com>
3569 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
3571 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
3573 POWER7 optimizations.
3574 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
3575 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
3577 2010-05-19 Ulrich Drepper <drepper@redhat.com>
3579 * version.h: Update for 2.13 development version.
3581 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
3583 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
3584 exceptions. Return 0.
3586 2010-05-07 Roland McGrath <roland@redhat.com>
3588 * elf/ldconfig.c (main): Add a const.
3590 2010-05-06 Ulrich Drepper <drepper@redhat.com>
3592 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
3593 (args_options): Add no-idn option.
3594 (ahosts_keys_int): Add idn_flags to ai_flags.
3595 (parse_option): Handle 'i' option to clear idn_flags.
3597 * malloc/malloc.c (_int_free): Possible race in the most recently
3598 added check. Only act on the data if no current modification
3601 See ChangeLog.17 for earlier changes.