1 2011-06-15 Ulrich Drepper <drepper@gmail.com>
3 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4 need to dereference resplen2.
6 2011-06-14 Andreas Schwab <schwab@redhat.com>
8 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12 * Makeconfig: Define vardbdir and inst_vardbdir.
13 * nss/Makefile: Add rules to install db-Makefile.
15 * nss/nss_db/db-XXX.c: Cleanup.
17 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21 * nss/makedb.c: Implement -g option to specify that value strings
22 are generated and should not be added to table iterated over for
24 * nss/nss_db/db-initgroups.c: New file.
26 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30 (internal_getgrouplist): Adjust to name change.
31 Update use_initgroups_entry if this is not the first call.
32 * nss/databases.def: Add initgroups entry.
34 * nss/makedb.c (compute_tables): Check result of multiple hash table
35 sizes to minimize maximum chain length.
37 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39 * Versions.def: Add entry for libnss_db.
40 * shlib-versions: Likewise.
41 * nss/Makefile: Add rules to build libnss_db.
42 * nss/Versions: Add libnss_db information. Organize libnss_files
44 * nss/db-Makefile: Add gshadow support. Change rules for the new
45 makedb progra. Some minor improvements to generate smaller files.
46 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48 * nss/makedb.c: ...here.
49 Improve database format to be smaller and require less memory at
51 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53 * nss/nss_db/db-netgrp.c: Likewise.
54 * nss/nss_db/db-open.c: Likewise.
55 * nss/nss_files/flies-XXX.x: Adjust comments.
56 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57 * nss/nss_files/files-grp.c: Likewise.
58 * nss/nss_files/files-hosts.c: Likewise.
59 * nss/nss_files/files-network.c: Likewise.
60 * nss/nss_files/files-proto.c: Likewise.
61 * nss/nss_files/files-pwd.c: Likewise.
62 * nss/nss_files/files-rpc.c: Likewise.
63 * nss/nss_files/files-service.c: Likewise.
64 * nss/nss_files/files-sgrp.c: Likewise.
65 * nss/nss_files/files-spwd.c: Likewise.
66 * nss/nss_db/db-alias.c: Removed.
67 * nss/nss_db/dummy-db.h: Removed.
69 2011-06-02 Ulrich Drepper <drepper@gmail.com>
71 * nss/makedb.c: Rewritten to not use database library.
72 * nss/Makefile: Update to build new makedb program.
74 2011-06-14 Andreas Jaeger <aj@suse.de>
76 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79 2011-06-10 Andreas Schwab <schwab@redhat.com>
81 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84 2011-06-10 Roland McGrath <roland@hack.frob.com>
86 * Makerules (shlib.lds): Fail if the linker script comes out empty.
87 * elf/Makefile ($(objpfx)ld.so): Likewise.
89 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90 Don't list ld.so twice in dependencies.
92 * posix/bug-regex31.c: Include <stdlib.h>.
94 * nscd/hstcache.c (cache_addhst): Remove unused variable.
96 * nis/nss_compat/compat-spwd.c
97 (getspent_next_nss_netgr): Remove unused variable.
98 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
100 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
101 nonmembers" output to use the right array.
103 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
105 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
107 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
108 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
109 * catgets/gencat.c (read_input_file): Likewise.
110 * locale/programs/locarchive.c (enlarge_archive): Likewise.
112 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
113 variable definition inside #if's controlling its use.
115 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
117 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
119 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
121 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
124 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
126 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
127 * configure: Regenerated.
129 * Makerules: Revert last change.
130 * elf/Makefile: Likewise.
132 2011-06-09 Roland McGrath <roland@hack.frob.com>
134 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
135 * elf/Makefile ($(objpfx)librtld.os): Likewise.
136 (reloc-link): Likewise.
138 2011-06-09 Ulrich Drepper <drepper@gmail.com>
140 * elf/Makefile: Add rules to build pldd.
141 * elf/pldd.c: New file.
142 * elf/pldd-xx.c: New file.
144 2011-06-07 Ulrich Drepper <drepper@gmail.com>
146 * version.h: Update for 2.15 development version.
148 2011-06-07 David S. Miller <davem@davemloft.net>
150 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
152 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
153 elf_machine_lazy_rel): Likewise.
154 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
155 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
156 elf_machine_lazy_rel): Likewise.
157 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
158 dl_hwcap via passed in argument.
159 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
162 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
164 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
166 2011-06-06 Roland McGrath <roland@hack.frob.com>
169 * manual/fdl-1.1.texi: New file, verbatim from:
170 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
171 * manual/lgpl-2.1.texi: New file, verbatim from:
172 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
173 * manual/Makefile (licenses): New variable, list those new file names.
175 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
177 * manual/fdl.texi: File removed.
178 * manual/lesser.texi: File removed.
179 * manual/libc.texinfo (Copying, Documentation License):
180 Use new @include file names, put @appendix directive before @include.
182 2011-06-04 Jakub Jelinek <jakub@redhat.com>
185 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
186 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
187 (mq_open): Add __NTH.
189 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
192 Assume Intel Core i3/i5/i7 processor if AVX is available.
194 2011-05-31 Ulrich Drepper <drepper@gmail.com>
196 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
199 2011-05-31 Andreas Schwab <schwab@redhat.com>
201 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
202 memory. Use alloca_account. Fix memory leak when retrying.
204 2011-05-31 Ulrich Drepper <drepper@gmail.com>
206 * version.h (RELEASE): Bump for 2.14 release.
207 * include/features.h (__GLIBC_MINOR__): Bump to 14.
209 * config.make.in (RANLIB): Remove entry.
211 2011-05-30 Ulrich Drepper <drepper@gmail.com>
213 * po/Makefile (po-sed-cmd): Add ksh to extensions.
214 (libc.pot): Work around missing support for .ksh extension in xgettext.
217 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
218 if both request failed.
219 (send_dg): In case of server errors clear resplen or *resplen2.
222 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
223 when there are multiple maps.
224 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
225 (_dl_fini): Remove test here.
227 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
229 2011-05-29 Ulrich Drepper <drepper@gmail.com>
232 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
233 bit from old_res_options.
234 (gaih_inet): Likewise.
237 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
240 * resolv/res_init.c (res_setoptions): Make the code more compact.
243 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
247 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
249 * malloc/malloc.h: Mark malloc hook variables as deprecated.
252 * malloc/malloc.h: Declare malloc hook variables as volatile.
254 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
258 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
259 raise in the comment.
260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
262 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
264 2011-05-28 Ulrich Drepper <drepper@gmail.com>
267 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
268 grow the buffers more if it already has to be sufficient.
269 (build_wcs_upper_buffer): Likewise.
270 * posix/regexec.c (check_matching): Likewise.
271 (clean_state_log_if_needed): Likewise.
272 (extend_buffers): Don't enlarge buffers beyond size of the input
274 Patches mostly by Emil Wojak <emil@wojak.eu>.
275 * posix/bug-regex32.c: New file.
276 * posix/Makefile (tests): Add bug-regex32.
278 * locale/findlocale.c (_nl_find_locale): Return right away if
279 _nl_explode_name failed.
280 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
282 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
284 * debug/xtrace.sh: Unify messages.
285 * malloc/memusage.sh: Likewise.
288 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
289 time symbol from vDSO. Substitute with vsyscall if not available.
290 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
293 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
294 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
295 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
296 Add sendmmsg and internal_sendmmsg.
297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
298 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
301 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
302 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
303 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
305 2011-05-27 Ulrich Drepper <drepper@gmail.com>
308 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
309 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
311 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
315 * iconvdata/Makefile (tests): Add bug-iconv9.
316 * iconvdata/bug-iconv9.c: New file.
318 2011-05-27 Andreas Schwab <schwab@redhat.com>
321 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
323 2011-05-25 Jakub Jelinek <jakub@redhat.com>
325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
326 (struct user_regs_struct): Change intcs field back to cs.
328 2011-05-25 Ulrich Drepper <drepper@gmail.com>
330 * po/ja.po: Update from translation team.
332 2011-05-23 Ulrich Drepper <drepper@gmail.com>
335 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
336 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
338 2011-05-20 Andreas Schwab <schwab@redhat.com>
340 * stdlib/longlong.h: Update from GCC.
342 2011-05-23 Andreas Schwab <schwab@redhat.com>
344 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
346 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
348 (__sysconf): Pass it down.
350 2011-05-22 Ulrich Drepper <drepper@gmail.com>
353 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
355 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
356 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
357 add in in __libc_use_alloca calls. Adjust callers.
358 (glob): Use malloc in some situations.
360 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
361 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
364 2011-05-21 Ulrich Drepper <drepper@gmail.com>
366 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
367 and CLOCK_BOOTTIME_ALARM.
370 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
373 * string/_strerror.c (__strerror_r): Print negative errors as signed
377 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
378 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
379 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
381 * configure.in: Fix typo in redirection and correct removal of test
385 * locale/setlocale.c (new_composite_name): Fix test to check for
386 identical name of all categories.
389 * libio/filedoalloc.c (local_isatty): New function.
390 (_IO_file_doallocate): Use local_isatty.
391 * stdio-common/perror.c (perror): In case a new stream is used
392 forward the stream error.
393 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
396 2011-05-20 Ulrich Drepper <drepper@gmail.com>
399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
401 * include/alloca.h (extend_alloca_account): Define.
404 * posix/regex.h: Fix comments with documentation of user-accessible
405 fields after compilation and describe correct free'ing of pattern
406 after re_compile_pattern.
407 Patch by Reuben Thomas <rrt@sc3d.org>.
409 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
411 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
412 and -mno-altivec to prevent the compiler from using Altivec and/or
413 VSX instructions when the corresponding registers are not available.
415 2011-05-19 Andreas Schwab <schwab@redhat.com>
417 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
419 2011-05-19 Ulrich Drepper <drepper@gmail.com>
421 * libio/freopen.c (freopen): Use __dup2, not dup2.
422 * libio/freopen64.c (freopen64): Likewise.
424 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
427 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
428 * math/Makefile (tests): Add test-powl.
429 (CFLAGS-test-powl.c): Define.
430 * math/test-powl.c: New file.
432 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
434 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
436 2011-05-17 Ulrich Drepper <drepper@gmail.com>
439 * iconvdata/gb18030.c: Update to GB18020-2005.
441 2011-05-16 Ulrich Drepper <drepper@gmail.com>
443 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
444 RE_SYNTAX_POSIX_AWK): Update to match recent development.
445 Patch by Aharon Robbins <arnold@skeeve.com>.
448 * stdlib/putenv.c (putenv): Don't always create copy of the variable
452 * misc/pselect.c (__pselect): Handle timeout value errors hidden
456 * misc/error.c (error_at_line): Ensure file_name and old_file_name
457 point to strings before performing equality test for error_one_per_line
461 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
464 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
465 (struct user_fpregs_struct): Avoid __uint*_t types.
468 * malloc/mtrace.c (tr_where): Add additional parameter to point to
469 symbol info. Use it instead of calling _dl_addr locally.
470 (lock_and_info): New function.
471 (tr_freehook): Call lock_and_info and pass symbol info as additional
472 parameter to tr_where.
473 (tr_mallochook): Likewise.
474 (tr_reallochook): Likewise.
475 (tr_memalignhook): Likewise.
477 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
478 used and couldn't be at all thread-safe.
480 2011-05-15 Ulrich Drepper <drepper@gmail.com>
482 * libio/freopen.c (freopen): Don't close old file descriptor
483 before the new one is opened. Instead dup the new file descriptor
484 to the old one after the new stream is created.
485 * libio/freopen64.c (freopen64): Likewise.
486 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
487 * libio/fileops.c (_IO_new_file_close_it): Handle new
488 _IO_FLAGS2_NOCLOSE flag.
489 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
490 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
491 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
492 _IO_FLAGS2_NOCLOSE flag.
493 * include/unistd.h: Add hidden_proto for dup3.
495 * io/dup3.c: Define hidden symbol.
496 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
499 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
500 when an incomplete long option is used.
501 * posix/tst-getopt_long1.c: New file.
502 * posix/Makefile (tests): Add tst-getopt_long1.
505 * scripts/config.guess: Update from autoconf-2.68.
506 * scripts/config.sub: Likewise.
509 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
511 (has_cpuclock): ...this. New function.
512 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
513 macro here based on has_cpuclock code.
516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
517 First byte (not low byte) is now always NUL.
518 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
521 Use non-cancelable interfaces.
524 * locale/iso-639.def: Add entry for Sorani.
527 * include/stdlib.h: Move include protection to the right place.
528 Define abort_msg_s. Declare __abort_msg with it.
529 * stdlib/abort.c (__abort_msg): Adjust type.
530 * assert/assert.c (__assert_fail_base): New function. Majority
531 of code from __assert_fail. Allocate memory for __abort_msg with
533 (__assert_fail): Now call __assert_fail_base.
534 * assert/assert-perr.c: Remove bulk of implementation. Use
536 * include/assert.hL Declare __assert_fail_base.
537 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
539 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
541 2011-05-14 Ulrich Drepper <drepper@gmail.com>
545 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
546 until all modules are registered in the DTV.
547 * elf/Makefile: Add rules to build and run tst-tls19.
548 * elf/tst-tls19.c: New file.
549 * elf/tst-tls19mod1.c: New file.
550 * elf/tst-tls19mod2.c: New file.
551 * elf/tst-tls19mod3.c: New file.
552 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
555 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
559 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
560 two-byte sequence errors.
561 * iconvdata/Makefile (tests): Add bug-iconv8.
562 * iconvdata/bug-iconv8.c: New file.
565 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
568 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
571 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
572 (dummy_getcfa): New function.
573 (init): Get _Unwind_GetCFA address, use dummy if not found.
574 (backtrace_helper): In recursion check, also check whether CFA changes.
575 (__backtrace): Completely initialize arg.
577 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
578 storing incomplete byte sequence in state object. Avoid testing for
579 guaranteed too small input if we know there is enough data available.
581 2011-05-11 Andreas Schwab <schwab@redhat.com>
583 * Makeconfig (+link-pie): Indent.
584 * Rules (binaries-pie): Define if $(have-fpie) and
586 (binaries-shared): Also filter out $(binaries-pie).
587 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
588 * nscd/Makefile (others-pie): Add nscd.
589 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
590 ($(objpfx)nscd): Remove command override.
591 * login/Makefile (others-pie): Add pt_chown.
592 ($(objpfx)pt_chown): Remove command override.
593 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
594 remove command overrides.
596 2011-05-13 Ulrich Drepper <drepper@gmail.com>
598 * libio/tst_putwc.c: Fix error messages.
601 * libio/fileops.c (_IO_new_file_close_it): Always flush when
602 currently writing and seek to current position when not.
603 * libio/Makefile (tests): Add bug-fclose1.
604 * libio/bug-fclose1.c: New file.
606 2011-05-12 Ulrich Drepper <drepper@gmail.com>
609 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
610 don't set DF_1_NODELETE here.
611 (do_lookup_x): When entering new entry test for copy relocation
612 and if necessary set DF_1_NODELETE flag.
613 * elf/tst-unique4.cc: New file.
614 * elf/tst-unique4.h: New file.
615 * elf/tst-unique4lib.cc: New file.
616 * elf/Makefile: Add rules to build and run tst-unique4.
617 Patch by Piotr Bury <pbury@goahead.com>.
619 2011-05-11 Ulrich Drepper <drepper@gmail.com>
622 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
625 * misc/mntent_r.c (addmntent): Flush the stream after the output
628 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
629 (is_trusted_path_normalize): Skip initial colon. Append slash
630 to empty buffer. Duplicate is_trusted_path code but allow
631 constructed patch to be prefix.
632 (is_dst): Allow $ORIGIN followed by /.
633 (_dl_dst_substitute): Correct clearing of check_for_trusted.
634 Correct testing of result of is_trusted_path_normalize
635 (decompose_rpath): Fix warning.
637 2011-05-10 Ulrich Drepper <drepper@gmail.com>
640 * grp/initgroups.c (internal_getgrouplist): When we found the service
641 list through the initgroups entry in nsswitch.conf do not always
642 continue on a successful lookup. Don't always use the
643 __nss_group_database value if it is set.
644 * nss/nsswitch.conf (initgroups): Change action for successful db
645 lookup to continue for compatibility.
647 2011-05-09 Ulrich Drepper <drepper@gmail.com>
650 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
652 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
654 * iconvdata/tst-tables.sh: Likewise.
655 * iconvdata/cp770.c: New file.
656 * iconvdata/cp771.c: New file.
657 * iconvdata/cp772.c: New file.
658 * iconvdata/cp773.c: New file.
659 * iconvdata/cp774.c: New file.
660 * iconvdata/testdata/CP770: New file.
661 * iconvdata/testdata/CP770..UTF8: New file.
662 * iconvdata/testdata/CP771: New file.
663 * iconvdata/testdata/CP771..UTF8: New file.
664 * iconvdata/testdata/CP772: New file.
665 * iconvdata/testdata/CP772..UTF8: New file.
666 * iconvdata/testdata/CP773: New file.
667 * iconvdata/testdata/CP773..UTF8: New file.
668 * iconvdata/testdata/CP774: New file.
669 * iconvdata/testdata/CP774..UTF8: New file.
671 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
673 * iconvdata/gen-8bit-gap.sh: Likewise.
674 * iconvdata/gen-8bit.sh: Likewise.
676 * locale/iso-639.def: Add ary entry.
679 * locale/C-translit.h.in: Add U20A1 transliteration.
682 * locale/iso-639.def: Add wae entry.
683 Patch by Kevin Bortis <bortis@translate-wae.ch>.
686 * locale/programs/localedef.c (construct_output_path): Use ssize_t
690 * locale/C-translit.h.in: Add entry for U20B9.
691 Patch by pravin.d.s@gmail.com.
693 2011-05-08 Ulrich Drepper <drepper@gmail.com>
696 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
697 ENAMETOOLONG use generic getcwd.
698 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
699 in rtld. Use *stat64.
700 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
701 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
702 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
703 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
704 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
705 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
706 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
708 * include/dirent.h: Add libc_hidden_proto for rewinddir.
709 * dirent/rewinddir.c: Add libc_hidden_def.
710 * sysdeps/mach/hurd/rewinddir.c: Likewise.
711 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
713 * include/dirent.h (__alloc_dir): Add flags parameter.
714 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
715 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
717 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
718 from fdopendir if O_CLOEXEC is already set.
720 2011-03-15 Alan Modra <amodra@gmail.com>
722 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
723 l_tls_firstbyte_offset non-zero. Save padding offset in
724 l_tls_firstbyte_offset for later use.
725 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
726 freeing static tls block.
728 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
730 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
731 where #ifdef was intended. The intent is to prevent ARG_MAX from
732 being defined by the kernel headers.
734 2011-05-07 Ulrich Drepper <drepper@gmail.com>
737 * resolv/resolv.h: Define RES_NOTLDQUERY.
738 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
739 no-tld-query and set RES_NOTLDQUERY.
740 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
741 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
742 modern BIND to search name as TLD unless forbidden.
744 2011-05-07 Petr Baudis <pasky@suse.cz>
745 Ulrich Drepper <drepper@gmail.com>
748 * elf/dl-load.c (fillin_rpath): Move trusted path check...
749 (is_trusted_path): ...to here.
750 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
751 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
752 using is_trusted_path_normalize() in setuid scripts.
754 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
756 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
759 2011-05-06 Ulrich Drepper <drepper@gmail.com>
761 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
762 NSS_STATUS_NOTFOUND if no record was found.
764 2011-05-05 Andreas Schwab <schwab@redhat.com>
766 * sunrpc/Makefile (headers): Add rpc/netdb.h.
767 (headers-not-in-tirpc): Remove rpc/netdb.h
768 * resolv/netdb.h: Revert last change.
770 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
772 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
773 circular dependency between libgcc.a and libc.a.
775 2011-05-05 Andreas Schwab <schwab@redhat.com>
777 * resolv/netdb.h: Don't include <rpc/netdb.h>.
778 * nis/Makefile: Don't install rpcsvc/*.
779 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
780 instead of <rpc/types.h>.
781 (MAXHOSTNAMELEN): Define.
783 2011-05-03 Andreas Schwab <schwab@redhat.com>
785 * elf/ldconfig.c (add_dir): Don't crash on empty path.
787 2011-04-28 Maciej Babinski <mbabinski@google.com>
790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
791 gethostbyname4_r when IPv6 results are possible.
793 2011-05-02 Ulrich Drepper <drepper@gmail.com>
796 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
797 _PC_PIPE_BUF handling.
799 2011-04-30 Bruno Haible <bruno@clisp.org>
802 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
803 * resolv/netdb.h (getnameinfo): Change type of flags parameter
805 * inet/getnameinfo.c (getnameinfo): Likewise.
807 2011-04-29 Ulrich Drepper <drepper@gmail.com>
809 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
810 to groups setting in database lookup.
811 * nss/nsswitch.conf: Add initgroups entry.
813 2011-04-22 Ulrich Drepper <drepper@gmail.com>
816 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
818 Patch by Eric Blake <eblake@redhat.com>.
820 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
822 * sunrpc/Makefile (need-export-routines): Add svc_run.
823 (routines): Remove svc_run.
824 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
825 * sunrpc/clnt_perr.c (clnt_perrno): Export.
826 * sunrpc/svc_run.c (svc_run): Likewise.
827 * sunrpc/svc_udp.c (svcudp_create): Likewise.
829 2011-04-21 Ulrich Drepper <drepper@gmail.com>
831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
832 problem in reallocation in last patch.
834 2011-04-20 Ulrich Drepper <drepper@gmail.com>
836 * sunrpc/Makefile: Move inclusion of Rules.
838 2011-04-19 Ulrich Drepper <drepper@gmail.com>
840 * nss/nss_files/files-initgroups.c: New file.
841 * nss/Makefile (libnss_files-routines): Add files-initgroups.
842 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
843 _nss_files_initgroups_dyn.
845 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
847 * elf/elf.h (R_ARM_IRELATIVE): Define.
849 2011-04-19 Ulrich Drepper <drepper@gmail.com>
851 * po/ru.po: Update from translation team.
853 2011-04-17 Ulrich Drepper <drepper@gmail.com>
855 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
858 2011-02-06 Mike Frysinger <vapier@gentoo.org>
861 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
862 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
863 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
865 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
867 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
869 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
871 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
875 2011-04-17 Ulrich Drepper <drepper@gmail.com>
878 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
880 * stdlib/bug-getcontext.c: New file.
881 * stdlib/Makefile: Add rules to build and run bug-getcontext.
883 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
885 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
886 instructions into .machine "z9-109".
887 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
888 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
890 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
892 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
893 between environment variables and auxiliary vector.
895 2011-04-16 Ulrich Drepper <drepper@gmail.com>
897 * Makefile: Add rules to build linkobj/libc.so.
898 * include/libc-symbols.h: Define libc_hidden_nolink.
899 * include/rpc/auth.h: Mark functions which are to be hidden.
900 * include/rpc/auth_des.h: Likewise.
901 * include/rpc/auth_unix.h: Likewise.
902 * include/rpc/clnt.h: Likewise.
903 * include/rpc/des_crypt.h: Likewise.
904 * include/rpc/key_prot.h: Likewise.
905 * include/rpc/pmap_clnt.h: Likewise.
906 * include/rpc/pmap_prot.h: Likewise.
907 * include/rpc/pmap_rmt.h: Likewise.
908 * include/rpc/rpc_msg.h: Likewise.
909 * include/rpc/svc.h: Likewise.
910 * include/rpc/svc_auth.h: Likewise.
911 * include/rpc/xdr.h: Likewise.
912 * nis/Makefile: Link all DSOs against linkobj/libc.so.
913 * nss/Makefile: Likewise.
914 * sunrpc/Makefile: Don't install headers. Build library with normal
915 entry points. Don't build rpcinfo. Link RPC tests appropriately.
916 * sunrpc/auth_des.c: Hide exported symbols by default, export some
917 for the compat linking library. Remove use of INTDEF/INTUSE.
918 * sunrpc/auth_none.c: Likewise.
919 * sunrpc/auth_unix.c: Likewise.
920 * sunrpc/authdes_prot.c: Likewise.
921 * sunrpc/authuxprot.c: Likewise.
922 * sunrpc/clnt_gen.c: Likewise.
923 * sunrpc/clnt_perr.c: Likewise.
924 * sunrpc/clnt_raw.c: Likewise.
925 * sunrpc/clnt_simp.c: Likewise.
926 * sunrpc/clnt_tcp.c: Likewise.
927 * sunrpc/clnt_udp.c: Likewise.
928 * sunrpc/clnt_unix.c: Likewise.
929 * sunrpc/des_crypt.c: Likewise.
930 * sunrpc/des_soft.c: Likewise.
931 * sunrpc/get_myaddr.c: Likewise.
932 * sunrpc/key_call.c: Likewise.
933 * sunrpc/key_prot.c: Likewise.
934 * sunrpc/netname.c: Likewise.
935 * sunrpc/pm_getmaps.c: Likewise.
936 * sunrpc/pm_getport.c: Likewise.
937 * sunrpc/pmap_clnt.c: Likewise.
938 * sunrpc/pmap_prot.c: Likewise.
939 * sunrpc/pmap_prot2.c: Likewise.
940 * sunrpc/pmap_rmt.c: Likewise.
941 * sunrpc/publickey.c: Likewise.
942 * sunrpc/rpc_cmsg.c: Likewise.
943 * sunrpc/rpc_common.c: Likewise.
944 * sunrpc/rpc_dtable.c: Likewise.
945 * sunrpc/rpc_prot.c: Likewise.
946 * sunrpc/rpc_thread.c: Likewise.
947 * sunrpc/rtime.c: Likewise.
948 * sunrpc/svc.c: Likewise.
949 * sunrpc/svc_auth.c: Likewise.
950 * sunrpc/svc_authux.c: Likewise.
951 * sunrpc/svc_raw.c: Likewise.
952 * sunrpc/svc_run.c: Likewise.
953 * sunrpc/svc_simple.c: Likewise.
954 * sunrpc/svc_tcp.c: Likewise.
955 * sunrpc/svc_udp.c: Likewise.
956 * sunrpc/svc_unix.c: Likewise.
957 * sunrpc/svcauth_des.c: Likewise.
958 * sunrpc/xcrypt.c: Likewise.
959 * sunrpc/xdr.c: Likewise.
960 * sunrpc/xdr_array.c: Likewise.
961 * sunrpc/xdr_float.c: Likewise.
962 * sunrpc/xdr_intXX_t.c: Likewise.
963 * sunrpc/xdr_mem.c: Likewise.
964 * sunrpc/xdr_rec.c: Likewise.
965 * sunrpc/xdr_ref.c: Likewise.
966 * sunrpc/xdr_sizeof.c: Likewise.
967 * sunrpc/xdr_stdio.c: Likewise.
969 2011-04-10 Ulrich Drepper <drepper@gmail.com>
972 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
973 * sysdeps/ia64/dl-tls.h: Likewise.
974 * sysdeps/powerpc/dl-tls.h: Likewise.
975 * sysdeps/s390/dl-tls.h: Likewise.
976 * sysdeps/sh/dl-tls.h: Likewise.
977 * sysdeps/sparc/dl-tls.h: Likewise.
978 * sysdeps/x86_64/dl-tls.h: Likewise.
979 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
981 2011-03-14 Andreas Schwab <schwab@redhat.com>
983 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
984 rpath element also skip the following colon.
985 (expand_dynamic_string_token): Add is_path parameter and pass
986 down to DL_DST_REQUIRED and _dl_dst_substitute.
987 (decompose_rpath): Call expand_dynamic_string_token with
988 non-zero is_path. Ignore empty rpaths.
989 (_dl_map_object_from_fd): Call expand_dynamic_string_token
992 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
997 2011-04-09 Ulrich Drepper <drepper@gmail.com>
1000 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
1001 Patch by Filipe David Manana <fdmanana@apache.org>.
1003 2011-04-07 Andreas Schwab <schwab@redhat.com>
1005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
1006 Maintain aligned stack.
1007 (CHECK_RSP): Remove unused macro.
1009 2011-04-03 Ulrich Drepper <drepper@gmail.com>
1011 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
1012 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
1014 2011-04-02 Ulrich Drepper <drepper@gmail.com>
1016 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
1018 * include/features.h: Mention __USE_XOPEN2K8 in comment.
1020 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
1023 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
1024 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
1025 * sysdeps/x86_64/memmove.c: New file.
1026 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
1027 (memcpy): Renamed to ...
1028 (__new_memcpy): This.
1029 (memcpy): Provide GLIBC_2_14 memcpy.
1030 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
1031 (memcpy): Provide GLIBC_2_2_5 memcpy.
1033 2011-04-01 Ulrich Drepper <drepper@gmail.com>
1036 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
1038 2011-03-30 Andreas Schwab <schwab@redhat.com>
1040 * misc/syncfs.c: New file.
1041 * misc/Makefile (routines): Add syncfs.
1042 * posix/unistd.h: Declare syncfs.
1043 * sysdeps/unix/syscalls.list: Add syncfs.
1045 2011-04-01 Andreas Schwab <schwab@redhat.com>
1047 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
1049 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1052 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1054 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1055 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1057 2011-04-01 Ulrich Drepper <drepper@gmail.com>
1059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
1060 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1067 * io/Makefile: Compile fallocate.c, fallocate64.c, and
1068 sync_file_range.c with -fexceptions.
1069 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
1070 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1072 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1073 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1074 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
1076 sync_file_range as cancellation point
1077 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
1078 now a wrapper around __call_sync_file_range with cancellation handling.
1079 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
1080 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
1081 function name to __call_sync_file_range.
1082 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
1083 Add call_sync_file_range.
1085 2011-04-01 Andreas Schwab <schwab@redhat.com>
1087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1090 2011-04-01 Ulrich Drepper <drepper@gmail.com>
1092 * iconv/iconv.h: Fix typo in comment.
1093 * io/fcntl.h: Likewise.
1094 * libio/stdio.h: Likewise.
1095 * posix/spawn.h: Likewise.
1096 * posix/unistd.h: Likewise.
1097 * stdlib/stdlib.h: Likewise.
1098 * time/time.h: Likewise.
1099 * wcsmbs/wchar.h: Likewise.
1101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
1102 open_by_handle): Add.
1103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
1104 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
1105 Augment a few comments.
1106 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1111 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
1114 * io/fcntl.h (AT_EMPTY_PATH): Define.
1116 2011-03-30 Ulrich Drepper <drepper@gmail.com>
1118 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
1119 * sysdeps/unix/sysv/linux/bits/time.h: New file.
1120 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
1122 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
1123 * Versions.def: Add GLIBC_2.14.
1124 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
1127 2011-03-22 Ulrich Drepper <drepper@gmail.com>
1129 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
1131 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1133 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
1136 * string/test-strncmp.c (do_page_test): New function.
1138 (test_main): Call check2.
1139 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
1141 2011-03-20 Ulrich Drepper <drepper@gmail.com>
1144 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
1145 Handle cache information in CPU leaf 4.
1146 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1148 2011-03-18 Ulrich Drepper <drepper@gmail.com>
1151 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
1152 character representation.
1153 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
1155 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
1157 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
1158 END(__isnan) to END(__isnanf) to match function entry point/label
1159 EALIGN(__isnanf,...).
1161 2011-03-10 Jakub Jelinek <jakub@redhat.com>
1163 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
1165 2011-03-10 Ulrich Drepper <drepper@gmail.com>
1168 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
1169 copy from the symbol referenced in the relocation to initialize the
1171 Patch by Piotr Bury <pbury@goahead.com>.
1172 * elf/Makefile: Add rules to build and tst-unique3.
1173 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
1174 * elf/tst-unique3.cc: New file.
1175 * elf/tst-unique3.h: New file.
1176 * elf/tst-unique3lib.cc: New file.
1177 * elf/tst-unique3lib2.cc: New file.
1179 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
1181 2011-03-10 Mike Frysinger <vapier@gentoo.org>
1183 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
1184 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
1187 2011-03-06 Ulrich Drepper <drepper@gmail.com>
1189 * elf/dl-load.c (_dl_map_object): If we are looking for the first
1190 to-be-loaded object along a path to loader is ld.so.
1192 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1193 Ulrich Drepper <drepper@gmail.com>
1195 * sysdeps/x86_64/memset.S: After aligning destination, code
1196 branches to different locations depending on the value of
1197 misalignment, when multiarch is enabled. Fix this.
1199 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1201 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
1202 Set _x86_64_preferred_memory_instruction for AMD processsors.
1203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1204 Set bit_Prefer_SSE_for_memop for AMD processors.
1206 2011-03-04 Ulrich Drepper <drepper@gmail.com>
1208 * libio/fmemopen.c (fmemopen): Optimize a bit.
1210 2011-03-03 Andreas Schwab <schwab@redhat.com>
1212 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
1214 2011-03-03 Roland McGrath <roland@redhat.com>
1216 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
1218 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
1220 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
1221 __bzero_ultra1 instead of __memset_ultra1.
1223 2011-02-23 Andreas Schwab <schwab@redhat.com>
1224 Ulrich Drepper <drepper@gmail.com>
1227 * include/link.h (struct link_map): Add l_orig_initfini.
1228 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
1229 returning unsuccessfully.
1230 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
1231 close of a file loaded at startup, restore the original l_initfini
1233 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
1234 list, store the pointer.
1235 * elf/Makefile ($(objpfx)noload-mem): New rule.
1236 (noload-ENV): Define.
1237 (tests): Add $(objpfx)noload-mem.
1238 * elf/noload.c: Include <memcheck.h>.
1239 (main): Call mtrace. Close all opened handles.
1241 2011-02-17 Andreas Schwab <schwab@redhat.com>
1244 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
1245 dependencies are missing.
1247 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1249 Fix __if_freereq crash: Unlike the generic version which uses free,
1251 * sysdeps/mach/hurd/ifreq.h: New file.
1253 2011-01-27 Petr Baudis <pasky@suse.cz>
1254 Ulrich Drepper <drepper@gmail.com>
1257 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
1259 * stdio-common/bug23.c: New file.
1260 * stdio-common/Makefile (tests): Add bug23.
1262 2010-09-28 Andreas Schwab <schwab@redhat.com>
1263 Ulrich Drepper <drepper@gmail.com>
1266 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
1267 before performing relro protection. At old place add assertion
1268 to make sure nothing changed.
1270 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
1271 Glauber de Oliveira Costa <glommer@gmail.com>
1273 * elf/elf.h: Add new ARM TLS relocs.
1275 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1278 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
1280 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
1282 * sysdeps/wordsize-64/tst-writev.c: New file.
1284 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
1286 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
1287 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
1288 insns in _dl_start to prevent a TOC reference before relocs are
1291 2011-02-15 Ulrich Drepper <drepper@gmail.com>
1294 * Makeconfig: Remove RANLIB definition.
1295 * Makerules: Don't use RANLIB.
1296 * aclocal.m4: Remove ranlib test.
1297 * configure.in: No need to check for ranlib.
1298 * elf/rtld-Rules: Don't use RANLIB.
1300 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1302 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
1304 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
1305 inclusion protection macro.
1307 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
1308 SIGRTMIN and SIGRTMAX and print information in that case only when
1309 SIGRTMIN is defined.
1311 2011-02-11 Jakub Jelinek <jakub@redhat.com>
1313 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
1314 arginfo fn returning -1.
1316 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
1317 and thousands string is zero terminated.
1319 2011-02-03 Andreas Schwab <schwab@redhat.com>
1321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
1322 sysdeps/unix/sysv/linux/bits/socket.h.
1324 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1326 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
1327 (__CPU_COUNT): Remove old macros.
1328 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
1329 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
1330 (__CPU_ALLOC, __CPU_FREE): Add macros.
1331 (__sched_cpualloc, __sched_cpufree): Add declarations.
1333 2011-02-05 Ulrich Drepper <drepper@gmail.com>
1335 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
1336 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
1337 * nscd/aicache.c (addhstaiX): Return timeout of added value.
1338 (readdhstai): Return value of addhstaiX call.
1339 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
1340 (addgrbyX): Return value returned by cache_addgr.
1341 (readdgrbyname): Return value returned by addgrbyX.
1342 (readdgrbygid): Likewise.
1343 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
1344 (addpwbyX): Return value returned by cache_addpw.
1345 (readdpwbyname): Return value returned by addhstbyX.
1346 (readdpwbyuid): Likewise.
1347 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
1348 (addservbyX): Return value returned by cache_addserv.
1349 (readdservbyname): Return value returned by addservbyX:
1350 (readdservbyport): Likewise.
1351 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
1352 (addhstbyX): Return value returned by cache_addhst.
1353 (readdhstbyname): Return value returned by addhstbyX.
1354 (readdhstbyaddr): Likewise.
1355 (readdhstbynamev6): Likewise.
1356 (readdhstbyaddrv6): Likewise.
1357 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
1358 (readdinitgroups): Return value returned by addinitgroupsX.
1359 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
1360 (prune_cache): Keep track of timeout value of re-added entries.
1361 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
1362 * nscd/nscd.h: Adjust prototypes of readd* functions.
1364 2011-02-04 Roland McGrath <roland@redhat.com>
1366 * nis/nis_server.c (nis_servstate): Use the right name for 0.
1367 (nis_stats): Likewise.
1368 * nis/nis_modify.c (nis_modify): Likewise.
1369 * nis/nis_remove.c (nis_remove): Likewise.
1370 * nis/nis_add.c (nis_add): Likewise.
1372 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
1374 * posix/fnmatch_loop.c: Add some consts.
1376 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
1378 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
1381 * config.make.in (config-cflags-novzeroupper): Define.
1382 * configure.in: Substitute libc_cv_cc_novzeroupper.
1383 * elf/Makefile (AVX-CFLAGS): Define.
1384 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
1385 (CFLAGS-tst-auditmod4a.c): Likewise.
1386 (CFLAGS-tst-auditmod4b.c): Likewise.
1387 (CFLAGS-tst-auditmod6b.c): Likewise.
1388 (CFLAGS-tst-auditmod6c.c): Likewise.
1389 (CFLAGS-tst-auditmod7b.c): Likewise.
1390 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
1392 2011-02-02 Ulrich Drepper <drepper@gmail.com>
1394 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
1395 function to the callback.
1396 Patch partly by Jiri Olsa <jolsa@redhat.com>.
1398 2011-02-02 Andreas Schwab <schwab@redhat.com>
1400 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
1403 2011-01-19 Ulrich Drepper <drepper@gmail.com>
1406 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
1408 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
1410 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
1413 * elf/Makefile: Add rules to build and run new test.
1414 * elf/tst-initorder.c: New file.
1415 * elf/tst-initorder.exp: New file.
1416 * elf/tst-initordera1.c: New file.
1417 * elf/tst-initordera2.c: New file.
1418 * elf/tst-initordera3.c: New file.
1419 * elf/tst-initordera4.c: New file.
1420 * elf/tst-initorderb1.c: New file.
1421 * elf/tst-initorderb2.c: New file.
1422 * elf/tst-order-a1.c: New file.
1423 * elf/tst-order-a2.c: New file.
1424 * elf/tst-order-a3.c: New file.
1425 * elf/tst-order-a4.c: New file.
1426 * elf/tst-order-b1.c: New file.
1427 * elf/tst-order-b2.c: New file.
1428 * elf/tst-order-main.c: New file.
1429 New test case by George Gensure <werkt0@gmail.com>.
1431 2010-10-01 Andreas Schwab <schwab@redhat.com>
1433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1434 decoding ACE if AI_CANONIDN.
1436 2011-01-18 Ulrich Drepper <drepper@gmail.com>
1438 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
1440 2011-01-17 Ulrich Drepper <drepper@gmail.com>
1442 * version.h (RELEASE): Bump for 2.13 release.
1443 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
1445 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
1447 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
1449 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1450 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1451 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1452 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1453 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1456 * posix/getconf.c: Update copyright year.
1457 * catgets/gencat.c: Likewise.
1458 * csu/version.c: Likewise.
1459 * debug/catchsegv.sh: Likewise.
1460 * debug/xtrace.sh: Likewise.
1461 * elf/ldconfig.c: Likewise.
1462 * elf/ldd.bash.in: Likewise.
1463 * elf/sprof.c (print_version): Likewise.
1464 * iconv/iconv_prog.c: Likewise.
1465 * iconv/iconvconfig.c: Likewise.
1466 * locale/programs/locale.c: Likewise.
1467 * locale/programs/localedef.c: Likewise.
1468 * malloc/memusage.sh: Likewise.
1469 * malloc/mtrace.pl: Likewise.
1470 * nscd/nscd.c (print_version): Likewise.
1471 * nss/getent.c: Likewise.
1473 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
1474 PF_CAIF, and PF_ALG.
1475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1477 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
1479 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
1480 (modules-names): Use them.
1481 (ifunc-test-modules, ifunc-pie-tests): Define.
1482 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
1483 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
1484 (test-extras): Likewise.
1485 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
1486 $(compile-command.c).
1487 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
1488 (all-built-dso): Define.
1489 (check-textrel.out, check-execstack.out): Depend on it.
1491 * configure.in: Don't override --enable-multi-arch.
1493 2011-01-15 Ulrich Drepper <drepper@gmail.com>
1496 * nscd/hstcache.c (tryagain): Define.
1497 (cache_addhst): Return tryagain not notfound for temporary errors.
1498 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
1501 2011-01-14 Ulrich Drepper <drepper@gmail.com>
1504 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
1505 to make the syscall.
1506 * sysdeps/unix/sysv/linux/setgroups.c: New file.
1509 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
1510 and fall back to matching as normal character if the string ends before
1511 the matching ']' is found. This is what POSIX requires.
1512 * posix/testfnm.c: Adjust test result.
1513 * posix/globtest.sh: Adjust test result. Add new test.
1514 * posix/tst-fnmatch.input: Likewise.
1515 * posix/tst-fnmatch2.c: Add new test.
1517 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
1519 * elf/Makefile (check-execstack): Revert last change. Depend on
1521 (check-execstack.h): New target.
1522 (generated): Add check-execstack.h.
1523 * elf/check-execstack.c: Include "check-execstack.h".
1524 (main): Revert last change.
1525 (handle_file): Return zero if GNU_STACK is absent and
1526 DEFAULT_STACK_PERMS doesn't include PF_X.
1528 2011-01-13 Ulrich Drepper <drepper@gmail.com>
1530 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
1531 in child fails because the descriptor is already closed.
1532 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
1533 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
1534 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1537 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
1541 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
1542 temporary buffer used to handle multi lookups locally.
1543 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
1545 2011-01-12 Ulrich Drepper <drepper@gmail.com>
1547 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
1550 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
1552 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
1555 2011-01-12 Ulrich Drepper <drepper@gmail.com>
1558 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
1559 characters. When rounding increased number of integer digits recompute
1561 * stdio-common/tst-grouping.c: New file.
1562 * stdio-common/Makefile: Add rules to build and run tst-grouping.
1564 2011-01-09 Ulrich Drepper <drepper@gmail.com>
1566 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
1567 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
1569 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
1571 * bits/select.h: Likewise.
1573 2011-01-08 Ulrich Drepper <drepper@gmail.com>
1575 * po/ja.po: Update from translation team.
1577 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
1580 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
1581 implementation just like for lxstat, fxstatat, et al.
1583 2010-12-27 Jim Meyering <meyering@redhat.com>
1586 * posix/regexec.c (build_trtable): Return failure indication upon
1587 calloc failure. Otherwise, re_search_internal could infloop on OOM.
1589 2010-12-25 Ulrich Drepper <drepper@gmail.com>
1592 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1593 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1594 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
1595 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
1598 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
1601 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
1602 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
1604 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
1606 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
1607 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
1608 script has SORT_BY_INIT_PRIORITY.
1609 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
1610 NO_CTORS_DTORS_SECTIONS is defined.
1611 * elf/soinit.c: Likewise.
1612 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
1613 NO_CTORS_DTORS_SECTIONS is defined.
1614 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1615 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
1616 * sysdeps/sh/init-first.c: Likewise.
1617 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1619 2010-12-24 Ulrich Drepper <drepper@gmail.com>
1621 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
1622 always use the slow path.
1624 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
1626 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
1627 similar rule which adds the sysdep directories to the header search in
1628 order to pick up the correct platform stackinfo.h.
1629 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
1630 perform test if it is, otherwise return successfully without testing.
1631 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
1632 DEFAULT_STACK_PERMS define in stackinfo.h.
1633 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
1634 defined in stackinfo.h.
1635 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
1636 DEFAULT_STACK_PERMS defined in stackinfo.h.
1637 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1638 * sysdeps/ia64/stackinfo.h: Likewise.
1639 * sysdeps/s390/stackinfo.h: Likewise.
1640 * sysdeps/sh/stackinfo.h: Likewise.
1641 * sysdeps/sparc/stackinfo.h: Likewise.
1642 * sysdeps/x86_64/stackinfo.h: Likewise.
1643 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
1644 PF_X for powerpc64. Retain PF_X for powerpc32.
1646 2010-12-19 Ulrich Drepper <drepper@gmail.com>
1648 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
1650 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
1651 GETDENTS_64BIT_ALIGNED.
1653 2010-12-14 Ulrich Drepper <dreper@gmail.com>
1655 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
1657 2010-12-10 Andreas Schwab <schwab@redhat.com>
1659 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
1662 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
1663 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
1665 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
1666 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
1668 2010-12-09 Ulrich Drepper <drepper@gmail.com>
1671 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
1674 2010-12-09 Jakub Jelinek <jakub@redhat.com>
1676 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
1678 2010-12-03 Ulrich Drepper <drepper@gmail.com>
1680 * po/it.po: Update from translation team.
1682 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
1684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
1687 2010-11-30 Ulrich Drepper <drepper@gmail.com>
1689 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
1691 2010-11-24 Andreas Schwab <schwab@redhat.com>
1693 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
1695 (gaih_getanswer_slice): Likewise.
1697 2010-10-20 Jakub Jelinek <jakub@redhat.com>
1699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
1701 2010-05-31 Petr Baudis <pasky@suse.cz>
1704 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
1705 silently even in the chroot mode.
1707 2010-11-22 Ulrich Drepper <drepper@gmail.com>
1709 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
1710 last patch a bit. Pretty printing
1712 2010-05-31 Petr Baudis <pasky@suse.cz>
1715 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
1716 initialization of skip_initgroups_dyn.
1718 2010-11-19 Ulrich Drepper <drepper@gmail.com>
1720 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
1721 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1723 2010-11-16 Ulrich Drepper <drepper@gmail.com>
1725 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
1727 2010-11-11 Andreas Schwab <schwab@redhat.com>
1729 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
1730 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
1731 (tst-fnmatch-ENV): Set MALLOC_TRACE.
1732 ($(objpfx)tst-fnmatch-mem): New rule.
1733 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
1734 * posix/tst-fnmatch.c (main): Call mtrace.
1736 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
1738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1739 Support Intel processor model 6 and model 0x2c.
1741 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
1743 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
1746 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
1749 * string/test-strncasecmp.c (check_result): New function.
1750 (do_one_test): Use it.
1751 (check1): New function.
1752 (test_main): Use it.
1753 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
1754 Support strcasecmp and strncasecmp.
1756 2010-11-08 Ulrich Drepper <drepper@gmail.com>
1759 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
1760 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1762 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
1764 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
1766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1768 * sysdeps/x86_64/multiarch/bzero.S: New file.
1769 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
1770 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
1771 * sysdeps/x86_64/multiarch/memset.S: New file.
1772 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
1773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1774 Set bit_Prefer_SSE_for_memop for Intel processors.
1775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1777 (index_Prefer_SSE_for_memop): Define.
1778 (HAS_PREFER_SSE_FOR_MEMOP): Define.
1780 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
1782 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1783 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1785 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
1788 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1789 (__x86_64_raw_data_cache_size_half): Likewise.
1790 (__x86_64_raw_shared_cache_size): Likewise.
1791 (__x86_64_raw_shared_cache_size_half): Likewise.
1793 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1794 (__x86_64_raw_data_cache_size_half): Likewise.
1795 (__x86_64_raw_shared_cache_size): Likewise.
1796 (__x86_64_raw_shared_cache_size_half): Likewise.
1797 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1798 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1799 and __x86_64_raw_shared_cache_size_half. Round
1800 __x86_64_data_cache_size_half, __x86_64_data_cache_size
1801 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1802 to multiple of 256 bytes.
1804 2010-11-03 Ulrich Drepper <drepper@gmail.com>
1807 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1808 of inacessible symlinks. Verify result of symlink before returning it.
1809 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1810 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1812 2010-10-28 Erich Ritz <erichritz@gmail.com>
1814 * math/math.h (isinf): Fix typo in comment.
1816 2010-11-01 Ulrich Drepper <drepper@gmail.com>
1818 * po/da.po: Update from translation team.
1820 2010-10-26 Ulrich Drepper <drepper@gmail.com>
1822 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1823 is added to the list.
1825 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1826 Ulrich Drepper <drepper@gmail.com>
1828 * elf/dl-object.c (_dl_new_object): Don't append the new object to
1829 the global list here. Move code to...
1830 (_dl_add_to_namespace_list): ...here. New function.
1831 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1832 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1833 * elf/dl-load.c (lose): Don't remove the element from the list.
1834 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1835 (_dl_map_object): Likewise.
1837 2010-10-25 Ulrich Drepper <drepper@gmail.com>
1840 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
1841 into all bytes of SSE register.
1842 Patch by Richard Li <richardpku@gmail.com>.
1844 2010-10-24 Ulrich Drepper <drepper@gmail.com>
1847 * malloc/malloc.c (_int_free): Fill correct number of bytes when
1850 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
1852 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1853 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1854 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1855 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1860 2010-10-22 Andreas Schwab <schwab@redhat.com>
1862 * include/dlfcn.h (__RTLD_SECURE): Define.
1863 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
1864 mode & __RTLD_SECURE instead.
1865 (open_path): Rename preloaded parameter to secure.
1866 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1867 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1868 * elf/dl-deps.c (openaux): Likewise.
1869 * elf/rtld.c (struct map_args): Remove is_preloaded.
1870 (map_doit): Don't use it.
1871 (dl_main): Likewise.
1872 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1873 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1875 2010-09-09 Andreas Schwab <schwab@redhat.com>
1877 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1878 (sysd-rules-targets): Remove duplicates.
1879 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1880 rtld-%.$o dependency.
1882 2010-10-18 Andreas Schwab <schwab@redhat.com>
1884 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1885 _dl_map_object do it.
1887 2010-10-19 Ulrich Drepper <drepper@gmail.com>
1889 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1890 fast fma builtins, define the macros in the C99 standard.
1891 (FP_FAST_FMAF): Likewise.
1892 (FP_FAST_FMAL): Likewise.
1893 * sysdeps/x86_64/bits/mathdef.h: Likewise.
1895 * bits/mathdef.h: Update copyright year.
1896 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1898 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
1900 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1901 builtins, define the macros in the C99 standard.
1902 (FP_FAST_FMAF): Likewise.
1903 (FP_FAST_FMAL): Likewise.
1904 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1906 (FP_FAST_FMAF): Likewise.
1908 2010-10-15 Jakub Jelinek <jakub@redhat.com>
1911 * math/libm-test.inc (fma_test): Some new testcases.
1912 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1913 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1914 y and infinite z. Do multiplication by C already in long double.
1915 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1917 y and infinite z. Do bitwise or of inexact bit into u.d.
1918 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1919 * sysdeps/i386/fpu/s_fmaf.S: Removed.
1920 * sysdeps/i386/fpu/s_fma.S: Removed.
1921 * sysdeps/i386/fpu/s_fmal.S: Removed.
1923 2010-10-16 Jakub Jelinek <jakub@redhat.com>
1926 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1928 computation is not scheduled after fetestexcept. Fix value
1929 of minimum denormal long double.
1931 2010-10-14 Jakub Jelinek <jakub@redhat.com>
1934 * math/libm-test.inc (fma_test): Add some more tests.
1935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1938 2010-10-15 Andreas Schwab <schwab@redhat.com>
1940 * scripts/data/localplt-s390-linux-gnu.data: New file.
1941 * scripts/data/localplt-s390x-linux-gnu.data: New file.
1943 2010-10-13 Jakub Jelinek <jakub@redhat.com>
1946 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1947 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1949 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1951 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1953 if one of x and y is very large and the other is subnormal.
1954 * sysdeps/s390/fpu/s_fmaf.c: New file.
1955 * sysdeps/s390/fpu/s_fma.c: New file.
1956 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1957 * sysdeps/powerpc/fpu/s_fma.S: New file.
1958 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1959 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1960 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1962 2010-10-12 Jakub Jelinek <jakub@redhat.com>
1965 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1967 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1968 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1969 * sysdeps/i386/i686/multiarch/s_fma.c: Include
1970 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1971 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1972 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1975 2010-10-12 Ulrich Drepper <drepper@redhat.com>
1978 * posix/regcomp.c (parse_branch): One more memory leak plugged.
1979 * posix/bug-regex31.input: Add test case.
1981 2010-10-11 Ulrich Drepper <drepper@gmail.com>
1983 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1984 * posix/bug-regex31.input: New file.
1987 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1988 (parse_sub_exp): Fix last change, use postorder.
1990 * posix/bug-regex31.c: New file.
1991 * posix/Makefile: Add rules to build and run bug-regex31.
1993 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1996 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1999 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
2000 to have entries in sys_siglist.
2003 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
2006 2010-10-07 Jakub Jelinek <jakub@redhat.com>
2009 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
2010 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
2011 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
2012 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
2013 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2014 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
2015 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
2016 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
2017 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
2018 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
2019 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
2020 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
2021 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2022 * math/ftestexcept.c (fetestexcept): Likewise.
2023 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
2024 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2025 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2026 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
2027 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
2028 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
2029 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2031 2010-10-11 Ulrich Drepper <drepper@gmail.com>
2034 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
2037 2010-10-06 Ulrich Drepper <drepper@gmail.com>
2039 * string/bug-strstr1.c: New file.
2040 * string/Makefile: Add rules to build and run bug-strstr1.
2042 2010-10-05 Eric Blake <eblake@redhat.com>
2045 * string/str-two-way.h (two_way_long_needle): Always clear memory
2046 when skipping input due to the shift table.
2048 2010-10-03 Ulrich Drepper <drepper@gmail.com>
2051 * malloc/mcheck.c: Handle large requests.
2054 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
2055 for strncmp and strncasecmp.
2056 * string/stratcliff.c: Add tests for strcmp and strncmp.
2057 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
2059 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2061 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
2064 2010-09-30 Andreas Jaeger <aj@suse.de>
2066 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
2067 (CGROUP_SUPER_MAGIC): Define.
2068 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2069 Handle btrfs and cgroup file systems.
2070 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2073 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
2075 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
2076 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
2078 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2081 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
2082 trying to locate the ELF header.
2084 2010-09-27 Andreas Schwab <schwab@redhat.com>
2087 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
2088 Mask out sign-bit copies when constructing f_fsid.
2090 2010-09-24 Petr Baudis <pasky@suse.cz>
2092 * debug/stack_chk_fail_local.c: Add missing licence exception.
2093 * debug/warning-nop.c: Likewise.
2095 2010-09-15 Joseph Myers <joseph@codesourcery.com>
2097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
2098 implementing getdents64 using getdents syscall, set d_type if
2099 __ASSUME_GETDENTS32_D_TYPE.
2101 2010-09-16 Andreas Schwab <schwab@redhat.com>
2103 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
2104 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
2106 2010-09-21 Ulrich Drepper <drepper@redhat.com>
2109 * posix/unistd.h: Undo change of feature selection for ftruncate from
2112 2010-09-20 Ulrich Drepper <drepper@redhat.com>
2114 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
2117 2010-09-20 Andreas Schwab <schwab@redhat.com>
2119 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2121 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2123 2010-09-14 Andreas Schwab <schwab@redhat.com>
2125 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
2126 variables after CHECK_SP call.
2127 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
2129 2010-09-13 Andreas Schwab <schwab@redhat.com>
2130 Ulrich Drepper <drepper@redhat.com>
2132 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
2133 re-relocationg ld.so.
2134 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
2135 _dl_init_paths call.
2136 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
2139 2010-09-14 Ulrich Drepper <drepper@redhat.com>
2141 * resolv/res_init.c (__res_vinit): Count the default server we added.
2143 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
2144 Ulrich Drepper <drepper@redhat.com>
2147 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2148 (____longjmp_chk): Use %ebx for saving value across system call.
2151 2010-09-06 Andreas Schwab <schwab@redhat.com>
2153 * manual/Makefile: Don't mix pattern rules with normal rules.
2155 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
2157 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
2159 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2160 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2161 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2162 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2166 2010-09-04 Ulrich Drepper <drepper@redhat.com>
2169 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
2170 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
2172 2010-09-02 Ulrich Drepper <drepper@redhat.com>
2174 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
2175 * sysdeps/x86_64/addmul_1.S: Likewise.
2176 * sysdeps/x86_64/lshift.S: Likewise.
2177 * sysdeps/x86_64/mul_1.S: Likewise.
2178 * sysdeps/x86_64/rshift.S: Likewise.
2179 * sysdeps/x86_64/sub_n.S: Likewise.
2180 * sysdeps/x86_64/submul_1.S: Likewise.
2182 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2184 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
2185 Define __sched_param instead of SCHED_* and sched_param when
2186 <bits/sched.h> is included with __need_schedparam defined.
2187 * bits/sched.h [__need_schedparam]
2188 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
2189 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
2190 (__defined_schedparam): Define to 1.
2191 (__sched_param): New structure, identical to sched_param.
2192 (__need_schedparam): Undefine.
2194 2010-08-31 Mike Frysinger <vapier@gentoo.org>
2196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
2197 (epoll_create1): Declare.
2199 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
2201 2010-08-31 Andreas Schwab <schwab@redhat.com>
2204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
2205 shifting retval into place.
2207 2010-09-01 Ulrich Drepper <drepper@redhat.com>
2209 * nis/rpcsvc/nis.h: Update copyright notice.
2210 * nis/rpcsvc/nis.x: Likewise.
2211 * nis/rpcsvc/nis_callback.h: Likewise.
2212 * nis/rpcsvc/nis_callback.x: Likewise.
2213 * nis/rpcsvc/nis_object.x: Likewise.
2214 * nis/rpcsvc/nis_tags.h: Likewise.
2215 * nis/rpcsvc/yp.h: Likewise.
2216 * nis/rpcsvc/yp.x: Likewise.
2217 * nis/rpcsvc/ypupd.h: Likewise.
2218 * nis/yp_xdr.c: Likewise.
2219 * nis/ypupdate_xdr.c: Likewise.
2221 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
2222 mainly the body of pmap_getport. Add parameters to specify timeouts.
2223 (pmap_getport): Use __libc_rpc_getport.
2224 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
2225 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
2226 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
2228 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
2233 2010-08-27 Roland McGrath <roland@redhat.com>
2235 * sysdeps/i386/i686/multiarch/Makefile
2236 (CFLAGS-varshift.c): New variable.
2238 2010-08-27 Ulrich Drepper <drepper@redhat.com>
2240 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
2241 * sysdeps/i386/i686/multiarch/varshift.c: New file.
2243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
2245 * sysdeps/x86_64/strlen.S: Minimal code improvement.
2247 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
2249 * sysdeps/x86_64/strlen.S: Unroll the loop.
2250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2251 strlen-sse2 strlen-sse2-bsf.
2252 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
2253 __strlen_no_bsf if bit_Slow_BSF is set.
2254 (__strlen_sse42): Removed.
2255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
2256 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
2258 2010-08-25 Roland McGrath <roland@redhat.com>
2260 * sysdeps/x86_64/multiarch/varshift.S: File removed.
2261 * sysdeps/x86_64/multiarch/varshift.c: New file.
2262 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
2263 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
2264 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
2265 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2267 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
2269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2270 strlen-sse2 strlen-sse2-bsf.
2271 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
2272 __strlen_sse2_bsf if bit_Slow_BSF is unset.
2273 (__strlen_sse2): Removed.
2274 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
2275 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
2276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2277 bit_Slow_BSF for Atom.
2278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
2279 (index_Slow_BSF): Define.
2280 (HAS_SLOW_BSF): Define.
2282 2010-08-25 Ulrich Drepper <drepper@redhat.com>
2285 * resolv/res_init.c (__res_vinit): When no server address at all
2286 is given default to loopback.
2288 2010-08-24 Roland McGrath <roland@redhat.com>
2290 * configure.in: Remove config-name.h generation.
2291 * configure: Regenerated.
2292 * config-name.in: File removed.
2293 * scripts/config-uname.sh: New file.
2294 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
2295 ($(objdir)config-name.h): New target.
2297 * sunrpc/rpc_parse.h: Avoid nested comment.
2299 2010-08-24 Richard Henderson <rth@redhat.com>
2300 Ulrich Drepper <drepper@redhat.com>
2301 H.J. Lu <hongjiu.lu@intel.com>
2303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
2304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
2305 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
2306 Replace _mm_srli_si128 with __m128i_shift_right. Replace
2307 _mm_alignr_epi8 with _mm_loadu_si128.
2308 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
2309 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
2310 (__m128i_shift_right): Removed.
2311 * sysdeps/i386/i686/multiarch/varshift.h: New file.
2312 * sysdeps/i386/i686/multiarch/varshift.S: New file.
2313 * sysdeps/x86_64/multiarch/varshift.h: New file.
2314 * sysdeps/x86_64/multiarch/varshift.S: New file.
2316 2010-08-21 Mike Frysinger <vapier@gentoo.org>
2318 * configure.in: Move assembler checks to before sysdep dir checking.
2320 2010-08-20 Petr Baudis <pasky@suse.cz>
2322 * LICENSES: Sync the sunrpc license.
2324 2010-08-19 Ulrich Drepper <drepper@redhat.com>
2326 * sunrpc/auth_des.c: Update copyright notice once again.
2327 * sunrpc/auth_none.c: Likewise.
2328 * sunrpc/auth_unix.c: Likewise.
2329 * sunrpc/authdes_prot.c: Likewise.
2330 * sunrpc/authuxprot.c: Likewise.
2331 * sunrpc/bindrsvprt.c: Likewise.
2332 * sunrpc/clnt_gen.c: Likewise.
2333 * sunrpc/clnt_perr.c: Likewise.
2334 * sunrpc/clnt_raw.c: Likewise.
2335 * sunrpc/clnt_simp.c: Likewise.
2336 * sunrpc/clnt_tcp.c: Likewise.
2337 * sunrpc/clnt_udp.c: Likewise.
2338 * sunrpc/clnt_unix.c: Likewise.
2339 * sunrpc/des_crypt.c: Likewise.
2340 * sunrpc/des_soft.c: Likewise.
2341 * sunrpc/get_myaddr.c: Likewise.
2342 * sunrpc/getrpcport.c: Likewise.
2343 * sunrpc/key_call.c: Likewise.
2344 * sunrpc/key_prot.c: Likewise.
2345 * sunrpc/openchild.c: Likewise.
2346 * sunrpc/pm_getmaps.c: Likewise.
2347 * sunrpc/pm_getport.c: Likewise.
2348 * sunrpc/pmap_clnt.c: Likewise.
2349 * sunrpc/pmap_prot.c: Likewise.
2350 * sunrpc/pmap_prot2.c: Likewise.
2351 * sunrpc/pmap_rmt.c: Likewise.
2352 * sunrpc/rpc/auth.h: Likewise.
2353 * sunrpc/rpc/auth_unix.h: Likewise.
2354 * sunrpc/rpc/clnt.h: Likewise.
2355 * sunrpc/rpc/des_crypt.h: Likewise.
2356 * sunrpc/rpc/key_prot.h: Likewise.
2357 * sunrpc/rpc/netdb.h: Likewise.
2358 * sunrpc/rpc/pmap_clnt.h: Likewise.
2359 * sunrpc/rpc/pmap_prot.h: Likewise.
2360 * sunrpc/rpc/pmap_rmt.h: Likewise.
2361 * sunrpc/rpc/rpc.h: Likewise.
2362 * sunrpc/rpc/rpc_des.h: Likewise.
2363 * sunrpc/rpc/rpc_msg.h: Likewise.
2364 * sunrpc/rpc/svc.h: Likewise.
2365 * sunrpc/rpc/svc_auth.h: Likewise.
2366 * sunrpc/rpc/types.h: Likewise.
2367 * sunrpc/rpc/xdr.h: Likewise.
2368 * sunrpc/rpc_clntout.c: Likewise.
2369 * sunrpc/rpc_cmsg.c: Likewise.
2370 * sunrpc/rpc_common.c: Likewise.
2371 * sunrpc/rpc_cout.c: Likewise.
2372 * sunrpc/rpc_dtable.c: Likewise.
2373 * sunrpc/rpc_hout.c: Likewise.
2374 * sunrpc/rpc_main.c: Likewise.
2375 * sunrpc/rpc_parse.c: Likewise.
2376 * sunrpc/rpc_parse.h: Likewise.
2377 * sunrpc/rpc_prot.c: Likewise.
2378 * sunrpc/rpc_sample.c: Likewise.
2379 * sunrpc/rpc_scan.c: Likewise.
2380 * sunrpc/rpc_scan.h: Likewise.
2381 * sunrpc/rpc_svcout.c: Likewise.
2382 * sunrpc/rpc_tblout.c: Likewise.
2383 * sunrpc/rpc_util.c: Likewise.
2384 * sunrpc/rpc_util.h: Likewise.
2385 * sunrpc/rpcinfo.c: Likewise.
2386 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
2387 * sunrpc/rpcsvc/key_prot.x: Likewise.
2388 * sunrpc/rpcsvc/klm_prot.x: Likewise.
2389 * sunrpc/rpcsvc/mount.x: Likewise.
2390 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
2391 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
2392 * sunrpc/rpcsvc/rex.x: Likewise.
2393 * sunrpc/rpcsvc/rstat.x: Likewise.
2394 * sunrpc/rpcsvc/rusers.x: Likewise.
2395 * sunrpc/rpcsvc/sm_inter.x: Likewise.
2396 * sunrpc/rpcsvc/spray.x: Likewise.
2397 * sunrpc/rpcsvc/yppasswd.x: Likewise.
2398 * sunrpc/rtime.c: Likewise.
2399 * sunrpc/svc.c: Likewise.
2400 * sunrpc/svc_auth.c: Likewise.
2401 * sunrpc/svc_authux.c: Likewise.
2402 * sunrpc/svc_raw.c: Likewise.
2403 * sunrpc/svc_run.c: Likewise.
2404 * sunrpc/svc_simple.c: Likewise.
2405 * sunrpc/svc_tcp.c: Likewise.
2406 * sunrpc/svc_udp.c: Likewise.
2407 * sunrpc/svc_unix.c: Likewise.
2408 * sunrpc/svcauth_des.c: Likewise.
2409 * sunrpc/xcrypt.c: Likewise.
2410 * sunrpc/xdr.c: Likewise.
2411 * sunrpc/xdr_array.c: Likewise.
2412 * sunrpc/xdr_float.c: Likewise.
2413 * sunrpc/xdr_mem.c: Likewise.
2414 * sunrpc/xdr_rec.c: Likewise.
2415 * sunrpc/xdr_ref.c: Likewise.
2416 * sunrpc/xdr_sizeof.c: Likewise.
2417 * sunrpc/xdr_stdio.c: Likewise.
2419 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
2422 2010-08-19 Andreas Schwab <schwab@redhat.com>
2424 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
2426 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
2428 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
2429 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
2430 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
2431 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
2432 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
2433 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
2434 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
2435 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
2436 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
2437 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
2438 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
2439 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
2440 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
2441 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
2443 2010-07-26 Anton Blanchard <anton@samba.org>
2445 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
2446 * malloc/arena.c (heap_trim): Likewise.
2448 2010-08-16 Ulrich Drepper <drepper@redhat.com>
2450 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
2452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
2453 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
2455 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
2457 * sysdeps/i386/elf/Makefile: New file.
2459 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2461 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
2463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2466 2010-08-15 Ulrich Drepper <drepper@redhat.com>
2468 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
2470 * sysdeps/multiarch/strcmp.S: Likewise.
2472 2010-08-14 Ulrich Drepper <drepper@redhat.com>
2474 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2475 strncase_l-nonascii.
2476 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2477 Add strncase_l-ssse3.
2478 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
2479 * sysdeps/x86_64/strcmp.S: Likewise.
2480 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
2481 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
2482 * sysdeps/x86_64/strncase.S: New file.
2483 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
2484 * sysdeps/x86_64/strncase_l.S: New file.
2485 * string/Makefile (strop-tests): Add strncasecmp.
2486 * string/test-strncasecmp.c: New file.
2488 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
2491 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
2492 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
2494 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2496 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
2498 2010-08-12 Ulrich Drepper <drepper@redhat.com>
2500 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
2501 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2502 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2504 2010-05-01 Alan Modra <amodra@gmail.com>
2506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
2507 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
2508 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
2509 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
2510 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
2511 tidying. Don't tail-call __sigjmp_save for static lib.
2512 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
2514 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
2515 (CALL_MCOUNT): Add eh info, and nop after bl.
2516 (TAIL_CALL_SYSCALL_ERROR): New macro.
2517 (PSEUDO_RET): Use it.
2518 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2519 Correct save location of integer regs and cr.
2520 (_dl_profile_resolve): Correct cr save location. Delete nops
2521 after bl when SHARED. Reduce cfi size a little by better
2522 placement of cfi directives.
2523 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
2524 make a stack frame. Instead use parm save area as a temp.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
2526 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2528 Don't make a stack frame for parent, use parm save area.
2529 Increase child stack frame to 112 bytes. Don't save unused reg,
2530 and adjust reg usage. Set up cfi on error recovery and
2531 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2533 (__makecontext): Add dummy nop after jump to exit.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
2535 Use correct parm save area and cr save, reduce stack frame.
2536 Correct cfi for possible PSEUDO_RET frame setup.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
2538 Branch to local label emitted by PSEUDO_RET rather than
2541 2010-08-12 Andreas Schwab <schwab@redhat.com>
2544 * locale/programs/locale.c (print_assignment): New function.
2545 (show_locale_vars): Use it.
2547 2010-08-11 Ulrich Drepper <drepper@redhat.com>
2549 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
2551 (struct statfs64): Likewise.
2552 (_STATFS_F_FLAGS): Define.
2553 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
2554 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2555 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
2556 (ST_VALID): Define locally.
2557 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
2558 __statvfs_getflags, use the provided value.
2559 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2560 __ASSUME_STATFS_F_FLAGS.
2562 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
2564 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2566 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
2567 fanotify_mask for GLIBC_2.13.
2568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
2569 fanotify_init and fanotify_mark.
2570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2571 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
2573 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
2575 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
2576 prlimit64 for GLIBC_2.13.
2577 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
2579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2583 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
2584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
2585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
2587 * sysdeps/unix/sysv/linux/prlimit.c: New file.
2590 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
2591 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
2593 * nss/Makefile: Add rules to build and run tst-nss-test1.
2594 * shlib-versions: Add entry for libnss_test1.
2595 * nss/nss_test1.c: New file.
2596 * nss/tst-nss-test1.c: New file.
2598 * nss/nsswitch.c (__nss_database_custom): Define new variable.
2599 (__nss_configure_lookup): Set appropriate entry in
2600 __nss_configure_lookup to true.
2601 * nss/nsswitch.h: Define enum with indeces of databases in
2602 databases and __nss_database_custom arrays. Declare
2603 __nss_database_custom.
2604 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
2605 to avoid using nscd when custom rules are installed.
2606 * nss/getXXbyYY_r.c: Likewise.
2607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2609 * nss/nss_files/files-parse.c: Whitespace fixes.
2611 2010-08-09 Ulrich Drepper <drepper@redhat.com>
2614 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
2615 * posix/fnmatch_loop.c: Likewise.
2617 2010-07-17 Andi Kleen <ak@linux.intel.com>
2619 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
2620 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
2621 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
2622 * Versions.def [GLIBC_2.13]: Add.
2624 2010-08-06 Ulrich Drepper <drepper@redhat.com>
2626 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2627 Also fail if tpwd after pwuid call is NULL.
2629 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2631 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
2632 when converting to ms.
2634 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2636 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
2637 EOPNOTSUPP errors with ENOTTY.
2638 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
2639 EOPNOTSUPP errors with ENOTTY.
2641 2010-07-31 Ulrich Drepper <drepper@redhat.com>
2643 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2644 Add strcasecmp_l-ssse3.
2645 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
2647 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
2648 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
2649 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
2651 2010-07-30 Ulrich Drepper <drepper@redhat.com>
2653 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
2655 * string/Makefile (strop-tests): Add strcasecmp.
2656 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2657 strcasecmp_l-nonascii.
2658 (gen-as-const-headers): Add locale-defines.sym.
2659 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
2660 * sysdeps/x86_64/strcasecmp.S: New file.
2661 * sysdeps/x86_64/strcasecmp_l.S: New file.
2662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
2663 * sysdeps/x86_64/locale-defines.sym: New file.
2664 * string/test-strcasecmp.c: New file.
2666 * string/test-strcasestr.c: Test both ends of the range of characters.
2667 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
2669 2010-07-29 Roland McGrath <roland@redhat.com>
2672 * manual/locale.texi (Yes-or-No Questions): Fix example code.
2674 2010-07-27 Ulrich Drepper <drepper@redhat.com>
2676 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
2679 2010-07-27 Andreas Schwab <schwab@redhat.com>
2681 * manual/memory.texi (Malloc Tunable Parameters): Document
2684 2010-07-26 Roland McGrath <roland@redhat.com>
2687 * configure.in (-fgnu89-inline check): Set and substitute
2688 gnu89_inline, not libc_cv_gnu89_inline.
2689 * configure: Regenerated.
2690 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
2692 2010-07-26 Ulrich Drepper <drepper@redhat.com>
2694 * string/test-strnlen.c: New file.
2695 * string/Makefile (strop-tests): Add strnlen.
2696 * string/tester.c (test_strnlen): Add a few more test cases.
2697 * string/tst-strlen.c: Better error reporting.
2699 * sysdeps/x86_64/strnlen.S: New file.
2701 2010-07-24 Ulrich Drepper <drepper@redhat.com>
2703 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
2704 lower-latency instructions.
2706 2010-07-23 Ulrich Drepper <drepper@redhat.com>
2708 * string/test-strcasestr.c: New file.
2709 * string/test-strstr.c: New file.
2710 * string/Makefile (strop-tests): Add strstr and strcasestr.
2711 * string/str-two-way.h: Don't undefine MAX.
2712 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
2714 2010-07-21 Andreas Schwab <schwab@redhat.com>
2716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2717 strcasestr-nonascii.
2718 (CFLAGS-strcasestr-nonascii.c): Define.
2719 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
2720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
2721 Remove unused attribute.
2723 2010-07-20 Roland McGrath <roland@redhat.com>
2725 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
2726 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
2727 ld.so.cache was broken. With it, there is no way to disable dsocaps
2728 like LD_HWCAP_MASK can disable hwcaps.
2730 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2732 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
2734 2010-07-16 Ulrich Drepper <drepper@redhat.com>
2736 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
2738 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
2739 __strcasestr_sse42_nonascii.
2740 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
2741 strcasestr-nonascii.c.
2742 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
2744 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
2746 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
2747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
2748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
2749 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
2751 2010-07-09 Ulrich Drepper <drepper@redhat.com>
2753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
2756 2010-07-06 Andreas Schwab <schwab@redhat.com>
2759 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
2762 2010-07-06 Ulrich Drepper <drepper@redhat.com>
2764 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
2765 _PC_PIPE_BUF using F_GETPIPE_SZ.
2767 2010-07-05 Roland McGrath <roland@redhat.com>
2769 * manual/arith.texi (Rounding Functions): Fix rint description
2770 implicit in round description.
2772 2010-07-02 Ulrich Drepper <drepper@redhat.com>
2774 * elf/Makefile: Fix linking for a few tests to make recent linker
2777 2010-06-30 Andreas Schwab <schwab@redhat.com>
2779 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2780 $(common-objpfx)libc_nonshared.a.
2782 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
2784 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2785 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2786 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2787 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2788 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2789 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2790 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2791 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2806 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2807 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2808 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2809 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2810 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2811 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2812 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2813 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2814 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2815 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2816 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2817 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2833 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
2835 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2836 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
2837 * string/memmove.c (memmove): Renamed to ...
2838 (MEMMOVE): ...this. Default to memmove.
2839 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2840 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
2842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2843 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
2844 mempcpy-ssse3-back memmove-ssse3-back.
2845 * sysdeps/x86_64/multiarch/bcopy.S: New file .
2846 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
2847 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
2848 * sysdeps/x86_64/multiarch/memcpy.S: New file.
2849 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2850 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2851 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2852 * sysdeps/x86_64/multiarch/memmove.c: New file.
2853 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2854 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2855 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2856 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2857 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2858 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2860 (index_Fast_Copy_Backward): Define.
2861 (HAS_ARCH_FEATURE): Define.
2862 (HAS_FAST_REP_STRING): Define.
2863 (HAS_FAST_COPY_BACKWARD): Define.
2865 2010-06-21 Andreas Schwab <schwab@redhat.com>
2867 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2868 Restore proper fallback handling.
2870 2010-06-19 Ulrich Drepper <drepper@redhat.com>
2873 * posix/group_member.c (__group_member): Correct checking loop.
2875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2876 OOM in getpwuid_r correctly. Return error number when the caller
2877 should return, otherwise -1.
2878 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2879 call returning > 0 value.
2880 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2882 2010-06-07 Andreas Schwab <schwab@redhat.com>
2884 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2885 libc_nonshared.a from targets in modules-names.
2887 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
2889 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2892 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
2894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2895 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2899 2010-06-02 Andreas Schwab <schwab@redhat.com>
2901 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2903 2010-06-14 Ulrich Drepper <drepper@redhat.com>
2905 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2907 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2912 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2914 2010-06-14 Roland McGrath <roland@redhat.com>
2916 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2918 2010-06-07 Jakub Jelinek <jakub@redhat.com>
2920 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2921 __REDIRECT followed by __THROW.
2922 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2923 * posix/getopt.h (getopt): Likewise.
2925 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2927 * hurd/lookup-at.c (__file_name_lookup_at): Accept
2928 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
2929 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2931 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2932 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2934 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
2936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2938 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
2941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2942 Properly check family and model.
2944 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
2946 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2948 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
2950 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2952 2010-05-21 Ulrich Drepper <drepper@redhat.com>
2954 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2957 2010-05-19 Andreas Schwab <schwab@redhat.com>
2959 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2962 2010-05-21 Andreas Schwab <schwab@redhat.com>
2964 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2965 and internal_recvmmsg.
2966 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2967 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2968 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2969 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2971 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2972 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2973 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2975 2010-05-20 Andreas Schwab <schwab@redhat.com>
2977 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2979 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
2981 POWER7 optimizations.
2982 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2983 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2985 2010-05-19 Ulrich Drepper <drepper@redhat.com>
2987 * version.h: Update for 2.13 development version.
2989 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
2991 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2992 exceptions. Return 0.
2994 2010-05-07 Roland McGrath <roland@redhat.com>
2996 * elf/ldconfig.c (main): Add a const.
2998 2010-05-06 Ulrich Drepper <drepper@redhat.com>
3000 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
3001 (args_options): Add no-idn option.
3002 (ahosts_keys_int): Add idn_flags to ai_flags.
3003 (parse_option): Handle 'i' option to clear idn_flags.
3005 * malloc/malloc.c (_int_free): Possible race in the most recently
3006 added check. Only act on the data if no current modification
3009 See ChangeLog.17 for earlier changes.