diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
commit | 92c3af3c140f671ea49c751368d17df2e10d0eeb (patch) | |
tree | d9528c7f8aff5b568f696bbbaa000a8480950a9e /ChangeLog.17 | |
parent | 00cdcf5a4110f7ac68651f5662693c82f7bffaca (diff) | |
download | glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.zip glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.gz glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.bz2 |
Rotate ChangeLog
Diffstat (limited to 'ChangeLog.17')
-rw-r--r-- | ChangeLog.17 | 25487 |
1 files changed, 11818 insertions, 13669 deletions
diff --git a/ChangeLog.17 b/ChangeLog.17 index 92f9739..292d3d1 100644 --- a/ChangeLog.17 +++ b/ChangeLog.17 @@ -1,3471 +1,1457 @@ -2010-05-04 Andreas Schwab <schwab@redhat.com> - - * posix/regexec.c (find_collation_sequence_value): Fix skipping - the wide char sequence of the collating element. - -2010-05-05 Ulrich Drepper <drepper@redhat.com> - - [BZ #11571] - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle - too small buffers according to the standard. - - * sysdeps/unix/sysv/linux/kernel-features.h: Alpha doesn't have to be - handled here anymore. - Patch mostly by Matt Turner <mattst88@gmail.com>. - -2010-05-03 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump for 2.12 release. - * include/features.h (__GLIBC_MINOR__): Bump to 12. - - [BZ #11149] - * elf/ldconfig.c (search_dir): Fix handling of symlinks in chroot. - - * elf/chroot_canon.c (chroot_canon): Use xmalloc and xrealloc. - - * elf/ldconfig.c (parse_conf_include): Don't fall back to - directories named in config file outside the chroot. - -2010-02-02 Andreas Schwab <schwab@redhat.com> - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add - _dl_load_write_lock. - * elf/rtld.c (_rtld_global): Initialize it. - * elf/dl-support.c (_dl_load_write_lock): Define . - * elf/dl-close.c (_dl_close_worker): Lock GL(dl_load_write_lock) - when modifying the list of loaded objects. - * elf/dl-load.c (lose): Likewise. - * elf/dl-object.c (_dl_new_object): Likewise. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Lock - GL(dl_load_write_lock) instead of GL(dl_load_lock). - -2010-05-03 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Remove unnecessary - assignment. - -2010-05-02 Ulrich Drepper <drepper@redhat.com> - - * misc/mntent_r.c (encode_name): The slow loop handles newlines so we - should recognize them as an abort condition. - Patch by Jan Lieskovsky <jlieskov@redhat.com>. - -2010-04-25 Bruno Haible <bruno@clisp.org> - - [BZ #11538] - * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Use __ttyname_r's return - value instead of errno. - * sysdeps/unix/getlogin.c (getlogin): Likewise. - - [BZ #11537] - * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Upon failure, return - errno, not -1. - -2010-04-24 Emilio Pozuelo Monfort <pochu27@gmail.com> - - * hurd/lookup-at.c (__file_name_lookup_at): Fix error return value. - -2010-04-22 Ulrich Drepper <drepper@redhat.com> - - * po/vi.po: Update from translation team. - -2010-04-21 Ulrich Drepper <drepper@redhat.com> - - * po/bg.po: Update from translation team. - -2010-04-19 Roland McGrath <roland@redhat.com> - - * elf/Makefile ($(objpfx)noload): Depend on libdl.so. - - * Makeconfig (as-needed, no-as-needed): New variables. - (link-libc): Add ld.so inside --as-needed. - - * stdio-common/tst-fmemopen.c (TEST_FILE): Macro removed. - (main): Take arguments. Construct test file name from ARGV[0]. - -2010-04-15 H.J. Lu <hongjiu.lu@intel.com> - - * string/test-strncmp.c (check_result): New function. - (do_one_test): Use it. - (check1): New function. - (test_main): Use it. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S (crosspage): Properly - update source and destination. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (gobble_ashr_12): - Properly check and update counter. - -2010-04-14 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/elf/configure.in: Move AVX test to .... - * sysdeps/i386/configure.in: ...here. - * sysdeps/i386/i686/multiarch/Makefile (libm-sysdep_routines): Define. - (CFLAGS-s_fma-fma.c): Define. - (CFLAGS-s_fmaf-fma.c): Define. - * sysdeps/i386/i686/multiarch/Versions: New file. - * sysdeps/i386/i686/multiarch/s_fma-fma.c: New file. - * sysdeps/i386/i686/multiarch/s_fma.c: New file. - * sysdeps/i386/i686/multiarch/s_fmaf-fma.c: New file. - * sysdeps/i386/i686/multiarch/s_fmaf.c: New file. - - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Check - DATA_CACHE_SIZE_HALF instead of SHARED_CACHE_SIZE_HALF. - -2010-04-14 Andreas Schwab <schwab@redhat.com> - - * elf/dl-version.c (_dl_check_map_versions): Avoid index overflow - when dependencies are missing. - -2010-04-14 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/multiarch/memcmp-sse4.S: Optimized for unaligned - data. - -2010-04-12 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - memcmp-sse4. - * sysdeps/x86_64/multiarch/memcmp-sse4.S: New file. - * sysdeps/x86_64/multiarch/memcmp.S: New file. - * sysdeps/x86_64/multiarch/rtld-memcmp.c: New file. - -2010-04-13 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/init-arch.h: Pretty printing. - Add SSE 4.1 macros. - -2010-04-10 Matt Fleming <matt@console-pimps.org> - - * elf/elf.h: Add SH specific ELF header flags. - -2010-04-13 Andreas Schwab <schwab@redhat.com> - - * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Fix setup of - overflow area. - * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. - -2010-04-12 Andreas Schwab <schwab@redhat.com> - - * stdlib/tst-makecontext3.c (main): Initialize ucontext_t objects - only with getcontext. Test for unimplemented makecontext by - checking errno. - -2010-04-09 Ulrich Drepper <drepper@redhat.com> - - * nscd/aicache.c (addhstaiX): Correct passing memory to address - list to gethostbyname4_r functions. - - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Optimize - copying of h_name. - -2010-04-09 Roland McGrath <roland@redhat.com> - - * Makerules ($(common-objpfx)libc-abis.h): Depend on libc-abis.stamp. - ($(common-objpfx)libc-abis.stamp): New target, rule moved from - libc-abis.h target. Use a stamp file to avoid repeating no-op - move-if-change on every run. +2006-05-03 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c: Implement configuration file + handling. /etc/gai.conf can contain replacements for the label + and precedence table. Fix byte order of default label and + precedence table. + * posix/gai.conf: New file. + * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c. + * posix/tst-rfc3484-2.c: Likewise. - * posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`. +2006-05-02 Ulrich Drepper <drepper@redhat.com> -2010-04-08 Ulrich Drepper <drepper@redhat.com> + [BZ #1201] + * posix/regex.h: g++ still cannot handled [restrict]. - [BZ #10915] - * nscd/nscd_stat.c (struct statdata): Add reload_count field. - (send_stats): Fill in reload_count. - (receive_print_stats): Print reload_count. + [BZ #2509] + * stdio-common/vfprintf.c (process_arg): Fix reading of signed + short and byte values from parameter list. + * stdio-common/tst-printf.c (main): Add more tests. + * stdio-common/tst-printf.sh: Adjust for tst-printf.c change. - * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): When - reading the loginuid file use a buffer which is always large enough. - NUL-terminate the string. + * iconvdata/testdate/MIK: Fix format to match expected output. - * malloc/malloc.c (_int_malloc): Return NULL if printing error message - returns. + [BZ #2632] + * nscd/connections.c (nscd_init): Correct initialization of + in-memory database structure. -2010-04-07 Andreas Schwab <schwab@redhat.com> +2006-05-02 Thorsten Kukuk <kukuk@suse.de> - * sysdeps/unix/sysv/linux/i386/fallocate.c: Set errno on error. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. -2010-04-08 Andreas Jaeger <aj@suse.de> +2006-05-01 Ulrich Drepper <drepper@redhat.com> - [BZ #10401] - * math/s_cprojl.c (__cprojl): Fix implementation to follow C99 - standard. - * math/s_cprojf.c (__cprojf): Likewise. - * math/s_cproj.c (__cproj): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise. - * math/libm-test.inc (cproj_test): Fix test. + [BZ #2502] + * iconvdata/utf-7.c: Don't require more than one character after + the '+' sign starting Unicode shifted sequences. -2010-04-08 Roland McGrath <roland@redhat.com> + * misc/tsearch.c (__tdelete): Remove unnecessary test + [Coverity CID 75]. - * Makerules (libc-abis): Variable removed. - ($(common-objpfx)libc-abis.h): Depend on Makerules too. - Use automatic variables in commands. - Depend on first libc-abis from $(sysdirs) or $(..). + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error + message for invalid DWARF data instead of crashing. -2010-04-07 Ulrich Drepper <drepper@redhat.com> + * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Don't try to + free outkey in error case when batch_read is set. - * posix/bug-getopt1.c: New file. - * posix/bug-getopt2.c: New file. - * posix/bug-getopt3.c: New file. - * posix/bug-getopt4.c: New file. - * posix/bug-getopt5.c: New file. + * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't try to + free outkey in error case when batch_read is set [Coverity CID 196]. -2009-12-01 Eric Blake <ebb9@byu.net> + [BZ #2517] + * misc/sys/queue.h: Update to more recent version. - [BZ #11039] - * posix/getopt.c (_getopt_internal_r): Skip optional - or + before - checking lead byte of optstring for :. +2006-05-01 Alexander Shopov <ash@contact.bg> - [BZ #11040] - * posix/getopt.c (_getopt_internal_r): Reject '-;' as short - option, since it conflicts with "W;" optstring extension. + [BZ #2625] + * iconvdata/Makefile (modules): Added MIK. + (distribute): Added mik.c. + (gen-8bit-gap-modules): Added mik. + * iconvdata/TESTS: Added MIK. + * iconvdata/gconv-modules: Added MIK. + * iconvdata/tst-tables.sh: Added MIK. + * iconvdata/mik.c: New file. + * iconvdata/testdata/MIK: New file. + * iconvdata/testdata/MIK..UTF8: New file. -2009-12-02 Eric Blake <ebb9@byu.net> +2006-04-30 Ulrich Drepper <drepper@redhat.com> - [BZ #11041] - * posix/getopt.c (_getopt_internal_r): Handle '-Wfoo' identically - to '--foo', with optional argument or non-ambiguous prefix. + * elf/dl-load.c (_dl_map_object_from_fd): Move state change + notification... + (lose): ...to here. -2010-04-07 Ulrich Drepper <drepper@redhat.com> + * posix/Makefile (tests): Add tst-getaddrinfo3. + * posix/tst-getaddrinfo3.c: New file. - [BZ #11134] - * nis/libnsl.h (NSS_FLAG_ADJUNCT_AS_SHADOW): Define. - * nis/nss: Document new ADJUNCT_AS_SHADOW variable. - * nis/nss-default.c: Handle ADJUNCT_AS_SHADOW variable. - * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Minor cleanups. - (internal_nis_getpwent_r): Don't fill in password from adjunct table - if NSS_FLAG_ADJUNCT_AS_SHADOW is set. - (_nss_nis_getpwnam_r): Likewise. - (_nss_nis_getpwuid_r): Likewise. - * nis/nss_nis/nis-spwd.c (ent_adjunct_used): New global variable. - (_nss_nis_setspent): Also reset ent_adjunct_used. - (internal_nis_getspent_r): If new_start is set and shadow.byname table - does not exist and NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get - passwd.adjunct.byname table. If new_start is not set get next entry - from the initially used table. Synthesize shadow.byname table if - necessary by adding two empty fields. - (_nss_nis_getspnam_r): If shadow.byname table does not exist and - NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get passwd.adjunct.byname - table and synthesize shadow.byname table. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test + for better readability. -2010-04-06 H.J. Lu <hongjiu.lu@intel.com> + * nscd/nscd.h (struct database_dyn): Change filename to an array + to avoid relocations. - * Makerules (libc-abis): Add $(..) to libc-abis. + * elf/ldd.bash.in: If --verify loop fails to find a dynamic linker + for the file don't just try the first one listed in RTLDLIST + again. We already have the status. -2010-04-06 Joseph Myers <joseph@codesourcery.com> + * nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is + supposed to have NGRPS elements. - * Makerules (libc-abis): Fix search for libc-abis in add-ons. + * nis/nss_nisplus/nisplus-parser.c: Minor optimizations and + cleanups. Avoid copying data if it can be used in the old place. -2010-04-05 Thomas Schwinge <thomas@schwinge.name> +2006-04-29 Ulrich Drepper <drepper@redhat.com> - * sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/. - * sysdeps/gnu/rt-unwind-resume.c: Likewise. - * sysdeps/gnu/Makefile: Add sections for csu and rt subdirs to - build unwind-resume code, previously in nptl/sysdeps/pthread/Makefile. + * nis/nss_nisplus/nisplus-ethers.c: Add missing null pointer check. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. -2010-04-05 Roland McGrath <roland@redhat.com> + * nis/nisplus-parser.h (_nss_nisplus_parse_pwent): Add entry + parameter. + (_nss_nisplus_parse_pwent_chk): New prototype. + * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent): + Add entry parameter. Use it for column value in all accesses. + Move checks for well-formed reply to... + (_nss_nisplus_parse_pwent_chk): ...here. New function. + * nis/nss_nisplus/nisplus-pwd.c: Support SETENT_BATCH_READ option. - * elf/dl-cache.c (_dl_load_cache_lookup): Obey dl_hwcap_mask. + * nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove + hidden_def definitions. + * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto + definitions. - * elf/dl-support.c (_dl_hwcap_mask): New variable. +2006-04-28 Ulrich Drepper <drepper@redhat.com> - * elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast. + * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data + variable. -2010-03-30 Paul Pluzhnikov <ppluzhnikov@google.com> + * nis/nss-nis.h: Define response_t and intern_t. Declare _nis_saveit. + * nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition. + (saveit): Renamed to _nis_saveit. Take parameter which is pointer + to the intern_t object. Change all users. + * nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit + definition. Use _nis_saveit instead of saveit. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + (internal_setgrent): Adjust for buffer handling. + (internal_getgrent_r): Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. - * Makeconfig: Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS. + * nis/nss-default.c (vars): Add SETENT_BATCH_READ. + * nis/nss: Document SETENT_BATCH_READ. + * nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ. + * nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the + string is already NUL terminated. + (internal_nis_endservent): No need to return anything. Change callers. + (internal_nis_setservent): One more initialization. + * nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option. + * nis/nss_nis/nis-grp.c: Likewise. -2010-03-30 Joseph Myers <joseph@codesourcery.com> + * nis/nss-default.c (init): Rewrite parser to get the variables + from a table. - * elf/elf.h (ELFOSABI_ARM_AEABI): Define. + * nis/nss_nis/nis-service.c: Avoid passing pointer to static + variable around. Reduce number of memory allocations by creating + list of memory pools. -2010-04-05 Ulrich Drepper <drepper@redhat.com> + * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string + handling. Fix typo in comment. - * po/nl.po: Update from translation team. +2006-04-27 Ulrich Drepper <drepper@redhat.com> - [BZ #11010] - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Handle - timeouts from servers. + * nscd/connections.c (restart): If we want to switch back to the + old ID use setresuid and setresgid. + (finish_drop_privileges): Likewise. - [BZ #11149] - * elf/ldconfig.c (main): Respect chroot setting when looking for - the aux cache. +2006-04-27 Jakub Jelinek <jakub@redhat.com> -2010-04-04 Ulrich Drepper <drepper@redhat.com> + * nscd/nscd.conf: Fix a typo. - [BZ #11043] - * posix/getopt.c (_getopt_internal_r): Fix arguments printed in error - messages. +2006-04-27 Ulrich Drepper <drepper@redhat.com> - [BZ #11070] - * resolv/netdb.h: Declare iruserok and iruserok_af. + [BZ #2611] + * stdio-common/renameat.c (renameat): Fix typo. - * argp/Makefile: Add rules to build and run bug-argp2. - * argp/bug-argp2.c: New file. +2006-04-26 Roland McGrath <roland@redhat.com> -2010-02-05 Sergey Poznyakoff <gray@gnu.org.ua> + * Makeconfig (%.v.i rule): Don't use -DASSEMBLER. + The predefined __ASSEMBLER__ is sufficient. - [BZ #11254] - * argp/argp-parse.c (convert_options): Fix improper use of `|' - between character values. +2006-04-26 Ulrich Drepper <drepper@redhat.com> -2010-04-04 Ulrich Drepper <drepper@redhat.com> + [BZ #1386] + * iconvdata/ibm932.c: Change mapping to allow round-trips. + * iconvdata/ibm943.c: Likewise. + Patch by Masahide Washizawa <WASHI@jp.ibm.com>. - [BZ #11276] - * sysdeps/posix/remove.c (IS_NO_DIRECTORY_ERROR): Define. - (remove): Use IS_NO_DIRECTORY_ERROR to check for file being no - directory. - * sysdeps/unix/sysv/linux/remove.c: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice. + * sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * conform/data/sys/stat.h-data: Fix testing of S_IS* macros. + * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment. - [BZ #11279] - * io/sys/stat.h: Always define S_ISSOCK for XPG6 and up. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused + errors not to be reported. - [BZ #11287] - * csu/Makefile ($(objpfx)version-info.h): Handle newer kernel headers - which don't define UTS_RELEASE. + * nscd/nscd.h (struct database_dyn): Add propagate field. + * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines. + * nscd/nscd.conf: Add auto-propagate lines. + * nscd/connections.c (dbs): Initialize .propagate fields. + * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups + and vice versa if propagation is disabled for the database. + * nscd/pwdcache.c (cache_addpw): Likewise. -2010-04-04 H.J. Lu <hongjiu.lu@intel.com> +2006-04-26 James Antill <james.antill@redhat.com> Ulrich Drepper <drepper@redhat.com> - [BZ #11292] - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Allow - concurrent initialization and use of __cpu_features. - -2010-04-04 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add tag to - the enum. - -2010-04-03 Ulrich Drepper <drepper@redhat.com> - - [BZ #11333] - * sysdeps/unix/readdir_r.c (__READDIR_R): Add support for platforms - which include unnecessary padding in d_reclen. - * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Select work-around for - unnecessary padding. - - [BZ #11387] - * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlin): Don't abort on - unknown interface, return -1. - (getifaddrs_internal): Rename from getifaddrs. Handle errors in - map_newlink be returning -EAGAIN. - (getifaddrs): If -EAGAIN is returned from getifaddrs_internal try - again. - -2010-03-25 Ryan S. Arnold <rsa@us.ibm.com> - - * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Remove - redundant and incorrect else block which overwrites current line - with the partial next line. - -2010-04-03 Ulrich Drepper <drepper@redhat.com> - - [BZ #11438] - * posix/gai.conf: Document problems with IPv4 site-local addresses and - NATs. - - [BZ #11449] - * crypt/crypt_util.c (__init_des_r): Add memory barrier before setting - small_tables_initialized. - - * malloc/malloc.c (_int_free): Add one more sanity check for fastbins. - - * malloc/malloc.c (set_max_fast): Fix computation of the value. - -2010-03-30 David S. Miller <davem@davemloft.net> - - * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Fix - MMAP2_PAGE_SHIFT test. - -2010-03-29 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE. - -2010-03-28 Thomas Schwinge <thomas@schwinge.name> - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Adapt to auxv - changes in the generic code. - * elf/rtld.c (dl_main): Conditionalize the code that dereferences auxv - to [HAVE_AUX_VECTOR]. - -2010-03-27 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): If - __ASSUME_AT_PAGESIZE we can rely on the value being set. - - * include/wchar.h: Undefine __need_mbstate_t and __need_wint_t - unconditionally in the end. - - * posix/glob.c (glob): Initialize oldcount early, too. - -2010-03-26 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/i386/fcntl.c: Define miss_F_GETOWN_EX - only if needed. - Patch mostly by Paul Pluzhnikov <ppluzhnikov@google.com>. - -2010-03-26 Richard Henderson <rth@redhat.com> - - * sysdeps/generic/ldsodefs.h (_dl_random): Mark attribute_relro; - - * stdio-common/psiginfo.c (psiginfo): Fix printf format - warning for si_band. - - * locale/setlocale.c (free_category): Finish renaming - struct locale_data to __locale_data. - - * csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void. - * elf/dl-sysdep.c (_end): Likewise. - * sysdeps/unix/sysv/dl-sysdep.c (frob_brk): Likewise with locally - declared _end, and associated variables. - -2010-03-26 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always - means aborting the loop over the NSS methods. - -2010-03-25 Andreas Schwab <schwab@redhat.com> - - [BZ #11001] - * sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before - each action. - -2010-03-26 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c: Remove stale reference to website. - -2010-03-24 Ulrich Drepper <drepper@redhat.com> - - [BZ #11389] - * bits/time.h: Define CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and - CLOCK_MONOTONIC_COARSE. - * sysdeps/unix/sysv/linux/clock_getres.c: Handle CLOCK_MONOTONIC_RAW, - CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE. - * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. - -2010-03-25 Andreas Schwab <schwab@redhat.com> - - * sysdeps/posix/cuserid.c: Fix typo. - -2010-03-16 Chris Demetriou <cgd@google.com> - - [BZ #11394] - * locale/programs/simple-hash.c: Include inttypes.h. - (hashval_t): Defined to be uint32_t. - * locale/programs/simple_hash.h: Include inttypes.h. - (compute_hashval): Change return type to uint32_t. - -2010-03-24 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/getlogin_r.c: New file. - * sysdeps/unix/sysv/linux/getlogin.c: New file. - * sysdeps/unix/getlogin_r.c: Allow compiling getlogin as static - function. - * sysdeps/unix/getlogin.c: Likewise. Move name variable to toplevel. - * include/unistd.h: Declare __getlogin_r_loginuid. - - [BZ #11397] - * sysdeps/posix/cuserid.c (cuserid): Make sure the returned string - is NUL terminated. - Patch by Jonathan Geisler <jgeisler@cse.taylor.edu>. - - * sysdeps/unix/sysv/linux/mmap64.c: Allow variable shift values. - -2010-03-24 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/multiarch/strpbrk-c.c: Define only if SHARED - is defined. - -2010-03-22 H.J. Lu <hongjiu.lu@intel.com> - - * string/test-memcmp.c (check_result): New function. - (do_one_test): Use it. - (check1): New function. - (test_main): Use it. - -2010-03-24 Ulrich Drepper <drepper@redhat.com> - - * posix/tst-gnuglob.c: Add tests with empty patterns. For this - rewrite the tests to add support for failing glob calls. - Some other minor cleanups. - * posix/bug-glob3.c: New file. - * posix/Makefile (tests): Add bug-glob3. - -2010-03-24 Ulrich Drepper <drepper@redhat.com> - Andreas Schwab <andreas@redhat.com> - - * posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier. - If pattern is "" bail out early - -2010-03-23 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-lookup.c (do_lookup_x): If tab->entries is NULL, - but tab->size != 0, just unlock and goto success, without - allocating anything or entering anything into the hash table. - (_dl_debug_bindings): Temporarily set tab->entries to NULL - around do_lookup_x in undef_map->l_local_scope[0]. If - undef_map->l_symbolic_in_local_scope, lookup also in - symbolic_searchlist of following libraries in l_local_scope - that have DT_SYMBOLIC set. - * elf/dl-deps.c (_dl_map_object_deps): Compute - l_symbolic_in_local_scope. - * include/link.h (struct link_map): Add l_symbolic_in_local_scope - bitfield. - -2010-03-24 Ulrich Drepper <drepper@redhat.com> - - [BZ #11410] - * wctype/wctype.h: Use <wchar.h> to get the wint_t definition. - - * wcsmbs/wchar.h: Correct preprocessor directive indentation. Move - C++ prototype handling to a better place. - -2010-03-18 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (open_verify): Extend expected to the full size of the - e_ident array. When loading, check that the fields in e_ident we don't - know are zero to allow future extensions. - -2010-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Update %xmm3 - when exit from loop. - -2010-03-16 Andreas Schwab <schwab@redhat.com> - - * resolv/res_send.c (__libc_res_nsend): Fix printing of server - address in debug statement. - (send_dg): Pass correct buffer pointer to DprintQ. - -2010-03-17 Ulrich Drepper <drepper@redhat.com> - - * libc-abis: Add a few more entries. - -2010-03-16 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (VALID_ELF_ABIVERSION): Add additional osabi parameter. - Not used here. - (open_verify): Modify for extended VALID_ELF_ABIVERSION macro - interface. - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Add - additional osabi parameter. Only acceept nonzero ABI versions if osabi - is Linux. - Fix includes. - (expected2): Don't explicitly initialize EI_ABIVERSION byte. - - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update - definition to follow generic code. - -2010-03-15 Ulrich Drepper <drepper@redhat.com> - - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * debug/catchsegv.sh: Likewise. - - * Makerules: Add rule for libc-abis.h. - * csu/version.c: Use LIBC_ABIS_STRING string if available. - * elf/dl-load.c (VALID_ELF_ABIVERSION): Check using LIBC_ABI_MAX. - (open_verify): Only check EI_ABIVERSION bytes using VALID_ELF_HEADER. - Add extra call to VALID_ELF_ABIVERSION. - -2010-03-12 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/sys/mount.h (UMOUNT_NOFOLLOW): Define. - -2010-03-12 Andreas Schwab <schwab@redhat.com> - - * elf/dl-dst.h: Include "trusted-dirs.h". - (DL_DST_REQUIRED): Take $LIB into account. - -2010-03-11 Roland McGrath <roland@redhat.com> - - * elf/elf.h (R_X86_64_GOT64, R_X86_64_GOTPCREL64): New macros. - (R_X86_64_GOTPC64, R_X86_64_GOTPLT64, R_X86_64_PLTOFF64): New macros. - -2010-03-10 Luis Machado <luisgpm@br.ibm.com> - - * sysdeps/powerpc/powerpc64/power7/memcpy.S: New file. - * sysdeps/powerpc/powerpc32/power7/memcpy.S: New file. - -2010-03-09 David S. Miller <davem@davemloft.net> - - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handling - of R_SPARC_TLS_LE_* needs to use 32-bit loads and stores, not - 64-bit ones. - - * sysdeps/sparc/sparc32/memcpy.S: Fix build. - - * sysdeps/sparc/sparc32/strlen.S: Optimize. - * sysdeps/sparc/sparc64/strlen.S: Likewise. - * sysdeps/sparc/sparc32/sparcv9/strlen.S (ASI_PNF, ASI_BLK_P, - XCC): Delete definitions, not needed. - -2010-03-07 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Little follow-up patch from last change. - -2010-03-06 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/internal_statvfs.c: Handle ext4 and logfs. - * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add entry for logfs. - -2010-02-18 Yann Droneaud <yann@droneaud.fr> - - * resolv/res_send.c: Fixed DEBUG statements. - Moved tmpbuf declaration to block beginning and - updated pointer names used in multiple DprintQ() calls - -2010-02-18 H.J. Lu <hongjiu.lu@intel.com> - - * config.make.in (config-asflags-i686): Define. - * configure.in: Substitute libc_cv_as_i686. - * sysdeps/i386/configure.in: Check if assembler supports -mtune=i686. - * sysdeps/i386/i686/Makefile (CFLAGS-.oX): Add -Wa,-mtune=i686 - if assembler supports -mtune=i686. - (ASFLAGS-.oX): Likewise. - -2010-03-04 Ulrich Drepper <drepper@redhat.com> - - * elf/elf.h (R_X86_64_SIZE32): Define. - (R_X86_64_SIZE64): Define. + * config.make.in: Add have-libcap. + * configure.in: Check for libcap. + * nscd/Makefile (selinux-LIBS): Add -lcap if possible. + * nscd/connections.c (finish_drop_privileges): When libcap is available + call preserve_capabilities and install_real_capabilities. + * nscd/selinux.c: Define preserve_capabilities and + install_real_capabilities. + * nscd/selinux.h: Declare preserve_capabilities and + install_real_capabilities. + +2006-04-26 Ulrich Drepper <drepper@redhat.com> + + * locale/iso-4217.def: Update. + +2006-04-25 Ulrich Drepper <drepper@redhat.com> + + [BZ #2420] + * stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier. + * localedata/Makefile: Add rules to build and run tst-strfmon1. + * localedata/tst-strfmon1.c: New file. + + [BZ #2571] + * nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a + volatile pointer so that the mapptr->mapped value is re-read after + the lock is retrieved. + * nscd/nscd-client.h: Update __nscd_get_map_ref prototype. + + * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to + 200112L. + + * resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced + functions to avoid relocations. + + [BZ #2389] + * resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line. + * resolv/res_hconf.h: Remove Name_Service definition. + (struct hconf): Replace service related fields with placeholders. + + [BZ #2386] + * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack + pointers to match other architectures. + * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add + tst-clone. + * sysdeps/unix/sysv/linux/tst-clone.c: New file. + + [BZ #2072] + * stdio-common/printf_fp.c: Fix potential memory leaks for + malloc'ed wbuffer which isn't freed in error conditions. + + [BZ #2569] + * iconv/gconv_db.c (__gconv_release_step): Fix condition of assert + call. + * iconvdata/Makefile (tests): Add tst-iconv6. + * iconvdata/tst-iconv6.c: New file. -2010-03-02 Richard Guenther <rguenther@suse.de> +2006-04-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): R_X86_64_PC32 - is sign-extending. + * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags + field. + * posix/tst-rfc3484-2.c (do_test): Likewise. -2010-03-03 Ulrich Drepper <drepper@redhat.com> + * posix/tst-rfc3484.c: Include <ifaddrs.h> early. + * posix/tst-rfc3484-2.c: Likewise. - * sysdeps/unix/sysv/linux/bits/in.h: Add a few more definitions from - the kernel headers. + * version.h (VERSION): Bump to 2.4.90 for the trunk. -2010-03-04 David S. Miller <davem@davemloft.net> +2006-04-24 Jakub Jelinek <jakub@redhat.com> - * sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry. + * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init + if MALLOC_CHECK_ env var contains an empty string. - * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete. - * sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete. +2006-04-24 Ulrich Drepper <drepper@redhat.com> -2010-03-03 David S. Miller <davem@davemloft.net> + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai. - * math/math_private.h (INSERT_WORDS64): Fix argument order. +2006-04-24 Jakub Jelinek <jakub@redhat.com> -2010-03-03 Aurelien Jarno <aurelien@aurel32.net> + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use + __LONG_LONG_PAIR macro. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file. + * posix/bits/unistd.h (__readlinkat_chk): New prototype. + (__readlinkat_alias): New alias. + (readlinkat): New inline function. + * include/unistd.h (readlinkat): Add libc_hidden_proto. + * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add + libc_hidden_def. + * io/readlinkat.c (readlinkat): Likewise. + * debug/readlinkat_chk.c: New file. + * debug/Makefile (routines): Add readlinkat_chk. + * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. + * debug/tst-chk1.c (do_test): Add readlinkat tests. -2010-03-03 David S. Miller <davem@davemloft.net> +2006-04-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must - pass '1' for 't' argument to sparc_fixup_plt. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel): - Likewise. - * sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define. - (sparc_fixup_plt): Document 't' argument. Enable branch - optimization and use v9 branches when possible. Explain why we - cannot unconditionally patch the branch into the first PLT - instruction. - * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't' - argument. Use v9 branches when possible. Explain why we can in - fact unconditionally use a branch in the first PLT instruction - here. - -2010-02-28 Roland McGrath <roland@redhat.com> - - * elf/elf.h (NT_X86_XSTATE): New macro. - -2010-02-25 David S. Miller <davem@davemloft.net> - - * sysdeps/sparc/sparc64/Makefile: Add align-cpy rule. - * sysdeps/sparc/sparc64/align-cpy.S: New. - * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_1, __align_cpy_2, - __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (__align_cpy_1, - __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): - Remove. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (__align_cpy_1, - __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): - Remove. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (__align_cpy_1, - __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): - Remove. + * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. - * sysdeps/sparc/sparc32/bcopy.c: Delete. - * sysdeps/sparc/sparc32/memmove.c: Delete. - * sysdeps/sparc/sparc32/sparcv9/bcopy.c: Delete. - * sysdeps/sparc/sparc32/sparcv9/memmove.c: Delete. - * sysdeps/sparc/sparc64/bcopy.c: Delete. - * sysdeps/sparc/sparc64/memmove.c: Delete. - * sysdeps/sparc/sparc64/memcopy.h: New. - * sysdeps/sparc/sparc32/memcpy.S (bcopy, memmove): Remove. - * sysdeps/sparc/sparc64/memcpy.S (bcopy, memmove): Likewise. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (bcopy, memmove): Likewise. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (bcopy, memmove): Likewise. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (bcopy, memmove): Likewise. - - * sysdeps/sparc/elf/rtld-global-offsets.sym: New file. - * sysdeps/sparc/Makefile (csu): Add rtld-global-offsets.sym to - gen-as-const-headers. - * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: New file. - * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra3.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara1.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara1.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: Move to... - * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara2.S: ...here. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: Removed. - * sysdeps/sparc/sparc64/multiarch/Makefile: New file. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: ...here. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: ...here. - * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: ...here. - * sysdeps/sparc/sparc64/sparcv9v/memset.S: Move to... - * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: ...here. - * sysdeps/sparc/sparc64/sparcv9v2/memset.S: Removed. - * sysdeps/sparc/sparc64/multiarch/memcpy.S: New file. - * sysdeps/sparc/sparc64/multiarch/memset.S: New file. - -2010-02-20 H.J. Lu <hongjiu.lu@intel.com> - - [BZ #11332] - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Use cfi_remember_state - and cfi_restore_state only if USE_AS_STRNCMP is defined. - -2010-02-24 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/Implies: Add ieee754/dbl-64/wordsize-64 entry. - -2010-02-24 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S - (bk_write_less32bytes_2): Renamed to ... - (bk_write_less48bytes): This. - Use unsigned conditional jumps. - Correct unwind info. - Use add/sub instead of lea if possible. - (shl_0_gobble_cache_loop_tail): Removed. - (large_page): Properly adjust ECX. - - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Use unsigned - conditional jumps. - Correct unwind info. - - * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Remove redundant - punpcklbw. - Use unsigned conditional jumps. - (128bytesormore_nt): Renamed to ... - (128bytesormore_endof_L1): This. - Use add instead of lea if possible. - Correct unwind info. - * sysdeps/i386/i686/multiarch/memset-sse2.S: Remove redundant - punpcklbw. - Use unsigned conditional jumps. - Use add instead of lea if possible. - Correct unwind info. - -2010-02-24 Ulrich Drepper <drepper@redhat.com> - - [BZ #11319] - * libio/iovdprintf.c (_IO_vdprintf): Explicitly flush stream before - undoing the stream because _IO_FINISH doesn't report failures. - - [BZ #5553] - * malloc/malloc.c (public_vALLOc): Set ar_ptr when trying main_arena. - (public_pVALLOc): Likewise. - Patch by Petr Baudis. - -2010-02-22 Jim Meyering <meyering@redhat.com> - - * manual/math.texi (BSD Random): Fix a typo: s/are/is/ - - * manual/charset.texi: Adjust grammar. - - * manual/errno.texi (Error Messages): Fix doubled-words and typos. - * manual/charset.texi (Selecting the Conversion): Likewise. - * manual/getopt.texi (Getopt Long Options): Likewise. - * manual/memory.texi (Resizing the Data Segment): Likewise. - * manual/message.texi (GUI program problems): Likewise. - * manual/resource.texi (CPU Affinity): Likewise. - * manual/stdio.texi (Streams and Threads): Likewise. - * manual/time.texi (High Accuracy Clock): Likewise. - -2009-02-20 David S. Miller <davem@davemloft.net> - - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): - Adjust rela->r_offset by l->l_addr when rewriting PLT. - - * sysdeps/sparc/sparc64/memchr.S: Use unsigned branch on greater to - test end of buffer. - - * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c - (__makecontext): Adjust arg counter properly when copying arg - stack slots. - -2009-02-20 Joseph Myers <joseph@codesourcery.com> - - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): - Adjust rela->r_offset by l->l_addr when rewriting PLT. - -2010-02-19 Carl Fredrik Hammar <hammy.lite@gmail.com> + [BZ #1951] + * sysdeps/posix/sigset.c (sigset): Return correct value reflecting + previous signal state. + * signal/Makefile (tests): Add tst-sigset2. + * signal/tst-sigset2.c: New file. - * hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of - non-existent `tiocsctty_port'. +2006-04-21 Jakub Jelinek <jakub@redhat.com> -2010-02-16 H.J. Lu <hongjiu.lu@intel.com> + * argp/argp.h (__option_is_short): Check upper limit of + __key. isprint() requires its argument to have the value + of an unsigned char or EOF. + Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>. - * sysdeps/i386/i686/multiarch/memcmp.S (memcmp): Use CPUID_OFFSET - instead of FEATURE_OFFSET. - * sysdeps/i386/i686/multiarch/strcmp.S (strcmp): Likewise. +2006-04-21 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Add alignnments. - Fix one unwind info problem. + [BZ #2534, BZ #2535] + * posix/regex.h: Remove obsolete <sys/types.h> comment and special + handling for VMS. - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S (less1bytes): Add CFI_POP. + * iconvdata/ibm437.c: Define HAS_HOLES to 0. + * iconvdata/ibm861.c: Likewise. + * iconvdata/ibm862.c: Likewise. + * iconvdata/ibm863.c: Likewise. + * iconvdata/ibm865.c: Likewise. + Reported by <ash@contact.bg>. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Simplify unwind info. +2006-04-19 Ulrich Drepper <drepper@redhat.com> -2010-02-17 H.J. Lu <hongjiu.lu@intel.com> - Ulrich Drepper <drepper@redhat.com> + * include/ifaddrs.h: Get uint32_t definition. + * posix/tst-rfc3484.c: Update fake __check_pf implementation. + * posix/tst-rfc3484-2.c: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Fix typo in unwind info. - Clean up a bit. - -2010-02-17 Carl Fredrik Hammar <hammy.lite@gmail.com> - - * hurd/hurdioctl.c (tiocsctty): Only get FD ports, do work in... - (tiocsctty_port): ...this new function. - - * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Cast to - `ioctl_handler_t'. - -2010-02-15 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Fix unwind info. - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise. - - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Don't fall through to - undefined code. - -2010-02-12 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - strcmp-ssse3, strcmp-sse4, strncmp-c, strncmp-ssse3, strncmp-sse4, - memcmp-c, memcmp-ssse3, and memcmp-sse4. - * sysdeps/i386/i686/multiarch/memcmp-sse4.S: New file. - * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/memcmp.S: New file. - * sysdeps/i386/i686/multiarch/strcmp-sse4.S: New file. - * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strcmp.S: New file. - * sysdeps/i386/i686/multiarch/strncmp-c.c: New file. - * sysdeps/i386/i686/multiarch/strncmp-sse4.S: New file. - * sysdeps/i386/i686/multiarch/strncmp-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/strncmp.S: New file. - -2010-02-12 Luis Machado <luisgpm@br.ibm.com> - - * sysdeps/powerpc/powerpc32/dl-machine.h: Removed old PPC_REL16 check. - * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. - * sysdeps/powerpc/powerpc32/memset.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/configure.in: Fail if R_PPC_REL16 - is not supported. - * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_PROC_SELF_FD_SYMLINK. + * sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility + code is possible. Move compatibility code in .text.compat section. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + +2006-04-18 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop + over gaih array. There is only one function to call in the moment. + +2006-04-16 Ulrich Drepper <drepper@redhat.com> + + * include/ifaddrs.h: Define struct in6addrinfo. + Add two more parameters to __check_pf. + * sysdeps/unix/sysv/linux/check_pf.c: When using the netlink + interface, determine whether IPv6 addresses are deprecated or + temporary. Create array of those addresses. + * inet/check_pf.c: Always tell caller there are no depracated + and temporary addresses. + * sysdeps/posix/getaddrinfo.c: Pretty printing. + (struct sort_result): Add source_addr_flags field. + (rfc3484_sort): Implement rule 3 and 7. + (in6aicmp): New function. + (getaddrinfo): Call __check_pf also when we need info about IPv6 + source addresses. When creating array for sorting addresses, + look up deprecated and temporary addresses returned by __check_pf + and add flag if necessary. + +2006-04-15 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6 + mapped addresses. + * posix/Makefile (tests): Add tst-rfc3484-2. + * posix/tst-rfc3484-2.c: New file. + + * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Significant cleanups. Correct adjustment for pointer array. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. - -2010-02-12 Alan Modra <amodra@gmail.com> - - * elf/tls-macros.h [__powerpc__] (__TLS_CALL_CLOBBERS): Remove r3. - Define and use for __powerpc64__ too. - [__powerpc__] (TLS_LD): Add r3 to clobbers. - [__powerpc__] (TLS_GD): Set asm output. Make __result r3 reg. - [__powerpc64__] (TLS_GD): Make __result r3 reg. - [__powerpc64__] (TLS_IE): Relax output constraint. - -2010-02-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * sysdeps/s390/s390-64/utf8-utf16-z9.c: Disable hardware - instructions cu21 and cu24. Add well-formedness checking - parameter and adjust the software implementation. - * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise. - -2010-02-10 Ulrich Drepper <drepper@redhat.com> - - [BZ #11271] - * io/ftw.c (ftw_startup): Close descriptor for initial directory - after changing back to it. - -2010-02-05 David S. Miller <davem@davemloft.net> - - * elf/elf.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle new - ifunc relocs. - (elf_machine_lazy_rel): Likewise. - (sparc_fixup_plt): Pull out to... - * sysdeps/sparc/sparc32/dl-plt.h: ...here. - * sysdeps/sparc/sparc32/dl-irel.h: New file. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle new - ifunc relocs. - (elf_machine_lazy_rel): Likewise. - (sparc64_fixup_plt): Pull out to... - * sysdeps/sparc/sparc64/dl-plt.h: ...here. - * sysdeps/sparc/sparc64/dl-irel.h: New file. - -2010-02-09 Maxim Kuvyrkov <maxim@codesourcery.com> - * elf/elf.h: Define m68k TLS relocations. - -2010-02-10 Luis Machado <luisgpm@br.ibm.com> - - * sysdeps/powerpc/powerpc64/power7/Implies: Removed. - * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Removed. - * sysdeps/powerpc/powerpc32/power7/Implies: Removed. - * sysdeps/powerpc/powerpc32/power7/fpu/Implies: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Add - 64-bit power7 fpu path. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Add - 32-bit power7 fpu math. - -2010-02-09 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/rshift.S: More compact unwind information. - - * sysdeps/i386/lshift.S: Fix unwind information. - -2010-02-08 Luis Machado <luisgpm@br.ibm.com> - - * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: New file. - * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: New file. - * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: New file. - -2010-02-08 Andreas Schwab <schwab@redhat.com> - - * include/fenv.h: Add hidden proto for fegetenv. - * math/fegetenv.c: Add hidden alias. - * sysdeps/i386/fpu/fegetenv.c: Likewise. - * sysdeps/ia64/fpu/fegetenv.c: Likewise. - * sysdeps/powerpc/fpu/fegetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. - * sysdeps/sparc/fpu/fegetenv.c: Likewise. - * sysdeps/x86_64/fpu/fegetenv.c: Likewise - * sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers. - -2010-02-05 H.J. Lu <hongjiu.lu@intel.com> - - [BZ #11230] - * sysdeps/ia64/memchr.S: Don't read beyond the last byte - during recovery. - -2010-01-26 Andreas Schwab <schwab@redhat.com> - - * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: Use internal - interface. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Declare internal - utmpx interface. - - * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat - entry for 2.12. - -2010-02-03 Ulrich Drepper <drepper@redhat.com> - - [BZ #11235] - * sysdeps/unix/sysv/linux/sys/mount.h: Remove S_WRITE, S_APPEND, - S_IMMUTABLE. Add MS_DIRSYNC, MS_MOVE, MS_SILENT, MS_REC, - MS_POSIXACL, MS_UNBINDABLE, MS_PRIVATE, MS_SLAVE, MS_SHARED, - MS_RELATIME, MS_KERNMOUNT, MS_I_VERSION, MS_STRICTATIME, - MS_ACTIVE, and MS_NOUSER. - (MS_RMT_MASK): Update according to current kernels. - - [BZ #11242] - * misc/getusershell.c (initshells): Allocate one more byte in input - buffer so that fgets doesn't loop undefinitely. - -2010-02-02 Ulrich Drepper <drepper@redhat.com> - - * stdlib/setenv.c (__add_to_environ): Don't use alloca if - __libc_use_alloca tells us not to. Fix memory leak in an error - situation. Based partially on patch by Jim Meyering. - -2010-01-26 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs, - get_phys_pages, get_avphys_pages): Add weak aliases. - -2010-01-25 Andreas Schwab <schwab@redhat.com> - - * iconv/iconv_prog.c (write_output): Fix check for open failure. - -2010-01-22 Ulrich Drepper <drepper@redhat.com> - - [BZ #11200] - * locale/loadlocale.c (_nl_load_locale): Fix recognition of genuine - mmap resource problem. Patch by Joe Landers <jlanders@vmware.com>. - -2010-01-22 Jim Meyering <jim@meyering.net> - - [BZ #11193] - * posix/regexec.c (extend_buffers): Avoid overflow in realloc - buffer length computation. - - [BZ #11192] - * posix/regexec.c (re_copy_regs): Don't leak when allocation - of the start buffer succeeds but allocation of the "end" one fails. - - [BZ #11191] - * posix/regexec.c (re_search_2_stub): Check for overflow - when adding the sizes of the two strings. - - [BZ #11190] - * posix/regexec.c (re_search_internal): Avoid overflow - in computing re_malloc buffer size. - - [BZ #11189] - * posix/regexec.c (prune_impossible_nodes): Avoid overflow - in computing re_malloc buffer size. - - [BZ #11188] - * posix/regexec.c (build_trtable): Avoid arithmetic overflow - in size calculation. - - [BZ #11187] - * posix/regexec.c (re_search_2_stub): Use simpler method than - boolean for freeing internal storage. - -2010-01-22 Ulrich Drepper <drepper@redhat.com> - - * posix/regex_internal.c (re_string_skip_chars): Simplify test for - failed mbrtowc call. - -2010-01-22 Jim Meyering <jim@meyering.net> - - [BZ #11186] - * posix/regex_internal.c (re_string_skip_chars): Don't assume WEOF - fits in wchar_t. Problem reported by Eric Blake. - - [BZ #11185] - * posix/regex_internal.c (re_string_reconstruct): Remove declaration - and stores into set-but-not-used local, "q". - - [BZ #11184] - * posix/regex_internal.c (re_dfa_add_node): Extend the overflow - detection test. Patch by Paul Eggert. - - [BZ #11183] - * posix/regex_internal.c (re_string_realloc_buffers): - Detect and handle internal overflow. Patch by Paul Eggert - -2010-01-20 Andreas Schwab <schwab@redhat.com> - - * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c - (CHECK_SP): Fix check for alternate stack. - * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c - (CHECK_SP): Likewise. - -2010-01-19 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/multiarch/memmove.S: Also check - bit_Fast_Rep_String when SHARED isn't defined. - -2010-01-19 Ulrich Drepper <drepper@redhat.com> - - [BZ #11194] - * misc/bits/syslog.h (syslog, vsyslog): Remove unnecessary return. - -2010-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * sysdeps/mach/hurd/bits/libc-lock.h - (__rtld_lock_recursive_t): New type. - (__rtld_lock_initialize): New macro. - -2010-01-14 Ryan S. Arnold <rsa@us.ibm.com> - - * sysdeps/powerpc/powerpc32/cell/memcpy.S: New file. - * sysdeps/powerpc/powerpc64/cell/memcpy.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: New file. - -2010-01-18 Andreas Schwab <schwab@redhat.com> - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove duplicate - definitions of O_DSYNC and O_RSYNC. - - * elf/dynamic-link.h (elf_get_dynamic_info): Use correct type when - casting d_tag. - - * elf/dynamic-link.h (elf_get_dynamic_info): Ignore negative - dynamic entry types. - -2010-01-16 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/ldbl-128/s_ceill.c (huge): Add L suffix to the - constant. - * sysdeps/ieee754/ldbl-128/s_floorl.c (huge): Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (big): Decrease to avoid - overflow. - * sysdeps/ieee754/ldbl-128/s_log1pl.c (big): Remove unused variable. - - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): Use - math_opt_barrier and math_force_eval macros. - -2010-01-15 Ulrich Drepper <drepper@redhat.com> - - * posix/regcomp.c: Fix a few more cases of ignored return values. - * posix/regex_internal.c: Likewise. - * posix/regexec.c: Likewise. - - * include/features.h: _XOPEN_SOURCE_EXTENDED is not defined to be - used without _XOPEN_SOURCE. Don't base any decisions on this macro - if _XOPEN_SOURCE is not defined as well. - -2010-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * sysdeps/s390/s390-32/elf/start.S (_start): Added check for the - high gprs kernel facility. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_matches_host): - Added high gprs check for DSOs. - * elf/elf.h (EF_S390_HIGH_GPRS): Added macro definition for the - new elf header flag. - -2010-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf/dl-sysdep.c (_dl_sysdep_start): Added the auxv parameter to - dl_main. - * elf/dl-open.c (_dl_sysdep_start): Likewise.. - * sysdeps/generic/ldsodefs.h (_dl_sysdep_start): Likewise. - * elf/rtld.c (dl_main): Added new parameter auxv. Adjust the - AT_PHDR, AT_PHNUM and AT_ENTRY fields if the ld.so is directly - started. - -2010-01-14 Ulrich Drepper <drepper@redhat.com> - - [BZ #11027] - * sysdeps/generic/netinet/ip.h: Define IPTOS_CLASS_* macros according - to RFC 2474. - Patch by Philip Prindeville <philipp@redfish-solutions.com>. - - [BZ #11141] - * resolv/res_send.c (reopen): Don't use IPv6 sockets for IPv4 - addresses. +2006-04-14 Ulrich Drepper <drepper@redhat.com> - [BZ #11127] - * posix/regcomp.c (alc_eclosure_iter): Do not ignore - re_node_set_insert failure; return REG_ESPACE. - Patch by Paul Eggert. - - [BZ #10864] - * bits/confname.h: Make pre-C99-safe. - -2010-01-14 Ryan S. Arnold <rsa@us.ibm.com> - - * Makeconfig (+prector, +postctor, +prectorS, +postctorS): Add - $(sysdep-LDFLAGS) to pre and post ctors so that the proper .o - files are found by GCC. - -2010-01-14 Ulrich Drepper <drepper@redhat.com> - - * posix/unistd.h: Relax conditions for ualarm, usleep, getwd, vfork, - brk, and sbrk. - - * string/strings.h: Relax condition for bcmp, bcopy, bzero, ffs, - index, and rindex. - - * stdlib/stdlib.h: Relax conditions for *cvt functions and valloc. - - * Versions.def: Add GLIBC_2.12 for libpthread. - - [BZ #11126] - * malloc/malloc.c (malloc_info): Initialize malloc if not already - done. Handle empty bin lists. - - * posix/unistd.h: Change getpagesize and getdtablesize declaration - visibility some more. - - * resolv/netdb.h: Relax condition to elide obsolete resolver constants. - - * posix/unistd.h: Declare getpagesize in _GNU_SOURCE mode. - - [BZ #11120] - * sysdeps/x86_64/strcmp.S: Prevent silent errors should strncmp be - needed outside libc. - -2010-01-13 Ulrich Drepper <drepper@redhat.com> - - * stdlib/stdlib.h: Parameter of unsetenv must not be NULL. - -2010-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/multiarch/strlen.S: Unroll the loop. - -2010-01-13 Ulrich Drepper <drepper@redhat.com> - - * stdlib/stdlib.h: Be a bit more relaxed about obsoleted mktemp symbol. - -2010-01-12 Ulrich Drepper <drepper@redhat.com> - - * conform/data/complex.h-data: Test for POSIX2008. - - * conform/data/ctype.h-data: Fix POSIX testing. - - * conform/data/dirent.h-data: ino_t only needed for XSI. - - * grp/grp.h: Declare getgrent and endgrent for XPG7. - - * conform/data/inttypes.h-data: Use same types as the headers. - - * resolv/netdb.h: Don't define old resolver macros for XPG7. - - * conform/data/sys/uio.h-data: Don't exclude POSIX2008. - - * conform/conformtest.pl: Implement tag for allow-header. - Fix newline handling in allow-header implementation. - - * conform/data/time.h-data: Use allow-header instead of duplicating - information. - - * conform/data/time.h-data: Allow sigevent tag. - - * posix/sched.h: Define time_t and pid_t for XPG7. - -2010-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/bcopy.S: New file. - - * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Define. - - * sysdeps/i386/i686/memcpy.S (__memcpy_chk): Use ENTRY_CHK - and END_CHK. - * sysdeps/i386/i686/memmove.S (__memmove_chk): Likewise. - * sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise. - * sysdeps/i386/i686/memset.S (__memset_chk): Likewise. - - * sysdeps/i386/i686/memmove.S: Support USE_AS_BCOPY. - - * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add - bzero-sse2 memset-sse2 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 - memcpy-ssse3-rep mempcpy-ssse3-rep memmove-ssse3-rep - bcopy-ssse3 bcopy-ssse3-rep memset-sse2-rep bzero-sse2-rep - * sysdeps/i386/i686/multiarch/bcopy-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/bcopy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/bcopy.S: New file. - * sysdeps/i386/i686/multiarch/bzero-sse2-rep.S: New file. - * sysdeps/i386/i686/multiarch/bzero-sse2.S: New file. - * sysdeps/i386/i686/multiarch/bzero.S: New file. - * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/memcpy.S: New file. - * sysdeps/i386/i686/multiarch/memcpy_chk.S: New file. - * sysdeps/i386/i686/multiarch/memmove-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/memmove-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/memmove.S: New file. - * sysdeps/i386/i686/multiarch/memmove_chk.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy-ssse3-rep.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy-ssse3.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy.S: New file. - * sysdeps/i386/i686/multiarch/mempcpy_chk.S: New file. - * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: New file. - * sysdeps/i386/i686/multiarch/memset-sse2.S: New file. - * sysdeps/i386/i686/multiarch/memset.S: New file. - * sysdeps/i386/i686/multiarch/memset_chk.S: New file. - - * sysdeps/i386/sysdep.h (ENTRY_CHK): New. - (END_CHK): Likewise. - - * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Add - FEATURE_OFFSET, FEATURE_SIZE and FEATURE_INDEX_1. - * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise. - - * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add entries - for 0x0e and 0x80. - (__x86_64_data_cache_size): New. - (init_cacheinfo): Set __x86_64_data_cache_size. - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Turn - on bit_Fast_Rep_String for Intel Core i7. - - * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Rep_String): New. - (index_Fast_Rep_String): Likewise. - (FEATURE_INDEX_1): Likewise. - (FEATURE_INDEX_MAX): Likewise. - (cpu_features): Add feature. - -2010-01-12 Ulrich Drepper <drepper@redhat.com> - - * conform/data/sys/select.h-data: Fix up for XPG7. - -2010-01-12 Jakub Jelinek <jakub@redhat.com> - - * posix/sys/wait.h: Don't define W* macros etc. if - stdlib.h has been included with _POSIX_C_SOURCE >= 200809L. - -2010-01-11 Ulrich Drepper <drepper@redhat.com> - - * io/sys/stat.h: Declare fchmod for XPG7. - * conform/data/sys/stat.h-data: Fix up for XPG7. - - * termios/termios.h: Define pid_t for XPG7. - - * conform/data/math.h-data: Fix up for XPG6 and XPG7. - * conform/data/tgmath.h-data: Likewise. - - * conform/data/time.h-data: Fix POSIX tests. - - * conform/data/wchar.h-data: Fix up XPG7 tests. - - * include/features.h: Fix __USE_ISOC95 handling. - - * conform/data/wordexp.h-data: Fix typo in last change. - - * conform/data/unistd.h-data: Fix up older POSIX tests. - - * stdlib/stdlib.h: Fix handling symbols removed in XPG7. - * posix/unistd.h: Likewise. - - * posix/unistd.h: Include environments.h also for XPG6 and up. - Define intptr_t for XPG6 and up. - Fix up for XPG7. - * conform/data/unistd.h-data: Fix up for XPG6 and XPG7. - - * conform/data/sys/types.h-data: Fix up for XPG7. - - * sysdeps/unix/bsd/bits/stat.h: Fix double-inclusion problem. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - - * bits/confname.h: Fix typo in last change. - - * conform/data/unistd.h-data: lockf-constants Not needed for POSIX. - -2010-01-10 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/sigaction.h: SA_RESTART, SA_NODEFER, - and SA_RESETHAND now available in Base. - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - * conform/data/signal.h-data: Update for XPG7. - - * posix/sys/types.h: Define id_t, clock_t, blksize_t for XPG7. - - * string/strings.h: Don't declare obsolete functions for XPG7. - Declare ffs only for XSI. - * conform/data/strings.h-data: Update for XPG7. - -2010-01-10 Jakub Jelinek <jakub@redhat.com> - - [BZ #11125] - * libio/stdio.h: Define va_list, off_t, and ssize_t. - - * posix/glob.h: Define size_t. - - * posix/sys/wait.h: Define idtype_t and declare waitid for XPG7. - - * signal/signal.h: Define size_t, mcontext_t, and ucontext_t for XPG7. - -2010-01-10 Ulrich Drepper <drepper@redhat.com> - - * conform/conformtest.pl: For XPG7 testing the headers are supposed to - be self-contained. - - * conform/data/stdio.h-data: Expect off_t and ssize_t. - -2010-01-09 Ulrich Drepper <drepper@redhat.com> - - * libio/stdio.h: Define va_list also for XPG7. - - * conform/conformtest.pl: Update for XPG7 and some bug fixes. - * conform/data/ctype.h-data: Likewise. - * conform/data/dirent.h-data: Likewise. - * conform/data/errno.h-data: Likewise. - * conform/data/fcntl.h-data: Likewise. - * conform/data/fmtmsg.h-data: Likewise. - * conform/data/fnmatch.h-data: Likewise. - * conform/data/ftw.h-data: Likewise. - * conform/data/glob.h-data: Likewise. - * conform/data/grp.h-data: Likewise. - * conform/data/iconv.h-data: Likewise. - * conform/data/langinfo.h-data: Likewise. - * conform/data/libgen.h-data: Likewise. - * conform/data/limits.h-data: Likewise. - * conform/data/locale.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/monetary.h-data: Likewise. - * conform/data/mqueue.h-data: Likewise. - * conform/data/ndbm.h-data: Likewise. - * conform/data/netdb.h-data: Likewise. - * conform/data/pthread.h-data: Likewise. - * conform/data/pwd.h-data: Likewise. - * conform/data/regex.h-data: Likewise. - * conform/data/sched.h-data: Likewise. - * conform/data/search.h-data: Likewise. - * conform/data/semaphore.h-data: Likewise. - * conform/data/setjmp.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/spawn.h-data: Likewise. - * conform/data/stdio.h-data: Likewise. - * conform/data/stdlib.h-data: Likewise. - * conform/data/string.h-data: Likewise. - * conform/data/strings.h-data: Likewise. - * conform/data/sys/ipc.h-data: Likewise. - * conform/data/sys/msg.h-data: Likewise. - * conform/data/sys/resource.h-data: Likewise. - * conform/data/sys/sem.h-data: Likewise. - * conform/data/sys/shm.h-data: Likewise. - * conform/data/sys/socket.h-data: Likewise. - * conform/data/sys/stat.h-data: Likewise. - * conform/data/sys/time.h-data: Likewise. - * conform/data/sys/types.h-data: Likewise. - * conform/data/sys/uio.h-data: Likewise. - * conform/data/sys/wait.h-data: Likewise. - * conform/data/syslog.h-data: Likewise. - * conform/data/tar.h-data: Likewise. - * conform/data/termios.h-data: Likewise. - * conform/data/time.h-data: Likewise. - * conform/data/ulimit.h-data: Likewise. - * conform/data/unistd.h-data: Likewise. - * conform/data/utmpx.h-data: Likewise. - * conform/data/wchar.h-data: Likewise. - * conform/data/wctype.h-data: Likewise. - * conform/data/wordexp.h-data: Likewise. - - * io/fcntl.h: Define mode_t macros instead of including sys/stat.h. - * sysdeps/unix/bsd/bits/stat.h: Enable using from fcntl.h. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - - * stdlib/stdlib.h: Define wait-related bits for XPG7. - Don't declare valloc, mktemp, ecvt, fcvt, gcvt for XPG6 and up. - Declare mkstemp and getsubopt for XPG7. - Declare posix_openpt for XPG6 XSI. - - * include/features.h: Define __USE_XOPEN2KXSI for _XOPEN_SOURCE >= 600 - and __USE_XOPEN2K8XSI for _XOPEN_SOURCE >= 700. - - * string/string.h: Declare strdup for XPG7. - -2010-01-08 Ulrich Drepper <drepper@redhat.com> - - * bits/confname.h: Define _CS_V6_ENV and _CS_V7_ENV. - * posix/confstr.c: Implement _CS_V6_ENV and _CS_V7_ENV. - - * dirent/dirent.h: Really fix feature selection. - - * locale/localeinfo.h: Rename struct locale_data to __locale_data. - Fix all users. - * locale/C-address.c: Fix all users. - * locale/C-collate.c: Likewise. - * locale/C-ctype.c: Likewise. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-messages.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-time.c: Likewise. - * locale/findlocale.c: Likewise. - * locale/global-locale.c: Likewise. - * locale/loadarchive.c: Likewise. - * locale/loadlocale.c: Likewise. - * locale/nl_langinfo_l.c: Likewise. - * locale/setlocale.c: Likewise. - * locale/xlocale.c: Likewise. - * locale/xlocale.h: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/strfmon_l.c: Likewise. - * stdlib/strtod_l.c: Likewise. - * stdlib/strtol_l.c: Likewise. - * string/strcoll_l.c: Likewise. - * string/strxfrm_l.c: Likewise. - * time/alt_digit.c: Likewise. - * time/asctime.c: Likewise. - * time/era.c: Likewise. - * time/lc-time-cleanup.c: Likewise. - * time/strftime_l.c: Likewise. - * time/strptime_l.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - * wcsmbs/wcsmbsload.h: Likewise. - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define O_DIRECTORY, - O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN - for XPG7. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall. + * sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2010-01-07 Roland McGrath <roland@redhat.com> - - * elf/elf.h (PN_XNUM): New macro. - - * elf/dl-sysdep.c (_dl_important_hwcaps): Use NT_GNU_HWCAP instead of - literal 2. - -2010-01-06 Ulrich Drepper <drepper@redhat.com> - - * dirent/dirent.h: Fix typo in feature selection macro use. - -2009-12-15 Maciej W. Rozycki <macro@codesourcery.com> - - [BZ #11115] - * stdlib/tst-makecontext3.c: New file. - * stdlib/Makefile (tests): Add new test. - - * stdlib/tst-setcontext.c (check_called): Fix a typo. - -2009-12-17 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: Enable multi-arch by default if the assembler - supports gnu_indirect_function symbol type and the architecture - supports it. - -2009-12-23 Ulrich Drepper <drepper@redhat.com> - - * include/stdlib.h: Exclude some includes and prototypes if _ISOMAC - is defined. - -2009-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * hurd/hurdioctl.c (_hurd_locked_install_cttyid): Set newctty to - MACH_PORT_NULL when id != cttyid. - -2009-12-20 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * sysdeps/mach/hurd/getcwd.c (cleanup): Do not call - __mach_port_deallocate on rootdevid. - -2009-12-17 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Handle - R_390_PC32DBL. Remove unneeded R_390_PLT16DBL. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove - unneeded R_390_PLT16DBL and R_390_PLT32DBL. - -2009-12-21 Ulrich Drepper <drepper@redhat.com> - - [BZ #10992] - * sysdeps/unix/sysv/linux/futimens.c: Handle AT_FDCWD. - Patch by Eric Blake <ebb9@byu.net>. - -2009-12-15 Ulrich Drepper <drepper@redhat.com> - - [BZ #11093] - * bits/poll.h: Define POLLRDNORM, POLLRDBAND, POLLWRNORM, and - POLLWRBAND also for POSIX 2008. - * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. - - * include/link.h (struct link_map): Move l_used into its own word. - * elf/dl-lookup.c (_dl_lookup_symbol_x): Only update l_used when it is - still zero. - * elf/dl-object.c (_dl_new_object): Set dl_used if we know it is - never really used. - -2009-12-13 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/multiarch/strcspn.S Include <init-arch.h> - instead of <ifunc-defines.h>. Use bit_XXX and index_XXX to - check processor feature. - * sysdeps/i386/i686/multiarch/strlen.S: Likewise. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - * sysdeps/x86_64/multiarch/init-arch.h (bit_SSE2): New definition. - (index_SSE2): Likewise. - -2009-12-09 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/multiarch/init-arch.h: Include <ifunc-defines.h> - if __ASSEMBLER__ is defined. - (bit_SSSE3): New. Defined for __ASSEMBLER__. - (bit_SSE4_2): Likewise. - (index_SSSE3): Likewise. - (index_SSE4_2): Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.S: Include <init-arch.h> - instead of <ifunc-defines.h>. Use bit_XXX and index_XXX to - check processor feature. - * sysdeps/x86_64/multiarch/strchr.S: Likewise. - * sysdeps/x86_64/multiarch/strcmp.S: Likewise. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strcspn.S: Likewise. - * sysdeps/x86_64/multiarch/strlen.S: Likewise. - * sysdeps/x86_64/multiarch/strrchr.S: Likewise. - * sysdeps/x86_64/multiarch/strspn.S: Likewise. - -2009-12-08 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * sysdeps/sh/elf/initfini.c: Update according to generic/initfini.c. - -2009-12-01 Mike Frysinger <vapier@gentoo.org> - - * sysdeps/sh/sh4/fpu/fpu_control.h (__set_fpscr): New prototype. - -2009-12-11 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Redefine O_SYNC and - O_DSYNC to match 2.6.33+ kernels. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2009-12-10 Ulrich Drepper <drepper@redhat.com> - - [BZ #11000] - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Always set - *herrnop before returning. - * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r): - Likewise. - * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): Handle - TRYAGAIN errors separately. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix error handling of - *name4_r after functions. - -2009-12-09 Ulrich Drepper <drepper@redhat.com> - - [BZ #11046] - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Fix kernel - version check. - -2009-11-05 Bruno Haible <bruno@clisp.org> - - [BZ #11056] - * posix/unistd.h (execve, fexecve, execv, execvp, execvpe): Mark the - argv argument as non-NULL. - (execle, execl, execlp): Mark the first ARG argument as non-NULL. - -2009-12-08 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/socket.h: Define mmsghdr and declare - recvmmsg. - * sysdeps/unix/sysv/linux/syscalls.list: Add entry for recvmmsg. - * sysdeps/unix/sysv/linux/Versions: Add recvmmsg for GLIBC_2.12. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. -2009-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent): + Minor cleanups. NUL terminate name string. - * sysdeps/s390/s390-64/dl-trampoline.S: Add CFI for the call saved - registers. - * sysdeps/s390/s390-32/dl-trampoline.S: Likewise. - * sysdeps/s390/s390-32/s390-mcount.S: Add CFI. - * sysdeps/s390/s390-64/s390x-mcount.S: Add CFI. + * nis/Versions: No need to export _nss_nisplus_parse_grent, + _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent. -2009-11-30 Ulrich Drepper <drepper@redhat.com> + * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent): + Avoid unnecessary allocation. Fix adjustment for pointer value. - * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_IDLE and - SCHED_RESET_ON_FORK. + * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_* + macros. Avoid unnecessary allocation. -2009-11-26 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sync_file_range.c: New file. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code - only used on truly ancient kernel if configuration requires a more - recent kernel. +2006-04-13 Ulrich Drepper <drepper@redhat.com> -2009-11-24 Ulrich Drepper <drepper@redhat.com> + * nis/Makefile (libnsl-routimes): Add nss-default. + * nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss. + * nis/nss-nis.c: Move /etc/default/nss handling to... + * nis/nss-default.c: ...here. New file. + * nis/libnsl.h: New file. + * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss + plus auxilary definitions. + * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of + _nis_default_nss. + * nis/nss_nis/nis-service.c: Likewise. - [BZ #3662] - * stdlib/random_r.c: Fix comments for __initstate_r and __setstate_r. - Patch by Christopher Neufeld <glibcbugs0000@cneufeld.ca>. +2006-04-07 Steven Munroe <sjmunroe@us.ibm.com> - * sysdeps/unix/grantpt.c (pts_name): Take additional parameter, - pass it on to __ptsname_internal. - (grantpt): Pass stat64 pointer to pts_name. Remove stat call here. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): New function. - All the code from __ptsname_r but take additional parameter. Use that - instead of pointer to local stat64 variable. - (__ptsname_r): Call __ptsname_internal with pointer to local stat64 - variable. - * include/stdlib.h: Declare __ptsname_internal. + * sysdeps/powerpc/fpu/bits/mathinline.h + [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT. + (__ieee754_sqrt): Fix comment. + (__ieee754_sqrtf): Fix comment. + * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment. + Check __CPU_HAS_FSQRT instead of dl_hwcap. + * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise. - * sysdeps/unix/grantpt.c (grantpt): Use CLOSE_ALL_FDS is available - before the exec. - * sysdeps/unix/sysv/linux/grantpt.c: New file. - * login/programs/pt_chown.c (main): Don't print message on errors - when doing real work. +2006-04-08 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/grantpt.c (grantpt): Only get tty group information - once. + * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD. - * csu/elf-init.c (__libc_csu_irel): New function. Code to perform - irel relocations split out from... - (__libc_csu_init): ...here. - * csu/libc-start.c [!SHARED]: Call __libc_csu_irel early. + * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid calling + it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. -2009-11-23 Andreas Schwab <schwab@redhat.com> + * nis/nis_ping.c: Remove unnecessary conditionals before + nis_freeresult calls. + * nis/nis_ismember.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Use struct timespec - for timestamps also if __USE_XOPEN2K8. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD. + Reported by genesh@comcast.net. -2009-11-22 Ulrich Drepper <drepper@redhat.com> + * io/fts.c (fts_build): Call fts_lfree in the two error cases + after the loop [Coverity CID 187]. - * nscd/connections.c (restart): Try harder to re-exec. + * nis/nis_getservlist.c (nis_getservlist): Also free lookup result + in error case [Coverity CID 189]. - * sunrpc/create_xid.c (_create_xid): Reinitialize state after fork. + * nis/nis_getservlist.c (nis_getservlist): One more free call + needed [Coverity CID 190]. - * sysdeps/unix/sysv/linux/ntp_gettimex.c: New file. - * sysdeps/unix/sysv/linux/Makefile: Add rules to build ntp_gettimex. - * sysdeps/unix/sysv/linux/Versions: Export ntp_gettimex for GLIBC_2.12. - * sysdeps/unix/sysv/linux/sys/timex.h (ntptimeval): Add tai member and - some placeholders. Redirect ntp_gettime to ntp_gettimex. - * sysdeps/unix/sysv/linux/ntp_gettime.c: Adjust for header change. +2006-04-07 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/sys/timex.h (MOD_TAI, MOD_MICRO, MOD_NANO): - Define. - (STA_RONLY): Add STA_NANO, STA_MODE, and STA_CLK. + * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove + unnecessary test for accu->linear == NULL [Coverity CID 79]. -2009-11-18 H.J. Lu <hongjiu.lu@intel.com> +2006-04-07 Ulrich Drepper <drepper@redhat.com> - [BZ #10162] - * sysdeps/ia64/memchr.S: Don't use a simple loop on data shorter - than software pipeline. Properly recover from shorter read. + * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min + into a macro. Use preprocessor to decide how to initialize + attempts [Coverity CID 67]. -2009-11-19 Ulrich Drepper <drepper@redhat.com> + * io/fts.c (fts_build): Comment out dead code [Coverity CID 68]. - [BZ #10958] - * libio/libio.h (_IO_getwc_unlocked): Check for _wide_data being - initialized before using it. - (_IO_putwc_unlocked): Likewise. + * sunrpc/rpc_parse.c (def_union): Comment out dead code + [Coverity CID 70]. - [BZ #10918] - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ISSET_S): Use __const - in cast to not throw away const-ness of parameters. - (__CPU_EQUAL_S): Likewise. - (__CPU_OP_S): Likewise. + * locale/programs/linereader.c (lr_token): Remove duplicate + handling of EOF [Coverity CID 71]. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Introduce new symbol - F_OWNER_PGRP and mark F_OWNER_GID obsolete. The kernel people made - this gratuitous change and we have to keep compatibility. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]: + We bail out early if ignore_content is set, so there is no need to + check it later again [Coverity CID 72]. -2009-11-17 Ulrich Drepper <drepper@redhat.com> + * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL, + not tptrp [Coverity CID 73]. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names - of parameters of sync_file_range. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL, + not tptrp [Coverity CID 74]. -2009-11-16 Jakub Jelinek <jakub@redhat.com> + * misc/tsearch.c (__tsearch): Don't rotate tree if memory + allocation failed [Coverity CID 78]. - * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): - Implement using sync_file_range2 syscall if __NR_sync_file_range2 - is defined. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: New - file. +2006-04-07 Jakub Jelinek <jakub@redhat.com> -2009-11-17 Paolo Bonzini <bonzini@gnu.org> + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in + the last change. - * posix/bug-regex30.c: New file. - * posix/Makefile: Add rules to build and run bug-regex30. - * posix/regcomp.c (re_compile_fastmap_iter): Add all multibyte - character lead bytes when there is a range in a COMPLEX_BRACKET. - Reported by Oleg Bylatov. +2006-04-07 Ulrich Drepper <drepper@redhat.com> -2009-11-17 Ulrich Drepper <drepper@redhat.com> + * inet/rexec.c (rexec_af): If we have no canonical name don't + proceed further [Coverity CID 86]. - [BZ #10969] - * locale/duplocale.c (__duplocale): Handle LC_GLOBAL_LOCALE special. - * locale/tst-duplocale.c: New file. - * locale/Makefile (tests): Add tst-duplocale. + * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf, + not to NULL [Coverity CID 88]. - [BZ #10968] - * locale/langinfo.h (_NL_LOCALE_NAME): Correct definition. - Patch by Bruno Haible <bruno@clisp.org>. - * locale/tst-locname.c: New file. - * locale/Makefile (tests): Add tst-locname. +2006-04-06 Ulrich Drepper <drepper@redhat.com> - [BZ #10972] - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Add new MADV_* - constants from recent kernels. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * elf/ldconfig.c (main): Use rawmemchr instead of strchr. + * nis/nis_call.c (rec_dirsearch): Likewise. + * nis/nis_local_names.c (nis_local_host): Likewise. + (nis_local_directory): Likewise. + * intl/explodename.c (_nl_explode_name): Likewise. -2009-11-09 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle + DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102]. - [BZ #10162] - * sysdeps/ia64/memchr.S: Use a simple loop on data shorter than - software pipeline. + * locale/programs/ld-address.c (address_finish): Fix conditions + for error messages [Coverity CID 104]. -2009-11-09 Mike Frysinger <vapier@gentoo.org> + * libio/fmemopen.c (fmemopen): Free stream memory in case of + invalid length [Coverity CID 106]. - * sysdeps/unix/sysv/linux/i386/fallocate.c: Include errno.h. - (fallocate): Return ENOSYS if __NR_fallocate is not defined. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise. + * nss/nss_files/files-key.c (search): Close stream before + successful return [Coverity CID 107]. -2009-11-06 Mike Frysinger <vapier@gentoo.org> + * io/fts.c (fts_open): Don't allocate parent if *argv==NULL + [Coverity CID 108]. - * posix/bug-regex29.c: Include stdio.h. + * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use + [Coverity CID 110, 109]. -2009-11-14 Ulrich Drepper <drepper@redhat.com> + * sunrpc/rpc_scan.c (docppline): Free file string if it is not + going to be used [Coverity CID 111]. - [BZ #10939] - * Versions.def: Define GLIBC_2.12 for libc. - * manual/errno.texi: Add ERFKILL entry. - * sysdeps/unix/sysv/linux/Versions: Add new errlist compat entries - for 2.12. - * sysdeps/unix/sysv/linux/bits/errno.h: Define ERFKILL is not done. - * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free + memory if socket level value cannot be retrieved [Coverity CID 112]. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Update F_SETOWN_EX and - F_GETOWN_EX definitions according to corrected kernel definitions. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - -2009-11-12 Ulrich Drepper <drepper@redhat.com> + * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in + error case [Coverity CID 114]. - * version.h: Bump for 2.12 development. + * nis/nis_clone_res.c (nis_clone_result): Free all memory in the + error cases [Coverity CID 115]. -2009-11-10 Andreas Schwab <schwab@redhat.com> + * sunrpc/rpc_parse.c (get_definition): Free defp if tok == + TOK_EOF [Coverity CID 116]. - * resolv/mapv4v6hostent.h (map_v4v6_hostent): Return non-zero if - out of buffer space. - * resolv/nss_dns/dns-host.c (getanswer_r): Check for - map_v4v6_hostent running out of space. + * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free + memory if socket level value cannot be retrieved [Coverity CID 117]. -2009-11-10 Ulrich Drepper <drepper@redhat.com> + * elf/cache.c (save_cache): Initialize pad to avoid writing + uninitialized data to disk. - * string/bits/string3.h (memset): If the second parameter is constant - and zero there is likely no transposition. - Patch by Caolan McNamara <caolanm@redhat.com. + * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118]. -2009-11-04 Philippe De Muyter <phdm@macqel.be> + * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand + locale name, use strdupa. Remove free call [Coverity CID 119]. - * sysdeps/powerpc/fpu/e_sqrt.c: Fix spelling of (Newton-)Raphson. - * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and + the resulting leak [Coverity CID 121]. -2009-10-30 Holger Hans Peter Freyther <zecke@selfish.org> + * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory + [Coverity CID 122]. - * malloc/memusagestat.c (main): Fix spelling in an error message. + * sunrpc/rpc_main.c (h_output): Free guard after we are done + [Coverity CID 123]. -2009-11-01 H.J. Lu <hongjiu.lu@intel.com> + * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation + fails [Coverity CID 126]. - * elf/dl-sym.c (do_sym): Properly handle STT_GNU_IFUNC symbols. - * elf/ifuncmain3.c (main): Test dlopen STT_GNU_IFUNC symbol. + * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error + cases [Coverity CID 127]. -2009-11-03 Andreas Schwab <schwab@redhat.com> + * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup + fails [Coverity CID 128]. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add - readahead. + * nis/nis_getservlist.c (nis_getservlist): Free all memory in case + of an error [Coverity CID 130, 129]. -2009-11-03 Jakub Jelinek <jakub@redhat.com> + * nis/nis_print_group_entry.c (nis_print_group_entry): If + nis_lookup call failed, return. Free lookup result in error + cases [Coverity CID 131]. - * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Don't - relocate opd entry when resolving prelink conflicts. + * nis/nis_removemember.c (nis_removemember): Free all memory in + error cases [Coverity CID 132]. -2009-11-04 Jakub Jelinek <jakub@redhat.com> + * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): + Always free lookup result [Coverity CID 134]. - * misc/sys/uio.h (preadv, pwritev): Fix type of last argument - when -D_FILE_OFFSET_BITS=64. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): + Always free lookup result [Coverity CID 135]. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (fallocate): Fix types - of last two arguments when -D_FILE_OFFSET_BITS=64. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (fallocate): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (fallocate): Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Always free lookup result [Coverity CID 136]. -2009-11-03 Andreas Schwab <schwab@linux-m68k.org> + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Before retrying, free old result [Coverity CID 137]. - [BZ #4457] - * sysdeps/generic/libgcc_s.h: New file. - * sysdeps/generic/framestate.c: Include it and use LIBGCC_S_SO. + * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): + Free res in case UID is zero [Coverity CID 138]. -2009-11-01 Ulrich Drepper <drepper@redhat.com> + * nis/ypclnt.c (yp_update): Always free master string + [Coverity CID 140]. - * malloc/hooks.c (free_check): Restore locking and call _int_free - appropriately. + * nis/nis_creategroup.c (nis_creategroup): Free all memory in + error cases [Coverity CID 143, 142, 141]. -2009-10-30 Ulrich Drepper <drepper@redhat.com> + * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result + if yp_match call succeeded [Coverity CID 155]. - * version.h (VERSION): Bump for 2.11 release. - * include/features.h (__GLIBC_MINOR__): Bump to 11. + * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string + allocated in yp_match at all times [Coverity CID 157, 156]. - * elf/tst-execstack.c (do_test): Add cast to avoid warning. + * nscd/nscd.c (write_pid): Close stream also if writing failed + [Coverity CID 165]. - * stdio-common/scanf13.c (main): Remove unused variable wbuf. + * nis/nis_table.c (nis_add_entry): Move test for NULL parameter + ahead of first use [Coverity CID 167]. - * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned - to avoid warning. - * stdlib/tst-strtoll.c (tests): Likewise. - - [BZ #9986] - * time/strftime_l.c (__strftime_internal): Allow %OC. - - * misc/mkostemps.c: New file. - * misc/mkostemps64.c: New file. - -2009-10-30 Andreas Schwab <schwab@redhat.com> - - * locale/programs/locale-spec.c: Include <error.h> and - <libintl.h>. - - * sysdeps/unix/sysv/linux/readlinkat.c: Fix last change. - -2009-10-28 Roland McGrath <roland@redhat.com> - - * Makefile (dist-prepare): New target. - (tag-for-dist): Target removed. - (glibc-%.tar): Pattern rule removed. - (%.tar): New pattern rule, does simple use of git archive. - (dist-version): Remove variable definition. - (dist): Just depend on that. Add .tar.xz dependency. - If dist-version variable not set on command line, depend on - dist-prepare, re-invoke with dist-version set via git describe. - - * Makerules (%.xz): New pattern rule. - -2009-10-28 Alan Modra <amodra@bigpond.net.au> - - * elf/ifuncdep2.c: Include ifunc-sel.h. - (global): Delete. - (foo1_ifunc, foo2_ifunc, foo3_ifunc): Use ifunc_sel. - * elf/ifuncmain1.c (global): Delete. - * elf/ifuncmain1vis.c: Likewise. - * elf/ifuncmain2.c: Likewise. - * elf/ifuncmain5.c: Likewise. - * elf/ifuncmod3.c: Likewise. - * elf/ifuncmain6pie.c: Include ifunc-sel.h. - (foo_ifunc): Use ifunc_one. - * elf/ifuncmain7.c: Likewise. - * elf/ifuncmod1.c: Include ifunc-sel.h. - (global): Define protected var. - (foo_ifunc, foo_hidden_ifunc, foo_protected_ifunc): Use ifunc_sel. - * elf/ifuncmod5.c: Likewise. - * sysdeps/generic/elf/ifunc-sel.h: New file. - * sysdeps/powerpc/elf/ifunc-sel.h: New file. - -2009-07-30 Alan Modra <amodra@bigpond.net.au> - - * elf/elf.h (R_PPC_NUM, R_PPC64_NUM): Delete unused and incorrect. - (R_PPC_REL16*): Correct comments. - (R_PPC_IRELATIVE, R_PPC64_IRELATIVE, R_PPC64_JMP_IREL): Define. - (R_PPC64_REL16, R_PPC64_REL16_LO, R_PPC64_REL16_HI, - R_PPC64_REL16_HA): Define. - * sysdeps/powerpc/powerpc32/dl-irel.h: New file. - * sysdeps/powerpc/powerpc64/dl-irel.h: New file. - * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_fixup_plt): - Delete unused "reloc" param. - (__process_machine_rela): Handle R_PPC_IRELATIVE. - * sysdeps/powerpc/powerpc32/dl-machine.h (__elf_machine_fixup_plt): - Delete "reloc" param. - (elf_machine_rela): Handle STT_GNU_IFUNC functions and - R_PPC_IRELATIVE. - * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): New function. - (elf_machine_rela): Handle STT_GNU_IFUNC functions and new ifunc - relocations. - -d2009-10-30 Ulrich Drepper <drepper@redhat.com> - - [BZ #10315] - * sysdeps/gnu/netinet/udp.h: Define UDP_CORK, UDP_ENCAP, - UDP_ENCAP_ESPINUDP_NON_IKE, UDP_ENCAP_ESPINUDP, and - UDP_ENCAP_L2TPINUDP. - - [BZ #10349] - * sysdeps/posix/tempname.c (__gen_tempname): Take new second - parameter, specifying length of prefix. - * stdio-common/tempname.c: Likewise. - * include/stdio.h: Adjust prototypes. - * libio/oldtmpfile.c: Adjust caller. - * misc/mkdtemp.c: Likewise. - * misc/mkostemp.c: Likewise. - * misc/mkostemp64.c: Likewise. - * misc/mkstemp.c: Likewise. - * misc/mkstemp64.c: Likewise. - * misc/mktemp.c: Likewise. - * stdio-common/tempnam.c: Likewise. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. - * misc/mkstemps.c: New file. - * misc/mkstemps64.c: New file. - * stdlib/stdlib.h: Add prototypes. - * misc/Makefile (routines): Add mkstemps and mkstemps64. - * misc/Versions: Export mkstemps and mkstemps64 for GLIBC_2.11. - -2009-10-29 Ulrich Drepper <drepper@redhat.com> - - * locale/iso-639.def: Add sml entry. - - [BZ #10391] - * resolv/res_send.c (send_dg): Initialize resplen. - - [BZ #10446] - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Match sigevent - definition to the kernel's. - * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. - -2009-08-18 Anders Johansson <ajohansson@novell.com> - - * nscd/aicache.c: Fix mixing up dataset and dataset->resp - offsets and record sizes in assert()s and response sending. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. + * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test + for NULL parameter ahead of first use [Coverity CID 168]. -2009-10-29 Ulrich Drepper <drepper@redhat.com> + * intl/finddomain.c (_nl_find_domain): We never return NULL if we + found the locale [Coverity CID 169]. - [BZ #10540] - * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): If - /etc/hosts does not exist set errnop and herrnop appropriately. - Patch by Steve Langasek <vorlon@debian.org>. + * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set + herrno [Coverity CID 178]. - [BZ #10553] - * malloc/malloc.c (malloc_info): Fix typos in format strings. - Patch by John Sullivan <jsrhbz@kanargh.force9.co.uk>. + * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned + freed object [Coverity CID 182]. - [BZ #10564] - * login/utmp_file.c (TIMEOUT): Increase to 10. +2006-04-05 Alan Modra <amodra@bigpond.net.au> + Jakub Jelinek <jakub@redhat.com> - [BZ #10609] - * sysdeps/unix/sysv/linux/faccessat.c: Fix handling of empty parameters - for file names in case the syscall is not available. - * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. - * sysdeps/unix/sysv/linux/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/futimesat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/linkat.c: Likewise. - * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. - * sysdeps/unix/sysv/linux/openat.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Likewise. + * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias): + Change return value to ssize_t. + +2006-04-04 Roland McGrath <roland@redhat.com> + + * string/Makefile (CFLAGS-inl-tester.c): New variable. + (CFLAGS-tst-inlcall.c): Likewise. + + [BZ #2508] + * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting + inside [$(have-selinux) = yes]. + ($(objpfx)selinux.o: sysincludes): Likewise. + + * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C. + (generate-8bit-gap-table): Likewise. + ($(objpfx)iso8859-7jp.stmp): Likewise. + Reported by S.Çağlar Onur <caglar@uludag.org.tr>. + +2006-03-21 Joseph S. Myers <joseph@codesourcery.com> + + * soft-fp/adddf3.c: Add libgcc exception. Update FSF address. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/divdf3.c: Likewise. + * soft-fp/divsf3.c: Likewise. + * soft-fp/divtf3.c: Likewise. + * soft-fp/double.h: Likewise. + * soft-fp/eqdf2.c: Likewise. + * soft-fp/eqsf2.c: Likewise. + * soft-fp/eqtf2.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extended.h: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/gedf2.c: Likewise. + * soft-fp/gesf2.c: Likewise. + * soft-fp/getf2.c: Likewise. + * soft-fp/ledf2.c: Likewise. + * soft-fp/lesf2.c: Likewise. + * soft-fp/letf2.c: Likewise. + * soft-fp/muldf3.c: Likewise. + * soft-fp/mulsf3.c: Likewise. + * soft-fp/multf3.c: Likewise. + * soft-fp/negdf2.c: Likewise. + * soft-fp/negsf2.c: Likewise. + * soft-fp/negtf2.c: Likewise. + * soft-fp/op-1.h: Likewise. + * soft-fp/op-2.h: Likewise. + * soft-fp/op-4.h: Likewise. + * soft-fp/op-8.h: Likewise. + * soft-fp/op-common.h: Likewise. + * soft-fp/quad.h: Likewise. + * soft-fp/single.h: Likewise. + * soft-fp/soft-fp.h: Likewise. + * soft-fp/sqrtdf2.c: Likewise. + * soft-fp/sqrtsf2.c: Likewise. + * soft-fp/sqrttf2.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * soft-fp/unorddf2.c: Likewise. + * soft-fp/unordsf2.c: Likewise. + * soft-fp/unordtf2.c: Likewise. + +2006-04-03 Steven Munroe <sjmunroe@us.ibm.com> + + [BZ #2505] + * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]: + Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync. + +2006-04-03 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE + before syscall. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. + + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h> + with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H]. + +2006-04-03 Roland McGrath <roland@frob.com> + + [BZ #2507] + * mach/Machrules (.udeps-targets): New variable. + ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside + quoted string. + +2006-04-02 Ulrich Drepper <drepper@redhat.com> + + [BZ #2501] + * nscd/nscd_helper.c (get_mapping): Rewrite code to send request + so it uses send and not writev. + + [BZ #2418] + * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX + and page size when allocating buffer. + + * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document + msg_controllen type issue. + (struct cmsghdr): Same for cmsg_len. + +2006-04-01 Ulrich Drepper <drepper@redhat.com> + + [BZ #2415] + * elf/ldd.bash.in: Create better error messages for invalid input + files. + + [BZ #2477] + * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_* + macros for non-shared position-independent code. + + [BZ #2472] + * bits/siginfo.h: Fix typo in ILL_ILLOPN definition. + + [BZ #2450] + * posix/unistd.h: Match return value of readlink to what POSIX + says these days. + * io/readlink.c: Likewise. + * io/readlinkat.c: Likewise. * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/renameat.c: Likewise. - * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. - - [BZ #10643] - * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): If thread - creation filed, remove the request from the 'requests' list and signal - the caller that the request is finished. - - [BZ #10692] - * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't free buffer - in error if batch_read. Patch by Joe Landers <jlanders@vmware.com>. - - [BZ #10713] - * nis/nss_nis/nis-grp.c (internal_nis_endgrent): Start freeing blocks - from intern.start. Patch by Joe Landers <jlanders@vmware.com>. - - [BZ #10780] - * libio/ioputs.c (_IO_puts): Make sure to not return a number which - overflows the int return type. - - [BZ #10717] - * malloc/memusagestat.c (main): Fix repairing of trace files. We also - have to compute maxsize_total, we have to update the variables, and - the also_total handling must happen after the repair. - - [BZ #10742] - * nscd/dbg_log.c (dbg_log): Print timestamp before the message text. - Based on patch by Jeffrey Bastian <jbastian@redhat.com>. - -2009-10-27 Andreas Schwab <schwab@redhat.com> - - * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Make sure - errno is always set when returning unsuccessfully. -2009-10-29 Andreas Schwab <schwab@redhat.com> + [BZ #2498] + * nscd/connections.c (main_loop_poll): If the connection cannot be + accepted because of user-imposed limits close the descriptor. - * malloc/memusage.c (update_data): Fix index wraparound handling - so that buffer_cnt is actually reset. +2006-03-31 Ulrich Drepper <drepper@redhat.com> -2009-10-29 Ulrich Drepper <drepper@redhat.com> - - [BZ #10784] - * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Always copy name - of the directory we look at into the static buffer if there is one - at the start of the loop. - - [BZ #10789] - * sysdeps/generic/netinet/ip.h: Define IPTOS_ENC* and IPTOS_DSCP* - macros. Patch by Philip Prindeville <philipp@redfish-solutions.com>. - - [BZ #10840] - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_F_GETOWN_EX. - * sysdeps/unix/sysv/linux/fcntl.c: Implement F_GETOWN using F_GETOWN_EX - if possible. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_OWNER_* - and f_owner_ex. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/Versions: Export sync_file_range with + GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove + LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. + Declare sync_file_range and splice. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add + sync_file_range. + * sysdeps/unix/sysv/linux/i386/sync_file_range.S: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add splice syscall. + * sysdeps/unix/sysv/linux/Versions: Export splice with GLIBC_2.5 + version. + * Versions.def: Define GLIBC_2.5 for libc. - [BZ #10847] - * sysdeps/gnu/getutmp.c: Allow compatibility code to play around with - getutmpx symbol. - - [BZ #10823] - * resolv/res_send.c (__libc_res_nsend): Fix copying of IPv4 server - addresses. Patch by Petar Bogdanovic <petar@smokva.net>. - -2009-10-24 Joseph Myers <joseph@codesourcery.com> - - * sysdeps/ieee754/ldbl-128/w_expl.c: Add hidden_def (__expl). - -2009-10-27 Jakub Jelinek <jakub@redhat.com> - - [BZ #10817] - * math/w_coshl.c (__coshl): Use __finitel instead of __finite. - Reported by Ray Chason. - -2009-10-21 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strend-sse4. - * sysdeps/x86_64/multiarch/strchr.S: New file. - * sysdeps/x86_64/multiarch/strend-sse4.S: New file. - * sysdeps/x86_64/multiarch/strrchr.S: New file. - -2009-10-21 Andreas Schwab <schwab@redhat.com> - - * elf/dl-sym.c (do_sym): Resolve STT_GNU_IFUNC symbols. - -2009-10-19 Andreas Schwab <schwab@redhat.com> - - * include/math.h: Add hidden protos for __exp/__expf/__expl. - * sysdeps/ieee754/dbl-64/w_exp.c: Add hidden alias. - * sysdeps/ieee754/flt-32/w_expf.c: Likewise. - * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise. - * sysdeps/i386/fpu/s_expm1.S: Call __exp to handle overflow. - * sysdeps/i386/fpu/s_expm1f.S: Call __expf to handle overflow. - * sysdeps/i386/fpu/s_expm1l.S: Call __expl instead of - __ieee751_expl to handle overflow. - -2009-10-14 David S. Miller <davem@davemloft.net> - - * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: New file. - -2009-10-13 Andreas Schwab <schwab@redhat.com> - - * csu/elf-init.c (__libc_csu_init): Run preinit array even if - !USE_MULTIARCH. +2006-03-29 Ulrich Drepper <drepper@redhat.com> -2009-10-08 Ulrich Drepper <drepper@redhat.com> + * sysdeps/posix/getaddrinfo.c (gaih_inet): No need to duplicate + 'name' for 'canon'. The final allocation will happen later. - [BZ #10730] - * stdlib/random_r.c (__initstate_r): Remove duplicate __set-errno. - Patch in part by Steve Ward <planet36@gmail.com>. +2006-03-27 Ulrich Drepper <drepper@redhat.com> - [BZ #10731] - * stdlib/rand_r.c: Fix typo. + * sysdeps/unix/sysv/linux/kernel-features.h: Remove support for + architectures which moved to ports. - * po/cs.po: Update from translation team. + * sysdeps/unix/sysv/linux/kernel-features.h: Add + __ASSUME_SET_ROBUST_LIST. -2009-10-06 Andreas Schwab <schwab@redhat.com> +2006-03-27 Jakub Jelinek <jakub@redhat.com> - * elf/dl-load.c (_dl_map_object_from_fd): Close fd before - returning if RTLD_NOLOAD. + * wcsmbs/wchar.h (btowc, wctob): Don't optimize in C++. -2009-10-06 Roland McGrath <roland@redhat.com> +2006-03-24 David S. Miller <davem@sunset.davemloft.net> - * sysdeps/x86_64/multiarch/strstr-c.c - [! SHARED]: Omit libc_hidden_builtin_def fiddling. + * sysdeps/sparc/sparc32/bits/atomic.h + (__v9_compare_and_exchange_val_32_acq): Add "memory" clobber. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h + (__arch_compare_and_exchange_val_32_acq, atomic_exchange_acq): + Likewise. + * sysdeps/sparc/sparc64/bits/atomic.h + (__arch_compare_and_exchange_val_32_acq, + __arch_compare_and_exchange_val_64_acq, atomic_exchange_acq): Likewise. - * sysdeps/x86_64/multiarch/strcasestr-c.c: Remove - libc_hidden_builtin_def fiddling, does not apply to strcasestr at all. +2006-03-24 Jakub Jelinek <jakub@redhat.com> - * sysdeps/x86_64/multiarch/init-arch.h - [NOT_IN_libc] (__get_cpu_features): Define it as a macro. - (HAS_CPU_FEATURE): New macro. - (HAS_SSE2, HAS_POPCOUNT, HAS_SSE4_2, HAS_FMA): Use it. - * sysdeps/x86_64/multiarch/init-arch.c - (__get_cpu_features): #undef it before definition. + * nis/nss_nisplus/nisplus-proto.c (_nss_create_tablename): Check the + return value of malloc rather than the static var again. + * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-rpc.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Likewise. + * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): Likewise. -2009-10-05 Andreas Schwab <schwab@redhat.com> +2006-03-25 Ulrich Drepper <drepper@redhat.com> - * locale/C-time.c: Revert week-1stday back to 19971130 and set - first_weekday to 1 and first_workday to 2. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Add POLLMSG, + POLLREMOVE, and POLLRDHUP. + * sysdeps/unix/sysv/linux/bits/poll.h: Add POLLREMOVE and POLLRDHUP. -2009-10-01 Ulrich Drepper <drepper@redhat.com> +2006-03-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_SETOWN_EX and - F_GETOWN_EX. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define + LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. -2009-09-28 Andreas Schwab <schwab@redhat.com> - - * stdio-common/printf_fp.c: Check for and avoid integer overflows. - * stdio-common/vfprintf.c: Likewise. - -2009-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * sysdeps/mach/hurd/mkdirat.c: Include <hurd/fd.h>. - (mkdirat): Call __directory_name_split_at instead of - __directory_name_split. - -2009-09-28 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/locale-spec.c (locale_special): If nothing matches - fail with an appropriate message. - -2009-09-10 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: Exclude binutils 2.X. Support binutils 2.100 - and XX. - -2009-09-25 Andreas Schwab <schwab@redhat.com> - - * elf/dl-reloc.c (RESOLVE_MAP): Always pass - DL_LOOKUP_ADD_DEPENDENCY to _dl_lookup_symbol_x. - -2009-09-28 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * bits/termios.h [__USE_UNIX98] (IXANY): Define macro. - -2009-09-20 Andreas Schwab <schwab@linux-m68k.org> - - * iconvdata/iso646.c (gconv_init): Correctly initialize the - character size elements in step data. - -2009-09-20 Ulrich Drepper <drepper@redhat.com> - - * po/hu.po: Update from translation team. - * po/vi.po: Likewise. - -2009-09-19 Roland McGrath <roland@redhat.com> - - * libio/wfileops.c (_IO_wfile_seekoff): Remove unused variables. - -2009-09-15 Roland McGrath <roland@redhat.com> - - * aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE. - * nptl/sysdeps/pthread/configure: Regenerated. - * nptl/sysdeps/x86_64/configure: Regenerated. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/x86_64/elf/configure: Regenerated. - - * Makefile (autoconf-it): Set execute bit only on top-level configure. - - * configure.in: Let add-ons set $libc_add_on_config_subdirs to have - the effect of AC_CONFIG_SUBDIRS relative to the add-on directory. - * aclocal.m4 (GLIBC_PROVIDES): Add AC_CONFIG_SUBDIRS. - * configure: Regenerated. - -2009-09-09 Ulrich Drepper <drepper@redhat.com> - - * posix/getconf.c (main): Handle -- on command line. - -2009-09-05 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: Support binutils 2.100 and 3.0. - -2009-09-08 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/s390/s390-32/____longjmp_chk.c: Removed. - * sysdeps/s390/s390-64/____longjmp_chk.c: Removed. - * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: New file. - -2009-09-07 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/ld-collate.c (struct locale_collate_t): Add - unnamed_section_defined field. - (collate_read): Test and set unnamed_section_defined. - - * posix/getconf.c (vars): Handle POSIX2_LINE_MAX in addition to - _POSIX2_LINE_MAX. - -2009-09-04 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: Support binutils 2.20. - -2009-09-03 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/i686/multiarch/strstr-c.c (__strstr_sse42, - __strstr_ia32): Add attribute_hidden. - -2009-09-01 Andreas Schwab <schwab@redhat.com> - - * hesiod/nss_hesiod/hesiod-grp.c (internal_gid_from_group): Fix - parsing of group entry. - -2009-09-02 Andreas Schwab <schwab@redhat.com> - - * libio/wfileops.c (_IO_wfile_seekoff): Account for readahead in - external buffer. Always discard readahead in internal buffer. - * libio/Makefile (tests): Add bug-wsetpos. - * libio/bug-wsetpos.c: New file. - -2009-09-02 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/x86_64/multiarch/strstr-c.c (__strstr_sse42, __strstr_sse2): - Add attribute_hidden. - * sysdeps/x86_64/multiarch/strcasestr-c.c (__strcasestr_sse42, - __strcasestr_sse2): Likewise. - * sysdeps/x86_64/multiarch/s_fma.c (__fma_sse2): Add attribute_hidden. - (__fma_fma): Make static. - * sysdeps/x86_64/multiarch/s_fmaf.c (__fmaf_sse2): Add attribute_hidden. - (__fmaf_fma): Make static. - -2009-08-31 Andreas Schwab <schwab@redhat.com> - - * libio/wfileops.c (_IO_wfile_seekoff): Remove dead code and - reformulate in-buffer optimisation check to match code in - _IO_new_file_seekoff. +2006-03-17 Roland McGrath <roland@redhat.com> -2009-08-31 Joshua W. Boyer <jwboyer@linux.vnet.ibm.com> + * elf/rtld.c (dl_main): Run final self-relocation after setting up TLS. + From Alexandre Oliva <aoliva@redhat.com>. - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction - to srwi in 32-bit memcpy for power6. + * elf/tst-audit2.c: New file. + * elf/Makefile (tests): Add it. + ($(objpfx)tst-audit2.out): New target. + (tst-audit2-ENV): New variable. -2009-09-01 Andreas Schwab <schwab@redhat.com> + * elf/tst-leaks1.c: Include <stdio.h>. - * include/stdio.h: Declare hidden proto for fflush. - * libio/iofflush.c: Add hidden weak alias for fflush. +2006-03-16 Roland McGrath <roland@redhat.com> -2009-09-01 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x): + Use .set noat to quiet assembler warning. - * sysdeps/x86_64/fpu/bits/mathinline.h: Include bits/wordsize.h. - (__signbitf, __signbit): Only use SSE inline asm for 64-bit. + * math/gen-libm-test.pl (parse_args): Take function name for pretty + output as an argument. + (generate_testfile): Pass it the name given in the START macro. -2009-08-31 Andreas Schwab <schwab@redhat.com> + [BZ #2466] + * math/libm-test.inc (llrint_test, llround_test): Fix last change to + protect large-precision cases with [LDBL_MANT_DIG > 100]. + (llrint_test_tonearest, llrint_test_towardzero): Likewise. + (llrint_test_downward, llrint_test_upward): Likewise. - * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm. +2006-03-15 Steven Munroe <sjmunroe@us.ibm.com> + Alan Modra <amodra@bigpond.net.au> -2009-08-31 Ulrich Drepper <drepper@redhat.com> + [BZ #2466] + * math/libm-test.inc (llrint_test, llround_test) [TEST_LDOUBLE]: + Add new test values. + (llrint_test_tonearest, llrint_test_towardzero, llrint_test_downward, + llrint_test_upward): New functions. + (main): Call them. - [BZ #10560] - * malloc/malloc.c: Add local assert definition to avoid problems with - memory allocation in the real one. + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Handle + rounding that spans doubles in IBM long double format. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: Removed. + * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: Removed. -2009-08-27 H.J. Lu <hongjiu.lu@intel.com> +2006-03-16 Roland McGrath <roland@redhat.com> - * sysdeps/i386/i686/multiarch/init-arch.c (ENABLE_SSSE3_ON_ATOM): - Removed. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Don't - turn off SSSE3 on Atom. + * wcsmbs/wchar.h (__wcstol_internal, __wcstoul_internal): Declare these + only when we will use them, under [__OPTIMIZE__ && __GNUC__ >= 2]. + (__wcstoll_internal, __wcstoull_internal_defined): Likewise. -2009-08-28 Ulrich Drepper <drepper@redhat.com> +2006-03-06 Steven Munroe <sjmunroe@us.ibm.com> - * stdlib/tst-strtol.c (tests): More tests. - * stdlib/tst-strtoll.c (tests): Likewise. + * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Add cfi_offset for spilling + of non-volatile floating-point registers to the stack (fp14-fp31). + * sysdeps/powerpc/powerpc32/gprsave0.S: Add cfi_offset for spilling of + non-volatile general-purpose registers to the stack (gpr13-gpr31). + * sysdeps/powerpc/powerpc64/dl-trampoline.S: Add cfi_offset + for non-volatiles gpr30 - grp31 spilled to the stack. + * sysdeps/powerpc/powerpc64/memcpy.S: Add cfi_offset for non-volatile + gpr31 spill to the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: + Add cfi_offset for non-volatile gpr31 spill to the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add cfi_offset + for non-volatiles gpr28 - grp31 spilled to the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Add + cfi_adjust_cfa_offset when a frame is stacked. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: + (__novec_setcontext) : Add cfi_offset for non-volatile gpr31 spill + add LR saved to the stack. Add cfi_adjust_cfa_offset when frame is + stacked. + (__setcontext) : Add cfi_offset for non-volatile gpr31 spill to + the stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: + (__novec_swapcontext) : Add cfi_offset for non-volatile gpr31 spill + add LR saved to the stack. + (__swapcontext) : Add cfi_offset for non-volatile gpr31 spill add LR + saved to the stack. Add cfi_adjust_cfa_offset when frame is stacked. + +2006-03-07 Jakub Jelinek <jakub@redhat.com> + + [BZ #2423] + * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, + round_test, trunc_test): Only run some of the new tests if + LDBL_MANT_DIG > 100. + +2006-03-03 Steven Munroe <sjmunroe@us.ibm.com> + Alan Modra <amodra@bigpond.net.au> + + * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround, __fesetround): + Define inline implementations. + * sysdeps/powerpc/fpu/fegetround.c: Use __fegetround. + * sysdeps/powerpc/fpu/fesetround.c: Use __fesetround. + + * sysdeps/powerpc/fpu/math_ldbl.h: New file. + + [BZ #2423] + * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test, + round_test, trunc_test): Add new tests. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h + (EXTRACT_IBM_EXTENDED_MANTISSA, INSERT_IBM_EXTENDED_MANTISSA): + Removed, replaced with ... + (ldbl_extract_mantissa, ldbl_insert_mantissa, ldbl_pack, ldbl_unpack, + ldbl_canonicalise, ldbl_nearbyint): New functions. + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Replace + EXTRACT_IBM_EXTENDED_MANTISSA and INSERT_IBM_EXTENDED_MANTISSA + with ldbl_extract_mantissa and ldbl_insert_mantissa. + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): + Replace EXTRACT_IBM_EXTENDED_MANTISSA with ldbl_extract_mantissa. + (ldbl_extract_mantissa, ldbl_insert_mantissa): New inline functions. + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Handle rounding + that spans doubles in IBM long double format. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: File removed. -2009-08-26 Ulrich Drepper <drepper@redhat.com> +2004-12-09 Randolph Chung <tausq@debian.org> - * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: New file. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't + define for hppa, which doesn't support this syscall. - * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: New file. +2006-03-13 Jakub Jelinek <jakub@redhat.com> -2009-08-25 Ulrich Drepper <drepper@redhat.com> + [BZ #2451] + * elf/dl-load.c (open_verify): Add free_name argument, if true, free + name before calling lose. + (open_path): Adjust caller. + (_dl_map_object): Adjust callers. Free name_copy before calling + _dl_signal_error. + * elf/Makefile: Add rules to build and run tst-leaks1. + * elf/tst-leaks1.c: New test. - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Add llround aliases. - * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: New file. +2006-03-06 Roland McGrath <roland@redhat.com> - * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: New file + * version.h (VERSION): 2.4 + * README.template: Update for 2.4. + * README: Regenerated. + * manual/install.texi (Configuring and compiling): Separate build + directory is mandatory. Use glibc-2.4 in example. + Update --enable-add-ons description. + (Supported Configurations): Remove section. + * INSTALL: Regenerated. + + * sysdeps/unix/sysv/linux/x86_64/sysconf.c + (handle_intel, handle_amd): Add __attribute__ ((noinline)). + * sysdeps/unix/sysv/linux/i386/sysconf.c + (handle_i486, handle_intel, handle_amd): Likewise. + + * sysdeps/unix/sysv/linux/i386/sysconf.c (__sysconf): Don't handle + _SC_CPUTIME and _SC_THREAD_CPUTIME here. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Likewise. + +2006-03-05 Roland McGrath <roland@redhat.com> + + * malloc/malloc.c (MALLOC_ALIGNMENT): Revert to (2 * SIZE_SZ) value. + The correct value differs only on powerpc32, and for now changing it + there is causing more trouble than it's worth. + + * malloc/arena.c: Add compile-time sanity check on padding calculation. + +2006-03-05 Jakub Jelinek <jakub@redhat.com> + + * malloc/arena.c (heap_info): Adjust the padding size if + MALLOC_ALIGNMENT > 2 * SIZE_SZ. + +2006-03-05 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/faccessat.c: New file. + * sysdeps/mach/hurd/fchmodat.c: New file. + * sysdeps/mach/hurd/fchownat.c: New file. + * sysdeps/mach/hurd/fxstatat.c: New file. + * sysdeps/mach/hurd/fxstatat64.c: New file. + * sysdeps/mach/hurd/linkat.c: New file. + * sysdeps/mach/hurd/mkdirat.c: New file. + * sysdeps/mach/hurd/openat.c: New file. + * sysdeps/mach/hurd/openat64.c: New file. + * sysdeps/mach/hurd/symlinkat.c: New file. + * sysdeps/mach/hurd/unlinkat.c: New file. + * sysdeps/mach/hurd/xmknod.c (__xmknod): Just call __xmknodat. + Guts move to ... + * sysdeps/mach/hurd/xmknodat.c: ... here, new file. + + * hurd/lookup-at.c: New file. + * hurd/Makefile (routines): Add it. + * hurd/hurd/fd.h: Declare __file_name_lookup_at, + __file_name_split_at and __directory_name_split_at. + + * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split. + + * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr + unconditionally. - * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: New file. + * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases. + * sysdeps/mach/hurd/open64.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: New file. + * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0 + rather than #ifdef _POSIX_FOO for options. We should return -1 + at runtime for an option defined to 0 at compile time. -2009-08-25 Joseph Myers <joseph@codesourcery.com> + * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options, + many to -1 or 0. - * math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl. +2006-03-05 Roland McGrath <roland@redhat.com> -2009-08-25 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) + [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME, + _SC_THREAD_CPUTIME. - * sysdeps/x86_64/fpu/s_scalbln.c: New file. - * sysdeps/x86_64/fpu/s_scalbn.c: New file. +2006-03-05 David S. Miller <davem@sunset.davemloft.net> - * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file. + * sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings. + * sysdeps/sparc/sparc32/elf/start.S: Likewise. + * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. + * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside + within ENTRY/END. + * sysdeps/sparc/sparc32/memcpy.S: Likewise. + * sysdeps/sparc/sparc32/stpcpy.S: Likewise. + * sysdeps/sparc/sparc32/strcat.S: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc32/strcmp.S: Likewise. + * sysdeps/sparc/sparc32/strcpy.S: Likewise. + * sysdeps/sparc/sparc32/strlen.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings + and use __syscall_error. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error. + * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use + CFI markings and __syscall_error. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange + code to reside within ENTRY/END. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file. + * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed. + * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file. + * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it. - * sysdeps/x86_64/fpu/s_signbit.S: New file. - * sysdeps/x86_64/fpu/s_signbitf.S: New file. + * shlib-versions: Use sparc64.*- for CPU patterns. - * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: New file. - * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: New file. +2006-03-05 Roland McGrath <roland@frob.com> - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Remove - leftover YMM_SIZE definition. + * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define. -2009-08-24 Ulrich Drepper <drepper@redhat.com> + * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORY + to force directory check. + * sysdeps/mach/hurd/opendir.c (__opendir): Likewise. - * math/math_private.h (ieee_double_shape_type): Add uint64_t word to - union. - (EXTRACT_WORDS64, INSERT_WORDS64): Define. - * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64, INSERT_WORDS64): - Redefine. - * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: New file. +2006-03-04 Roland McGrath <roland@frob.com> - * sysdeps/x86_64/fpu/math_private.h: Add specialized GET_FLOAT_WORD - and SET_FLOAT_WORD definitions. + * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Make sure high bits + of SEL are clear after copying %gs to low bits. + (_hurd_tls_fork): Likewise. -2009-08-24 Roland McGrath <roland@redhat.com> +2006-03-03 Roland McGrath <roland@redhat.com> - * sysdeps/unix/syscall-template.S: New file. - * sysdeps/unix/make-syscalls.sh: Generate rules to use it. - * sysdeps/unix/Makefile (omit-deps): Do not omit syscall stubs' deps. - (compile-syscall): Pass mkdep and -g options as normal. - (s-proto.d, s-proto-cancel.d): Don't "-include" these. - (common-generated): Don't add them here. + [BZ #2414] + * stdlib/tst-setcontext.c (f1): Take arguments of type int. -2009-08-24 Ulrich Drepper <drepper@redhat.com> +2006-03-02 Roland McGrath <roland@redhat.com> - * math/s_fdim.c: In case of overflows set errno. - * math/s_fdimf.c: Likewise. - * math/s_fdiml.c: Likewise. + * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast. - * math/math.h: Define math_errhandling of __FAST_MATH__ is not defined. - * sysdeps/i386/fpu/bits/mathinline.h: Undefine math_errhandling if we - are using the inline optimizations. +2006-03-02 Daniel Jacobowitz <dan@codesourcery.com> - * sysdeps/x86_64/fpu/bits/mathinline.h (__signbit): Optimize. - (__signbitf): Likewise. + * sysdeps/unix/sysv/linux/configure.in: Remove MIPS cases. Allow + libc_cv_slibdir et al. to be overridden. + * sysdeps/unix/sysv/linux/configure: Regenerated. -2009-08-23 Ulrich Drepper <drepper@redhat.com> +2005-12-27 Jakub Jelinek <jakub@redhat.com> - * posix/regcomp.c (parse_dup_op): Verify the expression is correctly - terminated. - * posix/Makefile (tests): Add bug-regex29. - * posix/bug-regex29.c: New file. + * elf/ldconfig.c (search_dir): Skip prelink temporaries. - * posix/unistd.h: Define _POSIX_VERSION and _POSIX2_* correctly if - older POSIX versions are selected. +2006-03-02 H.J. Lu <hongjiu.lu@intel.com> - * stdio-common/printf_fp.c: ISO C expects to print the sign of NaN - as well. - * stdio-common/printf_fphex.c: Likewise. - * stdio-common/tstdiomisc.c: Add more tests. + * elf/check-textrel.c: Don't include "config.h". - * locale/locale.h: Include xlocale.h and the thread-local locale - declarations for XPG7, not XPG6. +2006-03-02 Jakub Jelinek <jakub@redhat.com> -2009-08-21 Andreas Schwab <schwab@redhat.com> + * io/ftw.c (process_entry): If dir->streamfd != -1, + use FXSTATAT rather than LXSTAT to find if unstatable + file is a dead symlink. - * sysdeps/powerpc/powerpc32/____longjmp_chk.S: Removed. - * sysdeps/powerpc/powerpc64/____longjmp_chk.S: Removed. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S: New file. - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Move CHECK_SP earlier. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * elf/check-textrel.c: Include config.h. + (AB(handle_file)): Don't fail if PF_X | PF_W on architectures known + to have executable writable PLT. + * sysdeps/powerpc/powerpc32/configure.in (HAVE_PPC_SECURE_PLT): New + test. + * config.h.in (HAVE_PPC_SECURE_PLT): Add. -2009-08-20 Roland McGrath <roland@redhat.com> + * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double) + if long double is more aligned than 2 * SIZE_SZ. + (misaligned_chunk): Define. + (public_rEALLOc, _int_free, _int_realloc): Use it. - * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): - Use l_addr instead of l_map_start (dli_fbase). - Print "FILE([+-]OFFSET) [ADDRESS]" with the file-relative - address when there is no proximate symbol. - * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): - Likewise. +2006-01-05 H.J. Lu <hongjiu.lu@intel.com> -2009-08-16 Ulrich Drepper <drepper@redhat.com> + [BZ #2013] + * sysdeps/ia64/memccpy.S: Properly handle recovery for + predicated speculative load. - * scripts/gen-as-const.awk: Fix test for 64-bit platform. +2006-03-01 Jakub Jelinek <jakub@redhat.com> -2009-08-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - * test-skeleton.c (signal_handler): Renamed from timeout_handler. - Also handle SIGINT. In that case only do the cleanup and then - re-raise the signal. - (main): Install handler for SIGINT. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use + libc_hidden_ver rather than libc_hidden_def. -2009-08-10 SUGIOKA Toshinobu <sugioka@itonet.co.jp> + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): + Use inline asm to make sure the compiler doesn't optimize insns out. - * stdlib/longlong.h [__sh__] (udiv_qrnnd, sub_ddmmss): Add "t" to - clobber list. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h + (DECLARGS_6): Fix a typo. -2009-08-01 H.J. Lu <hongjiu.lu@intel.com> +2006-03-01 Roland McGrath <roland@redhat.com> - * elf/Makefile (distribute): Add tst-audit6.c tst-auditmod6a.c - tst-auditmod6b.c tst-auditmod6c.c tst-audit7.c tst-auditmod7a.c - tst-auditmod7b.c. - (tests): Add tst-audit6 tst-audit7. - (modules-names): Add st-auditmod6a tst-auditmod6b tst-auditmod6c - tst-auditmod7a tst-auditmod7b. - ($(objpfx)tst-audit6): New. - ($(objpfx)tst-audit6.out): Likewise. - ($(objpfx)tst-audit7): Likewise. - ($(objpfx)tst-audit7.out): Likewise. - (tst-audit6-ENV): Likewise. - (tst-audit7-ENV): Likewise. - (CFLAGS-tst-auditmod6b.c): Likewise. - (CFLAGS-tst-auditmod6c.c): Likewise. - (CFLAGS-tst-auditmod7b.c): Likewise. - * elf/tst-audit6.c: New file. - * elf/tst-audit7.c: New file. - * elf/tst-auditmod6a.c: New file. - * elf/tst-auditmod6b.c: New file. - * elf/tst-auditmod6c.c: New file. - * elf/tst-auditmod7a.c: New file. - * elf/tst-auditmod7b.c: New file. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move - saving and restoring SSE/AVX registers to ... - * sysdeps/x86_64/dl-trampoline.h: This. New file. + * version.h (VERSION): 2.3.91 -2009-08-07 H.J. Lu <hongjiu.lu@intel.com> + * Makeconfig (sysdeps-srcdirs): New variable. + (sysdeps-add-ons-srcdirs): Use it. + * csu/Makefile (all-Banner-files): Use it. - * sysdeps/i386/i686/multiarch/strcspn.S (STRCSPN): Use PIC - only if SHARED is defined. - * sysdeps/i386/i686/multiarch/strspn.S (strspn): Likewise. - -2009-08-03 Jim Meyering <meyering@redhat.com> - - * sysdeps/i386/configure.in: Use AC_HEADER_CHECK. - -2009-08-08 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/strlen.S: Move SSE4.2 version into the same - section as the other functions for this architecture. - * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. - -2009-08-07 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/strcmp.S: Add support to compile with - USE_SSSE3. In this case palignr is used. - * sysdeps/x86_64/multiarch/strcmp.S (strcmp): If SSE4.2 is not - available but SSSE3 is, pick __str{,n}cmp_ssse3. - * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines): - Add strcmp-ssse3 and strncmp-ssse3. - * sysdeps/x86_64/multiarch/strcmp-ssse3.S: New file. - * sysdeps/x86_64/multiarch/strncmp-ssse3.S: New file. - - * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Avoid - warning through fake initialization. - -2009-08-07 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/multiarch/strlen.S (ENTRY): Add the missing "; \". - -2009-08-07 Andreas Schwab <schwab@redhat.com> - - * elf/dl-lookup.c (do_lookup_x): Enter correct name into table of - unique symbols. - -2009-08-05 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Properly use - EBX from EAX = 1. Handle EAX = 11. - -2009-08-07 Andreas Schwab <schwab@redhat.com> - - * Makefile (TAGS): Use separate sed -e expressions to avoid \ - inside ''. - -2009-08-03 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/multiarch/strcspn.S: Add comments for no - hidden IFUNC functions. - * sysdeps/i386/i686/multiarch/strspn.S: Likewise. - - * sysdeps/i386/i686/multiarch/strlen.S: New file. - - * sysdeps/i386/i686/multiarch/Makefile [subdir=string] - (sysdep_routines): Add strcspn-c, strpbrk-c, strspn-c, strstr-c, and - strcasestr-c. - (CFLAGS-strcspn-c.c): Define. - (CFLAGS-strpbrk-c.c): Define. - (CFLAGS-strspn-c.c): Define. - (CFLAGS-strstr.c): Define. - (CFLAGS-strcasestr.c): Define. - * sysdeps/i386/i686/multiarch/strcspn-c.c: New file. - * sysdeps/i386/i686/multiarch/strcspn.S: New file. - * sysdeps/i386/i686/multiarch/strpbrk-c.c: New file. - * sysdeps/i386/i686/multiarch/strpbrk.S: New file. - * sysdeps/i386/i686/multiarch/strspn-c.c: New file. - * sysdeps/i386/i686/multiarch/strspn.S: New file. - * sysdeps/i386/i686/multiarch/strstr-c.c: New file. - * sysdeps/i386/i686/multiarch/strstr.c: New file. - * sysdeps/i386/i686/multiarch/strcasestr-c.c: New file. - * sysdeps/i386/i686/multiarch/strcasestr.c: New file. - * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Use - -16L instead of 0xfffffffffffffff0L. - * sysdeps/x86_64/multiarch/strspn-c.c (__strspn_sse42): Likewise. - -2009-08-02 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/configure.in: Add test for <cpuid.h>. - -2009-07-31 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Yet - another rewrite. Much smaller and faster. - * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise. - - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Get - ss_flags from the correct location. - -2009-07-31 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/Makefile (sysdep_routines): Add cacheinfo. - * sysdeps/i386/i686/cacheinfo.c: New file. - * sysdeps/i386/i686/multiarch/Makefile: New file. - * sysdeps/i386/i686/multiarch/ifunc-defines.sym: New file. - * sysdeps/i386/i686/multiarch/init-arch.c: New file. - * sysdeps/i386/i686/multiarch/init-arch.h: New file. - * sysdeps/i386/i686/multiarch/sched_cpucount.c: New file. - * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: New file. - * sysdeps/x86_64/cacheinfo.c: Include <cpuid.h>. - (__cpuid_count): New. Provide the default. - (__x86_64_prefetchw): Define only if DISABLE_PREFETCHW is not defined. - (__x86_64_preferred_memory_instruction): Define only if - DISABLE_PREFERRED_MEMORY_INSTRUCTION is not defined. - (intel_check_word): Use __cpuid. - (handle_intel): Likewise. - (handle_amd): Likewise. - (__cache_sysconf): Likewise. - (init_cacheinfo): Updated. Use __cpuid and __cpuid_count. - (__cache_sysconf): Likewise. - (init_cacheinfo): Updated. Use __cpuid and __cpuid_count. - * sysdeps/x86_64/multiarch/init-arch.c: Include <cpuid.h>. - (get_common_indeces): Use __cpuid. - (__init_cpu_features): Likewise. Disable SSSE3 on Atom only - if ENABLE_SSSE3_ON_ATOM is not defined. - * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE2): Define. - * sysdeps/x86_64/multiarch/sched_cpucount.c (POPCNT): Use - popcnt instead of popcntq. - -2009-07-31 Jakub Jelinek <jakub@redhat.com> - - * malloc/Makefile (CFLAGS-obstack.c): Add $(uses-callbacks). - -2009-07-30 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: New file. - * sysdeps/i386/____longjmp_chk.S: Remove all code. This is now a file - which always causes a compile error. - - * sysdeps/i386/__longjmp.S: Remove bound-checking pointer support. - - * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: New file. Content - comes from... - * sysdeps/x86_64/____longjmp_chk.S: ...here. This is now a file - which always causes a compile error. - - * debug/Makefile (tests): Add tst-longjmp_chk2. - * debug/tst-longjmp_chk2.c: New file. - - * sysdeps/x86_64/__longjmp.S: Remove CHECK_RSP handling. Fix CFI. - Remove incorrect use of BP_SYM. - * sysdeps/x86_64/____longjmp_chk.S: Rewrite. Complete implementation - here now since it is more complex than just a simple check. - - * sysdeps/ia64/backtrace.c (backtrace_helper): Stop backtrace when - we make no more progress. - -2009-07-29 Ulrich Drepper <drepper@redhat.com> - - * math/s_fma.c: Don't define alias if __fma is a macro. - * math/s_fmaf.c: Likewise. - * sysdeps/x86_64/multiarch/s_fma.c: New file. - * sysdeps/x86_64/multiarch/s_fmaf.c: New file. - Partially based on a patch by H.J. Lu <hongjiu.lu@intel.com>. - - * sysdeps/x86_64/multiarch/init-arch.h (__get_cpu_features): Declare. - (HAS_POPCOUNT, HAS_SSE4_2): Add variants which work outside libc. - New macro HAS_FMA. - * sysdeps/x86_64/multiarch/init-arch.c (__get_cpu_features): New - function. - * include/libc-symbols.h (libm_ifunc): Define. - * sysdeps/x86_64/multiarch/Versions: New file. - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI. - -2009-07-28 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/dl-trampoline.S: Properly restore AVX registers. - -2009-07-29 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-runtime.c (_dl_fixup): Indicate before _dl_lookup_symbol_x - call that registers used in calling conventions need to be preserved. - * elf/dl-lookup.c (do_lookup_x): Use RTLD_*_FOREIGN_CALL macros - to preserve register content if necessary. - * sysdeps/x86_64/dl-trampoline.S (_dl_x86_64_save_sse): New function. - (_dl_x86_64_restore_sse): New function. - * sysdeps/x86_64/tst-xmmymm.sh: There is now one more function that - is allowed to modify xmm/ymm registers. - - * stdio-common/scanf15.c: Undefine _LIBC. We want to test from an - application's perspective. - * stdio-common/scanf17.c: Likewise. - -2009-07-28 Ulrich Drepper <drepper@redhat.com> - - * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Don't add TCB - size to memsz. - (init_static_tls) [TLS_TCB_AT_TP]: Add it to GL(dl_tls_static_size) - here. - * elf/dl-reloc.c (_dl_try_allocate_static_tls): Compute freebytes in - two steps to catch bugs. - -2009-07-27 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/tst-xmmymm.sh: Refine testing. The script now - determines which files are used in runtime lookups and only checks - those for SSE use. - * sysdeps/x86_64/rtld-memchr.c: Removed. Not needed with refined - testing. - * sysdeps/x86_64/rtld-rawmemchr.c: Removed. - * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: Removed - * sysdeps/x86_64/Makefile: Emit warning that tst-xmmymm.sh might - take a while. - - * elf/dl-open.c: Move _dl_scope_free to... - * elf/dl-scope.c: ...here. New file. - * elf/Makefile (dl-routines): Add scope. - - * resolv/resolv.h (RES_USE_DNSSEC): Define. - * resolv/res_debug.c (p_option): Handle RES_USE_EDNS0 and - RES_USE_DNSSEC. - * resolv/res_mkquery.c (__res_nopt): Set flags for RES_USE_DNSSEC. - * resolv/res_query.c (__libc_res_nquery): Handle RES_USE_DNSSEC in - all the places we handled RES_USE_EDNS0 only before. - Patch by Adam Tkac <atkac@redhat.com>. - -2009-07-27 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-lookup.c (do_lookup_x): Fix check for table more than - 3/4 full. Pass size + 1 rather than size to _dl_higher_prime_number. - Update size when reallocating. - -2009-07-26 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/tst-xmmymm.sh: New file. Check whether any of the - functions used in ld.so modify xmm/ymm registers. - * sysdeps/x86_64/Makefile: Hook new test up. - * sysdeps/x86_64/rtld-memchr.c: New file. - * sysdeps/x86_64/rtld-memcmp.c: New file. - * sysdeps/x86_64/rtld-rawmemchr.c: New file. - * sysdeps/x86_64/rtld-strchr.S: New file. - * sysdeps/x86_64/rtld-strlen.S: New file. - * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: New file. - * sysdeps/x86_64/multiarch/rtld-strlen.S: New file. - -2009-07-26 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove - strncmp-c. - * sysdeps/x86_64/multiarch/strcmp.S (aftertail): Removed. - (exit): Likewise. - (Byte1): Likewise. - (Byte2): Likewise. - (Byte3): Likewise. - (Byte4): Likewise. - (Byte5): Likewise. - (Byte6): Likewise. - (next_8_bytes): Likewise. - (Byte0): Remove commented out codes. - (unaligned_table): Align jump table at 8 bytes. - Add _sse4_2 to all labels. Always include "../strcmp.S". - * sysdeps/x86_64/multiarch/strncmp-c.c: Removed. - * sysdeps/x86_64/strcmp.S: Add SSE2 support. - * sysdeps/x86_64/strncmp.S: New file. - -2009-07-26 Ulrich Drepper <drepper@redhat.com> - - [BZ #10422] - * sysdeps/unix/sysv/linux/eventfd.c: Add compatibility for old - kernels, dropped when eventfd2 support was added. - * sysdeps/unix/sysv/linux/signalfd.c: Add compatibility for old - kernels, dropped when signalfd4 support was added. - * sysdeps/unix/sysv/linux/kernel-features.h: More CLOEXEC syscalls - added, name them. - - [BZ #10452] - * resolv/res_send.c (send_dg): Pass full SERVFAIL, NOTIMP, REFUSED - replies up. - - * elf/elf.h: Define NT_GNU_GOLD_VERSION. - -2009-07-25 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/strcmp.S: Some more optimizations for - modern processor versions. Patch by H.J. Lu <hongjiu.lu@intel.com>. - - [BZ #10448] - * sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no - callback we must touch the status to avoid using stale value. - - * sysdeps/x86_64/multiarch/strcmp.S: Exclude unused code from being - compiled in. - -2009-07-24 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/configure.in: Don't automatically include - /lib/modules/* headers anymore. We have sane headers in the standard - place now. - -2009-06-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): "hpage", - "etf3enh" and "highgprs" added. - (_dl_s390_platforms): "z10" added. - * sysdeps/s390/dl-procinfo.h (_DL_HWCAP_COUNT, _DL_PLATFORMS_COUNT): - Increased for the new entries. - (HWCAP enum): HWCAP_S390_HPAGE, HWCAP_S390_ETF3EH and - HWCAP_S390_HIGH_GPRS added. - - * sysdeps/s390/s390-64/Makefile: Adjusted to build the new modules. - * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: New file. - * sysdeps/s390/s390-64/utf16-utf32-z9.c: New file. - * sysdeps/s390/s390-64/utf8-utf16-z9.c: New file. - * sysdeps/s390/s390-64/utf8-utf32-z9.c: New file. - -2009-07-23 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/cacheinfo.c [USE_MULTIARCH]: Rearrange code to - avoid additional cpuid instructions. Most of the information is - stored somewhere. - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add more - cache descriptors. - * sysdeps/x86_64/cacheinfo.c (intel_02_known): Likewise. - - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Reset - SSSE3 bit for Atoms. - * sysdeps/x86_64/multiarch/strcpy.S: New need to perform Atom test - here anymore. - - * posix/tst-rfc3484.c (do_test): Initialize entire sockaddr_in - structure before copying it to avoid warning. - * posix/tst-rfc3484-2.c (do_test): Likewise. - * posix/tst-rfc3484-3.c (do_test): Likewise. - - [BZ #10416] - * include/unistd.h: Make header file suitable for C++ test cases. - Patch by Duncan Simpson <dps@simpson.demon.co.uk>. - - * sysdeps/unix/sysv/linux/i386/makecontext.S: Ensure we preserve the - stack alignment in the exit code. - - * elf/dl-lookup.c (dl_lookup_x): The hashval for unique symbol can - potentially be zero. - - * elf/tst-unique1.c: Extend test to check for unloading DSO with - unique symbol definition. - Patch by Jakub Jelinek. - * elf/dl-lookup.c (do_lookup_x): When entering a new unique symbol, - make sure the object with the definition cannot be unloaded. Adjust - a few types. - * sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in - the unique symbol hash table should not be const. - -2009-07-21 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove - unnecesary variables. Comment fixes. - -2009-07-20 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/strstr.c [USE_AS_STRCASESTR] (STRSTR_SSE42): - Use NONASCII_CASE information provided by the locale to determine - whether optimized string load function can be used. Minor cleanups. - -2009-07-20 H.J. Lu <hongjiu.lu@intel.com> - - * string/strcasestr.c (STRCASESTR): New macro. - (__strcasestr): Renamed to .. - (STRCASESTR): ...this. - * string/strstr.c (STRSTR): New macro. - (strstr): Renamed to .. - (STRSTR): ...this. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strstr-c strcasestr-c - (CFLAGS-strstr.c): New. - (CFLAGS-strcasestr.c): Likewise. - * sysdeps/x86_64/multiarch/strcasestr-c.c: New file. - * sysdeps/x86_64/multiarch/strcasestr.c: New file. - * sysdeps/x86_64/multiarch/strstr-c.c: New file. - * sysdeps/x86_64/multiarch/strstr.c: New file. - -2009-07-20 Ulrich Drepper <drepper@redhat.com> - - * locale/localeinfo.h (LIMAGIC): Update value for LC_CTYPE. - * locale/langinfo.h: Define _NL_CTYPE_NONASCII_CASE. - * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializer for - _NL_CTYPE_NONASCII_CASE. - * locale/programs/ld-ctype.c (locale_ctype_t): Add nonascii_case - field. - (ctype_finish): Check whether there are any 8-bit characters outside - the range ASCII has or whether the mapping isn't the same as for - ASCII (±0x20). Set nonascii_case appropriately. - (ctype_output): Add output handler for nonascii_case. + * Makefile (dist-selector): New variable. + (glibc-%.tar rule): Use it. Make $(dist-separate) tarballs + contain one version-named directory. -2009-07-17 Ulrich Drepper <drepper@redhat.com> + * Makefile (format-me): Use --plaintext --no-number-sections. - * sysdeps/generic/sysdep.h: Define cfi_personality, cfi_lsda, - CFI_PERSONALITY, CFI_LSDA, and DW_EH_PE_* constants. + * NOTES, INSTALL: Regenerated. -2009-07-16 Ulrich Drepper <drepper@redhat.com> + * NEWS: Update 2.4 items. - [BZ #10360] - * resolv/res-mkquery.c (__res_nopt): If anslen is > 0xffff store - 0xffff in the EDNS0 record. +2006-03-01 David S. Miller <davem@sunset.davemloft.net> -2009-07-16 Ulrich Drepper <drepper@redhat.com> + * configure.in (machine): Match sparcv9v and sparc64v. + * configure: Regenerated. + * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9v/memset.S: New file. + * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file. + * sysdeps/sparc/sparc64/sparcv9v/memset.S: New file. + +2006-03-01 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/Subdirs: Use "first hurd". + +2006-02-28 Roland McGrath <roland@redhat.com> + + * sysdeps/rs6000: Directory removed, saved in ports repository. + +2006-03-01 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c. + * sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c. + * sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c. + * sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c. + +2006-02-28 Roland McGrath <roland@redhat.com> + + * elf/tst-tls-dlinfo.c: New file. + * elf/Makefile (tests): Add it. + ($(objpfx)tst-tls-dlinfo): Depend on $(libdl). + ($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so. + + * dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum + values, reserve unsupported requested names used on Solaris. + (RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values. + (RTLD_DI_MAX): Likewise. + * dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and + RTLD_DI_TLS_DATA. + + * elf/dl-tls.c (_dl_tls_get_addr_soft): New function. + * sysdeps/generic/ldsodefs.h: Declare it. + * elf/Versions (ld: GLIBC_PRIVATE): Add it. + * elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid, + dlpi_tls_data. + * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in. + + * include/link.h: Don't copy contents from elf/link.h. + Instead, #include it while #define'ing around link_map. + * elf/dl-debug.c (_dl_debug_initialize): Add a cast. + Add bogus extern decl to verify link_map members. + * elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map. + (OUT, main): Use it in place of _r_debug._r_map. + * elf/unload.c: Likewise. + * elf/unload2.c: Likewise. + * elf/neededtest.c (check_loaded_objects): Likewise. + * elf/neededtest2.c (check_loaded_objects): Likewise. + * elf/neededtest3.c (check_loaded_objects): Likewise. + * elf/neededtest4.c (check_loaded_objects): Likewise. + * elf/circleload1.c (check_loaded_objects): Likewise. + + * nscd/nscd_helper.c: Include <time.h> for `time' declaration. + + * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto. + * io/openat.c (__openat): Define instead of openat. + Use libc_hidden_def. Define openat with weak_alias. + * io/openat64.c (__openat64): Define instead of openat64. + Use libc_hidden_def. Define openat64 with weak_alias. + * sysdeps/unix/sysv/linux/openat.c: Likewise. - * nscd/cache.c (cache_add): Use atomic_compare_and_exchange_bool_rel - instead of atomic_compare_and_exchange_bool_acq to ensure pointer - is written before the list head update. - Patch by Andreas Schwab <aschwab@redhat.com>. + * libio/genops.c: Include <sched.h> for __sched_yield decl. -2009-07-16 Ulrich Drepper <drepper@redhat.com> - Jakub Jelinek <jakub@redhat.com> + * Makeconfig (+includes): Add back $(includes) + after $(+sysdep-includes). - * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Make check for - corruption thread-safe. - -2009-07-13 Jakub Jelinek <jakub@redhat.com> - - * include/atomic.h (catomic_compare_and_exchange_val_rel): If arch - overrides atomic_compare_and_exchange_val_rel, define to - atomic_compare_and_exchange_val_rel by default, otherwise default - to catomic_compare_and_exchange_val_acq. - (catomic_compare_and_exchange_bool_rel): If arch overrides - atomic_compare_and_exchange_bool_rel, define to - atomic_compare_and_exchange_bool_rel by default. - * malloc/malloc.c (_int_free): Revert 2009-07-02 change. - Use catomic_compare_and_exchange_val_rel instead of - catomic_compare_and_exchange_val_acq. - -2009-07-16 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/ldsodefs.h: Add prototype for - _dl_higher_prime_number. - * elf/dl-misc.c (_dl_higher_prime_number): Mark with internal_function. - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Optimize - restoring of ymm registers a bit. - -2009-07-15 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/memcmp.S: New file. - -2009-07-15 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86-64/dl-trampoline.h: Remove after integrating code into... - * sysdeps/x86-64/dl-trampoline.S: ...here. Rewrite to avoid function - pointers in writable memory. - -2009-07-07 H.J. Lu <hongjiu.lu@intel.com> - - * config.h.in: Add HAVE_AVX_SUPPORT entry. - * config.make.in: Add config-cflags-avx entry. - * configure.in: Substitute libc_cv_cc_avx. - * elf/Makefile: Add rules to build and run tst-audit4 and tst-audit5. - * elf/tst-audit4.c: New file. - * elf/tst-audit5.c: New file. - * elf/tst-auditmod4a.c: New file. - * elf/tst-auditmod4b.c: New file. - * elf/tst-auditmod5a.c: New file. - * elf/tst-auditmod5b.c: New file. - * sysdeps/x86_64/Makefile (gen-as-const-headers): Add - link-defines.sym. - * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): New. - (La_x86_64_vector): Likewise. - (La_x86_64_regs): Append lr_vector. - (La_x86_64_retval): Append lr_vector0/lrv_vector1. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move - saving and restoring SSE registers to ... - * sysdeps/x86_64/dl-trampoline.h: This. New file. - * sysdeps/x86_64/dl-trampoline.S: Include <config.h> and - <link-defines.h>. - (_dl_runtime_profile): Use LR_SIZE to allocate space for - La_x86_64_regs. Allocate extra space and jump to memory at - save_and_restore_vector if HAVE_AVX_SUPPORT is defined. - (save_and_restore_vector_sse): New. - (save_and_restore_vector_avx): Likewise. - (check_avx): Likewise. - (save_and_restore_vector): Likewise. - * sysdeps/x86_64/elf/configure.in: Set libc_cv_cc_avx and - HAVE_AVX_SUPPORT. - * sysdeps/x86_64/link-defines.sym: New file. - -2009-07-10 Ulrich Drepper <drepper@redhat.com> - - * elf/do-lookup.h: Removed after folding content into... - * elf/dl-lookup.c: ...here. - - * sysdeps/unix/sysv/linux/sys/epoll.h: Fix comment. - -2009-07-09 Ulrich Drepper <drepper@redhat.com> - - * configure.in: Check for gnu_unique_symbol symbol type. - * config.h.in: Add HAVE_ASM_UNIQUE_OBJECT entry. - * elf/do-lookup.h (do_lookup_x): Take new parameter with link map of - the undefined symbol. Handle STB_GNU_UNIQUE binding of found symbol. - * elf/dl-lookup.c (_dl_lookup_symbol_x): Adjust callers for do_lookup_x - change. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add definitions for - unique symbol table. - * elf/rtld.c (rtld_global): Initialize lock of unique symbol hash table - for first namespace. - * elf/dl-open.c (_dl_open): For new namespace, initialize lock for - unique symbol hash table. - * elf/Makefile: Add rules to build and run tst-unique1 and tst-unique2. - * elf/tst-unique1.c: New file. - * elf/tst-unique1mod1.c: New file. - * elf/tst-unique1mod2.c: New file. - * elf/tst-unique2.c: New file. - * elf/tst-unique2mod1.c: New file. - * elf/tst-unique2mod2.c: New file. - -2009-07-07 Ulrich Drepper <drepper@redhat.com> - - * elf/elf.h (STB_GNU_UNIQUE): Define. - - * elf/dl-misc.c (_dl_higher_prime_number): New function. Moved here - from... - * include/inline-hashtab.h: ...here. - (htab_expand): Adjust for renamed function. Correct memory handling. - -2009-07-06 Ulrich Drepper <drepper@redhat.com> - - * elf/do-lookup.h (do_lookup_x): Optimize test for valid symbol types. - -2009-07-03 Andreas Schwab <aschwab@redhat.com> - - * sysdeps/powerpc/sysdep.h (PPC_FEATURE_ARCH_2_06): Fix value. - (PPC_FEATURE_HAS_VSX): Likewise. - -2009-07-03 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/strcspn-c.c: Minor cleanups. - * sysdeps/x86_64/multiarch/strspn-c.c: Likewise. - - * sysdeps/x86_64/multiarch/strcmp.S: Make sure functions are all - aligned to 16 byte boundaries. - * sysdeps/x86_64/multiarch/strcpy.S: Likewise. - * sysdeps/x86_64/multiarch/strlen.S: Likewise. - * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. - -2009-07-02 H.J. Lu <hongjiu.lu@intel.com> - - * config.h.in (HAVE_SSE4_SUPPORT): New macro. - * config.make.in (config-cflags-sse4): New variable. - * configure.in: Substitute libc_cv_cc_sse4. - * sysdeps/i386/configure.in: Set libc_cv_cc_sse4 and - HAVE_SSE4_SUPPORT. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strcspn-c, strpbrk-c, strspn-c for string if gcc supports SSE4. - * sysdeps/x86_64/multiarch/strcspn-c.c: New file. - * sysdeps/x86_64/multiarch/strcspn.S: New file. - * sysdeps/x86_64/multiarch/strpbrk-c.c: New file. - * sysdeps/x86_64/multiarch/strpbrk.S: New file. - * sysdeps/x86_64/multiarch/strspn-c.c: New file. - * sysdeps/x86_64/multiarch/strspn.S: New file. - -2009-06-30 H.J. Lu <hongjiu.lu@intel.com> - - * elf/Makefile (distribute): Remove tst-audit.sh. Add - tst-audit2.c, tst-audit3.c, tst-auditmod3a.c, tst-auditmod3b.c. - (tests): Add tst-audit3 for x86_64. - (modules-names): Add tst-auditmod3a, tst-auditmod3b. - ($(objpfx)tst-audit3): Define. - ($(objpfx)tst-audit3.out): Define. - (tst-audit3-ENV): Define. - * elf/tst-audit3.c: New file. - * elf/tst-auditmod3a.c: New file. - * elf/tst-auditmod3b.c: New file. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save - and restore xmm6. - - * string/stpncpy.c (STPNCPY): New. Defined if not defined. - (__stpncpy): Renamed to ... - (STPNCPY): This. - (stpncpy): Create alias only if STPNCPY is not defined. - * string/strncpy.c (STRNCPY): New. Defined to strncpy if not - defined. - (strncpy): Renamed to ... - (STRNCPY): This. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - stpncpy-c strncpy-c for string. - * sysdeps/x86_64/multiarch/stpcpy.S: New file. - * sysdeps/x86_64/multiarch/stpncpy-c.c: New file. - * sysdeps/x86_64/multiarch/stpncpy.S: New file. - * sysdeps/x86_64/multiarch/strcpy.S: New file. - * sysdeps/x86_64/multiarch/strncpy-c.c: New file. - * sysdeps/x86_64/multiarch/strncpy.S: New file. - -2009-07-02 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Add full barrier when - adding to fast bin list. - -2009-07-01 Ulrich Drepper <drepper@redhat.com> - - * nis/nss_nis/nis-network.c (_nss_nis_getnetbyaddr_r): Don't use - inet_makeaddr. This worked only with class-based networks. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): - Likewise. + * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER. - * nss/nss_files/files-network.c (netbyaddr): If type is AF_UNSPEC, - recognize all types. - * nss/getent.c (networks_keys): Pass AF_UNSPEC instead of AF_UNIX - to getnetbyaddr. Fix network parameter to getnetbyaddr. It must - be in host byte order. +2006-02-28 Jakub Jelinek <jakub@redhat.com> -2009-06-26 H.J. Lu <hongjiu.lu@intel.com> + * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t): + typedef to long int resp. unsigned long int on 64-bit arches. - * sysdeps/x86_64/multiarch/ifunc-defines.sym (FAMILIY_OFFSET): Define. - (MODEL_OFFSET): Define. - * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add - family and model. - * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Break - out common code into new function get_common_indeces. Determine - extended family and model for Intel processors. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64 + umount.c rather than hppa umount.c. + * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c + rather than m68k chown.c. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh + fchownat.c rather than m68k fchownat.c. + * sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c. + * sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k + fchownat.c. + * sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c. + * sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa + umount.c. -2009-06-26 Ulrich Drepper <drepper@redhat.com> +2006-02-28 Roland McGrath <roland@redhat.com> - * resolv/resolv.h: Define RES_SNGLKUPREOP. - * resolv/res_init.c (res_setoptions): Recognize single-request-reopen - option. - * resolv/res_send.c (reopen): New function. Broken out of... - (send_dg): ... here. Recognize RES_SNGLKUPREOP. Implement second - fallback mechanism. If single-request fails switch to - single-request-reopen mode which opens a new socket for the second - request. + * sysdeps/hppa: Directory removed, saved in ports repository. + * sysdeps/mach/hppa: Likewise. + * sysdeps/mach/hurd/hppa: Likewise. + * sysdeps/unix/sysv/linux/hppa: Likewise. + * configure.in (machine): Remove hppa* cases. + * configure: Regenerated. + * shlib-versions: Remove hppa cases. -2009-06-25 Andreas Schwab <aschwab@redhat.com> + * sysdeps/m68k: Directory removed, saved in ports repository. + * sysdeps/unix/bsd/m68k: Likewise. + * sysdeps/unix/sysv/linux/m68k: Likewise. + * configure.in (machine): Remove m68* cases. + * configure: Regenerated. - * sysdeps/powerpc/powerpc32/____longjmp_chk.S (LOAD_ARG): Define. - (CHECK_SP): Use it. + * elf/rtld-Rules (subdir-args): New variable. + (rtld-subdir-make): Use it. -2009-06-24 Andreas Schwab <aschwab@redhat.com> +2006-02-22 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Fix cfa offset - for saved registers. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h + (DO_CALL): Add support for 6 system call parameters. + (DECLARGS_6, ASMFMT_6): Define. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. -2009-06-23 Andreas Schwab <aschwab@redhat.com> +2006-02-28 Roland McGrath <roland@redhat.com> - * time/tzfile.c (__tzfile_read): Don't use an empty TZ string. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h. -2009-06-22 Ulrich Drepper <drepper@redhat.com> +2006-02-27 Roland McGrath <roland@redhat.com> - * po/id.po: Update from translation team. + * scripts/config.guess: Update from master, timestamp='2006-02-27'. + * scripts/config.sub: Update from master, timestamp='2006-02-27'. - * po/bg.po: Update from translation team. + * Makefile (subdir-target-args): New variable. + ($(all-subdirs-targets)): Use it in place of -C option. + * Rules: Use $(..) instead of ../ if it's already defined. + * Makeconfig (subdir-srcdirs): New variable. + * csu/Makefile (all-Banner-files): Use it. -2009-06-22 H.J. Lu <hongjiu.lu@intel.com> + * configure.in (--enable-add-ons): Set to "yes" by default. + Handle absolute add-on directory names when looking for configure + fragments. Also look for sysdeps/*/preconfigure fragments in add-ons. + Require add-on configure to set $libc_add_on_canonical, use + that in $add_ons_sfx. Substitute add_on_subdirs with computed list + of subdir names each add-on configure set in libc_add_on_subdirs. + * configure: Regenerated. + * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule. + * config.make.in (add-on-subdirs): New substituted variable. + * Makeconfig (all-subdirs): Include $(add-on-subdirs). + Remove $(add-ons), $(sysdep-subdirs). + Don't filter out $(sysdep-inhibit-subdirs). + ($(common-objpfx)sysd-dirs): Target removed. Don't include it. + ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs + files together to gen-sorted.awk, and $(subdirs) via -v. + (subdirs): Remove magic reordering for mach and hurd. + * scripts/gen-sorted.awk: Use subdirs from command line. + Process Subdirs and Depend files directly. + Let Subdirs files use "first dir" and "inhibit dir". + Always move elf to the end of the list. + * hurd/Depend: New file. + * sysdeps/mach/Subdirs: Use "first mach". + + * Makefile (dist-separate): Remove linuxthreads. + (dist-separate-linuxthreads): Variable removed. + (glibc-%.tar rule): Use $(sysdeps-add-ons). + + * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs), + not $(all-subdirs). + (sysdep-makefiles): Use $(sysdirs). + (sysdirs): Remove export. + ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in + $(config-sysdirs). + (+sysdir_pfx): Variable removed. + (sysd-rules): Use $(common-objpfx) in place of it. + (sysdirs): Variable moved to ... + * Makeconfig (sysdirs): ... here. + Handle absolute directory names in $(config-sysdirs). + (full_config_sysdirs): Variable removed. + * csu/Makefile: Use $(sysdirs) in vpath directive. + * math/Makefile (ulps-file): Use $(sysdirs). + * sysdeps/gnu/Makefile (errlist-c): Likewise. + ($(objpfx)errlist-compat.c): Likewise. + * Makeconfig (all-Subdirs-files): Likewise. + ($(common-objpfx)config.status): Likewise. + + * configure.in (sysnames): Handle absolute add-on directory names. + (sysdeps_add_ons): New variable, AC_SUBST it. + Compute which add-ons contributed sysdeps directories. + * configure: Regenerated. + * config.make.in (sysdeps-add-ons): New substituted variable. + * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ... + * Makeconfig: ... to here. + (+sysdep_dirs): Append $(sysdeps-add-ons) here. + (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs). + Remove $(includes). + (sysdep-makeconfigs): Use $(+sysdep_dirs). + ($(common-objpfx)shlib-versions.v.i): Likewise. + + * Makeconfig: Remove hair to set Makeconfig-add-on. + + * sysdeps/unix/Makefile (sysdirs): Remove export. + (asm_CPP): Variable removed. + ($(common-objpfx)sysd-syscalls): Pass them directly for the script. + + * sysdeps/posix/Makefile: New file. + * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix + values here with ?=. + + * stdlib/gen-mpn-copy: File removed. + * stdlib/Makefile (distribute): Remove it. + * configure.in: Don't grok --with-gmp. + * configure: Regenerated. - * string/strncmp.c (STRNCMP): New. Defined to strncmp if not - defined. - (strncmp): Renamed to STRNCMP. - * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add - strncmp-c for string. - * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE4_2): Define. - * sysdeps/x86_64/multiarch/strcmp.S: New file. - * sysdeps/x86_64/multiarch/strncmp.S: New file. - * sysdeps/x86_64/multiarch/strncmp-c.c: New file. - -2009-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * elf/Makefile (distribute): Add ifuncmain1staticpie.c, - ifuncmain5.c, ifuncmain5pic.c, ifuncmain5picstatic.c, - ifuncmain5pie.c, ifuncmain5static.c, ifuncmain5staticpic.c, - ifuncdep5.c, ifuncdep5pic.c, ifuncmod5.c, ifuncmain7.c, - ifuncmain7pic.c, ifuncmain7picstatic.c, ifuncmain7pie.c, and - ifuncmain7static.c. - (tests-static): Add ifuncmain5static, ifuncmain5picstatic, - ifuncmain7static, and ifuncmain7picstatic. - (tests): Also depend on $(objpfx)ifuncmain1staticpie.out, - $(objpfx)ifuncmain5pie.out, $(objpfx)ifuncmain6pie.out, and - $(objpfx)ifuncmain7pie.out. - (modules-names): Add ifuncmod5 ifuncmod6 - (ifuncmod5.so-no-z-defs): Define. - (ifuncmod6.so-no-z-defs): Define. - (CFLAGS-ifuncmain5pic.c): Define. - (CFLAGS-ifuncmain5picstatic.c): Define. - (CFLAGS-ifuncmain5staticpic.c): Define. - (CFLAGS-ifuncdep5pic.c): Define. - (CFLAGS-ifuncmain7pic.c): Define. - (CFLAGS-ifuncmain7picstatic.c): Define. - (CFLAGS-ifuncmain1staticpie.c): Define. - (CFLAGS-ifuncmain5pie.c): Define. - (CFLAGS-ifuncmain6pie.c): Define. - (CFLAGS-ifuncmain7pie.c): Define. - ($(objpfx)ifuncmain1staticpie.out): Define. - ($(objpfx)ifuncmain1staticpie): Define. - ($(objpfx)ifuncmain5pie.out): Define. - ($(objpfx)ifuncmain5pie): Define. - ($(objpfx)ifuncmain6pie.out): Define. - ($(objpfx)ifuncmain6pie): Define. - ($(objpfx)ifuncmain5): Define. - ($(objpfx)ifuncmain5pic): Define. - ($(objpfx)ifuncmain5static): Define. - ($(objpfx)ifuncmain5staticpic): Define. - ($(objpfx)ifuncmain5picstatic): Define. - (generated): Add ifuncmain1staticpie, ifuncmain1staticpie.out, - ifuncmain5pie, ifuncmain5pie.out, ifuncmain6pie, and - ifuncmain6pie.out. - * elf/b/elf/ifuncmain1staticpie.c: New file. - * elf/ifuncdep5.c: New file. - * elf/ifuncdep5pic.c: New file. - * elf/ifuncmain5.c: New file. - * elf/ifuncmain5pic.c: New file. - * elf/ifuncmain5picstatic.c: New file. - * elf/ifuncmain5pie.c: New file. - * elf/ifuncmain5static.c: New file. - * elf/ifuncmain5staticpic.c: New file. - * elf/ifuncmain6pie.c: New file. - * elf/ifuncmain7.c: New file. - * elf/ifuncmain7pic.c: New file. - * elf/ifuncmain7picstatic.c: New file. - * elf/ifuncmain7pie.c: New file. - * elf/ifuncmain7static.c: New file. - * elf/ifuncmod5.c: New file. - * elf/ifuncmod6.c: New file. - -2009-06-20 Ulrich Drepper <drepper@redhat.com> - - [BZ #10085] - * nis/nss_compat/compat-initgroups.c (nss_setgrent): New variable. - (nss_endgrent): New variable. - (struct ent_t): Add need_endgrent and skip_initgroups_dyn - fields. Change type of files to bool and adjust all users. - (init_nss_interface): Initialize nss_setgrent and nss_endgrent. - (internal_endgrent): Call nss_endgrent if necessary. - (add_group): New function. Broken out of... - (check_and_add_group): ...here. - (getgrent_next_nss): Remove test that any callback is available. - Use skip_initgroups_dyn to determine whether to use initgroups_dyn - callback. If there is no blacklist we can trust the results returned - by the initgroups_dyn callback. In case there is a callback and we - find a group entry for the group ID but it doesn't contain the - correct member, switch to the slow mode and use getgrent_r. - (internal_getgrent_r): When we see a +: entry, determine whether - there is any callback and which we can use the initgroups_dyn - callback. - -2009-06-18 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (_int_malloc): Add some consistency checks. - (_int_free): Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_IEEE802154 and - AF_IEEE802154. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/net/if_arp.h: Define ARPHRD_IEEE802154 - and ARPHRD_IEEE802154_PHY. - - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Add missing definitions - relative to generic Linux version. - -2009-06-17 H.J. Lu <hongjiu.lu@intel.com> - - * elf/Makefile ($(objpfx)ifuncmain1pie): Use $(+link-pie). - ($(objpfx)ifuncmain1vispie): Likewise. - -2009-06-16 Ulrich Drepper <drepper@redhat.com> - - * login/Makefile: Build pt_chown as PIE. - -2009-06-15 Andreas Schwab <aschwab@redhat.com> - - * debug/xtrace.sh (do_help): Don't treat bug reporting message as - a format string. - * elf/sln.c (usage): Likewise. - * malloc/memusage.sh (do_help): Likewise. - * nss/getent.c (more_help): Likewise. - * posix/getconf.c (main): Likewise. - * sunrpc/rpcinfo.c (usage): Likewise. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. - -2009-06-16 Ulrich Drepper <drepper@redhat.com> - - * login/programs/pt_chown.c: Use libcap to drop privileges other than - those needed. - * login/Makefile: If necessary link pt_chown with -lcap. - * sysdeps/generic/pty-private.h: Define FAIL_ENOMEM. - * sysdeps/unix/grantpt.c: Handle FAIL_ENOMEM. - -2009-06-16 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/x86_64/memchr.S (memchr): Use unsigned instead of signed - comparisons. - * string/test-memchr.c (do_random_tests): Test very large lengths - as well. - -2009-06-02 H.J. Lu <hongjiu.lu@intel.com> - - * Makeconfig (+link-pie): Define. - (+prectorS): Define. - (+postctorS): Define. - * elf/Makefile ($(objpfx)tst-pie1): Use $(+link-pie). - * nscd/Makefile ($(objpfx)nscd): Likewise. - -2009-04-22 Ryan S. Arnold <rsa@us.ibm.com> - - [BZ #10107] - * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi - with cmplwi. - * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. - -2009-06-16 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/grantpt.c: Remove file after folding changes - into ... - * sysdeps/unix/grantpt.c: ...here. - -2009-06-15 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Only call chown and - chmod if it is necessary. - - [BZ #10166] - * sysdeps/unix/sysv/linux/grantpt.c: Remove shortcut which was used - when the slave device is in devpts or devfs. - - [BZ #10183] - * posix/tst-cpucount.c: Don't try more than CPU_SETSIZE bits. - - [BZ #10195] - * inet/netinet/icmp6.h (struct nd_opt_home_agent_info): Change type - of nd_opt_home_agent_info_preference to uint16_t. - Patch by Arnaud Ebalard <arno@natisbad.org>. - - [BZ #10207] - * nss/getent.c: Add support for printing gshadow data. + * configure.in (libc_cv_idn): Don't check it; libidn/configure does it. + * configure: Regenerated. - [BZ #10203] - * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Free all buffers, - not just the currently used one and those which follow. - Patch by Joe Landers <jlanders@vmware.com>. +2006-02-27 Ulrich Drepper <drepper@redhat.com> - [BZ #10196] - * libio/tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name. - * libio/Makefile: Run tst-fgetwc with necessary envvar. - Patch by Bruce Dubbs <bdubbs@linuxfromscratch.org>. + * sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set + when syscall is used. + * io/fcntl.h (AT_SYMLINK_FOLLOW): Define. - [BZ #10217] - * stdlib/abort.c: Define variable __abort_msg. - * stdlib/Versions: Export __abort_msg with GLIBC_PRIVATE version. - * include/stdlib.h: Declare __abort_msg. - * assert/assert-perr.c: Don't free buffer for message immediately. - Store atomically in __abort_msg and free old buffer if necessary. - * assert/assert.c: Likewise. - * sysdeps/posix/libc_fatal.c: Allocate buffer for message, copy it, - store pointer in __abort_msg, and possibly free old string. - * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise. +2006-02-26 Roland McGrath <roland@redhat.com> - * time/tzfile.c (__tzfile_read): Correct computation of tzspec_len. + * bare: Directory removed, saved in ports repository. - [BZ #10211] - * time/tzfile.c (__tzfile_compute): If we use the envvar format still - handle leap seconds if they are available. - Patch by Akinori Hattori <hattya@gentoo.org>. + * sysdeps/unix/common/Makefile: File removed. + * sysdeps/unix/common/glue-ctype.c: File removed. + * sysdeps/unix/common/configure.in: File removed. + * sysdeps/unix/common/configure: File removed. - * timezone/tzselect.ksh: Update from tzcode2009i. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. + * sysdeps/unix/configure.in: File removed. + * sysdeps/unix/configure: File removed. + * sysdeps/unix/make_errlist.c: File removed. + * sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist): + Rules removed. - * timezone/africa: Update from tzdata2009i. + * timezone/africa: Update from tzdata2006b (comment changes only). * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. @@ -3482,1916 +1468,2798 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com> * timezone/solar89: Likewise. * timezone/southamerica: Likewise. * timezone/systemv: Likewise. - * timezone/yearistype: Likewise. * timezone/zone.tab: Likewise. -2009-06-15 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-lookup.c (_dl_debug_bindings): When resolving to - STT_GNU_IFUNC symbol or in 8 into type_class. - - * sysdeps/i386/dl-irel.h (elf_irel): Use Elf32_Addr type - instead of Elf64_Addr. - -2009-06-14 Ulrich Drepper <drepper@redhat.com> - - * po/sv.po: Update from translation team. - - [BZ #10229] - * misc/sys/select.h (__NFDBITS): Expression should have type int. - * sysdeps/x86_64/bits/select.h: Remove asm versions for __FD_SET, - __FD_CLR, and __FD_ISSET. gcc nowadays generates better code from - the C version. - -2009-06-12 Ulrich Drepper <drepper@redhat.com> - - * Versions.def: Add GLIBC_2.11 for libpthread. - -2009-06-11 Ulrich Drepper <drepper@redhat.com> - - * resolv/res_send.c (send_dg): Remember we switched to - single-request mode. - -2009-06-09 Ulrich Drepper <drepper@redhat.com> - - * dlfcn/dlfcn.h: Remove comma at end of enum. - Patch by J.H.M. Dassen <rdassen@redhat.com>. +2006-02-26 Ulrich Drepper <drepper@redhat.com> - * libio/fileops.c (_IO_new_file_fopen): Don't prematurely stop - parsing mode string. - -2009-06-05 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/rawmemchr.S: Minor optimization. - - * sysdeps/x86_64/multiarch/rawmemchr.S: New file. - - * sysdeps/x86_64/multiarch/strlen.S: New file. - * sysdeps/x86_64/multiarch/ifunc-defines.sym: New file. - * sysdeps/x86_64/multiarch/Makefile: Add rule to build ifunc-defines.h. - * sysdeps/x86_64/multiarch/init-arch.h: Name structure with register - content. - - * csu/elf-init.c: Only compile in IFUNC functionality if USE_MULTIARCH - is defined. - -2009-06-04 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/strlen.S: Minor optimizations. - -2009-06-02 H.J. Lu <hongjiu.lu@intel.com> - - * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c, - ifuncmain1vis.c, ifuncmain1vispic.c, ifuncmain1static.c, - ifuncmain1staticpic.c, ifuncmain1picstatic.c, ifuncdep1.c, - ifuncdep1pic.c, ifuncmod1.c, ifuncmain1pie.c, ifuncmain1vispie.c, - ifuncmain2.c, ifuncmain2static.c, ifuncdep2.c, - funcmain2pic.c, ifuncmain2picstatic.c, ifuncdep2pic.c, - ifuncmain3.c, ifuncmod3.c,. - ifuncmain4.c, ifuncmain4static.c, ifuncmain4picstatic.c. - (tests-static): Add ifuncmain1static, ifuncmain1picstatic, - ifuncmain2static, ifuncmain2picstatic, ifuncmain4static, - ifuncmain4picstatic. - (tests): Add ifuncmain1, ifuncmain1pic, ifuncmain1vis, - ifuncmain1vispic, ifuncmain1staticpic, ifuncmain2, ifuncmain2pic, - ifuncmain3, ifuncmain4. - (tests): Depend on $(objpfx)ifuncmain1pie.out and - $(objpfx)ifuncmain1vispie.out. - (modules-names): Add ifuncmod1 ifuncmod3. - (generated): Add ifuncmain1pie ifuncmain1pie.out - ifuncmain1vispie ifuncmain1vispie.out. - Define rules to build and run the tests. - * elf/ifuncdep1.c: New file. - * elf/ifuncdep1pic.c: New file. - * elf/ifuncdep2.c: New file. - * elf/ifuncdep2pic.c: New file. - * elf/ifuncmain1.c: New file. - * elf/ifuncmain1pic.c: New file. - * elf/ifuncmain1picstatic.c: New file. - * elf/ifuncmain1pie.c: New file. - * elf/ifuncmain1static.c: New file. - * elf/ifuncmain1staticpic.c: New file. - * elf/ifuncmain1vis.c: New file.. - * elf/ifuncmain1vispic.c: New file.. - * elf/ifuncmain1vispie.c: New file. - * elf/ifuncmain2.c: New file. - * elf/ifuncmain2pic.c: New file. - * elf/ifuncmain2picstatic.c: New file. - * elf/ifuncmain2static.c: New file. - * elf/ifuncmain3.c: New file. - * elf/ifuncmain4.c: New file. - * elf/ifuncmain4picstatic.c: New file. - * elf/ifuncmain4static.c: New file. - * elf/ifuncmod1.c: New file. - * elf/ifuncmod3.c: New file. - -2009-06-03 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-sysdep.c (_dl_show_auxv): Terminate correct string. - -2009-06-02 Ulrich Drepper <drepper@redhat.com> - - [BZ #10221] - * posix/Makefile (routines): Add execvpe. - * posix/Versions: Export execvpe for GLIBC_2.11. - * posix/execvp.c: Now only a wrapper. Move code to... - * posix/execvpe.c: ...here. New file. - * posix/unistd.h: Declare execvpe. - -2009-06-01 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Reorder conditions - for STT_GNU_IFUNC handling for efficiency. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. - - * sysdeps/i386/dl-irel.h (elf_irel): Use __libc_fatal instead of just - _exit. - * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise. - -2009-05-31 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/sched_cpucount.c: Also use optimized code - for !SHARED. - -2009-05-29 H.J. Lu <hongjiu.lu@intel.com> - - * csu/elf-init.c: Include <link.h> and <dl-irel.h> if LIBC_NONSHARED - is not defined. - (__rela_iplt_start): New declaration. - (__rela_iplt_end): Likewise. - (__rel_iplt_start): Likewise. - (__rel_iplt_end): Likewise. - (__libc_csu_init): Process __rela_iplt_start and __rel_iplt_start. - * elf/elf.h (R_386_IRELATIVE): New macro. - (R_X86_64_IRELATIVE): New macro. - (R_386_NUM): Updated. - (R_X86_64_NUM): Likewise. - * include/libc-symbols.h (libc_ifunc_hidden_def1): New macro. - (libc_ifunc_hidden_def): New macro. - * sysdeps/generic/dl-irel.h: New file. - * sysdeps/i386/dl-irel.h: New file. - * sysdeps/x86_64/dl-irel.h: New file. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle R_386_IRELATIVE. - (elf_machine_rela): Check SHN_UNDEF for STT_GNU_IFUNC symbol. - Handle R_386_IRELATIVE. - (elf_machine_lazy_rel): Handle R_386_IRELATIVE. - (elf_machine_lazy_rela): Likewise. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle - R_X86_64_IRELATIVE. - (elf_machine_lazy_rel): Handle R_X86_64_IRELATIVE. - -2009-05-31 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/multiarch/init-arch.h: Define COMMON_CPUID_INDEX_1 - instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. So far there - are no differences. If an architecture has bits in CPUID index 1 - meaning different things the values for the COMMON_CPUID_INDEX_1 - index must not be set. - (INTEL_HAS_POPCOUNT, AMD_HAS_POPCOUNT): Removed in favor of... - (HAS_POPCOUNT): ...this. New macro. - * sysdeps/x86_64/multiarch/init-arch.c: Use COMMON_CPUID_INDEX_1 - instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. Unify code - to set the value for Intel and AMD architectures. - * sysdeps/x86_64/cacheinfo.c: Use COMMON_CPUID_INDEX_1 instead of - INTEL_CPUID_INDEX_1. - * sysdeps/x86_64/multiarch/sched_cpucount.c: Adjust for HAS_POPCOUNT - change. - -2009-05-30 Andreas Schwab <schwab@linux-m68k.org> - - * configure.in: Move AC_CANONICAL_HOST before first use of $host - and $build. - -2009-05-29 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <errno.h>. - (__expm1l): Set errno to ERANGE on overflow. - * sysdeps/ieee754/ldbl-128/s_tanl.c: Include <errno.h>. - (__tanl): Set errno to EDOM for ±Inf. - * sysdeps/ieee754/ldbl-128/s_cosl.c: Include <errno.h>. - (__cosl): Set errno to EDOM for ±Inf. - * sysdeps/ieee754/ldbl-128/s_sinl.c: Include <errno.h>. - (__sinl): Set errno to EDOM for ±Inf. - - * sysdeps/s390/s390-32/__longjmp.c (__longjmp): If CHECK_SP is - defined, use it. - * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. - * sysdeps/s390/s390-32/____longjmp_chk.c: New file. - * sysdeps/s390/s390-64/____longjmp_chk.c: New file. - -2009-05-29 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/cacheinfo.c: Compact intel_02_known array. Adjust - code accessing it. - * sysdeps/unix/sysv/linux/i386/sysconf.c: Likewise. - -2009-05-22 Andreas Schwab <schwab@linux-m68k.org> - - * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Set errno for ±Inf. - * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Set errno for overflow. - - * sysdeps/powerpc/powerpc32/____longjmp_chk.S: New file. - * sysdeps/powerpc/powerpc64/____longjmp_chk.S: New file. - * sysdeps/powerpc/powerpc32/__longjmp-common.S: Use CHECK_SP if - defined. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. - -2009-05-22 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/accept4.c: Include kernel-features.h. - (accept4): If __NR_accept4 is not defined, but __NR_socketcall - is, either do nothing at all if __ASSUME_ACCEPT4, or - call __internal_accept4 and handle EINVAL -> ENOSYS translation. - * sysdeps/unix/sysv/linux/internal_accept4.S: New file. - * sysdeps/unix/sysv/linux/i386/accept4.S (SOCKOP_accept4): Don't - define. - * sysdeps/unix/sysv/linux/i386/internal_accept4.S: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep-routines): Add - internal_accept4 in socket directory. - -2009-05-20 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/ia64/configure.in: New file. - -2009-05-21 H.J. Lu <hongjiu.lu@intel.com> - - [BZ #10162] - * sysdeps/ia64/memchr.S: Use speculative load. - - * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S: New file. - * sysdeps/unix/sysv/linux/ia64/__longjmp.S: If CHECK_RSP is defined, - use it. - - * sysdeps/i386/__longjmp.S: Add .text. - * sysdeps/x86_64/__longjmp.S: Likewise. - -2009-05-21 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/kernel-features.h: Don't define - __ASSUME_ACCEPT4 for IA-64. - -2009-05-21 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define. - - * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove. - (SOCKOP_accept4): Define. - -2009-05-20 Ulrich Drepper <drepper@redhat.com> - - * po/da.po: Update from translation team. - -2009-05-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * sysdeps/sh/____longjmp_chk.S: New file. - * sysdeps/sh/sh3/__longjmp.S: If CHECK_SP is defined, use it. - * sysdeps/sh/sh4/__longjmp.S: Likewise. - -2009-05-18 Jakub Jelinek <jakub@redhat.com> - Ulrich Drepper <drepper@redhat.com> - - * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define. - (__nscd_cache_search): Assume each entry in the - hash chain needs one hashentry and half of datahead. Use - MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry). - -2009-05-16 Ulrich Drepper <drepper@redhat.com> + * posix/unistd.h: Add fifth parameter to linkat. + * io/linkat.c: Likewise. + * sysdeps/unix/sysv/linux/linkat.c: Likewise. + * io/tst-linkat.c (do_test): Pass new parameter to linkat. + + * elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL + before comparison with MAP. + + * elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to + dl_lookup_symbol_x instead of L. + +2006-02-24 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro. + +2006-02-24 David S. Miller <davem@sunset.davemloft.net> + + * configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place + of sparc/sparc32/sparcv9b. + * sysdeps/sparc/sparc32/sparcv9b/Implies: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed. + +2006-02-24 Roland McGrath <roland@redhat.com> + + * elf/elf.h (HWCAP_SPARC_BLKINIT): New macro. + * sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it. + (_DL_HWCAP_COUNT): Increase to 7. + * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v". + From David S. Miller <davem@sunset.davemloft.net>. + + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ... + * sysdeps/sparc/dl-procinfo.c: ... here, new file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ... + * sysdeps/sparc/dl-procinfo.h: ... here, new file. + (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64]. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed. + + * elf/sofini.c (__FRAME_END__): Mark as const. + * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise. Add used attribute. + +2006-02-18 Joseph S. Myers <joseph@codesourcery.com> + + * soft-fp/single.h (SFtype): Define. + (union _FP_UNION_S): Use it. + * soft-fp/double.h (DFtype): Define. + (union _FP_UNION_D): Use it. + * soft-fp/extended.h (XFtype): Define. + (union _FP_UNION_E): Use it. + * soft-fp/quad.h (TFtype): Define. + (union _FP_UNION_Q): Use it. + * soft-fp/soft-fp.h: Add _LIBC conditionals. + (SI_BITS, DI_BITS): Define. + * soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for + X##_c. + (_FP_CMP_EQ): Use parentheses for && inside ||. + (_FP_TO_INT): Use statement expressions in conditional controlling + constant shift. + (_FP_FROM_INT): Likewise. Take unsigned type as argument. + * soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2, + _FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in + conditional controlling possibly constant shift. + (_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly + _FP_W_TYPE_SIZE. + (_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||. + * soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly + _FP_W_TYPE_SIZE. + (__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3, + __FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags. + * soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly + _FP_W_TYPE_SIZE. + * soft-fp/floatdidf.c: Pass unsigned type and macro for type size. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/fixdfdi.c: Pass macro for type size. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type. + * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise. + * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise. + * soft-fp/adddf3.c: Use typedefs for argument and return types. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/divdf3.c: Likewise. + * soft-fp/divsf3.c: Likewise. + * soft-fp/divtf3.c: Likewise. + * soft-fp/eqdf2.c: Likewise. + * soft-fp/eqsf2.c: Likewise. + * soft-fp/eqtf2.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/gedf2.c: Likewise. + * soft-fp/gesf2.c: Likewise. + * soft-fp/getf2.c: Likewise. + * soft-fp/ledf2.c: Likewise. + * soft-fp/lesf2.c: Likewise. + * soft-fp/letf2.c: Likewise. + * soft-fp/muldf3.c: Likewise. + * soft-fp/mulsf3.c: Likewise. + * soft-fp/multf3.c: Likewise. + * soft-fp/negdf2.c: Likewise. + * soft-fp/negsf2.c: Likewise. + * soft-fp/negtf2.c: Likewise. + * soft-fp/sqrtdf2.c: Likewise. + * soft-fp/sqrtsf2.c: Likewise. + * soft-fp/sqrttf2.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * soft-fp/unorddf2.c: Likewise. + * soft-fp/unordsf2.c: Likewise. + * soft-fp/unordtf2.c: Likewise. + +2006-02-09 Joseph S. Myers <joseph@codesourcery.com> + + * soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define. + (_FP_OVERFLOW_SEMIRAW): Likewise. + (_FP_CHECK_SIGNAN_SEMIRAW): Likewise. + (_FP_CHOOSENAN_SEMIRAW): Likewise. + (_FP_EXP_NORMAL): Likewise. + (_FP_PACK_SEMIRAW): Likewise. + (_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value. + (_FP_SUB): Likewise. + (_FP_TO_INT): Rewrite to operate on raw values. Don't set INVALID + exception for conversions where most negative representable + integer is correct truncated value, but do set INEXACT for such + conversions where appropriate. Don't always left-shift for + converting to a wider integer. + (_FP_FROM_INT): Rewrite to yield raw value. Correct shift for + integers with one more bits than (mantissa + guard) bits for the + floating point format. Don't use __FP_FRAC_SRS_1 for shifting + integers that may be wider than _FP_W_TYPE_SIZE. + (FP_CONV): Don't define. + (FP_EXTEND): Define. + (FP_TRUNC): Likewise. + * soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define. + (_FP_FRAC_CONV_1_1): Don't define. + (_FP_FRAC_COPY_1_1): Define. + * soft-fp/op-2.h (_FP_FRAC_SRST_2): Define. + (_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define. + (_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define. + * soft-fp/op-4.h (_FP_FRAC_SRST_4): Define. + (_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4. + (_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define. + (_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define. + (_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define. + (_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define. + * soft-fp/single.h (_FP_FRACTBITS_S): Define. + (_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S. + (_FP_WFRACXBITS_S): Likewise. + (_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define. + (FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define. + (FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define. + * soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define. + (FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define + (FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define. + * soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define. + (FP_UNPACK_EP): Correct typo. + (FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define. + (FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define. + * soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define. + (FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define. + (FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define. + * soft-fp/fixdfdi.c: Use unsigned type for result of conversion. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise. + * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * soft-fp/adddf3.c: Update for changed soft-fp interfaces. + * soft-fp/addsf3.c: Likewise. + * soft-fp/addtf3.c: Likewise. + * soft-fp/extenddftf2.c: Likewise. + * soft-fp/extendsfdf2.c: Likewise. + * soft-fp/extendsftf2.c: Likewise. + * soft-fp/fixdfdi.c: Likewise. + * soft-fp/fixdfsi.c: Likewise. + * soft-fp/fixsfdi.c: Likewise. + * soft-fp/fixsfsi.c: Likewise. + * soft-fp/fixtfdi.c: Likewise. + * soft-fp/fixtfsi.c: Likewise. + * soft-fp/fixunsdfdi.c: Likewise. + * soft-fp/fixunsdfsi.c: Likewise. + * soft-fp/fixunssfdi.c: Likewise. + * soft-fp/fixunssfsi.c: Likewise. + * soft-fp/fixunstfdi.c: Likewise. + * soft-fp/fixunstfsi.c: Likewise. + * soft-fp/floatdidf.c: Likewise. + * soft-fp/floatdisf.c: Likewise. + * soft-fp/floatditf.c: Likewise. + * soft-fp/floatsidf.c: Likewise. + * soft-fp/floatsisf.c: Likewise. + * soft-fp/floatsitf.c: Likewise. + * soft-fp/floatundidf.c: Likewise. + * soft-fp/floatundisf.c: Likewise. + * soft-fp/floatunditf.c: Likewise. + * soft-fp/floatunsidf.c: Likewise. + * soft-fp/floatunsisf.c: Likewise. + * soft-fp/floatunsitf.c: Likewise. + * soft-fp/subdf3.c: Likewise. + * soft-fp/subsf3.c: Likewise. + * soft-fp/subtf3.c: Likewise. + * soft-fp/truncdfsf2.c: Likewise. + * soft-fp/trunctfdf2.c: Likewise. + * soft-fp/trunctfsf2.c: Likewise. + * sysdeps/alpha/soft-fp/ots_add.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise. + * sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise. + * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise. + * sysdeps/alpha/soft-fp/ots_sub.c: Likewise. + * sysdeps/powerpc/soft-fp/q_add.c: Likewise. + * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise. + * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise. + * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_sub.c: Likewise. + * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise. + * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise. + +2006-02-23 Roland McGrath <roland@redhat.com> + + * include/libc-symbols.h: Fix comment typo. + From Peter Kjellerstedt <peter.kjellerstedt@axis.com>. + + * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail" + label is always used. + + [BZ #2172] + * bits/syslog-path.h: New file. + * misc/Makefile (headers): Add it. + * misc/sys/syslog.h: Include it. + (_PATH_LOG): Macro removed. + From Robert Millan <robertmh@gnu.org>. + + * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation + in misc/, not posix/. + Reported by David S. Miller <davem@davemloft.net>. + +2006-02-23 Jakub Jelinek <jakub@redhat.com> + + * posix/sched_yield.c (__sched_yield): Add libc_hidden_def. + * sysdeps/mach/sched_yield.c (__sched_yield): Likewise. + +2006-02-22 Roland McGrath <roland@redhat.com> - * posix/sys/wait.h: Fix typos. Pretty printing. - * stdlib/stdlib.h: Likewise. Correct comments. + * po/libc.pot: Regenerated. - [BZ #10159] - * stdlib/stdlib.h (__WAIT_INT): Match the definition in <sys/wait.h>. +2006-02-22 Jakub Jelinek <jakub@redhat.com> - * nscd/nscd_helper.c (__nscd_cache_search): Fix exit condition in last - patch. + * nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_() + around string literals. -2009-05-15 Ulrich Drepper <drepper@redhat.com> +2005-10-03 Jakub Jelinek <jakub@redhat.com> - * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. - Use it if we absolutely cannot reach any more correct list elements - because that many do not fit into the currently mapped database. + * nscd/selinux.c (audit_init): Print error string in the failure + message. -2009-05-14 Jakub Jelinek <jakub@redhat.com> +2006-02-21 Roland McGrath <roland@redhat.com> - * nscd/nscd_helper.c: Include stddef.h. - (__nscd_cache_search): Add datalen argument. Use atomic_forced_read - in a couple of places. Return NULL if trail is not less than - datasize, don't consider dataheads with length smaller than - offsetof (struct datahead, data) + datalen. - * nscd/nscd_client.h (__nscd_cache_search): Adjust prototype. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Adjust callers. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_getai.c (__nscd_getai): Likewise. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - - * sysdeps/unix/sysv/linux/i386/fallocate64.c (__fallocate64_l64): - Rename ... - (fallocate64): ... to this. - * sysdeps/unix/sysv/linux/fallocate64.c (__fallocate64_l64): - Rename ... - (fallocate64): ... to this. - * sysdeps/unix/sysv/linux/Versions (libc): Remove fallocate64. - * sysdeps/unix/sysv/linux/wordsize-64/Versions (libc): Add - fallocate64@@GLIBC_2.10. - * sysdeps/unix/sysv/linux/i386/Versions (libc): Add - fallocate64@@GLIBC_2.11. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. - * sysdeps/unix/sysv/linux/sh/Versions (libc): Likewise. - - * nscd/selinux.c (nscd_avc_destroy): Removed. - * nscd/selinux.h (nscd_avc_destroy): Likewise. - * nscd/nscd.c (termination_handler): Don't call - nscd_avc_destroy. - -2009-05-12 Jakub Jelinek <jakub@redhat.com> - - * include/atomic.h: Formatting. - (catomic_compare_and_exchange_val_acq): Don't define if already - defined by bits/atomic.h. - -2009-05-15 Ulrich Drepper <drepper@redhat.com> - - * math/libm-test.inc (expm1_test): Add test for range error. - - * Versions.def: Add GLIBC_2.11 for libc. - * debug/Makefile (routines): Add longjmp_chk. - Add rules to build and run tst-longjmp_chk. - * debug/Versions: Export __longjmp_chk for GLIBC_2.11. - * debug/longjmp_chk.c: New file. - * debug/tst-longjmp_chk.c: New file. - * include/bits/setjmp2.: New file. - * include/stdio.h: Mark __fortify_fail as internal_function. - * setjmp/Makefile (headers): Add bits/setjmp2.h. - * setjmp/bits/setjmp2.h: New file. - * setjmp/longjmp.c: If __libc_siglongjmp is defined, don't define any - of the aliases. - * setjmp/setjmp.h: Include <bits/setjmp2.h> if _FORTIFY_SOURCE is - defined. - * sysdeps/i386/____longjmp_chk.S: New file. - * sysdeps/x86_64/____longjmp_chk.S: New file. - * sysdeps/i386/__longjmp.S: If CHECK_ESP is defined, use it. - * sysdeps/x86_64/__longjmp.S: Likewise. - - * version.h: Bump for 2.11 development. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions. - * elf/check-execstack.c: New file. - * elf/Makefile: Add rules to build and run check-execstack. + * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove + __THROW from epoll_wait, to match .../linux/sys/epoll.h file. -2009-05-10 Ulrich Drepper <drepper@redhat.com> +2006-02-03 Jakub Jelinek <jakub@redhat.com> - * version.h (VERSION): Bump to 2.10.1. + * manual/filesys.texi (futimes): Fix prototype. - * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any - compatibility functions. - * nss/getXXent_r.c: Likewise. - * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. - * gshadow/getsgnam_r.c: Likewise. - * gshadow/Version: Remove duplicate entries. +2004-08-09 Paul Eggert <eggert@cs.ucla.edu> - * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries - for recent processor. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): - Likewise. + [BZ #315] + * manual/memory.texi (Obstacks Data Alignment): The default + alignment is not 4: it is enough to hold any type of data. + Problem reported by Benno in + <http://sources.redhat.com/ml/libc-alpha/2004-08/msg00055.html>. -2009-05-09 Ulrich Drepper <drepper@redhat.com> +2005-11-15 Robert Millan <robertmh@gnu.org> - * version.h (VERSION): Bump for 2.10 release. - * include/features.h (__GLIBC_MINOR__): Bump to 10. + [BZ #2161] + * manual/llio.texi (read, write): Document EINVAL on unaligned access. - * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the - same place we add ASFLAGS-config. +2006-02-21 Roland McGrath <roland@redhat.com> -2009-05-05 Aurelien Jarno <aurelien@aurel32.net> + * sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer. + Reported by John Zulauf <john.zulauf@amd.com>. - [BZ #10128] - * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP - or FORMERR and the other NOERROR, don't raise an error. +2004-11-23 Richard Sandiford <rsandifo@redhat.com> -2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> + * configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete. + (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove AC_DEFINEs. + * configure: Regenerate. + * config.h.in (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove undefs. + * elf/soinit.c: Don't include gccframe.h. + (__EH_FRAME_BEGIN__): Define unconditionally. + (__register_frame_info, __deregister_frame_info) + (__register_frame_info_bases, __deregister_frame_info_bases) + (__register_frame, __deregister_frame): Remove declarations. + (__libc_global_ctors, __libc_fini): Don't call registry functions. + * elf/sofini.c (__EH_FRAME_END__): Define unconditionally. + +2006-01-18 Samuel Thibault <samuel.thibault@ens-lyon.org> + + [BZ #2178] + * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero, + use _hurd_pid instead. + +2006-02-20 Richard Henderson <rth@redhat.com> + + * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include + to math subdir. + * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h. + (__ieee754_sqrtl): Add _round local variable. + * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove. + + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs. + +2006-02-20 Roland McGrath <roland@redhat.com> + + * sysdeps/mips: Directory removed, saved in ports repository. + * sysdeps/unix/mips: Likewise. + * sysdeps/unix/sysv/linux/mips: Likewise. + * sysdeps/mach/mips: Likewise. + * sysdeps/mach/hurd/mips: Likewise. + * shlib-versions: Remove mips matches, now in ports fragment. + * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. + * configure.in (machine): Likewise. + * configure: Regenerated. - [BZ #10118] - * Makeconfig (+asflags): New variable based upon ASFLAG or - asflags-cpu. - (ASFLAGS): Add override to set ASFLAGS to +asflags. - * config.make.in (asflags-cpu): Add variable based upon - @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to - the assembler. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: - Remove unneeded file now that the assembler emits _ARCH_PWR6 and - recognizes power6 instruction set due to passing -mcpu=power6 from - --with-cpu=power6 when compiling .S files. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: + * hurd/hurd/xattr.h: New file. + * hurd/xattr.c: New file. + * hurd/Makefile (routines): Add it. + * sysdeps/mach/hurd/fgetxattr.c: New file. + * sysdeps/mach/hurd/flistxattr.c: New file. + * sysdeps/mach/hurd/fremovexattr.c: New file. + * sysdeps/mach/hurd/fsetxattr.c: New file. + * sysdeps/mach/hurd/getxattr.c: New file. + * sysdeps/mach/hurd/lgetxattr.c: New file. + * sysdeps/mach/hurd/listxattr.c: New file. + * sysdeps/mach/hurd/lsetxattr.c: New file. + * sysdeps/mach/hurd/removexattr.c: New file. + * sysdeps/mach/hurd/setxattr.c: New file. + +2006-02-15 Thomas Schwinge <tschwinge@gnu.org> + + [BZ #2329] + * include/unistd.h (__getresuid, __getresgid, __setresuid) + (__setresgid): Fix argument name order in prototypes. + * posix/unistd.h (getresuid, getresgid, setresuid, setresgid): Likewise. + * posix/getresuid.c (__getresuid): Fix argument order in definition. + * posix/getresgid.c (__getresgid): Likewise. + * posix/setresuid.c (__setresuid): Likewise. + * posix/setresgid.c (__setresgid): Likewise. + * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise. + * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise. + * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise. + * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise. + Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. -2009-05-09 Jakub Jelinek <jakub@redhat.com> - - * string/stratcliff.c (do_test): Test for zero length - STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy - at the end of the page. - -2009-05-08 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM. - - * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when - count is zero. - - * po/da.po: Update from translation team. - -2009-05-05 Jakub Jelinek <jakub@redhat.com> - - * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64, - guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU. +2006-02-13 Mike Frysinger <vapier@gentoo.org> -2009-05-05 Ulrich Drepper <drepper@redhat.com> + [BZ #2380] + * string/tester.c (test_strnlen): New function. + (test_strchr): Call it. + (test_strncat): Test lengths where the sign bit is set. + (test_strncmp): Likewise. - * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT - and READ_IMPLIES_EXEC. +2006-02-17 Jakub Jelinek <jakub@redhat.com> -2009-05-04 Ulrich Drepper <drepper@redhat.com> + * include/atomic.h (atomic_and, atomic_or): Define. - * po/da.po: Update from translation team. +2006-02-15 Ulrich Drepper <drepper@redhat.com> -2009-04-29 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK + and MADV_DOFORK. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 - comment change. +2006-02-13 Jakub Jelinek <jakub@redhat.com> -2009-04-27 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel, + __openat64_not_cancel): Remove prototypes. + (__openat_nocancel, __openat64_nocancel): New prototypes or defines. + (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, + openat64_not_cancel_3): Use them. - * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE - to MAP_ANON in PROT_NONE mmap64 call. - (open_archive): Likewise. - (file_data_available_p): Use mmap64 instead of mremap. - (enlarge_archive): Likewise. Update head if ah->addr changed. - Attempt to reserve address space after mmap64 region. +2006-02-12 Ulrich Drepper <drepper@redhat.com> -2009-04-26 Ulrich Drepper <drepper@redhat.com> + * io/ftw.c: Start using *at functions. + * io/ftw64.c: Likewise. - * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow. - * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. - * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. + * sysdeps/generic/not-cancel.h: Define openat_not_cancel, + openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3. + * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. - * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in - atanh should set ERANGE. + * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel + functions. - [BZ #10087] - * elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access - result of lookup to make call to implement STT_GNU_IFUNC. - (_dl_profile_fixup): Likewise. - Patch by H.J. Lu <hjl.tools@gmail.com>. + * io/fxstatat.c: Add __fxstatat alias. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. Add support for + newfstatat syscall. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias. + Add support for fstatat64 syscall. + * include/sys/stat.h: Declare __fxstatat. + * io/fxstatat64.c: Add __fxstatat64 alias. + * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64 + syscall. - * nscd/connections.c (send_ro_fd): Define temporary variable to avoid - warning. + * dirent/fdopendir.c: Add __fdopendir alias. + * sysdeps/unix/fdopendir.c: Likewise. + * sysdeps/mach/hurd/fdopendir.c: Likewise. + * include/dirent.h: Add __fdopendir declaration. - * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline - from definition. + [BZ #2226] + * libio/wgenops.c (_IO_wsetb): Use correct size of wide char + buffer in FREE_BUF call. - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define - label if it is not used. +2006-02-08 Ulrich Drepper <drepper@redhat.com> - * elf/dl-profile.c (_dl_start_profile): Define real-type variant - of gmon_hist_hdr and gmon_hdr structures and use them. - * elf/sprof.c: Likewise. + * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare. + * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export + unshare. + * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall. - * elf/dl-load.c (open_verify): Add temporary variable to avoid - warning. + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some + preprocessor magic so that the compiler won't see the prototypes + for the functions we are defining as stubs. - * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. +2006-02-05 Ulrich Drepper <drepper@redhat.com> - * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition - to avoid cast. + * io/ftw.c (ftw_startup): Use fchdir to return to original + directory for FTW_CHDIR. - * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. - * inet/rcmd.c (rcmd_af): Make from a union of the various needed types - to avoid warnings. - (iruserok_af): Use ss_family instead of casts. +2006-02-03 Ulrich Drepper <drepper@redhat.com> - * gmon/gmon.c (write_hist): Define real-type variant of - gmon_hist_hdr structure and use it. - (write_gmon): Likewise for gmon_hdr. + * manual/stdio.texi (Formatted Output Functions): Fix make_message + example. Patch by NIIBE Yutaka <gniibe@m17n.org>. - * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement - function if we are not going to define it. - * sysdeps/unix/sysv/linux/writev.c: Likewise. +2006-02-03 Roland McGrath <roland@redhat.com> - * inet/inet6_option.c (option_alloc): Add temporary variable to - avoid warning. + [BZ #2268] + * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose + timer interval, don't assume smallest possible interval is it. - * libio/strfile.h (struct _IO_streambuf): Use correct type and - name of VTable element. - * libio/iovsprintf.c: Avoid casts to avoid warnings. - * libio/iovsscanf.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vsnprintf.c: Likewise. - * stdio-common/isoc99_vsscanf.c: Likewise. - * stdlib/strfmon_l.c: Likewise. - * debug/vasprintf_chk.c: Likewise. - * debug/vsnprintf_chk.c: Likewise. - * debug/vsprintf_chk.c: Likewise. - - * nss/nsswitch.c (__nss_lookup_function): En/Decrypt cached - function pointers. - -2009-04-26 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings. - -2009-04-25 Ulrich Drepper <drepper@redhat.com> - - * posix/bits/posix1_lim.h: Cleanup namespace a bit. - - * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf. - * sysdeps/i386/fpu/s_tanf.S: Likewise. - * sysdeps/i386/fpu/s_tanl.S: Likewise. - * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. - * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. - * sysdeps/x86_64/fpu/s_tanl.S: Likewise. - * math/libm-test.inc: Add tests for errno after tan calls with - ±Inf. - - * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correct - errno value vor pow(+-0,neg). - * math/libm-test.inc (pow_test): Add tests for errno value for - pole errors. +2006-02-03 Jakub Jelinek <jakub@redhat.com> - * math/w_fmod.c: Also handle x=±Inf as error. - * math/w_fmodf.c: Likewise. - * math/w_fmodl.c: Likewise. - * math/libm-test.inc (fmod_test): Add tests for errno after calls for - x=±Inf or y=0. - - * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf. - * sysdeps/i386/fpu/s_cosf.S: Likewise. - * sysdeps/i386/fpu/s_cosl.S: Likewise. - * sysdeps/i386/fpu/s_sin.S: Likewise. - * sysdeps/i386/fpu/s_sinf.S: Likewise. - * sysdeps/i386/fpu/s_sinl.S: Likewise. - * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. - * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. - * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. - * sysdeps/x86_64/fpu/s_cosl.S: Likewise. - * sysdeps/x86_64/fpu/s_sinl.S: Likewise. - * math/libm-test.inc: Add tests for errno after sin/cos calls with - ±Inf. - - * stdlib/strtod_l.c (round_and_return): We have to set errno to - ERANGE for underflows. - * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE. - - * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since - the 2001 revision. - - * libio/tst-widetext.input: Remove surrogates. - - * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99. - - * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors - for lgamma should set errno to ERANGE, not EDOM. - * math/libm-test.inc (lgamma_test): Check errno for pole errors. - -2009-04-24 Ulrich Drepper <drepper@redhat.com> - - [BZ #10093] - * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept - UTF-16 surrogates. - - * locale/programs/locarchive.c (enlarge_archive): Conserve address - space when temporarily mapping the whole content of the old file. - - [BZ #10100] - * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is - not zero. - -2009-04-24 Jakub Jelinek <jakub@redhat.com> - - * iconvdata/sjis.c (BODY): Don't advance inptr before - STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. - Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for - two byte chars. - -2009-04-24 Ulrich Drepper <drepper@redhat.com> - - * locale/locarchive.h (struct locarhandle): Rename len field to - mmaped and add new reserved field. - * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. - (create_archive): Reserve address space and then map file into it. - (open_archive): Likewise. - (file_data_available_p): New function. - (compare_from_file): New function. - (close_archive): Adjust to member name changes. - (add_locale): Before comparing locale data, check it is mapped. - Otherwise fall back to reading from the file. - -2009-04-23 H.J. Lu <hongjiu.lu@intel.com> - - * stdio-common/psiginfo.c: Include <errno.h>. - -2009-04-23 Ulrich Drepper <drepper@redhat.com> - - [BZ #9920] - * stdlib/random_r.c (__srandom_r): Change type of word to int32_t - to get consistency between 32 and 64 bit architectures. - - [BZ #10052] - * sysdeps/unix/make-syscalls.sh: Add rule to create target - directory for dummy syscall rules. - Patch by Chris Steinbroner <hesh@pobox.com>. - -2009-04-23 Aurelien Jarno <aurelien@aurel32.net> - - [BZ #10092] - * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and - MNT_EXPIRE. - -2009-04-23 Ulrich Drepper <drepper@redhat.com> + * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm + volatile. - * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. - * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): + Guard with [__USE_SVID || __USE_XOPEN_EXTENDED]. -2009-04-23 Jakub Jelinek <jakub@redhat.com> + * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New + prototype. - * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy - data from vector to temporary buffer and call PWRITEV after it - instead of vice versa. - * sysdeps/posix/preadv.c: Fix up comment. - * misc/preadv.c: Likewise. - * misc/preadv64.c: Likewise. - * misc/pwritev.c: Likewise. - * misc/pwritev64.c: Likewise. - * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. + * math/math.h (__nldbl_nexttowardf): Put __THROW before + __attribute__ ((__const__)). + (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT + followed by __THROW. -2009-04-23 Ulrich Drepper <drepper@redhat.com> +2006-02-02 Ulrich Drepper <drepper@redhat.com> - * shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers. + * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat] + (futimesat): If file is NULL use __futimes. + * include/sys/time.h: Declare __futimes. - * shadow/Makefile (tests): Add tst-shadow. - * shadow/tst-shadow.c: New file. +2006-02-02 Roland McGrath <roland@redhat.com> - [BZ #9955] - * gshadow/Makefile: New file. - * gshadow/Versions: New file. - * gshadow/fgetsgent.c: New file. - * gshadow/fgetsgent_r.c: New file. - * gshadow/getsgent.c: New file. - * gshadow/getsgent_r.c: New file. - * gshadow/getsgnam.c: New file. - * gshadow/getsgnam_r.c: New file. - * gshadow/gshadow.h: New file. - * gshadow/putsgent.c: New file. - * gshadow/sgetsgent.c: New file. - * gshadow/sgetsgent_r.c: New file. - * gshadow/tst-gshadow.c: New file. - * include/gshadow.h: New file. - * Makeconfig (all-subdirs): Add gshadow. - * Makefile (installed-headers): Add gshadow/gshadow.h. - * nss/Makefile (databases): Add sgrp. - * nss/Versions: Add gshadow functions as private exports. - * nss/nsswitch.conf: Add gshadow entry. - * nss/sgrp-lookup.c: New file. - * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite - parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. - * nss/nss_files/files-sgrp.c: New file. - * sysdeps/generic/paths.h: Add _PATH_GSHADOW. - * sysdeps/unix/sysv/linux/paths.h: Likewise. + * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same + fstat check for ENOENT that should be EBADF as for ENOTDIR, and also + check for missing /proc the same way. -2009-04-22 Ulrich Drepper <drepper@redhat.com> + * include/errno.h [__cplusplus]: Avoid extra header magic for C++. - * stdio-common/printf.h: Add missing const to register_printf_modifier. - * stdio-common/reg-modifier.c: Likewise. + * manual/install.texi (Tools for Compilation): Require gcc 3.4, + recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for + powerpc, s390{x,} with new long double. + * INSTALL: Regenerated. -2009-04-22 Andrew Stubbs <ams@codesourcery.com> + * timezone/private.h: Update from tzcode2006a. + * timezone/scheck.c: Likewise. + * timezone/asia: Update from tzdata2006a. + * timezone/northamerica: Likewise. + * timezone/zone.tab: Likewise. - * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there - is no FPU. + * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable. + (CFLAGS-mcount.c): Use it instead of -msoft-float. + * sysdeps/powerpc/powerpc64/elf/Makefile + (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os, + CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os, + CFLAGS-rtld-strnlen.os): Likewise. -2009-04-20 Ulrich Drepper <drepper@redhat.com> +2006-02-01 Roland McGrath <roland@redhat.com> - [BZ #10086] - * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernel - headers up to 2.6.30. + * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding + -mlong-double-128 when it's already there. - * po/ca.po: Update from translation team. +2006-02-01 Roland McGrath <roland@frob.com> -2009-04-19 Ulrich Drepper <drepper@redhat.com> + * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern + rules for these, not implicit rules. + ($(objpfx)%.h): Likewise. + Reported by Thomas Schwinge <tschwinge@gnu.org>. - [BZ #10069] - * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load - an object that uses static TLS if the TLS modid is higher than the - reserve we always allocate. At least for multi-threaded code. +2006-02-01 Jakub Jelinek <jakub@redhat.com> -2009-04-18 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol + even for libm. - * stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width. - Numerically stable check for valid width. + * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove + __LDBL_REDIR_DECL. - * locale/programs/locarchive.c (open_archive): Map the entire file - and not just the administrative data. - (add_locale): When we find a hash sum match compare the content - to be sure. + * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the + same #if condition as corresponding __BEGIN_NAMESPACE_C99. + (scalb): Don't define only if __USE_ISOC99. - * malloc/malloc.c (malloc_info): Output address space information. + * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo. + * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps. -2009-04-17 Ulrich Drepper <drepper@redhat.com> +2006-01-19 Thomas Schwinge <tschwinge@gnu.org> - * malloc/malloc.c (malloc_info): Also output system memory information. + * libio/genops.c: Include <stdbool.h>. - * sysdeps/unix/sysv/linux/kernel-features.h: All supported - architectures have preadv/pwritev in 2.6.30. +2006-02-01 Ulrich Drepper <drepper@redhat.com> - * sysdeps/posix/preadv.c: Reading of zero bytes is no error. - * sysdeps/posix/readv.c: Likewise. - Reported by Markus Armbruster <armbru@redhat.com>. + * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add + some more entries. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise. - * malloc/hooks.c (top_check): Force hook value into register. +2006-01-31 Jakub Jelinek <jakub@redhat.com> -2009-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org> + * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. + * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add + compat_symbol if LONG_DOUBLE_COMPAT. + * sysdeps/alpha/fpu/s_copysign.c: Likewise. + * sysdeps/alpha/fpu/s_fabs.c: Likewise. + * sysdeps/alpha/fpu/s_floor.c: Likewise. + * sysdeps/alpha/fpu/s_rint.c: Likewise. + * sysdeps/alpha/soft-fp/e_sqrtl.c: New file. + * sysdeps/alpha/Implies: Add ieee754/ldbl-128. + + * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file. + * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128, + ieee754/ldbl-opt. + * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. + * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file. + * sysdeps/unix/sysv/linux/alpha/Makefile + [$(subdir) = math] (libm-routines): Add multc3, divtc3. + + * math/divtc3.c: New file. + * math/multc3.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile + [$(subdir) = math] (libm-routines): Add multc3, divtc3. + + * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file. + * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and + math_ldbl_opt.h. + (fabsl): Use long_double_symbol instead of weak_alias. + * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and + math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol. + +2006-01-31 Martin Schwidefsky <schwidefsky@de.ibm.com> + Jakub Jelinek <jakub@redhat.com> - * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all - calls to _dl_relocate_object. + * sysdeps/unix/sysv/linux/s390/Implies: New file. + * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file. + * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines. + * sysdeps/s390/bits/mathdef.h: New file. + * sysdeps/s390/fpu/e_sqrtl.c: New file. + * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL, + __NO_LONG_DOUBLE_MATH): Define. + * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. + * sysdeps/s390/Implies: Add ieee754/ldbl-128. + * sysdeps/s390/ldbl2mpn.c: File removed. + * sysdeps/s390/fpu/libm-test-ulps: Updated. + +2006-01-31 Roland McGrath <roland@redhat.com> + + * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ... + * sysdeps/alpha/bits/mathdef.h: ... here. + * sysdeps/i386/fpu/bits/mathdef.h: Moved to ... + * sysdeps/i386/bits/mathdef.h: ... here. + * sysdeps/mips/fpu/bits/mathdef.h: Moved to ... + * sysdeps/mips/bits/mathdef.h: ... here. + * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ... + * sysdeps/m68k/bits/mathdef.h: ... here. + * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ... + * sysdeps/powerpc/bits/mathdef.h: ... here. + * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ... + * sysdeps/sparc/bits/mathdef.h: ... here. + * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ... + * sysdeps/ia64/bits/mathdef.h: ... here. + * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ... + * sysdeps/sh/sh4/bits/mathdef.h: ... here. + * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ... + * sysdeps/x86_64/bits/mathdef.h: ... here. + +2006-01-31 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64] + (__fxstatat64): Add libc_hidden_ver. + * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64): + Likewise. -2009-04-16 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h + include. - [BZ #9957] - * malloc/malloc.c (force_reg): Define. - (sYSMALLOc): Load hook variable into variable - before test and force into register. - (sYSTRIm): Likewise. - (public_mALLOc): Force hook value into register. - (public_fREe): Likewise. - (public_rEALLOc): Likewise. - (public_mEMALIGn): Likewise. - (public_vALLOc): Likewise. - (public_pVALLOc): Likewise. - (public_cALLOc): Likewise. - (__posix_memalign): Likewise. - * malloc/arena.c (ptmalloc_init): Load hook variable into variable - before test and force into register. - * malloc/hooks.c (top_check): Likewise. - (public_sET_STATe): Pretty printing. +2006-01-31 Roland McGrath <roland@redhat.com> - * resolv/res_send.c (send_dg): Don't just ignore the result we got - in case we only receive one reply in single-request mode. + * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub. -2009-04-16 Jakub Jelinek <jakub@redhat.com> + * inet/rcmd.c (iruserfopen): Remove redundant initialization. + From Bernhard Fischer <rep.nop@aon.at>. - * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries - are dlopened in statically linked program even for __LM_ID_CALLER. + * posix/regcomp.c (calc_eclosure_iter): Remove dead variables. + Reported by Mike Frysinger <vapier@gentoo.org>. -2009-04-16 Ulrich Drepper <drepper@redhat.com> +2006-01-30 Steven Munroe <sjmunroe@us.ibm.com> - * resolv/res_send.c (send_dg): Don't switch into single-request - mode if we already are in it. + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index + for __sincosl_table. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. -2009-04-15 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there - are always at least 4 bytes in the returned line. + * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file. -2009-04-15 Jakub Jelinek <jakub@redhat.com> +2006-01-29 Daniel Jacobowitz <dan@codesourcery.com> - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check - __libc_use_alloca (8192), if the stack is too small use 512 bytes - instead of 8K. Stop searching in /proc/stat after hitting first - line not starting with cpu. - (next_line): Truncate too long - lines at buffer size * 3/4 instead of pretending there were line - breaks inside of large lines. + * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED, + EOWNERDEAD, ENOTRECOVERABLE): Define. -2009-04-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define. - * sysdeps/x86_64/mp_clz_tab.c: New file. + * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for + N64. -2009-03-17 Ryan S. Arnold <rsa@us.ibm.com> - Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use + size_t for msg_controllen. + (__cmsg_nxthdr): Correct test. + (__SCM_CONNECT): Delete. - * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. - * sysdeps/unix/sysv/linux/fallocate64.c: Likewise. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. +2006-01-30 Alexandre Oliva <aoliva@redhat.com> + Roland McGrath <roland@redhat.com> -2009-03-25 Andrew Stubbs <ams@codesourcery.com> + * configure.in (fno_unit_at_a_time): Set to + -fno-toplevel-reorder if the compiler supports it. + Otherwise use -fno-unit-at-a-time unconditionally. + * configure: Regenerated. - * sysdeps/sh/libc-tls.c: New file. +2006-01-30 Jakub Jelinek <jakub@redhat.com> - * sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type. + * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older + libm-test-ulps rather than overwrite it. Remove excessively high ulps. -2009-04-14 Roland McGrath <roland@redhat.com> +2006-01-29 Joseph S. Myers <joseph@codesourcery.com> - * elf/elf.h: Add various missing ARM constants, to match binutils. + * soft-fp/double.h (FP_CMP_UNORD_D): Also define in + [_FP_W_TYPE_SIZE >= 64] case. + * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise. + * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise. -2009-04-14 Ulrich Drepper <drepper@redhat.com> +2006-01-27 Dwayne Grant McConnell <decimal@us.ibm.com> + Jakub Jelinek <jakub@redhat.com> + Roland McGrath <roland@redhat.com> + Steven Munroe <sjmunroe@us.ibm.com> + Alan Modra <amodra@bigpond.net.au> - Optimizations from GMP. - * sysdeps/x86_64/add_n.S: New file. - * sysdeps/x86_64/addmul_1.S: New file. - * sysdeps/x86_64/lshift.S: New file. - * sysdeps/x86_64/mul_1.S: New file. - * sysdeps/x86_64/rshift.S: New file. - * sysdeps/x86_64/sub_n.S: New file. - * sysdeps/x86_64/submul_1.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + + * math/libm-test.inc (check_float_internal): Allow ulp <= 0.5. + (erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is + denormal. + [TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test, + rint_test, round_test, trunc_test): Add new tests. + + * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file. + * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file. + + * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file. + * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file. + * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file. + + * sysdeps/unix/sysv/linux/powerpc/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file. + * sysdeps/unix/sysv/linux/powerpc/configure.in: New file. + * sysdeps/unix/sysv/linux/powerpc/configure: New file. + * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h + (__LONG_DOUBLE_MATH_OPTIONAL): Define. + (__NO_LONG_DOUBLE_MATH): Define. + * sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file. + * sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h. + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols. + + * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New. + + * sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. + * sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm. + * sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp. + * sysdeps/ieee754/ldbl-128ibm/Makefile: New file. + * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file. + * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file. + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file. + * sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file. + * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file. + + * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment. + +2006-01-22 Aurelien Jarno <aurelien@aurel32.net> + + * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in + sanity check. + +2006-01-21 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly + return EBADF for non-existing file descriptors. + * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise. + * io/tst-openat.c (do_test): Add some more tests. + * io/tst-faccessat.c (do_test): Likewise. + * io/tst-renameat.c (do_test): Likewise. + * io/tst-fstatat.c (do_test): Likewise. + * io/tst-fchmodat.c (do_test): Likewise. + * io/tst-fchownat.c (do_test): Likewise. + +2006-01-21 Roland McGrath <roland@redhat.com> + + * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block. + + * misc/tst-pselect.c: Include <unistd.h>. + + * time/time.h [__need_timespec et al]: Include <bits/types.h> here too. + + * stdlib/fpioconst.c: Fix whitespace typo. + +2006-01-20 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to... + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here. New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For + C define again using _weak_alias, for assembler use weak_alias. + + * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file. + * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file. + * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro. + (__ieee754_sqrt, __ieee754_sqrtf): Use it. + +2006-01-21 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual + system call code to be redefined in macro CALL_PSELECT6. + * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] + (sysdep_routines): Add call_pselect6. + * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file. + * sysdeps/unix/sysv/linux/i386/pselect.c: New file. + * misc/Makefile (tests): Add tst-pselect. + * misc/tst-pselect.c: New file. + +2006-01-20 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/ppoll.c: New file. + +2006-01-20 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration. + + * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev + value to unsigned int to match kernel. + + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the + syscall in more cases. + + * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat, + tst-mkdirat, tst-mknodat, and tst-mkfifoat. + * io/tst-symlinkat.c: New file. + * io/tst-linkat.c: New file. + * io/tst-readlinkat.c: New file. + * io/tst-mkdirat.c: New file. + * io/tst-mknodat.c: New file. + * io/tst-mkfifoat.c: New file. + + * dirent/Makefile (tests): Add tst-fdopendir2. + * dirent/tst-fdopendir2.c: New file. + +2006-01-20 Alexandre Oliva <aoliva@redhat.com> -2009-04-14 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h + (sigcontext_struct) [__WORDSIZE == 32]: Define. - * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. - * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. - * sysdeps/sparc/sparc32/elf/start.S: Likewise. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. +2006-01-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> -2009-04-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15. + * sysdeps/sh/sh3/__longjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__] + (PTR_MANGLE): Add temporary register as the second parameter. + (PTR_DEMANGLE): Likewize. + (PTR_MANGLE2, PTR_DEMANGLE2): Define. - * sysdeps/unix/sysv/linux/kernel-features.h: SH also has - preadv/pwritev. +2006-01-19 Ulrich Drepper <drepper@redhat.com> -2009-04-13 Ulrich Drepper <drepper@redhat.com> + * include/fcntl.h: Declare __have_atfcts. + * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available. + * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. + * sysdeps/unix/sysv/linux/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/linkat.c: Likewise. + * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. + * sysdeps/unix/sysv/linux/openat.c: Likewise. + * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/renameat.c: Likewise. + * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT, + __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible. - * sysdeps/x86-64/strrchr.S: New file. + * io/ppoll.c: New file. + * io/Makefile (routines): Add ppoll. + (CFLAGS-ppoll.c): Define. + * io/Versions: Export ppoll for GLIBC_2.4. + * io/sys/poll.h: Declare ppoll. + * sysdeps/unix/sysv/linux/ppoll.c: New file. -2009-04-10 Ulrich Drepper <drepper@redhat.com> + * misc/pselect.c: Make it possible to include this file to define + the generic code as a static function. + * sysdeps/unix/sysv/linux/pselect.c: New file. - * stdio-common/printf.h (struct printf_info): Add user element. - New types printf_arginfo_size_function, printf_va_arg_function. - Declare register_printf_specifier, register_printf_modifier, - register_printf_type. - * stdio-common/printf-parse.h (struct printf_spec): Add size element. - (union printf_arg): Add pa_user element. - Adjust __printf_arginfo_table type. - Add __printf_va_arg_table, __printf_modifier_table, - __handle_registered_modifier_mb, and __handle_registered_modifier_wc - declarations. - * stdio-common/printf-parsemb.c: Recognize registered modifiers. - If registered arginfo call failed try normal specifier. - * stdio-common/printf-prs.c: Pass additional parameter to arginfo - function. - * stdio-common/Makefile (routines): Add reg-modifier and reg-type. - * stdio-common/Versions: Export register_printf_modifier, - register_printf_type, and register_printf_specifier for GLIBC_2.10. - * stdio-common/reg-modifier.c: New file. - * stdio-common/reg-type.c: New file. - * stdio-common/reg-printf.c (__register_printf_specifier): New - function. Mostly the old __register_printf_function function but - uses locking and type of third parameter changed. - (__register_printf_function): Implement using - __register_printf_specifier. - * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in - calls to arginfo functions. Allocate enough memory for user-defined - types. Call new va_arg functions to get user-defined types. - Try installed handlers even for existing format specifiers first. +2006-01-19 Jakub Jelinek <jakub@redhat.com> -2009-04-09 Ulrich Drepper <drepper@redhat.com> + * misc/pselect.c (__pselect): Remove static. + Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED (). - * sysdeps/x86_64/rawmemchr.S: New file. +2006-01-18 Roland McGrath <roland@redhat.com> - * stdio-common/vfprintf.c (vfprintf): Slightly more compact code. - Simplified code and possible copy problem fixed. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't + include problematic headers for assembler. - * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static - function if it is not defined. Add some necessary casts. - * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules, + instead emit m_%.o compilation rules from s_%.? source files. + * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator. - * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also - have preadv/pwritev in 2.6.30. +2006-01-18 Ulrich Drepper <drepper@redhat.com> -2009-04-08 Ulrich Drepper <drepper@redhat.com> + * misc/pselect.c (__pselect): No need to enable async cancellation + here. This is done in select. - * malloc/malloc.c (malloc_info): New function. - * malloc/malloc.h: Declare it. - * malloc/Versions: Export malloc_info for GLIBC_2.10. + * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT] + (__fxstatat): Correct handling of invalid vers values. - * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 - to avoid PLT slot. + [BZ #2173] + * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also + set vtable to the wide vtable. + * libio/tst-fopenloc2.c: New file. + * libio/Makefile (tests): Add tst-fopenloc2. - * malloc/malloc.c (_int_realloc): Add parameter with old block - size. Remove duplicated test. Don't handle mmap'ed blocks here. - Adjust all callers. - * malloc/hooks.c (realloc_check): Adjust _int_realloc call. +2006-01-18 Roland McGrath <roland@redhat.com> -2009-04-07 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore + attribute_hidden here. - * sysdeps/x86_64/strchrnul.S: New file. + * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ... + * sysdeps/sparc/Makefile (long-double-fcts): ... to here. - * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of - depending libcrypt on -lfreebl3. +2006-01-18 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/kernel-features.h: Power also has - preadv/pwritev in 2.6.30. + * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a + copy of objname string. - * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp - instead of __strcasecmp. +2006-01-16 Roland McGrath <roland@redhat.com> - * string/stratcliff.c (do_test): Add memchr tests.. - * wcsmbs/wcsatcliff.c (MEMCHR): Define. - * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after - first read quad word. + * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install + into $(inst_includedir)/%.h from sysdirs. + [headers]: Change static pattern rule for installing + $(headers) to do only those not matching %.h. + ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead. + ($(inst_includedir)/%.h: %.h): Likewise. + ($(inst_includedir)/%.h: $(..)include/%.h): Likewise. -2009-04-06 Ulrich Drepper <drepper@redhat.com> + * Makefile ($(inst_includedir)/gnu/stubs.h): + Add $(make-target-directory). - * string/strverscmp.c (__strverscmp): Fix last cleanups. - * string/tst-svc.input: Add new test case. - * string/tst-svc.expect: Adjust. - * string/Makefile: Don't ignore tst-svc error. + * stdlib/Makefile (headers): Restore headers removed in last change. - * sysdeps/x86_64/memchr.S: New file. +2006-01-16 Jakub Jelinek <jakub@redhat.com> - * resolv/resolv.h (RES_SNGLKUP): Define. - * resolv/res_init.c (res_setoptions): Recognize single-request option. - * resolv/res_send.c (send_dg): If we sent two requests at once and - only get one reply before timeout switch to mode where we send the - second request only after the first answer has been received. + * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include + math_private.h. + (__ieee754_exp2l): Compute for now as expl (M_LN2l * x) + instead of failing. + (exp2l): Remove stub_warning. -2009-04-05 Ulrich Drepper <drepper@redhat.com> +2006-01-15 Jakub Jelinek <jakub@redhat.com> - * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions. - * sysdeps/x86_64/strchr.S: Likewise. + * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0. -2009-04-03 Ulrich Drepper <drepper@redhat.com> - - * configure.in: We need to test for the compiler earlier. - - * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. - * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for - GLIBC_2.10. - * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. - * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv - and pwritev. - * misc/preadv.c: New file. - * misc/preadv64.c: New file. - * misc/pwritev.c: New file. - * misc/pwritev64.c: New file. - * sysdeps/posx/preadv.c: New file. - * sysdeps/posx/preadv64.c: New file. - * sysdeps/posx/pwritev.c: New file. - * sysdeps/posx/pwritev64.c: New file. - * sysdeps/unix/sysv/linux/preadv.c: New file. - * sysdeps/unix/sysv/linux/preadv64.c: New file. - * sysdeps/unix/sysv/linux/pwritev.c: New file. - * sysdeps/unix/sysv/linux/pwritev64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file. - - * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of - compatibility code. - * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. +2006-01-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_COMPLETE_READV_WRITEV. - * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback - with modern kernels. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - - * sysdeps/posix/readv.c: Since read is a cancellation point we have - to free a possible malloced buffer in case of cancellation. - * sysdeps/posix/writev.c: Likewise for write. - -2009-04-02 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers. - - * configure.in: Recognize --enable-nss-crypt. - * config.make.in: Add nss-crypt entry. - * crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c, - sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS - and include path for NSS directory to compiler for md5-crypt, - sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3. - * crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash - function implementation, use NSS. Introduce wrappers around the - hash function calls. Little code size optimization. - * crypt/sha256-crypt.c: Likewise. - * crypt/sha512-crypt.c: Likewise. - * scripts/check-local-headers.sh: Ignore nss3 directory. - - * configure.in: Rename pic_default to libc_cv_pic_default. - * config.make.in: Likewise. - -2009-04-01 Roland McGrath <roland@redhat.com> - - * elf/elf.h (R_SPARC_GLOB_JMP): New macro. - (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros. - (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise. - (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise. - (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise. - (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise. - (R_SPARC_NUM): Update. - From Dave Miller <davem@davemloft.net>. - -2009-04-01 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define. - -2009-03-31 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-open.c: Keep track of used name spaces and only iterate over - those which are used. - * elf/dl-addr.c: Likewise. - * elf/dl-caller.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-libc.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - - * elf/dl-load.c: Remove support for systems without MAP_ANON. - * elf/dl-minimal.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - -2009-03-30 Ulrich Drepper <drepper@redhat.com> - - * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup. - Avoid reuse of complex expression. - - * po/fr.po: Update from translation team. + __ASSUME_TMPFS_NAME. + * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME] + (where_is_shmfs): Don't test for obsolete shm filesystem name. + + * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc + mount point. We assume procfs is mounted at /proc in many other + places already. + +2006-01-15 Andreas Jaeger <aj@suse.de> + + [BZ #1950] + * posix/regex_internal.c (re_string_reconstruct): Adjust for + build_wcs_upper_buffer change. + (build_wcs_upper_buffer): Change return type. + + [BZ #2153] + * math/s_cacosh.c (__cacosh): Do not return a negative + value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>. + * math/s_cacoshl.c (__cacoshl): Likewise. + * math/s_cacoshf.c (__cacoshf): Likewise. + * math/libm-test.inc (cacosh_test): Adjust for change. + + * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change. + * sysdeps/hppa/fpu/libm-test-ulps: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Likewise. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/fpu/libm-test-ulps: Likewise. + * sysdeps/mips/fpu/libm-test-ulps: Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. + + [BZ #2079] + * libio/fputwc_u.c (fputwc_unlocked): Fix return value. + * libio/getwc_u.c (__getwc_unlocked): Likewise. + * libio/wfileops.c (_IO_wdo_write): Likewise. + + [BZ #2078] + * libio/fputwc.c (fputwc): Use proper type for result. + * libio/ioungetwc.c (ungetwc): Likewise. + +2006-01-14 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH. + +2006-01-14 Roland McGrath <roland@redhat.com> + + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try + attribute_hidden here. + * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore + attribute_hidden here. + * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise. + + * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and + verify __LONG_DOUBLE_128__ predefine. + * sysdeps/ieee754/ldbl-opt/configure: Regenerated. + + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed. + (NLDBL_DECL): Rewritten. + Remove __THROW from NLDBL_DECL uses. + Use NLDBL_DECL for __vstrfmon_l. + (__nldbl___vsyslog_chk): Restore missing decl. + * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden. + +2006-01-14 Jakub Jelinek <jakub@redhat.com> + + * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define. + (__LDBL_REDIR_DECL): Stringize __nldbl and name. + * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h. + (strfmon, strfmon_l): Add __LDBL_REDIR_DECL. + * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal, + qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL + instead of __LDBL_REDIR_DECL. + * wcsmbs/bits/wchar-ldbl.h: Remove stale #if. + (__LDBL_REDIR_WCHAR): Remove. + (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf, + fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use + __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR. + (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL. + * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h + instead of before it. + (wcstold inline): Move #ifndef __LDBL_COMPAT before + extern keyword. + * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add + __LDBL_REDIR_DECL. + * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD. + (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL. + +2006-01-14 Roland McGrath <roland@redhat.com> + + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo. + (NLDBL_HIDDEN): New macro. + (NLDBL_DECL): Use it in place of attribute_hidden. + + * misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>. + * misc/efgcvt_r.c: Likewise. + + * sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h> + to define LONG_DOUBLE_COMPAT_VERSION. Use that in place of + NLDBL_VERSION. + * sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change. + +2006-01-14 Jakub Jelinek <jakub@redhat.com> + + * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New + prototype. + (nexttowardf): Redirect to __nldbl_nexttowardf. + (nexttoward): Redirect to nextafter. + (__MATHDECL_2, __MATHDECL_1): Redirect *l functions to + non-*l versions if __LONG_DOUBLE_MATH_OPTIONAL and + __NO_LONG_DOUBLE_MATH. + * math/complex.h (__MATHDECL_1): Likewise. + * math/bits/mathcalls.h (nexttoward): Don't prototype if + __LDBL_COMPAT. + * misc/sys/cdefs.h: Include <bits/wordsize.h>. + (__LDBL_COMPAT, __LDBL_REDIR1, __LDBL_REDIR, __LDBL_REDIR1_NTH, + __LDBL_REDIR_NTH, __LDBL_REDIR_DECL): New macros. + + * libio/bits/stdio-ldbl.h: New file. + * libio/Makefile (headers): Add it. + * libio/stdio.h [__LDBL_COMPAT]: #include it. + * libio/bits/libio-ldbl.h: New file. + * libio/Makefile (headers): Add it. + * libio/libio.h [__LDBL_COMPAT]: #include it. + * libio/libioP.h: Include <math_ldbl_opt.h>. + * include/wchar.h (__fwprintf, __vfwprintf): Fix commented out + attribute. + (__vfwprintf_chk): New prototype. Add libc_hidden_proto. + * wcsmbs/bits/wchar-ldbl.h: New file. + * wcsmbs/Makefile (headers): Add it. + * wcsmbs/wchar.h [__LDBL_COMPAT]: #include it. + * wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed. + (vswprintf): Define as a macro rather than inline function. + * stdio-common/bits/printf-ldbl.h: New file. + * stdio-common/Makefile (headers): Add it. + * stdio-common/printf.h [__LDBL_COMPAT]: #include it. + * libio/fwprintf.c: Include libioP.h. + (fwprintf): Use ldbl_weak_alias instead of weak_alias. + * libio/fwscanf.c: Include libioP.h. + (fwscanf): Rename to __fwscanf and add ldbl_strong_alias. + * libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of + weak_alias. + * libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf, + add ldbl_strong_alias and use INTDEF2 instead of INTDEF. + (vsprintf): Use ldbl_weak_alias instead of weak_alias. + * libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias + instead of weak_alias. + * libio/iovswscanf.c (vswscanf): Rename to __vswscanf, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * libio/obprintf.c (obstack_printf, obstack_vprintf): Use + ldbl_weak_alias instead of weak_alias. + * libio/swprintf.c: Include libioP.h. + (swprintf): Rename to __swprintf and add ldbl_strong_alias. + * libio/swscanf.c: Include libioP.h. + (swscanf): Rename to __swscanf and add ldbl_strong_alias. + * libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of + weak_alias. + * libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of + weak_alias. + * libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias + instead of weak_alias. + * libio/vswprintf.c (__vswprintf): Remove alias. + (vswprintf): Use ldbl_weak_alias instead of weak_alias. + * libio/vwprintf.c: Include libioP.h. + (vwprintf): Rename to __vwprintf and add ldbl_strong_alias. + * libio/vwscanf.c (vwscanf): Rename to __vwscanf and add + ldbl_strong_alias. + * libio/wprintf.c: Include libioP.h. + (wprintf): Rename to __wprintf and add ldbl_strong_alias. + * libio/wscanf.c: Include libioP.h. + (wscanf): Rename to __wscanf and add ldbl_strong_alias. + * stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add + ldbl_strong_alias and use INTDEF2 instead of INTDEF. + (asprintf): Use ldbl_weak_alias instead of weak_alias. + * stdio-common/dprintf.c (dprintf): Rename to __dprintf, add + ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * stdio-common/fprintf.c: Include libioP.h. + (fprintf): Rename to __fprintf, add ldbl_strong_alias and + use ldbl_hidden_def instead of libc_hidden_def. + (_IO_fprintf): Use ldbl_weak_alias instead of weak_alias. + * stdio-common/fscanf.c: Include libioP.h. + (fscanf): Rename to __fscanf and add ldbl_strong_alias. + * stdio-common/printf.c: Include libioP.h. + (printf): Rename to __printf and add ldbl_strong_alias. + (_IO_printf): Use ldbl_strong_alias instead of strong_alias. + * stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add + ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * stdio-common/printf_size.c (printf_size): Rename to __printf_size + and add ldbl_strong_alias. + * stdio-common/scanf.c (scanf): Rename to __scanf and add + ldbl_strong_alias. + * stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of + weak_alias. + * stdio-common/sprintf.c (sprintf): Rename to __sprintf, add + ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + (_IO_sprintf): Use ldbl_strong_alias instead of strong_alias. + * stdio-common/sscanf.c: Include libioP.h instead of iolibio.h. + (sscanf): Rename to __sscanf and add ldbl_strong_alias. + * stdio-common/vfprintf.c (vfprintf): Define to + _IO_vfprintf_internal. Use ldbl_strong_alias instead. Use + ldbl_hidden_def instead of libc_hidden_def. + (_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl, + handle the argument as double if it is non-zero. + (vfwprintf): Use ldbl_weak_alias instead of weak_alias. + (_IO_vfprintf): Add ldbl_strong_alias. + * stdio-common/vfscanf.c (_IO_vfscanf): Rename to + _IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add + ldbl_strong_alias. + (vfwscanf): Use ldbl_weak_alias instead of weak_alias. + (__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and + use ldbl_hidden_def instead of libc_hidden_def. + (vfscanf): Use ldbl_weak_alias instead of weak_alias. + * stdio-common/vprintf.c: Include libioP.h. + (vprintf): Rename to __vprintf and add ldbl_strong_alias. + * debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk + and add ldbl_strong_alias. + * debug/printf_chk.c (__printf_chk): Rename to ___printf_chk + and add ldbl_strong_alias. + * debug/snprintf_chk.c: Include libioP.h. + (__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias. + * debug/sprintf_chk.c: Include libioP.h. + (__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias. + * debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def. + * debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk + and add ldbl_strong_alias. + * debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + * debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk, + add ldbl_strong_alias and use ldbl_hidden_def instead of + libc_hidden_def. + + * stdlib/stdlib.h (strtold): Don't define inline if [!__LDBL_COMPAT]. + * wcsmbs/wchar.h (wcstold): Likewise. + * stdlib/strtod_l.c: Include math_ldbl_opt.h. + (____STRTOF_INTERNAL): Define. + (INTERNAL (__STRTOF)): Rename to ____STRTOF_INTERNAL. + (__STRTOF): Call ____STRTOF_INTERNAL instead. + [LONG_DOUBLE_COMPAT] (strtold_l, wcstold_l, __strtold_l, __wcstold_l): + Add compatibility symbols. + * stdlib/strtod.c: Include math_ldbl_opt.h. + [LONG_DOUBLE_COMPAT] (strtold, wcstold, __strtold_internal, + __wcstold_internal): Add compatibility symbols. + * stdlib/strtold.c: Include bits/wordsize.h, wchar.h. + (NEW, NEW1): Define. + (__new_strtold, __new_wcstold): New prototypes. + (____new_strtold_internal, ____new_wcstold_internal): Likewise. + Add libc_hidden_proto. + (STRTOF): Define to NEW (*told). + [__LONG_DOUBLE_MATH_OPTIONAL] (wcstold, strtold): Add + long_double_symbol. + [__LONG_DOUBLE_MATH_OPTIONAL] (__wcstold_internal, + __strtold_internal): Likewise. Add libc_hidden_ver. -2009-03-16 Ulrich Drepper <drepper@redhat.com> + * stdlib/bits/stdlib-ldbl.h: New file. + * stdlib/Makefile (headers): Add it. + * stdlib/stdlib.h [__LDBL_COMPAT]: #include it. + * include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove + libc_hidden_proto. + (__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt, + __qgcvt, __qecvt_r, __qfcvt_r): New prototypes. + * misc/efgcvt_r.c: Include shlib-compat.h. + (LONG_DOUBLE_CVT): Define. + (__APPEND, __APPEND2): Define. + (*fcvt_r): Use __APPEND instead of APPEND. Remove libc_hidden_def. + (*ecvt_r): Likewise. + (cvt_symbol): Define. Use it on fcvt_r and ecvt_r. + * misc/efgcvt.c: Include shlib-compat.h. + (LONG_DOUBLE_CVT): Define. + (__APPEND, __APPEND2): Define. + (fcvt): Use __APPEND instead of APPEND. Remove libc_hidden_def. + (ecvt, gcvt): Likewise. + (cvt_symbol): Define. Use it on fcvt, ecvt and gcvt. + + * stdlib/bits/monetary-ldbl.h: New file. + * stdlib/Makefile (headers): Add it. + * stdlib/monetary.h [__LDBL_COMPAT]: #include it. + * stdlib/strfmon.c: Include math_ldbl_opt.h. + (strfmon): Rename to __strfmon and add ldbl_strong_alias. + * stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO]. + (__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl. + (__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias. + (strfmon_l): Use ldbl_weak_alias instead of weak_alias. + + * misc/bits/syslog-ldbl.h: New file. + * misc/Makefile (headers): Add it. + * misc/sys/syslog.h [__LDBL_COMPAT]: #include it. + * misc/syslog.c: Include math_ldbl_opt.h. + (syslog): Rename to __syslog and add ldbl_strong_alias, + use ldbl_hidden_def instead of libc_hidden_def. + (vsyslog): Rename to __vsyslog and add ldbl_strong_alias, + use ldbl_hidden_def instead of libc_hidden_def. + + * sysdeps/generic/math_ldbl_opt.h: New file. + * math/w_j1l.c (j1l, y1l): Rename to __ prefixed variants. + Add weak_alias. + * math/w_j0l.c (j0l, y0l): Likewise. + * math/w_jnl.c (jnl, ynl): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c + (__nexttowardl): Remove strong_alias. + (nexttowardl): Remove weak_alias. + * sysdeps/ieee754/ldbl-96/s_erfl.c + (__erfl, __erfcl): Remove strong_alias. + (erfl, erfcl): Remove weak_alias. + + * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_atanl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_ceill.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_cosl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_erfl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_finitel.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_floorl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_logbl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_modfl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nexttoward.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_remquol.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_rintl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_roundl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_sinl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_tanl.c: New file. + * sysdeps/ieee754/ldbl-64-128/s_truncl.c: New file. + * sysdeps/ieee754/ldbl-64-128/strtold_l.c: New file. + * sysdeps/ieee754/ldbl-64-128/w_expl.c: New file. + * sysdeps/ieee754/ldbl-opt/configure.in: New file. + * sysdeps/ieee754/ldbl-opt/configure: New file. + * sysdeps/ieee754/ldbl-opt/Makefile: New file. + * sysdeps/ieee754/ldbl-opt/Versions: New file. + * sysdeps/ieee754/ldbl-opt/cabs.c: New file. + * sysdeps/ieee754/ldbl-opt/cabsl.c: New file. + * sysdeps/ieee754/ldbl-opt/carg.c: New file. + * sysdeps/ieee754/ldbl-opt/cargl.c: New file. + * sysdeps/ieee754/ldbl-opt/cimag.c: New file. + * sysdeps/ieee754/ldbl-opt/cimagl.c: New file. + * sysdeps/ieee754/ldbl-opt/conj.c: New file. + * sysdeps/ieee754/ldbl-opt/conjl.c: New file. + * sysdeps/ieee754/ldbl-opt/creal.c: New file. + * sysdeps/ieee754/ldbl-opt/creall.c: New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: New file. + * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-acos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-acosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-asin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-atan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-atan2.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-atanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cabs.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cacos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cacosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-carg.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-casin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-casinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-catan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-catanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cbrt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ccos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ccosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ceil.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cexp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cimag.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-clog.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-clog10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-conj.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cosh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cpow.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-cproj.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-creal.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-csin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-csinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-csqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ctan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ctanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-erf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-erfc.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-exp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-exp10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-exp2.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-expm1.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fabs.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fdim.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-floor.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fmax.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fmin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fmod.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-frexp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-gamma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-hypot.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ilogb.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-j0.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-j1.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-jn.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-ldexp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lgamma_r.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-llrint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-llround.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log1p.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-log2.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-logb.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lrint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-lround.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-modf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nearbyint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nextafter.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nexttoward.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-pow.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf_fp.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-printf_size.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qecvt_r.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt_r.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-remquo.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-rint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-round.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scalb.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scalbln.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scalbn.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-significand.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sin.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sincos.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sinh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-snprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-snprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strfmon.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strtold.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-strtoldint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-swprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-swprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-syslog.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-syslog_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-tan.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-tanh.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-tgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-trunc.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wcstold.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wcstoldint.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wprintf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wprintf_chk.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-y0.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-y1.c: New file. + * sysdeps/ieee754/ldbl-opt/nldbl-yn.c: New file. + * sysdeps/ieee754/ldbl-opt/s_asinh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_atan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacos.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacosh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cacosl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casinh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casinhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_casinl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catanh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catanhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_catanl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cbrt.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccos.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccosh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ccosl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ceil.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cexp.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cexpl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clog.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clog10l.c: New file. + * sysdeps/ieee754/ldbl-opt/s_clogl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_copysign.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cpow.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cpowl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cproj.c: New file. + * sysdeps/ieee754/ldbl-opt/s_cprojl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csinh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csinhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csinl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctanh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ctanl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_erf.c: New file. + * sysdeps/ieee754/ldbl-opt/s_expm1.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fabs.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fdim.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fdiml.c: New file. + * sysdeps/ieee754/ldbl-opt/s_finite.c: New file. + * sysdeps/ieee754/ldbl-opt/s_floor.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fma.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmal.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmax.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fmin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_fminl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_frexp.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ilogb.c: New file. + * sysdeps/ieee754/ldbl-opt/s_isinf.c: New file. + * sysdeps/ieee754/ldbl-opt/s_isnan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ldexp.c: New file. + * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_llrint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_llround.c: New file. + * sysdeps/ieee754/ldbl-opt/s_log1p.c: New file. + * sysdeps/ieee754/ldbl-opt/s_logb.c: New file. + * sysdeps/ieee754/ldbl-opt/s_lrint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_lround.c: New file. + * sysdeps/ieee754/ldbl-opt/s_modf.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nanl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_nextafter.c: New file. + * sysdeps/ieee754/ldbl-opt/s_remquo.c: New file. + * sysdeps/ieee754/ldbl-opt/s_rint.c: New file. + * sysdeps/ieee754/ldbl-opt/s_round.c: New file. + * sysdeps/ieee754/ldbl-opt/s_scalbln.c: New file. + * sysdeps/ieee754/ldbl-opt/s_scalbn.c: New file. + * sysdeps/ieee754/ldbl-opt/s_significand.c: New file. + * sysdeps/ieee754/ldbl-opt/s_significandl.c: New file. + * sysdeps/ieee754/ldbl-opt/s_sin.c: New file. + * sysdeps/ieee754/ldbl-opt/s_sincos.c: New file. + * sysdeps/ieee754/ldbl-opt/s_tan.c: New file. + * sysdeps/ieee754/ldbl-opt/s_tanh.c: New file. + * sysdeps/ieee754/ldbl-opt/s_trunc.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acos.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acosh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acoshl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_acosl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_asin.c: New file. + * sysdeps/ieee754/ldbl-opt/w_asinl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atan2.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atan2l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atanh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_atanhl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_cosh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_coshl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_drem.c: New file. + * sysdeps/ieee754/ldbl-opt/w_dreml.c: New file. + * sysdeps/ieee754/ldbl-opt/w_exp.c: New file. + * sysdeps/ieee754/ldbl-opt/w_exp10.c: New file. + * sysdeps/ieee754/ldbl-opt/w_exp10l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_fmod.c: New file. + * sysdeps/ieee754/ldbl-opt/w_fmodl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_hypot.c: New file. + * sysdeps/ieee754/ldbl-opt/w_hypotl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j0.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j0l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j1.c: New file. + * sysdeps/ieee754/ldbl-opt/w_j1l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_jn.c: New file. + * sysdeps/ieee754/ldbl-opt/w_jnl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgammal.c: New file. + * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log10.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log10l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log2.c: New file. + * sysdeps/ieee754/ldbl-opt/w_log2l.c: New file. + * sysdeps/ieee754/ldbl-opt/w_logl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_pow.c: New file. + * sysdeps/ieee754/ldbl-opt/w_powl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_remainder.c: New file. + * sysdeps/ieee754/ldbl-opt/w_remainderl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_scalb.c: New file. + * sysdeps/ieee754/ldbl-opt/w_scalbl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sinh.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sinhl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sqrt.c: New file. + * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: New file. + * sysdeps/ieee754/ldbl-opt/w_tgamma.c: New file. + * sysdeps/ieee754/ldbl-opt/w_tgammal.c: New file. + + * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Implies: New file. + * sysdeps/sparc/sparc32/Implies: Move ldbl-128 first and flt-32 + after dbl-64. + * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (NLDBL_VERSION): + %define this to to GLIBC_2.4. + * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file. + * sysdeps/sparc/sparc32/fpu/s_fabs.c: New file. + * sysdeps/sparc/sparc32/fpu/s_fabsf.S: New file. + * sysdeps/sparc/sparc32/fpu/s_fabsl.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: Removed. + * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: New file. + * sysdeps/sparc/sparc32/soft-fp/Versions: New file. + * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_cmp, + __unordered_v9cmp): Define differently depending on + -m32 -mlong-double-{64,128}. + (__signbitl, sqrtl, __ieee754_sqrtl): New inlines. + * sysdeps/sparc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. + * sysdeps/sparc/sparc32/soft-fp/Makefile (sparc32-quad-routines): + Set. + (sysdep-routines): Add sparc32-quad-routines. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Include stdlib.h. + (FP_HANDLE_EXCEPTIONS): Call ___Q_simulate_exceptions as a normal + function. + * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): New + alias to _Q_sqrt. + * sysdeps/sparc/sparc32/soft-fp/q_div.c (_Q_div): Fix a typo. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Include stdlib.h. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * include/dirent.h: Yet more changes to match sort function type - change. - * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. - * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. + * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW. + (_IO_vfwscanf, _IO_vfwprintf): Likewise. + * libio/libioP.h (_IO_vdprintf): Likewise. -2009-03-16 Thomas Schwinge <tschwinge@gnu.org> +2006-01-13 Richard Henderson <rth@redhat.com> - * dirent/scandir64.c (scandir64): Adjust declaration to type change. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE, PTR_MANGLE2, + PTR_DEMANGLE, PTR_DEMANGLE2): Move ... + * sysdeps/unix/alpha/sysdep.h: ... here. + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Define __GI___fxstatat64. -2009-03-16 Ulrich Drepper <drepper@redhat.com> +2006-01-13 Andreas Jaeger <aj@suse.de> - * nscd/connections.c (restart): Try to preserve the process name - by reading the /proc/self/exe symlink and using the return name. - Patch by Jeff Bastian <jbastian@redhat.com>. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix + value for PowerPC64. -2009-03-15 Ulrich Drepper <drepper@redhat.com> +2006-01-12 Roland McGrath <roland@redhat.com> - [BZ #9733] - * elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks - if we are not loading a new audit library. - * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask. - Only use profiling trampoline for auditing if we are not relocating - an audit library. - * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call. - * elf/rtld.c: Likewise. - * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype. - - * elf/rtld.c (dl_main): Extend help message for --audit option. - - [BZ #9759] - * dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort, - alphasort64, versionsort, and versionsort64 to POSIX 2008. - * dirent/alphasort.c: Adjust implementation to type change. - * dirent/alphasort64.c: Likewise. - * dirent/scandir.c: Likewise. - * dirent/versionsort.c: Likewise. - * dirent/versionsort64.c: Likewise. - * sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64 - declaration. - * sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64 - declaration. - - [BZ #9880] - * inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments - correctly. Set segleft member in output as required. - Patch partly by Yang Hongyang <yanghy@cn.fujitsu.com>. - * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse. - - [BZ #9881] - * inet/inet6_rth.c (inet6_rth_add): Add some error checking. - Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. - * inet/Makefile (tests): Add tst-inet6_rth. - * inet/tst-inet6_rth.c: New file. - - [BZ #5807] - * string/strlen.c (strlen): Fix omission in the expression to test - for NUL bytes. - -2009-03-14 Ulrich Drepper <drepper@redhat.com> - - * crypt/sha256test.c (main): Perform 100,000 'a' test in a second way. - - * elf/dl-runtime.c (reloc_offset): Define. - (reloc_index): Define. - (_dl_fixup): Rename reloc_offset parameter to reloc_arg. - (_dl_fixup_profile): Likewise. Use reloc_index instead of - computing index from reloc_offset. - (_dl_call_pltexit): Likewise. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass - the relocation index to _dl_fixup. - (_dl_runtime_profile): Likewise for _dl_fixup_profile and - _dl_call_pltexit. - * sysdeps/x86_64/dl-runtime.c: New file. - - [BZ #9893] - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix - alignment of La_x86_64_regs. Store xmm parameters. - Patch mostly by Jiri Olsa <olsajiri@gmail.com>. - - [BZ #9913] - * string/strverscmp.c (__strverscmp): Fix case of different digits - in fractional part of string. - Patch by Jingyu Liu <jyliu@fortinet.com>. - * string/Makefile (tests): Add tst-svc2. - * string/tst-svc2.c: New file. - - * string/strverscmp.c (__strverscmp): Optimize size of tables. - - * locale/iso-639.def: Add Min Nan. - -2009-03-11 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> - - [BZ #9948] - * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM. - -2009-03-14 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-sysdep.c (auxvars): Compress data structure. - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement - STT_GNU_IFUNC handling. - (elf_machine_rela): Likewise. + * sysdeps/s390/jmpbuf-offsets.h: New file. + * sysdeps/s390/jmpbuf-unwind.h: Include it. -2009-03-13 Ulrich Drepper <drepper@redhat.com> - - * config.h.in (USE_MULTIARCH): Define. - * configure.in: Handle --enable-multi-arch. - * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. - (_dl_fixup_profile): Likewise. - * elf/do-lookup.c (dl_lookup_x): Likewise. - * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. - * elf/elf.h (STT_GNU_IFUNC): Define. - * include/libc-symbols.h (libc_ifunc): Define. - * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the - framework in init-arch.h to get CPUID values. - * sysdeps/x86_64/multiarch/Makefile: New file. - * sysdeps/x86_64/multiarch/init-arch.c: New file. - * sysdeps/x86_64/multiarch/init-arch.h: New file. - * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. - - * config.make.in (experimental-malloc): Define. - * configure.in: Handle --enable-experimental-malloc. - * malloc/Makefile: Handle experimental-malloc flag. - * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX. - -2009-03-11 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch - prediction. A few size optimizations. + * sysdeps/alpha/__longjmp.S: Include <jmpbuf-offsets.h> + instead of <bits/setjmp.h>. + * sysdeps/alpha/setjmp.S: Likewise. + * sysdeps/i386/__longjmp.S: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Likewise. + * sysdeps/sparc/sparc32/__longjmp.S: Likewise. + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + * sysdeps/x86_64/__longjmp.S: Likewise. + * sysdeps/x86_64/setjmp.S: Likewise. + * sysdeps/mach/hurd/i386/longjmp-ts.c: Include <jmpbuf-offsets.h>. + * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise. + * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise. + * sysdeps/alpha/jmpbuf-unwind.h: Likewise. + * sysdeps/hppa/jmpbuf-unwind.h: Likewise. + * sysdeps/i386/jmpbuf-unwind.h: Likewise. + * sysdeps/powerpc/jmpbuf-unwind.h: Likewise. + * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise. + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise. + * sysdeps/x86_64/jmpbuf-unwind.h: Likewise. + * setjmp/jmpbuf-offsets.h: File removed. + * include/bits/setjmp.h: File removed. + +2006-01-11 Ulrich Drepper <drepper@redhat.com> + + * libio/wmemstream.c: New file. + * libio/stdio.h: Declare open_wmemstream. + * libio/Versions: Export open_wmemstream for GLIBC_2.4. + * libio/Makefile (routines): Add wmemstream. + (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and + tst-wmemstream2. + * libio/tst-memstream1.c: New file. + * libio/tst-memstream2.c: New file. + * libio/tst-wmemstream1.c: New file. + * libio/tst-wmemstream2.c: New file. + + * libio/memstream.c (_IO_mem_sync): Remove useless call to + _IO_default_sync. + + * elf/check-textrel.c: Add missing argument. + + * Makerules: Define build-module-asneeded. + * iconvdata/extra-module.mk: Use build-module-asneeded. + needed. + +2006-01-09 Richard Henderson <rth@redhat.com> + + * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so. + * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE. + * sysdeps/alpha/setjmp.S: Likewise. Avoid __sigjmp_save for rtld; + tailcall in libc.so. + * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define. + (PTR_MANGLE2): Define. + +2006-01-11 Ulrich Drepper <drepper@redhat.com> + + * elf/check-localplt.c: New file. + * elf/Makefile: Add rules to build and run check-localplt. + * scripts/data/localplt-x86_64-linux-gnu.data: New file. + * scripts/data/localplt-i386-linux-gnu.data: New file. + + * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64. + * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for + __fxstatat64. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add + __GI___fxstatat64 alias. + + * libio/memstream.c (_IO_mem_finish): Fix potential memory leak if + realloc fails. + + * include/sched.h: Add libc_hidden_proto for __sched_yield. + + * libio/genops.c (_IO_unbuffer_write): Give concurrently running + threads the chance to work correctly by trying to lock the stream. + If this does not work, proceed without locking. + +2006-01-10 Ulrich Drepper <drepper@redhat.com> + + * libio/genops.c (_IO_unbuffer_write): Don't always free the + buffer. This is not necessary except in debug mode. If we don't + free the buffer but the FILE structure to a list. + (buffer_free): New function. Free buffers or tell _IO_unbuffer_write + to do so. + * libio/libio.h (struct _IO_FILE): Add new members to keep track + of which buffers have to be freed. + + * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache + is NULL. -2009-03-10 Ulrich Drepper <drepper@redhat.com> +2005-10-14 Paul Eggert <eggert@cs.ucla.edu> - * time/tzset.c: Optimize a bit for size. + * malloc/obstack.c: Fix old comments. Update FSF snail mail address. + * malloc/obstack.h: Likewise. -2009-03-10 Jakub Jelinek <jakub@redhat.com> + [BZ #321] + Fix portability bugs encountered when porting to Itanium. + * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not + assume that the "contents" member is suitably aligned. It is + not, for some hosts and alignments: e.g., Itanium, long-double. + * malloc/obstack.c (_obstack_begin, _obstack_begin_1, + _obstack_newchunk): Likewise. + * malloc/obstack.c: Include <stddef.h>, for size_t. + Include <inttypes.h>, <stdint.h> if needed and available. + (DEFAULT_ALIGNMENT): Now an enum constant, not a macro. + Use C89 offsetof rather than K&R trick. + Use the maximum alignment of uintmax_t, long double, void * + rather than the alignment of double. + (union fooround): Use uintmax_t, long double, void * members + rather than just long and double. + + [BZ #321] + Fix portability bugs encountered when porting to the IBM iSeries, + where pointers are 256 bits wide and no integers are that wide. + * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove. + All uses changed to: + (__BPTR_ALIGN, __PTR_ALIGN): New macros. + (struct _obstack_chunk.temp): Change from int to a union + of pointer and int. All uses changed. + + [BZ #321] + * malloc/obstack.c (print_and_abort) [!_LIBC]: + Call fprintf (stderr, ...), not __fxprintf (NULL, ...). + [_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed. + +2006-01-10 Derek Price <derek@ximbiot.com> + Paul Eggert <eggert@cs.ucla.edu> + + [BZ #1060] + * posix/glob.c: Assume freestanding C89 compiler. Simplify cruft that + may be replaced with GNULIB modules. Make no attempt to find 64-bit + versions of file access functions directly when [!_LIBC]. + Don't define GLOB_* macros here. + (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New + macros to abstract dirent->d_type access. + (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf + access. + +2006-01-10 Roland McGrath <roland@redhat.com> + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (PTR_MANGLE): Fix cast. + + * timezone/test-tz.c: Revert last change, updating to match + tzdata2005r definition of "MST". + +2006-01-10 Ulrich Drepper <drepper@redhat.com> + + * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is + defined. - * include/stdio.h (fmemopen): Add libc_hidden_proto. - * libio/fmemopen.c (fmemopen): Add libc_hidden_def. +2006-01-10 Andreas Jaeger <aj@suse.de> + + * include/time.h: Use normal comments. + +2006-01-10 Thomas Schwinge <tschwinge@gnu.org> + + * hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>. + * sysdeps/mach/hurd/jmp-unwind.c: Likewise. + +2006-01-10 Jakub Jelinek <jakub@redhat.com> + + * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than + vswprintf recursively. + +2006-01-10 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif. + +2006-01-10 Roland McGrath <roland@redhat.com> + + * include/bits/setjmp.h: New file. + * setjmp/jmpbuf-offsets.h: New file. + * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ... + * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file. + * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ... + * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file. + * sysdeps/i386/bits/setjmp.h: Move JB_* macros ... + * sysdeps/i386/jmpbuf-offsets.h: ... here, new file. + * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed. + * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ... + * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file. + * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros. + * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ... + * sysdeps/sh/jmpbuf-offsets.h: ... here, new file. + * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ... + * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros. + * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ... + * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file. + + * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/powerpc/jmpbuf-unwind.h: ... here. + * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/alpha/jmpbuf-unwind.h: ... here. + * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here. + * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/i386/jmpbuf-unwind.h: ... here. + * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/x86_64/jmpbuf-unwind.h: ... here. + * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/sh/jmpbuf-unwind.h: ... here. + * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file. + * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/mips/jmpbuf-unwind.h: ... here. + * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file. + * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ... + * sysdeps/s390/jmpbuf-unwind.h: ... here. + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): + Move macro ... + * sysdeps/ia64/jmpbuf-unwind.h: ... here. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): + Move macro ... + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here. + + * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/. + * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/. + + * sysdeps/linkmap.h: File removed. + +2006-01-07 Carlos O'Donell <carlos@systemhalted.org> + + * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations + by using LR and RR. Add %sr0 to iitlbp. + +2006-01-09 Roland McGrath <roland@redhat.com> + + * timezone/private.h: Update from tzcode2005r. + * timezone/tzfile.h: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + * timezone/africa: Update from tzdata2005r. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/systemv: Likewise. - * elf/sprof.c: Avoid warning about multi-line comment. + * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo, + so we depend on $(objpfx)reldepmod6.so as intended. -2009-03-10 Ulrich Drepper <drepper@redhat.com> +2006-01-09 Ulrich Drepper <drepper@redhat.com> - * time/tzset.c (__tzset_parse_tz): Use correct string when parsing - DST name. - * time/tst-posixtz.c: Add tests for quoted timezone names. + [BZ #2126] + * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is + returned. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/x86_64/strtok.S: Likewise. + * string/Makefile (tests): Add bug-strtok1. + * string/bug-strtok1.c: New file. -2009-03-10 Jakub Jelinek <jakub@redhat.com> + * elf/check-textrel.c (AB): Also check for writable and executable + segments. - * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, - _POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to - 200809L instead of 200112L. - (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700. - * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L. + * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from + const variables, gas produces garbage. + * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. - * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs - instead of __quick_exit_funcs to __run_exit_handlers. - * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. - * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. - (__cxa_at_quick_exit): Remove attribute_hidden. - * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs - to __run_exit_handlers. - * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove - attribute_hidden. +2006-01-09 Jakub Jelinek <jakub@redhat.com> -2009-03-10 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add + stack bias to mc_fp field. - * po/id.po: Update from translation team. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h + (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec. + (struct kernel_stat64): New type. + (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1, + _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4, + _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2, + _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2, + _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4, + _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2): + Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: + Use i386/fxstatat.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat, + struct stat64): Add nsec resolution for 64-bit code like already done + for 32-bit code. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define + for sparc64. + (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12 + kernels. + + * scripts/data/c++-types-sparc-linux-gnu.data: New file. + * scripts/data/c++-types-sparc64-linux-gnu.data: New file. + * scripts/data/c++-types-alpha-linux-gnu.data: Adjust. + +2006-01-08 Roland McGrath <roland@redhat.com> + + [BZ #1535] + * sysdeps/unix/get_child_max.c: New file. + * posix/get_child_max.c: New file. + * posix/Makefile (routines): Add it. + * include/sys/sysinfo.h (__get_child_max): Declare it. + * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it. + + * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use + fcntl64 syscall instead. + + * stdio-common/tst-fmemopen2.c (do_test): Add a cast. + * stdio-common/printf-parsemb.c (__find_specmb): Likewise. + + * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in + #include for kernel-features.h. + * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. + * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. + * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. + * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/futimes.c: Likewise. + * sysdeps/unix/sysv/linux/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise. + * sysdeps/unix/sysv/linux/getcwd.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/ifreq.c: Likewise. + * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mmap64.c: Likewise. + * sysdeps/unix/sysv/linux/msgctl.c: Likewise. + * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. + * sysdeps/unix/sysv/linux/opendir.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/syslog.c: Likewise. + * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/utimes.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. + +2006-01-07 Roland McGrath <roland@redhat.com> -2009-02-18 Jakub Jelinek <jakub@redhat.com> + * po/libc.pot: Regenerated. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use - .machine push; .machine "power6" and .machine pop around mtfsf - insns outside of _ARCH_PWR6 define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * po/.cvsignore: List libc.pot.files, and not any .pot names. + + * manual/maint.texi (Porting): Don't mention Dist files. + * sysdeps/alpha/soft-fp/Dist: File removed. + * sysdeps/alpha/Dist: File removed. + * sysdeps/i386/i686/Dist: File removed. + * sysdeps/i386/soft-fp/Dist: File removed. + * sysdeps/i386/Dist: File removed. + * sysdeps/mips/soft-fp/Dist: File removed. + * sysdeps/mips/mips64/soft-fp/Dist: File removed. + * sysdeps/mips/mips64/Dist: File removed. + * sysdeps/mips/Dist: File removed. + * sysdeps/wordsize-32/Dist: File removed. + * sysdeps/m68k/fpu/switch/Dist: File removed. + * sysdeps/m68k/fpu/Dist: File removed. + * sysdeps/powerpc/powerpc64/Dist: File removed. + * sysdeps/powerpc/soft-fp/Dist: File removed. + * sysdeps/powerpc/powerpc32/fpu/Dist: File removed. + * sysdeps/powerpc/powerpc32/Dist: File removed. + * sysdeps/powerpc/fpu/Dist: File removed. + * sysdeps/powerpc/Dist: File removed. + * sysdeps/unix/common/Dist: File removed. + * sysdeps/unix/bsd/bsd4.4/Dist: File removed. + * sysdeps/unix/bsd/Dist: File removed. + * sysdeps/unix/sysv/linux/alpha/Dist: File removed. + * sysdeps/unix/sysv/linux/i386/Dist: File removed. + * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed. + * sysdeps/unix/sysv/linux/mips/Dist: File removed. + * sysdeps/unix/sysv/linux/m68k/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed. + * sysdeps/unix/sysv/linux/powerpc/Dist: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed. + * sysdeps/unix/sysv/linux/sparc/Dist: File removed. + * sysdeps/unix/sysv/linux/ia64/Dist: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed. + * sysdeps/unix/sysv/linux/s390/Dist: File removed. + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed. + * sysdeps/unix/sysv/linux/sh/Dist: File removed. + * sysdeps/unix/sysv/linux/x86_64/Dist: File removed. + * sysdeps/unix/sysv/linux/hppa/Dist: File removed. + * sysdeps/unix/sysv/linux/Dist: File removed. + * sysdeps/unix/sysv/Dist: File removed. + * sysdeps/unix/Dist: File removed. + * sysdeps/generic/Dist: File removed. + * sysdeps/sparc/sparc32/soft-fp/Dist: File removed. + * sysdeps/sparc/sparc32/sparcv9/Dist: File removed. + * sysdeps/sparc/sparc32/sparcv8/Dist: File removed. + * sysdeps/sparc/sparc32/Dist: File removed. + * sysdeps/sparc/sparc64/soft-fp/Dist: File removed. + * sysdeps/sparc/sparc64/Dist: File removed. + * sysdeps/sparc/Dist: File removed. + * sysdeps/gnu/Dist: File removed. + * sysdeps/ia64/fpu/Dist: File removed. + * sysdeps/ia64/Dist: File removed. + * sysdeps/mach/mips/Dist: File removed. + * sysdeps/mach/hurd/alpha/Dist: File removed. + * sysdeps/mach/hurd/i386/Dist: File removed. + * sysdeps/mach/hurd/mips/Dist: File removed. + * sysdeps/mach/hurd/powerpc/Dist: File removed. + * sysdeps/mach/hurd/Dist: File removed. + * sysdeps/s390/s390-64/Dist: File removed. + * sysdeps/s390/Dist: File removed. + * sysdeps/s390/s390-32/Dist: File removed. + * sysdeps/sh/Dist: File removed. + * sysdeps/posix/Dist: File removed. + * sysdeps/ieee754/dbl-64/Dist: File removed. + * sysdeps/ieee754/ldbl-128/Dist: File removed. + * sysdeps/ieee754/flt-32/Dist: File removed. + * sysdeps/ieee754/Dist: File removed. + * sysdeps/x86_64/soft-fp/Dist: File removed. + * sysdeps/x86_64/Dist: File removed. + * sysdeps/hppa/Dist: File removed. + + * Makerules (common-clean): Don't remove distinfo file. + ($(objpfx)distinfo): Target removed. + * manual/Makefile (mostlyclean): Don't remove distinfo file. + (glibc-targets): Remove echo-distinfo. + + * scripts/list-sources.sh: New file. + * Makefile (TAGS): New target. + * po/Makefile (libc.pot, libc.pot.files): New targets. + * Makeconfig (XGETTEXT): New variable. + * Makerules ($(..)po/%.pot): Rule removed. + (TAGS): Target removed. + * Rules (subdir_TAGS): Target removed. + * MakeTAGS: File removed. + + * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE. + * Makeconfig ($(all-Depend-files)): New targets with no-op commands. + +2004-08-03 Marco Gerards <marco@gnu.org> + + [BZ #2119] + * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro. + +2006-01-07 Ulrich Drepper <drepper@redhat.com> + + * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value. + +2006-01-06 Ulrich Drepper <drepper@redhat.com> + + * elf/tst-tls8.c (do_test): Use $ORIGIN in module names. + +2006-01-03 Steven Munroe <sjmunroe@us.ibm.com> + + * sysdeps/generic/sysdep.h (cfi_same_value): Define macro. + + * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve, + _dl_profile_resolve): Add CFI directives for stack and LR save. + Save LR in LRSAVE of previous frame per ABI. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives + for LR save. + * sysdeps/powerpc/powerpc32/lshift.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S + (__makecontext, __novec_makecontext): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive + for LR save to register. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive + for stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. + * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack + and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: + Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. - * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, - relax_fenv_state): Likewise. - -2009-03-08 Ulrich Drepper <drepper@redhat.com> - - * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and - cxa_at_quick_exit. - (static-only-routines): Add at_quick_exit. - * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for - GLIBC_2.10. - * stdlib/quick_exit.c: New file. - * stdlib/at_quick_exit.c: New file. - * stdlib/cxa_at_quick_exit.c: New file. - * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call - it appropriately. - (__internal_atexit): New function. - (__new_exitfn): Now takes parameter to point to the list to use. - * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them. - * stdlib/exit.c (__run_exit_handlers): New function. Split from... - (exit): ...here. Just call __run_exit_handlers appropriately. - * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers, - __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn. - * stdlib/on_exit.c: Adjust call to __new_exitfn. - * stdlib/stdlib.h: Declare at_quick_exit and quick_exit. - - * po/id.po: Update from translation team. - -2009-03-07 Ulrich Drepper <drepper@redhat.com> - - * po/ru.po: Update from translation team. - -2009-03-04 Ulrich Drepper <drepper@redhat.com> - - * po/nl.po: Update from translation team. - -2009-03-03 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - - * po/pl.po: Update from translation team. - -2009-03-02 Ulrich Drepper <drepper@redhat.com> - - [BZ #7083] - * sysdeps/unix/sysv/linux/fallocate.c: New file. - * sysdeps/unix/sysv/linux/fallocate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. - * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. - * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. - * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 - for GLIBC_2.10. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add fallocate and fallocate64. - - * io/fcntl.h: Pretty printing. - -2009-03-02 Richard Guenther <rguenther@suse.de> - - * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ - attribute also for non-C99 inline semantics variant. - -2009-02-12 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> - - * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. - * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: - Likewise. - -2009-03-02 Ulrich Drepper <drepper@redhat.com> - - * po/cs.po: Update from translation team. - -2009-02-28 Ulrich Drepper <drepper@redhat.com> - - * po/bg.po: Update from translation team. - * po/sv.po: Likewise. - * po/fi.po: Likewise. - * po/vi.po: Likewise. - -2009-02-27 Roland McGrath <roland@redhat.com> + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Don't use + negative stack addressing. + + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve, + _dl_profile_resolve): Add CFI directives for stack and LR save. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives + for stack. + * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI + directives for stack and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI + directives for stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI + directives for stack. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S + (__getcontext, __novec_getcontext): Add CFI directives for stack + and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S + (__makecontext): Add CFI directives for stack and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__setcontext, __novec_setcontext): Add CFI directives for stack + and LR save. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__swapcontext, __novec_swapcontext): Add CFI directives for stack + and LR save. - * Makeconfig (%.v.i): Depend on Makeconfig. - Exclude % lines from initial #-comment removal. +2006-01-06 Jakub Jelinek <jakub@redhat.com> -2009-02-27 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h. + (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid + the need of .register directive for it. + * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset + 2047 instead of 0 in the test on sparc64. - * po/ko.po: Update from translation team. +2006-01-06 Ulrich Drepper <drepper@redhat.com> -2009-02-26 Roland McGrath <roland@redhat.com> + * scripts/check-c++-types.sh: Add more pthread types. + * scripts/data//c++-types-i386-linux-gnu.data: Adjust. + * scripts/data//c++-types-ia64-linux-gnu.data: Likewise. + * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise. + * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise. + * scripts/data//c++-types-s390-linux-gnu.data: Likewise. + * scripts/data//c++-types-s390x-linux-gnu.data: Likewise. + * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise. - * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it, - avoids unused warning. + * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS): + Adjust for private->__private rename in tcbhead_t. -2009-02-26 Andrew Stubbs <ams@codesourcery.com> - SUGIOKA Toshinobu <sugioka@itonet.co.jp> + [BZ #2114] + * ncsd/aicache.c: Don't use sendfile for records on the stack. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + Patch by dmueller@suse.com. - * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, - sys/ucontext.h and asm/elf.h. Include sys/user.h. - * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h - and asm/user.h. Include asm/ptrace.h. - (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, - PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, - PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): - Undefine. - (start_thread): Don't undefine. - (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): - Define. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. -2009-02-26 Ulrich Drepper <drepper@redhat.com> - - * wctype/wctype.h: The *_l functions are in POSIX 2008. - * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, - wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, - wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. - * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from - 200112L to 200809L. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and - _SC_THREAD_ROBUST_PRIO_PROTECT entries. - * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and - _SC_THREAD_ROBUST_PRIO_PROTECT. - * posix/unistd.h: fexecve is in POSIX 2008. - * time/time.h: strftime_l is in POSIX 2008. - * io/sys/stat.h: futimens is in POSIX 2008. - * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. - * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, - strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. - * stdlib/stdlib.h: mkdtemp is in POSIX 2008. - * libio/stdio.h: dprintf, fmemopen, getdelim, getline, - open_memstream, and vdprintf are in POSIX 2008. - -2009-02-25 Ulrich Drepper <drepper@redhat.com> - - * include/features.h: Define macros for XPG7/POSIX 2008. - * ctype/ctype.h: The *_l functions are in POSIX 2008. - * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in - POSIX 2008. - * locale/langinfo.h: nl_langinfo_l is in POSIX 2008. - * locale/xlocale.h: Define locale_t type. - * locale/locale.h: duplocale, freelocale, newlocale, uselocale are - in POSIX 2008. Don't define locale_t here. - * stdlib/monetary.h: strfmon_l is in POSIX 2008. - * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and - UTIME_OMIT only with __USE_ATFILE. - * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. - * stdio-common/psiginfo.c: New file. - * stdio-common/psiginfo-data.h: New file. - * stdio-common/psiginfo-define.h: New file. - * stdio-common/Makefile (routines): Add psiginfo. - * stdio-common/Versions: Export psiginfo for GLIBC_2.10. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * io/sys/stat.h: Move mknodat definition into same conditional as - mknod. - * time/sys/time.h: futimesat is not among the functions accepted - into the POSIX standard. - - * include/features.h: If no feature selection given and we select - by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. - * posix/Versions: Export __posix_getopt. - * posix/getopt.c (_getopt_initialize): Take additional parameter. - Use it to alternatively initialize __posixly_correct. - (_getopt_internal_r): Take addition parameter. Pass on to - _getopt_initialize. - (_getopt_internal): Take addition parameter. Pass on to - _getopt_internal_r. - (getopt): Pass additional zero to _getopt_internal. - (__posix_getopt): New function. - * posix/getopt.h: Add redirection for getopt. - * posix/getopt1.c (getopt_long): Pass additional zero to - _getopt_internal. - (getopt_long_only): Likewise. - (_getopt_long_r): Pass additional zero to _getopt_internal_r. - (_getopt_long_only_r): Likewise. - * posix/getopt_int.h: Adjust declarations of _getopt_internal and - _getopt_internal_r. - -2009-02-24 Ulrich Drepper <drepper@redhat.com> - - * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, - _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. - * sysdeps/posix/sysconf.c (__sysconf): Handle - _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, - _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. - -2009-02-24 Roland McGrath <roland@redhat.com> - - [BZ #9895] - * README.template: Reworded not to use substituted version number. - Renamed to ... - * README: ... here (no longer generated). - * Makefile (README): Target removed. - -2009-02-24 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): - /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit - instead. - - * io/sys/stat.h: The lstat functions have been mandatory since 2001. - - * time/tzset.c (tzset_internal): Correct parsing of TZ envvar. - -2009-02-22 Ulrich Drepper <drepper@redhat.com> - - * po/bg.po: Update from translation team. - -2009-02-16 Jakub Jelinek <jakub@redhat.com> - - * stdlib/monetary.h: Uglify function parameter names. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * resolv/netdb.h: Likewise. - * resolv/arpa/nameser.h: Likewise. - * resolv/resolv.h: Likewise. - * argp/argp.h: Likewise. - * locale/langinfo.h: Likewise. +2006-01-06 Roland McGrath <roland@redhat.com> + + * Makeconfig (+gnu-stabs): Remove ancient cruft. + + [BZ #2103] + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro + name (was typo ARPHDR_HWX25). + (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros. + (ARPHRD_VOID, ARPHRD_NONE): New macros. + + * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast. + + * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro. + * posix/unistd.h [__USE_ATFILE]: Declare faccessat. + * io/faccessat.c: New file. + * sysdeps/unix/sysv/linux/faccessat.c: New file. + * io/Makefile (routines): Add faccessat. + * io/Versions (libc: GLIBC_2.4): Likewise. + * io/tst-faccessat.c: New file. + * io/Makefile (tests): Add it. + + * scripts/check-local-headers.sh: Revert last change. + + * io/euidaccess.c: Add eaccess as an alias. + * sysdeps/mach/hurd/euidaccess.c: Likewise. + * sysdeps/posix/euidaccess.c: Likewise. + * posix/unistd.h [__USE_GNU]: Declare eaccess. + * io/Versions (libc: GLIBC_2.4): Add eaccess. + +2005-12-04 Joseph S. Myers <joseph@codesourcery.com> + + * soft-fp/Makefile (gcc-single-routines): Add unordsf2, + floatunsisf, floatundisf. + (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf. + (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf. + * soft-fp/op-common.h (_FP_CMP_UNORD): Define. + * soft-fp/single.h (FP_CMP_UNORD_S): Define. + * soft-fp/double.h (FP_CMP_UNORD_D): Define. + * soft-fp/quad.h (FP_CMP_UNORD_Q): Define. + * soft-fp/extended.h (FP_CMP_UNORD_E): Define. + * soft-fp/unordsf2.c: New file. + * soft-fp/unorddf2.c: New file. + * soft-fp/unordtf2.c: New file. + * soft-fp/floatunsisf.c: New file. + * soft-fp/floatundisf.c: New file. + * soft-fp/floatunsidf.c: New file. + * soft-fp/floatundidf.c: New file. + * soft-fp/floatunsitf.c: New file. + * soft-fp/floatunditf.c: New file. + + * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz, + __builtin_clzl and __builtin_clzll. + +2006-01-05 Mike Frysinger <vapier@gentoo.org> + + * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'. + +2006-01-05 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): + Only define for 2.6.12+ on s390{,x}. + (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches + and only for 2.6.11+ on s390{,x}. + +2006-01-05 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP] + (struct waitlist): Don't add cond. + * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP] + (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal. + * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't + use condvar, use AIO_MISC_WAIT. + * sysdeps/pthread/lio_listio.c: Likewise. + * rt/Makefile (tests): Add tst-aio9 and tst-aio10. + * rt/tst-aio9.c: New file. + * rt/tst-aio10.c: New file. + + * rt/tst-aio3.c: The thread is now supposed to be created. + +2006-01-05 Roland McGrath <roland@redhat.com> + + * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when + it or _GNU_SOURCE is defined. + * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of + [__USE_GNU]. + * libio/stdio.h: Likewise. + * posix/unistd.h: Likewise. + * time/sys/time.h: Likewise. * io/sys/stat.h: Likewise. - * posix/spawn.h: Likewise. - * nis/rpcsvc/nislib.h: Likewise. - * malloc/obstack.h: Likewise. - * sysdeps/ia64/bits/link.h: Likewise. - * sysdeps/i386/bits/link.h: Likewise. - * sysdeps/s390/bits/link.h: Likewise. - * sysdeps/powerpc/bits/link.h: Likewise. - * sysdeps/x86_64/bits/link.h: Likewise. - * sysdeps/sparc/bits/link.h: Likewise. - * sysdeps/sh/bits/link.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. - * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. - -2008-12-01 Fredrik Unger <fred@tree.se> - - * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, - FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of - _FP_UNPACK_RAW_2, fix up first argument. - -2009-02-15 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function. - (GET_NPROCS_PARSER): Change parameters and use next_line. - (__get_nprocs): Rewrite to not use stdio routines. - * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): - Change parameters and use next_line. - -2009-02-13 Ulrich Drepper <drepper@redhat.com> - - [BZ #5381] - * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. - Change mempool_alloc prototype. - * nscd/mem.c (gc): Don't handle mem_in_flight. - (mempool_alloc): Third parameter now only indicates whether this is the - first call (to allocate data) or not. If it is, get db rdlock. - Release it on error. Don't handle mem_in_flight. - * nscd/aicache.c (addhstaiX): Mark he parameter as const. - Adjust third parameter of mempool_alloc calls. - Nothing to do here in case mempool_alloc fails. - Avoid local variable shadowing parameter. No need to get db rdlock - before calling cache_add. - * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is - no mem_in_flight array anymore. - * nscd/connections.c: Remove definition and handling of mem_in_flight. - * nscd/grpcache.c (cache_addgr): Adjust third parameter of - mempool_alloc calls. Mark he parameter as const. Nothing to do here - in case mempool_alloc fails. No need to get db rdlock before calling - cache_add. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - * nscd/servicescache.c (cache_addserv): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code. - -2009-02-11 Ulrich Drepper <drepper@redhat.com> - - * po/lt.po: Update from translation team. - -2009-02-10 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is - defined, allow additional data to be added using the optional - MORE_ELF_HEADER_DATA macro. - * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, - VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define. - -2009-02-08 Ulrich Drepper <drepper@redhat.com> - - * include/atomic.h: Define catomic_and if not already defined. - * sysdeps/x86_64/bits/atomic.h: Define catomic_and. - * sysdeps/i386/i486/bits/atomic.h: Likewise. - -2009-02-07 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (_int_free): Second argument is now mchunkptr. - Change all callers. - (_int_realloc): Likewise. Third argument is now padded size - All _int_* functions are now static. - - * malloc/hooks.c: Change all callers to _int_free and _int_realloc. - * malloc/arena.c: Likewise. - * include/malloc.h: Remove now unnecessary declarations of the _int_* - functions. - - * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that - easily. - - * malloc/malloc.c: Add branch prediction for use of the hooks. - - * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define. - -2009-02-06 Ulrich Drepper <drepper@redhat.com> - - [BZ #7095] - * bits/confname.h: Add SUSv7 macros for getconf environments. - * bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. - * posix/confstr.c: Handle SUSv5 and SUSv7 environments. - * posix/getconf.c: Likewise. - * posix/sysconf.c: Likewise. - * sysdeps/posix/sysconf.c: Likewise. - * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 - environments. - -2009-01-16 Petr Baudis <pasky@suse.cz> - - [BZ #9753] - * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() - even if we currently have zero nscount. - -2009-02-06 Ulrich Drepper <drepper@redhat.com> - - [BZ #9781] - * grp/compat-initgroups.c (compat_call): Switch to use malloc when - the input line is too long. - - * po/Makefile (libc.pot): Add f_print as function taking c-format - parameter. - - * debug/xtrace.sh: Unify translatable messages. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c: Likewise. - * locale/programs/locale.c: Likewise. - * malloc/memusage.sh: Likewise. - * nss/getent.c: Likewise. - -2009-02-06 Joseph Myers <joseph@codesourcery.com> - - * debug/pcprofiledump.c (print_version, - argp_program_version_hook): New function. - * elf/ldconfig.c (more_help): New function. - (argp): Use it. - * elf/sln.c (usage): New function. - (main): Support --help and --version. - * malloc/memusagestat.c (print_version): New function. - (argp_program_version_hook): New variable. - * nscd/nscd.c (more_help): New function. - (argp): Use it. - * posix/getconf.c (main): Send --version output to stdout. - Support --help. - * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS - arguments. All callers changed. - (print_version): New function. - (parseargs): Support --help and --version. - * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers - changed. - (print_version): New function. - (main): Use getopt_long. Support --help and --version. - * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and - --version. - -2009-02-06 Ulrich Drepper <drepper@redhat.com> - - * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. - (update_data): Fix handling of wrapping back - to the beginning of the buffer. - - [BZ #9823] - * stdio-common/psignal.c (psignal): Fix test for empty string. - -2009-02-05 Ulrich Drepper <drepper@redhat.com> - - * include/rpc/auth.h: Use libc_hidden_proto for _null_auth. - * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also - move _null_auth to .rodata. - - * time/tzset.c (__tzset_parse_tz): DST offset must also allow hour - value of 24. - - * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication. - - * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory - today than when the original code was written. Use larger - buffers. This also makes it unnecessary to have stat information, - if this causes extra efforts. - (__opendir): In case O_DIRECTORY works, don't call fstat just for - __alloc_dir. - -2009-02-03 Andrew Stubbs <ams@codesourcery.com> - - * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__ - is set. - * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU. - * sysdeps/sh/sh4/__longjmp.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. - -2009-02-04 Ulrich Drepper <drepper@redhat.com> - - * po/ru.po: Update from translation team. - -2008-11-17 Nathan Sidwell <nathan@codesourcery.com> - - * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent): - Add _tid slot to maintain consistency with kernel. - -2009-02-04 Ulrich Drepper <drepper@redhat.com> - - * libio/wfileops.c (_IO_wfile_underflow): Fix handling of - incomplete characters at end of input buffer. - * libio/Makefile (tests): Add tst-fgetwc. - * libio/tst-fgetwc.c: New file. - * libio/tst-fgetwc.input: New file. - -2009-02-02 Andrew Stubbs <ams@codesourcery.com> - - * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define. - -2009-02-02 Ulrich Drepper <drepper@redhat.com> - - [BZ #9793] - * iconv/gconv_trans.c (__gconv_transliterate): Don't change - *OUTBUFSTART unless the whole output fit into the buffer. - * iconv/Makefile (tests): Add tst-iconv4. - * iconv/tst-iconv4.c: New file. - -2009-02-01 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. - -2009-01-29 Andrew Stubbs <ams@codesourcery.com> - - * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to - newer linker scripts. - -2009-01-30 Ulrich Drepper <drepper@redhat.com> - - [BZ #7040] - * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of - inotify_rm_watch should have type int. - -2009-01-06 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): - Make aligned_restore_vmx a local symbol. - * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): - Likewise. - -2009-01-30 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define. - -2009-01-11 Ryan S. Arnold <rsa@us.ibm.com> - - [BZ #9726] - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, - _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. - -2009-01-08 Ryan S. Arnold <rsa@us.ibm.com> - - [BZ #9726] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S - (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S - (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. - -2009-01-11 Thomas Schwinge <tschwinge@gnu.org> - - * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use - memcpy instead of memcmp. - (_dl_setup_pointer_guard): Likewise. - -2009-01-30 Ulrich Drepper <drepper@redhat.com> - * malloc/malloc.c (sYSMALLOc): Don't use assert when detecting - manipulated brk, use malloc_printerr. - * misc/sbrk.c (__sbrk): Better error handling for nonsense - requests. + * io/sys/stat.h [__USE_GNU]: Declare fchmodat. + * io/fchmodat.c: New file. + * io/Makefile (routines): Add fchmodat. + * io/Versions (libc: GLIBC_2.4): Likewise. + * sysdeps/unix/sysv/linux/fchmodat.c: New file. + * io/tst-fchmodat.c: New file. + * io/Makefile (tests): Add it. -2009-01-30 Jakub Jelinek <jakub@redhat.com> +2006-01-03 Steven Munroe <sjmunroe@us.ibm.com> - * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index, - rindex): For C++ add inlines so that they can be recognized as - builtins. - * string/strings.h: Define correct C++ prototypes for gcc 4.4. + * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc + directive to ENTRY macros. + (END): Add cfi_endproc directive to END macro. + * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc + directive to ENTRY macros. + (END, END_GEN_TB): Add cfi_endproc directive to END macros. + * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for + _dl_start_user and _dl_main_dispatch. + * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro. + * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise. + * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise. + * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise. + * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise. + * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant + cfi_startproc and cfi_endproc. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. -2009-01-29 Ulrich Drepper <drepper@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - * string/string.h: Define correct C++ prototypes for gcc 4.4. - * wcsmbs/wchar.h: Likewise. - -2009-01-29 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define. - (stackinfo_sub_sp): Define. - -2009-01-28 Ulrich Drepper <drepper@redhat.com> - - [BZ #9750] - * nscd/mem.c (gc): Use alloca_count to get the real stack usage. - * include/alloca.h (alloca_account): Define. - * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define. - (stackinfo_sub_sp): Define. - - * nscd/connections.c (nscd_init): If database file access fails - check whether this is due to permission problems and bail in that - case. - - [BZ #9741] - * nscd/mem.c (gc): Fix assignment of he_data in case malloc is used. - Reported by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>. - -2009-01-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> +2006-01-04 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL): - Add "t" to clobber list. - (INTERNAL_SYSCALL_NCS): Likewise. + * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member. + * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters, + failed I/O, and a result pointer, set value to -1. + * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL. + * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in + wait list to local variable result. If nonzero afterwards, set errno + to EIO. For LIO_NOWAIT set result to NULL. + * rt/Makefile (tests): Add tst-aio8. + * rt/tst-aio8.c: New file. -2009-01-28 Ulrich Drepper <drepper@redhat.com> +2005-12-25 Kristian Van Der Vliet <vanders@liqwyd.com> - * nss/getent.c (print_networks): Don't print comma between aliases. + * abi-tags (*-.*-syllable.*): New match, with ABI value 5. + * elf/cache.c (print_entry): Match the Syllable ABI tag. -2009-01-23 Ulrich Drepper <drepper@redhat.com> +2006-01-04 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. + * include/stdlib.h: Make even more C++ compliant. - * misc/hsearch_r.c (hcreate_r): We need at least three elements in - the hash table. - * misc/Makefile (tests): Add bug-hsearch1. - * misc/bug-hsearch1.c: New file. +2006-01-04 Joseph S. Myers <joseph@codesourcery.com> -2009-01-22 Roland McGrath <roland@redhat.com> + * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use + __SYSCALL_CLOBBERS. - * Makeconfig (%.v.i): Strip trailing # comments, - not only whole-line comments. +2006-01-03 H.J. Lu <hongjiu.lu@intel.com> -2009-01-10 Ulrich Drepper <drepper@redhat.com> + * configure.in (HAVE_LIBAUDIT): Check + audit_log_user_avc_message instead of audit_log_avc. - * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take - one parameter. If non-NULL use it to initialize return value. - (_dl_setup_pointer_guard): New function. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_random. - * elf/rtld.c (security_init): Pass _dl_random to - _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize - pointer_chk_guard. - * elf/dl-sysdep.c (_dl_random): New variable. - (_dl_sysdep_start): Handle AT_RANDOM. - (_dl_show_auxv): Likewise. - * elf/dl-support.c (_dl_random): New variable. - (_dl_aux_init): Handle AT_RANDOM. - * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random - to _dl_setup_stack_chk_guard. - - * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM. - -2009-01-10 Roland McGrath <roland@redhat.com> +2006-01-04 Joseph S. Myers <joseph@codesourcery.com> - * nscd/nscd.c (parse_opt): Use argp_error for bad -i argument. + * sysdeps/ieee754/bits/nan.h: Fix typo. -2009-01-08 Ulrich Drepper <drepper@redhat.com> +2006-01-03 Jakub Jelinek <jakub@redhat.com> - * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors. + * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h. - [BZ #9706] - * nss/nss_files/files-parse.c (strtou32): New function. - (INT_FIELD): Use strotu32 instead of strtoul to unify behavior - across 32-bit and 64-bit platforms. - (INT_FIELD_MAYBE_NULL): Likewise. - -2009-01-08 Jakub Jelinek <jakub@redhat.com> + * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused + define. - [BZ #9720] - * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid - comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): + * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add + {,u}atomic*_t typedefs. + (__sparc32_atomic_do_lock): Add __volatile and memory clobber. + (__sparc32_atomic_do_unlock): Add memory barrier. + (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define. + [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define. + (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq, + __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel, + __v7_compare_and_exchange_val_24_acq, __atomic_is_v9, + atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq, + atomic_exchange_24_rel): Define. + [SHARED] (atomic_exchange_and_add): Define. + [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define. + [!SHARED] (_dl_hwcap): New weak decl. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel, + atomic_compare_and_exchange_val_24_acq): Define. + * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel, + atomic_compare_and_exchange_val_24_acq): Define. + +2006-01-03 Ulrich Drepper <drepper@redhat.com> + + lio_listio should emit an event for each individual request in + addition to the global event. + * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to + lio_listio_internal. Remove mode parameter check. Only set sigevent + type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set. + (__lio_listio_21): New function. Compatiblity version which sets + LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal. + (__lio_listio_item_notify): New function. + * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and + __lio_listio_item_notify macros. + * sysdeps/pthread/Versions: New file. + * rt/tst-aio2.c: Adjust test for new semantics of lio_listio. + * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT. + * Versions.def: Add GLIBC_2.4 for librt. + + * rt/Versions: Whitespace fix. + * sysdeps/pthread/aio_misc.c: Likewise. + + * nscd/connections.c (nscd_init): Remove if block which should + have been removed as part of the -S option removal. + +2006-01-03 Andreas Jaeger <aj@suse.de> + + * scripts/check-local-headers.sh: Allow $includedir/c++. + +2006-01-03 Jakub Jelinek <jakub@redhat.com> + + * posix/unistd.h (ctermid): Remove __nonnull attribute. + +2006-01-02 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE, + PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE, + PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64] + (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp. + * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp + and %o7. + * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp + and %o7. + +2006-01-02 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2): + Define. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2): Likewise. + * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15. + * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. + * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15. + * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. -2009-01-05 Paolo Bonzini <bonzini@gnu.org> - - [BZ #697] - * posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0] - being NULL also if there are no backreferences. - * posix/rxspencer/tests: Add testcases. - -2009-01-04 Paolo Bonzini <bonzini@gnu.org> - - [BZ #9697] - * posix/bug-regex17.c: Add testcases. - * posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET - handling. - -2009-01-05 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file. - * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file. - * sysdeps/unix/sysv/linux/s390/init-first.c: New file. - * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso - for elf subdir. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL, - INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, - INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and - HAVE_CLOCK_GETTIME_VSYSCALL: Define. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/s390/Versions: New file. - -2008-12-31 Paolo Bonzini <bonzini@gnu.org> - - * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc. - * posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer, - re_string_skip_chars, re_string_reconstruct): Likewise. - * posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define. - -2008-12-31 Rafael Avila de Espindola <espindola@google.com> - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and - adjust the buffer alignment. - -2009-01-07 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: - Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h - net/route.h. - - * hurd/report-wait.c (describe_number): Use __stpcpy to prepend - flavor to description only when flavor is not NULL. - - * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock - mutex after SIGIO/SIGURG lookup loop. - -2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. - -2009-01-03 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument - handling. - -2009-01-02 Ulrich Drepper <drepper@redhat.com> + * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf + struct tag to make C++ happy. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_FUTEX_CLOCK_REALTIME): Define. +2006-01-02 Ulrich Drepper <drepper@redhat.com> - * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object - if no output is written. + * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of + the include list. - * version.h: Bump to 2.10 development. +2006-01-01 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. @@ -5410,7536 +4278,8391 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com> * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise. -2008-12-29 Mike Frysinger <vapier@gentoo.org> - - * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk - script. - -2008-12-29 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/getaddrinfo.c (gaih_inet): When the - gethostbyname4_r function call succeeded, just leave the loop. - - [BZ #9694] - * wcsmbs/wchar.h: Move undefs for local __need_* constants to the - very end. - * wctype/wctype.h: Get wint_t definition directly from <stddef.h>. - * wctype/Makefile (tests): Add bug-wctypeh. - * wctype/bug-wctypeh.c: New file. - - * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if - LOCALDOMAIN is defined. - * nscd/nscd_getai.c (__nscd_getai): Likewise. - - * sysdeps/x86_64/bits/select.h: New file. - - * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. - -2008-12-21 Bruno Haible <bruno@clisp.org> - - [BZ #9677] - * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object - if no output is written. - -2008-12-13 Klaus Dittrich <kladit@arcor.de> - - * login/utmp_file.c (pututline_file): Replace call to dup2 with - libc internal symbol __dup2 to avoid access through the PLT. - -2008-12-08 Ulrich Drepper <drepper@redhat.com> - - [BZ #6545] - * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make - available only for __USE_GNU. - - * inet/Makefile (tests): Add tst-getni2. - * inet/tst-getni2.c: New file. - - [BZ #7080] - * inet/getnameinfo.c (getnameinfo): Check for output buffers being - NULL when NI_NAMEREQD is set. - Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. - * inet/Makefile (tests): Add tst-getni1. - * inet/tst-getni1.c: New file. - -2008-12-03 Petr Baudis <pasky@suse.cz> - - [BZ #7067] - * nscd/connections.c (invalidate_cache): Use prune_run_lock - instead of prune_lock. - (nscd_run_prune): Before calling prune_cache, take prune_run_lock. - * nscd/nscd.h (database_dyn): Add prune_run_cache. - -2008-12-07 Ulrich Drepper <drepper@redhat.com> - - * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC - use. - - * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 - handling. - - * resolv/res_init.c (__res_vinit): Always assign to statp->nscount - after reading name server list. - - [BZ #7058] - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory - handling for host name aliases. - -2008-11-24 Arkadiusz Miśkiewicz <arekm@maven.pl> - - * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG - instead of doing things manually. - -2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com> - - * posix/regex_internal.h (build_wcs_upper_buffer): - Return type is reg_error_t. - -2008-12-05 Ulrich Drepper <drepper@redhat.com> - - * posix/globtest.sh: Use mktemp to create temporary file and - directory. - - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large - sets correctly. - (__CPU_CLR_S): Likewise. - (__CPU_ISSET_S): Likewise. - -2008-12-05 Joseph Myers <joseph@codesourcery.com> - Ulrich Drepper <drepper@redhat.com> - - * scripts/firstversion.awk: Use custom comparison function to compare - version numbers. - * scripts/versions.awk: Use sort invocation which can handle - multi-digit sub-version numbers. - -2008-12-04 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define. - * locale/iso-639.def: Add Chhattisgarhi entry. +2005-12-31 Andreas Jaeger <aj@suse.de> -2008-12-02 Ulrich Drepper <drepper@redhat.com> + [BZ #1395] + * manual/filesys.texi (Symbolic Links): Fix description of + canonicalize_file_name based on patch by Oskar Liljeblad + <oskar@osk.mine.nu>. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize - ESRCH return value. - (_nss_dns_gethostbyname4_r): Likewise. - * resolv/res_init.c (__res_vinit): Initialize nscount to zero. - * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use - gethostbyname4_r, we don't have a separate IPv6 status, so copy - the no_data variable. +2005-12-29 Andreas Jaeger <aj@suse.de> - * resolv/res_init.c (__res_vinit): Fill in IPv4 name server - information at the correct index. + * resolv/res_debug.c (latlon2ul): Use ISO C function definition. + (precsize_aton): Likewise. + (precsize_ntoa): Likewise. - * socket/sys/socket.h: Declare accept4. - * socket/accept4.c: New file. - * sysdeps/unix/sysv/linux/accept4.c: New file. - * sysdeps/unix/sysv/linux/i386/accept4.S: New file. - * socket/Makefile (routines): Add accept4. - * socket/Versions: Export accept4 with version GLIBC_2.10. - * socket/paccept.c: Removed. - * sysdeps/unix/sysv/linux/paccept.c: Removed. - * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. - * Versions.def: Define GLIBC_2.10 for libc. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. + * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype. + (gethostbyname2): Likewise. + (gethostbyaddr): Likewise. + (getanswer): Use ISO C function definition. - * nscd/connections.c: Use accept4. +2005-12-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> - * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment. - -2008-12-01 Ulrich Drepper <drepper@redhat.com> - - * resolv/res_send.c (send_dg): Create sockets with non-blocking - flag already set. - - * stdlib/setenv.c (unsetenv): Don't search environment if it does - not exist. - * stdlib/Makefile (tests): Add tst-unsetenv1. - * stdlib/tst-unsetenv1.c: New file. - -2008-11-29 Ulrich Drepper <drepper@redhat.com> - - * login/utmp_file.c (file_writable): New variable. - (setutent_file): Don't try to open file for writing. - (pututline_file): Before writing, make descriptor writable if - necessary. + * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/sh/_mcount.S: Add cfi instrumentation. + * sysdeps/unix/sh/sysdep.S: Likewise. + * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc. + * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate + cfi_startproc and cfi_endproc. + * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc. -2008-11-26 Ulrich Drepper <drepper@redhat.com> +2005-12-30 Ulrich Drepper <drepper@redhat.com> - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search - to IPv4 or IPv6 if an interface has been found. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard + value doesn't survive in a registers when the function returns. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. -2008-11-26 Roland McGrath <roland@redhat.com> +2005-12-30 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... - * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define + PTR_MANGLE2. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define + PTR_MANGLE2 and PTR_DEMANGLE2. + * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. - * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... - * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. - * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include. +2005-12-30 Ulrich Drepper <drepper@redhat.com> - * elf/elf.h (NT_386_IOPERM): New macro. - (NT_PPC_VSX): New macro. + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS): + Don't use _demangle parameter for now. -2008-11-25 Roland McGrath <roland@redhat.com> + [BZ #2080] + * libio/iogetwline.c (_IO_getwline_info): Move return to correct + location. - * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, - sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, - sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, - sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: - Subdirectories moved to ports repository. - * configure.in (base_machine): Remove alpha case. - -2008-11-25 Thomas Schwinge <tschwinge@gnu.org> - - * sysdeps/mach/strerror_l.c: New file. - -2008-11-13 Ryan S. Arnold <rsa@us.ibm.com> - - [BZ #6411] - * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. - * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace - magic numbers. - * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically - choose mtfsf insn based on PPC_FEATURE_HAS_DFP. - (relax_fenv_state): Same as above. - (FPSCR_29): Reserve bit in ISA 2.05. - (FPSCR_NI): Provide define for compat. - * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace - magic numbers. - * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace - magic numbers. - * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to - test setcontext and swapcontext with dynamic 64-bit FPSCR detection. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust - access to hwcap to account for hwcap size increase to uint64_t. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S - (*setcontext): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: + * nscd/connections.c: Remove last remnants of -S option support. + * nscd/nscd.c: Likewise. + * nscd/nscd.h: Likewise. + +2005-12-30 Andreas Jaeger <aj@suse.de> + + [BZ #1067] + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr + for 64-bit mips kernel. + +2005-12-08 Steven Munroe <sjmunroe@us.ibm.com> + Tom Gall <tom_gall@vnet.ibm.com> + + * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map. + * sysdeps/powerpc/elf/libc-start.c: Move this... + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here. + * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label. + * sysdeps/powerpc/powerpc32/hp-timing.h: New file. + * sysdeps/unix/sysv/linux/powerpc/Versions: New file. + * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL + is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to + INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include + <bits/libc-vdso.h>. Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead + of the normal versions throughout the code. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if + HAVE_CLOCK_GETTIME_VSYSCALL is defined. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file. + * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file. + * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO. + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define + INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS, + INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL, + and HAVE_CLOCK_GETTIME_VSYSCALL. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + +2005-12-29 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]: + Define PTR_DEMANGLE2. + * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also + mangle r1. + * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also + demangle r1. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle + r0 and r1. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]: + Demangle r0 and r1. + + * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also + mangle r1. + * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also + demangle r1. + +2005-12-26 Steven Munroe <sjmunroe@us.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: + Move common function to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S - (*setcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size - increase to uint64_t. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S - (*swapcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size - increase to uint64_t. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: + Move common function to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: + Move common function to... + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S - (*setcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (*swapcontext): dynamically select mtfsf insn based on - PPC_FEATURE_HAS_DFP. - -2008-11-13 Ulrich Drepper <drepper@redhat.com> - - * version.h: Bump for 2.9 release. - * include/features.h (__GLIBC_MINOR__): Bump to 9. - - [BZ #7029] - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): - Multiply with sizeof of __cpu_mask, not 8 unconditionally after - all the rounding. - -2008-11-11 Ulrich Drepper <drepper@redhat.com> - - [BZ #7009] - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for - unknown request types for now. - -2008-11-11 Roland McGrath <roland@redhat.com> - - * sysdeps/x86_64/configure: New file. - - * configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo). - * configure: Regenerated. - -2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the - correct instruction to remove the stack frame. - -2008-11-03 Michael Matz <matz@suse.de> - - * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, - __arch_compare_and_exchange_val_64_acq): Add "memory" clobber. - -2008-11-07 Jakub Jelinek <jakub@redhat.com> - - * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked): - Remove. - - * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, - __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type - of the thread variable instead of void *. - * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, - __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. - * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust - __libc_tsd_define arguments. - (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust - __libc_tsd_address arguments. Remove union hack. - * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. - * sunrpc/rpc_thread.c (RPC_VARS): Likewise. - (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): - Adjust __libc_tsd_{set,get} arguments. - * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust - __libc_tsd_define arguments. - * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} - arguments. - * locale/lc-ctype.c (_nl_postload_ctype): Likewise. - * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. - (LOCALE): Adjust __libc_tsd_define arguments. - * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get - arguments. - (LOCALE): Adjust __libc_tsd_define arguments. - * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define - arguments. - (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} - arguments. - -2008-11-02 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (public_rEALLOc): When new arena is used, copy - really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>. - -2008-11-01 Ulrich Drepper <drepper@redhat.com> - - [BZ #6966] - * misc/hsearch_r.c (hsearch_r): Fix secondary hash function. - -2008-10-24 Joseph Myers <joseph@codesourcery.com> - Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym + (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1, + _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): + Remove unrelated stack frame defines. - * math/tgmath.h (__floating_type): Use __builtin_classify_type in - definition for GCC 3.1 and later. +2005-12-29 Ulrich Drepper <drepper@redhat.com> -2008-10-31 Jakub Jelinek <jakub@redhat.com> + * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max): + Defining as macro as before the last change. - * elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo - refetch dtv, as it might have changed. - * elf/Makefile: Add rules to build and run tst-tls18. - * elf/tst-tls18.c: New test. - * elf/tst-tlsmod18a.c: New file. - -2008-09-09 Aurelien Jarno <aurelien@aurel32.net> - - [BZ #6875] - * iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15. - -2008-10-31 Ulrich Drepper <drepper@redhat.com> - - [BZ #6867] - * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo. - - [BZ #6919] - * posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam): - Fix length of copy operation. - -2008-10-02 Pierre Habouzit <madcoder@debian.org> - - * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall - and fix its calling convention. - -2008-10-07 Andreas Schwab <schwab@suse.de> - - [BZ #6942] - * resolv/res_send.c (send_vc): Fix last change. - (send_dg): Align here as well. - -2008-10-31 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE - return value in case rlimit is RLIM_INFINITY. - - [BZ #6947] - * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value - for UL_SETFSIZE. - * resource/Makefile (tests): Add bug-ulimit1. - * resource/bug-ulimit1.c: New file. - - [BZ #6974] - * sunrpc/rpc_main.c (mkfile_output): Properly handle filename - without dot. Properly terminate the string with a null byte. - Based on a patch by Aurelien Jarno <aurelien@aurel32.net>. - - [BZ #6980] - * debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for - negative sizees. - * posix/bits/unistd.h (getgroups): Call __getgroups_chk for - negative __size. - - [BZ #6995] - * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message. - -2008-10-30 Ulrich Drepper <drepper@redhat.com> - - * grp/initgroups.c (internal_getgrouplist): Don't prematurely - abort if there is no initgroups_dyn function. - - * resolv/res_send.c (send_dg): On timeout, only return nonzero - result if any of the queries really provided an answer. - -2008-10-28 Ulrich Drepper <drepper@redhat.com> - - * po/lt.po: Update from translation team. - -2008-10-26 Ulrich Drepper <drepper@redhat.com> - - * po/id.po: Update from translation team. - -2008-10-24 Ulrich Drepper <drepper@redhat.com> - - * resolv/res_query.c (__libc_res_nquery): Add a few casts. - Fix tests for existence of second reply. - -2008-10-23 Ulrich Drepper <drepper@redhat.com> - - * po/id.po: New file. - Contributed by the Indonesian translation team. - -2008-10-22 Dmitry V. Levin <ldv@altlinux.org> - - * misc/syslog.c (openlog_internal): Fix __have_sock_cloexec - initialization. - -2008-10-17 Jakub Jelinek <jakub@redhat.com> - - * elf/Makefile: Add rules to build and run tst-tls17. - * elf/tst-tls17.c: New test. - * elf/tst-tlsmod17a.c: New file. - * elf/tst-tlsmod17b.c: Likewise. - -2008-10-17 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined, + include the named file. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - * stdlib/divmod_1.c: Use correct type for dummy variable. - * stdlib/mod_1.c: Likewise. +2005-12-29 Roland McGrath <roland@frob.com> -2008-10-16 Ulrich Drepper <drepper@redhat.com> + * sysdeps/mach/hurd/errno.c: New file. - * elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV. + * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast. -2008-10-16 Jakub Jelinek <jakub@redhat.com> + * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast. - * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. - __nonnull order for C++. - * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast. + * hurd/report-wait.c (_S_msg_report_wait): Likewise. -2008-10-01 Daniel Jacobowitz <dan@codesourcery.com> + * include/sys/xattr.h: New file. - * stdlib/longlong.h: Update from GCC. +2005-12-28 Roland McGrath <roland@redhat.com> -2008-10-09 Jakub Jelinek <jakub@redhat.com> - David S. Miller <davem@davemloft.net> + * hurd/sigunwind.c: Include <stdint.h>. + * sysdeps/mach/hurd/jmp-unwind.c: Likewise. - * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, - make sure any registers used with 64-bit 'branch-on-register' - instructions have their top 32-bits clear. - * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise. +2005-12-28 Ulrich Drepper <drepper@redhat.com> -2008-09-18 Andreas Schwab <schwab@suse.de> + * nscd/selinux.c (log_callback): Use audit_log_user_avc_message. + Don't do anything if audit_fd is invalid. + (audit_init): Don't complain if kernel support is missing. + Patch by Steve Grubb <sgrubb@redhat.com>. - [BZ #6942] - * resolv/res_send.c (send_vc): Fix use of unaligned address. - Properly handle partial reads. + * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack + pointer. Add CFI. + * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. -2008-10-01 Mark Shinwell <shinwell@codesourcery.com> + * sysdeps/x86_64/__longjmp.S: No need to make sure return value is + != 0, the caller did that. - * elf/elf.h (STO_MIPS_PLT): New. - (R_MIPS_COPY): New. - (R_MIPS_JUMP_SLOT): New. - (R_MIPS_NUM): Redefine to 128. - (DT_MIPS_PLTGOT): New. - (DT_MIPS_RWPLT): New. - (DT_MIPS_NUM): Redefine to 0x35. +2005-12-27 Roland McGrath <roland@redhat.com> -2008-10-01 Ulrich Drepper <drepper@redhat.com> + * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading + mangled values in %rbp and %rsp registers and by wrong cfi. - * timezone/africa: Update from tzdata2008f. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. + * config.make.in (c++-sysincludes): New substituted variable. + * configure.in (CXX_SYSINCLUDES): New substituted variable. + * configure: Regenerated. + * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here. -2008-09-30 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (PTR_MANGLE): Fix cast. - * nscd/connections.c: Disable use of paccept for now. + * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument + DEMANGLE, and pass SP value through it. + * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise. + * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline + demangler function to _JMPBUF_UNWINDS. + * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function. + (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS. -2008-09-29 Ulrich Drepper <drepper@redhat.com> + * posix/tst-execle1.c (do_test): Add a const. + * posix/tst-execle2.c (do_test): Likewise. - * socket/Versions: Remove paccept export for GLIBC_2.9. - * socket/Makefile (routines): Remove paccept. - * socket/sys/socket.h: Remove paccept declaration. + * posix/transbug.c (run_test): Add some casts. + * posix/bug-regex22.c (main): Likewise. + * posix/bug-regex5.c (main): Likewise. + * wcsmbs/tst-mbsrtowcs.c (main): Likewise. + * string/test-strspn.c (do_test, do_random_tests): Likewise. + * string/test-strrchr.c (do_test, do_random_tests): Likewise. + * string/test-strlen.c (do_random_tests): Likewise. + * string/test-strpbrk.c (do_test, do_random_tests): Likewise. + * string/test-strcmp.c (do_random_tests): Likewise. + * string/test-strchr.c (do_test, do_random_tests): Likewise. + * string/test-strcat.c (do_test, do_random_tests): Likewise. + * string/test-strncpy.c (do_random_tests): Likewise. + * string/test-strcpy.c (do_test, do_random_tests): Likewise. + * string/test-memccpy.c (do_test): Likewise. + * string/test-memmove.c (do_test, do_random_tests): Likewise. + * string/test-memcpy.c (do_test, do_random_tests): Likewise. + * string/test-memcmp.c (do_test, do_random_tests): Likewise. + * string/test-memchr.c (do_test, do_random_tests): Likewise. + * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast. + * stdio-common/tst-fgets.c (do_test): Add a cast. + * iconvdata/bug-iconv4.c (xiconv): Add a cast. + + * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts. + + * resolv/herror.c (herror): Remove unused extern decl. + + * libio/obprintf.c: Include "strfile.h". + + * elf/order2mod2.c (init): Cast ignored value to void. + +2005-12-27 Ulrich Drepper <drepper@redhat.com> + + * elf/tst-tls13.c (do_test): Avoid using the library path when + looking for tst-tlsmod13a.so. + + * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long + double math to generate NaN results. + + * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD + and ENOTRECOVERABLE if not already defined. + * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise. + +2005-12-27 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat + entry for up to 138 errnos. + +2005-12-27 Jakub Jelinek <jakub@redhat.com> + + * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct + before calling it. + +2005-12-27 David S. Miller <davem@sunset.davemloft.net> + + * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat + entry for up to 134 errnos. + +2005-12-26 Ulrich Drepper <drepper@redhat.com> + + * Versions.def: Add GLIBC_2.4 for libpthread. + +2005-12-25 Ulrich Drepper <drepper@redhat.com> + + * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so + that $(..)/bits is not found early. + +2005-12-24 Ulrich Drepper <drepper@redhat.com> + + * manual/errno.texi: Add new Linux errno codes. + * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry + for up to 132 errnos. + * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and + ENOTRECOVERABLE if not already defined. + +2005-12-23 Ulrich Drepper <drepper@redhat.com> + + [BZ #1566] + * sysdeps/i386/i586/memusage.h: New file. + * sysdeps/i386/memusage.h: Don't define GETTIME. + +2005-12-22 Ulrich Drepper <drepper@redhat.com> + + [BZ #1499] + * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr. + (openlog_internal): Adjust for this change. + + * Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which + are not understood by the C++ compiler. + * Makerules: Add rules to build C++ code for test cases. + * include/stdlib.h: Protect for inclusion in C++ code. + * include/time.h: Likewise. - * po/sv.po: Update from translation team. +2005-12-22 Roland McGrath <roland@redhat.com> -2008-09-22 Deborah S. Townsend <dstownse@us.ibm.com> + * Makerules [gen-as-const-headers] (tests): Add one test per .sym + file, not just one. + ($(objpfx)test-as-const.c): Target replaced with ... + ($(objpfx)test-as-const-%.c): ... this pattern rule. + (generated): Add those files. - * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi. - * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. +2005-12-22 Ulrich Drepper <drepper@redhat.com> -2008-09-16 Ulrich Drepper <drepper@redhat.com> + * test-skeleton.c (timeout_handler): Rewrite ts initialization for + C++ compatibility. - * dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag. - Patch by Olivier Fourdan <ofourdan@redhat.com>. + * sysdeps/x86_64/__longjmp.S: Also protect SP and BP. + * sysdeps/x86_64/setjmp.S: Likewise. -2008-09-15 Ulrich Drepper <drepper@redhat.com> +2005-12-21 Roland McGrath <roland@redhat.com> - * sunrpc/rpc/svc.h: Declare svcfd_create. - Patch by Michael Solberg <msolberg@redhat.com>. + * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]: + (gen-as-const-headers): Add it. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. + * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. + * stdlib/tst-ucontext-off.c: File removed. + * stdlib/Makefile (tests): Remove it. -2008-09-12 Flavio Leitner <fleitner@redhat.com> - Ulrich Drepper <drepper@redhat.com> + * scripts/gen-as-const.awk: Support generating a test program. + * Makerules [gen-as-const-headers] (tests): Add test-as-const. + [gen-as-const-headers] ($(objpfx)test-as-const.c): New target. - * malloc/malloc.c (public_vALLOc): Try other arenas in case - _int_valloc fails. - (public_pVALLOc): Likewise. + * sysdeps/generic/bits: Subdirectory and all files moved to ... + * bits: ... here, new subdirectory. + * Makeconfig (+includes): Reordered includes to put build and sysdeps + dirs first after $(..)include, $(sysincludes) last. -2008-09-02 Andreas Jaeger <aj@suse.de> + [BZ #2066] + * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later + malloc fails. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last - commit. +2005-12-21 Jakub Jelinek <jakub@redhat.com> -2008-08-26 Aurelien Jarno <aurelien@aurel32.net> + * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease. - [BZ #6860] - * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo. +2005-12-21 Roland McGrath <roland@redhat.com> -2008-07-18 Daniel Jacobowitz <dan@codesourcery.com> + * sysdeps/mach/hurd/ifreq.c: Add missing #includes. - * Makefile (check-data): Check data directory in add-ons. - * elf/Makefile (check-data): Likewise. + * elf/cache.c: Use <> rather than "" #includes. + * elf/chroot_canon.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/readlib.c: Likewise. + * elf/rtld.c: Likewise. + * gmon/mcount.c: Likewise. + * hurd/hurdfault.c: Likewise. + * hurd/hurdsig.c: Likewise. + * hurd/report-wait.c: Likewise. + * hurd/sigunwind.c: Likewise. + * mach/setup-thread.c: Likewise. + * rt/aio_read64.c: Likewise. + * rt/aio_sigqueue.c: Likewise. + * rt/aio_write64.c: Likewise. + * soft-fp/soft-fp.h: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise. + * sysdeps/posix/sprofil.c: Likewise. + * sysdeps/pthread/aio_cancel.c: Likewise. + * sysdeps/pthread/aio_fsync.c: Likewise. + * sysdeps/pthread/aio_read64.c: Likewise. + * sysdeps/pthread/aio_read.c: Likewise. + * sysdeps/pthread/aio_suspend.c: Likewise. + * sysdeps/pthread/aio_write64.c: Likewise. + * sysdeps/pthread/aio_write.c: Likewise. + * sysdeps/pthread/lio_listio64.c: Likewise. + * sysdeps/pthread/lio_listio.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/tcflow.c: Likewise. + + * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast. + + * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call. + + * csu/dso_handle.c (__dso_handle): Add const to pointer type too. + +2005-12-21 Ulrich Drepper <drepper@redhat.com> + + * iconv/gconv_conf.c: Initialize empty_path_elem. + + * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const. + * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const. + * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end + up in .rodata. + * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100 + end up in .rodata. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000 + end up in .rodata. + +2005-12-21 Thorsten Kukuk <kukuk@suse.de> + + * elf/readlib.c: Fix include of readelflib.c. + +2005-12-21 Ulrich Drepper <drepper@redhat.com> + + [BZ #1962] + * io/fts.c (fts_open): Change type of len to size_t. + (fts_build): Remove cast in call to fts_alloc. + (fts_alloc): Change third parameter's type to size_t. + + [BZ #1960] + * io/fts.c (fts_open): Avoid function call in MAX macro use. + +2005-12-20 Ulrich Drepper <drepper@redhat.com> + + * locale/xlocale.c (_nl_C_locobj): Mark as const. + * include/locale.h: Define _nl_C_locobj_ptr. + * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer + to _nl_C_locobj because we also need a cast. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + * locale/duplocale.c: Likewise. + * locale/freelocale.c: Likewise. + * locale/newlocale.c: Likewise. + * misc/syslog.c: Likewise. + * stdlib/strtod_l.c: Likewise. + * sysdeps/unix/sysv/linux/getloadavg.c: Likewise. -2008-08-18 Roland McGrath <roland@redhat.com> + * csu/dso_handle.c (__dso_handle): Mark as const. - * configure.in (--with-cpu): Check compiler support for -march/-mcpu. - * configure: Regenerated. - * config.make.in (cflags-cpu): New substituted variable. - (with-cpu): Variable removed. - * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu). + * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const. + * intl/plural-exp.h: Adjust declaration of + __gettext_germanic_plural. -2008-08-14 Ryan S. Arnold <rsa@us.ibm.com> + * resolv/herror.c (h_errlist): Mark as const. + (h_nerr): Likewise. - [BZ #6845] - * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new - __signbitl definition and __LONG_DOUBLE_128__ guard from: - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as - redundant. Functions which call floating point assembler operations - should go into a sysdeps powerpc/fpu directory. +2005-12-15 Thomas Schwinge <tschwinge@gnu.org> -2008-08-15 Ulrich Drepper <drepper@redhat.com> + [BZ #2061] + * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. +2005-12-20 Roland McGrath <roland@redhat.com> -2008-08-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/ifreq.h: File removed. + * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here. - * sysdeps/x86_64/memset.S: Reduce size of tables for PIC. + * sysdeps/mach/hurd/ifreq.h: File removed. + (__ifreq): Function moved to ... + * sysdeps/mach/hurd/ifreq.c: ... here, new file. - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all - change related to AT_EXECFN. We cannot use that string. - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove - _dl_execfn member. - * elf/dl-support.c: Remove _dl_execfn variable. - (_dl_aux_init): Remove handling of AT_EXECFN. - * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. - * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN. +2005-12-20 Ulrich Drepper <drepper@redhat.com> -2008-08-13 Ulrich Drepper <drepper@redhat.com> + * sunrpc/clnt_unix.c (unix_ops): Mark as const. + * sunrpc/auth_des.c (authdes_ops): Likewise. + * sunrpc/svc_raw.c (server_ops): Likewise. + * sunrpc/clnt_udp.c (udp_ops): Likewise. + * sunrpc/clnt_tcp.c (tcp_ops): Likewise. + * sunrpc/clnt_raw.c (client_ops): Likewise. + * sunrpc/auth_unix.c (auth_unix_ops): Likewise. + * sunrpc/auth_none.c (ops): Likewise. - [BZ #6544] - * libio/fmemopen.c: Implement binary mode. In this mode no NUL - byte gets added to writes and seeks from the end use the length of - the buffer and not the currently terminating NUL byte. + * nss/nsswitch.c (databases): Mark as const. Change name field + into array. + * nss/databases.def: Add warning. - [BZ #6634] - * login/utmp_file.c (getutent_r_file): Take additional parameter. - Set to true if locking failed. - (getutid_r_file): Adjust caller. - (pututline_file): Likewise. Return NULL in this case. - Patch mostly by halesh.s@gmail.com. + * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and + mark const. + (cmd): Mark as const. + (parse_line): Mark c as pointer to const. -2008-08-12 Ulrich Drepper <drepper@redhat.com> + * misc/getusershell.c (initshells): Remove unnecessary tests. + (endusershell): Likewise. + (okshells): Mark as const. - [BZ #6589] - * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max): - Define. - (struct ifaddrs_storage): Use it instead of sockaddr_ll. + * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations. + * sysdeps/posix/gai_strerror-strs.h: New file. + * sysdeps/posix/Dist: New file. -2008-08-12 Ryan S. Arnold <rsa@us.ibm.com> + * sysdeps/posix/getaddrinfo.c (gaih): Mark as const. + * locale/loadlocale.c (_nl_value_types): Likewise. + * iconv/gconv_conf.c (builtin_aliases): Likewise. + * iconv/gconv_open.c (internal_trans_names): Likewise. - [BZ #6839] - * sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove - macro since it is now available in elf/dynamic-link.h. +2005-12-19 Kaz Kojima <kkojima@rr.iij4u.or.jp> -2008-08-12 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + (SYSCALL_ERROR_HANDLER): Fix typo. + * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined. + * sysdeps/sh/sh3/__longjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined. + * sysdeps/sh/sh3/setjmp.S: Likewise. - * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers, - in case used outside of libc. - Reported by Samuel Thibault <samuel.thibault@ens-lyon.org> +2005-12-20 Jakub Jelinek <jakub@redhat.com> -2008-08-11 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease. - * resolv/res_mkquery.c (res_nmkquery): Call ns_name_compress - directly instead of going through dn_comp. + * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined, + use sysdeps/unix/time.c implementation. -2008-08-11 Aurelien Jarno <aurel32@debian.org> +2005-12-19 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): - Fix asm constraints. + [BZ #1955] + * timezone/zic.c (tofile;): Fix typo in symlink creation. + Patch by Phil Estes <pestes@us.ibm.com>. -2008-08-07 Ulrich Drepper <drepper@redhat.com> + [BZ #1952] + * sysdeps/unix/sysv/linux/time.c: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry. - [BZ #6790] - * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define. - (IPV6_PMTUDISC_PROBE): Likewise. +2005-12-15 Thomas Schwinge <tschwinge@gnu.org> -2008-08-07 Pete Eberlein <eberlein@us.ibm.com> - - [BZ #6791] - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define. - -2008-08-01 Steven Munroe <sjmunroe@us.ibm.com> - Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> - - [BZ #6817] - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): - Added the members 'vsx' and 'arch_2_06'. - (_dl_powerpc_platforms): Add the member 'power7'. - * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST - to reflect the changes required by VSX and ISA 2.06. - Modify _DL_PLATFORMS_COUNT to reflect the addition of - 'power7'. - Defined PPC_PLATFORM_POWER7. - (_dl_string_platform): Add support for POWER7. - * sysdeps/powerpc/sysdep.h: Define bit masks for VSX - capability and ISA 2.06. - -2008-08-07 Ulrich Drepper <drepper@redhat.com> - - [BZ #6824] - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct - macro to detect use of 128 bit long double. - Patch by Ryan S. Arnold <rsa@us.ibm.com>. - -2008-08-05 Ulrich Drepper <drepper@redhat.com> - - * scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms. - - [BZ #5794] - * sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for large - parameters. - * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. - Patch by Denys Vlasenko <dvlasenk@redhat.com>. - -2008-08-03 Ulrich Drepper <drepper@redhat.com> - - * nscd/connections.c (main_loop_poll): Pass a buffer which is - guaranteed to be large enough to read inotify event. Ignore - EAGAIN error. Better error message. Add branch predicition. - (main_loop_epoll): Likewise. - -2008-08-02 Roland McGrath <roland@frob.com> - - * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): - Add memory clobbers. - -2008-08-02 Ulrich Drepper <drepper@redhat.com> - - * manual/arith.texi: Avoid @strong{Note:}. - * manual/creature.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/math.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/syslog.texi: Likewise. - * manual/time.texi: Likewise. - - * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline - to prevent warning. - -2008-08-01 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for - new epoll_create1 interface. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. - - * include/arpa/nameser.h (NS_GET16): Use const pointer. - (NS_GET32): Likewise. - - * sysdeps/unix/sysv/linux/kernel-features.h: s390 has the new - syscalls, too. - - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannot - use the AT_EXECFN value if it is no absolute path. - * sysdeps/unix/sysv/linux/kernel-features.h: Never define - __ASSUME_AT_EXECFN. - - * Versions.def: Add GLIBC_2.9 to libresolv. - * include/resolv.h: Remove hidden proto declarations for __ns_* - functions. Add them for __dn_count_labels and __p_secstodate. - * include/arpa/nameser.h: Add a number of hidden proto declarations. - Define ns_msg_getflags macro here. - * resolv/res_debug.c: Add hidden definition for __dn_count_labels - and __p_secstodate. - * resolv/Versions: Export functions from <arpa/nameser.h> from - libresolv in version GLIBC_2.9. - * resolv/ns_name.c: Integrate changes from bind 9.5.0. Add necessary - hidden definitions. - * resolv/ns_netint.c: Likewise. - * resolv/ns_parse.c: Likewise. - * resolv/ns_print.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/ns_ttl.c: Likewise. - * resolv/arpa/nameser_compat.h: Likewise. - * resolv/arpa/nameser.h: Likewise. Remove macros which redirect - function calls. - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use __ns_get16 - instead of ns_get16. - * resolv/nss_dns/dns-host.c (getanswer_r): Use __ns_get16 and - __ns_get32 instead of ns_get16 and ns_get32 respectively. - (gaih_getanswer_slice): Likewise. - * resolv/Makefile (libresolv-routines): Add ns_date. - * resolv/ns_date.c: New file. - - * elf/Makefile (check-localplt.out): Also check libresolv and - libcrypt. - -2008-07-31 Ulrich Drepper <drepper@redhat.com> + * io/xmknodat.c: Include <stddef.h>. + * misc/futimesat.c: Remove weak_alias and correct stub_warning. + * stdio-common/renameat.c (renameat): Fix typo. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_O_CLOEXEC. +2005-12-16 Thorsten Kukuk <kukuk@suse.de> -2008-07-30 Ulrich Drepper <drepper@redhat.com> + [BZ #1978] + * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): + Map more filesystem types to a string. + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial - buffer passed to NSS functions. +2005-12-19 Jakub Jelinek <jakub@redhat.com> - * nscd/connections.c (nscd_init): Typo in preprocessor directive. + * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the + programs subdirectory. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): + * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use + PTR_DEMANGLE for PC if defined. + * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): + Likewise. + * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise. + * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with + THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined. + * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use + PTR_MANGLE for PC if defined. + * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. + Avoid call to __sigjmp_save if IS_IN_rtld. + * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h + (PTR_MANGLE, PTR_DEMANGLE): Define. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + (SYSCALL_ERROR_HANDLER): Add missing semicolons. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h. + (PTR_MANGLE, PTR_DEMANGLE): Define. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add + SYSCALL_ERROR_HANDLER. - * misc/syslog.c (openlog_internal): Fix compile problem. - -2008-07-28 Roland McGrath <roland@redhat.com> - - * elf/dl-sysdep.c (_dl_show_auxv): Add AT_EXECFN to the table. - -2008-07-28 Ulrich Drepper <drepper@redhat.com> - - * io/ftw.c (add_object): Remove inline to avoid warning. - - * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem. - - * resolv/res_send.c (__libc_res_nsend): Take additional parameter. - Use it instead of locally defined resplen2 variable. - (res_nsend): Adjust for __libc_res_nsend interface change. - (send_vc): Initialize *resplen2 if necessary. Read length of - package into an appropriately aligned variable. Store converted length - in new variable and use it appropriately. - Add branch prediction help. - * resolv/res_query.c (__libc_res_nquery): Take additional parameter - and pass it on to __libc_res_nsend. Adjust all callers. - (__libc_res_nsearch): Likewise. - (__libc_res_nqeurydomain): Likewise. - * resolv/nss_dns/dns-host.c: Adjust for __libc_res_nsearch interface - change. - (_nss_dns_gethostbyname4): Don't unconditionally allocate tmp array. - Define resplen2 variable and pass it to __libc_res_nsearch and then - to gaih_getanswer. - (getanswer_r): In case of incorrect DNS data don't overread buffer. - Add branch prediction. - (gaih_getanswer_slice): Likewise. Check for invalid data types. - (gaih_getanswer): Don't decode second slice if first one failed due - to a too small buffer. Don't let not found status of second - decoder shadow results of the first. - * resolv/gethnamaddr.c (gethostbyname2): Adjust for __libc_res_nsearch - and __libc_res_nquery interface changes - (gethostbyaddr): Adjust for __libc_res_nquery interface change. - * include/resolv.h: Adjust prototypes for __libc_res_nquery, - __libc_res_nsearch, and __libc_res_nsend. - * resolv/nss_dns/dns-canon.c: Adjust for __libc_res_nquery interface - change. - * resolv/nss_dns/dns-network.c: Adjust for __libc_res_nquery and - __libc_res_nsearch interface changes. - -2008-07-27 Ulrich Drepper <drepper@redhat.com> - - * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. - - * posix/wordexp.c (exec_comm): Use pipe2 if possible to create - file descriptors with close-on-exec set. - (exec_comm_child): Fix the case where the write end of the pipe is - STDOUT_FILENO already. In case it is, clear close-on-exec. - - * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias. - * io/pipe2.c: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 - instead of __ASSUME_PACCEPT. - * include/unistd.h: Declare __have_pipe2. - * libio/iopopen.c: Implement "e" flag. - * libio/Makefile (tests): Add tst-popen1. - * libio/tst-popen1.c: New file. - - * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. - -2008-07-26 Ulrich Drepper <drepper@redhat.com> - - [BZ #6771] - * libio/fileops.c (_IO_new_file_attach): Preserve errno around - success call of _IO_SEEKOFF or calls which failed because the - descriptor is for a pipe. - - * sunrpc/key_call.c (getkeyserv_handle): Use FD_CLOEXEC instead of - magic number. - - * misc/syslog.c (openlog_internal): Use SOCK_CLOEXEC if possible. - - * malloc/mtrace.c (mtrace): Use 'e' flag in fopen call. Drop - F_SETFD use if we know fopen set the flag. - - * login/utmp_file.c (setutent_file): Minor optimization in case - O_CLOEXEC is available. - -2008-07-24 Tom "spot" Callaway <tcallawa@redhat.com> - - * Makeconfig: Define pie-ccflag and PIE-ccflag variables. - * elf/Makefile: Use pie-ccflag variable. - * nscd/Makefile: Likewise. - * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE. - -2008-07-21 Andreas Krebbel <krebbel1@de.ibm.com> - - [BZ #6724] - * Versions.def: Add GLIBC_2.9 version tag for libutil. - * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Copy of - gnu/bits/utmp.h. Check for __WORDSIZE_COMPAT32 removed. - * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Copy of - gnu/bits/utmpx.h. Check for __WORDSIZE_COMPAT32 removed. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add new files - utmp32, utmpx32 and login32. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Add 2.9 - versions of struct utmp functions to libc and libutil. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp-compat.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutmp.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutxent.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutxid.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/getutxline.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/login.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/login32.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/pututxline.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/updwtmpx.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx-convert.h: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: New file. - * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: New file. - -2008-07-26 Ulrich Drepper <drepper@redhat.com> - - * scripts/gen-as-const.awk: Generate more widely usable code by - using 64-bit arithmetic. - - * stdio-common/printf_fp.c (___printf_fp): Give wide outout code - the same treatment as narrow output code in last patch. - - * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup. - - [BZ #6763] - * elf/dl-load.c (local_strdup): Remove inline. - (_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list. - * elf/dl-object.c (_dl_new_object): Allocate symbolic searchlist as - part of the object. - - * sysdeps/unix/sysv/linux/dl-origin.c: Add const to avoid warning. - -2008-07-25 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have - the new syscalls, too. - - * sysdeps/i386/i686/memcmp.S: Fix unwind information. - Reported by Paul Pluzhnikov <ppluzhnikov@google.com>. - - [BZ #6698] - * stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional - parameter for end of buffer. If temporary copy is too large use - malloc. - * stdio-common/vfprintf.c: Adjust for _i18n_number_rewrite - interface change. - * stdio-common/printf_fp.c (__printf_fp): Likewise.. Account for - string rewrite when allocating buffer. - - * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new - syscalls, too. - - * nscd/connections.c (nscd_init): Clean up fcntl call. - - * nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and - SOCK_NONBLOCK if possible. - - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use - SOCK_CLOEXEC if available. - - * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and - __libc_clntudp_bufcreate_internal. - * include/sys/socket.h: Declare __have_sock_cloexec. - * socket/Makefile (aux): Add have_sock_cloexec. - * socket/have_sock_cloexec.c: New file. - * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around - __libc_clntudp_bufcreate. - (__libc_clntudp_bufcreate): Former implementation of clntudp_bufcreate - which takes an additional parameter. Create socket with non-blocking - mode and close-on-exec flag set, if wanted. - * sunrpc/Versions: Export __libc_clntudp_bufcreate@GLIBC_PRIVATE. - * nis/ypclnt.c (yp_bind_client_create): Use __libc_clntpudp_bufcreate - instead of clntudp_create. The socket has already the close-on-exec - flag set if SOCK_CLOEXEC is defined. - -2008-07-24 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if - appropriate. - * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and - non-blocking mode by using socket, paccept, and inotify_init1. - - * Versions.def (glibc): Add GLIBC_2.9. - * io/Makefile (routines): Add dup3 and pipe2. - * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. - * io/dup3.c: New file. - * io/pipe2.c: New file. - * posix/unistd.h: Declare dup3 and pipe2. - * socket/Makefile (routines): Add paccept. - * socket/Versions [glibc] (GLIBC_2.9): Add paccept. - * socket/paccept.c: New file. - * socket/sys/socket.h: Declare paccept. - * sysdeps/unix/syscalls.list: Add entry for dup3. - * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add - epoll_create2 and inotify_init1. - * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. - * sysdeps/unix/sysv/linux/paccept.c: New file. - * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if - possible. - * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. - * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, - inotify_init1, and pipe2 entries. - * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. - * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. - * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and - SOCK_NONBLOCK. - * sysdeps/unix/sysv/linux/i386/paccept.S: New file. - * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. - * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and - EPOLL_NONBLOCK. Declare epoll_create2. - * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and - EFD_NONBLOCK. - * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and - IN_NONBLOCK. Declare inotify_init1. - * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and - SFD_NONBLOCK. - * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and - TFD_NONBLOCK. - - * elf/elf.h: Define AT_EXECFN. - * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle - LD_ORIGIN_PATH. - * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. - * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path - if __ASSUME_AT_EXECFN is defined. - (_dl_aux_init): Handle AT_EXECFN. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN - for 2.6.27 and up. - * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. - Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use - _dl_execfn if available and avoid compatibility code if - __ASSUME_AT_EXECFN is defined. - - * sysdeps/unix/sysv/linux/dl-sysdep.h: Don't declare - _dl_discover_osversion only for older kernels. - -2008-07-22 Roland McGrath <roland@frob.com> - - * hurd/fd-read.c (_hurd_fd_read): Fix last change. - -2008-07-21 Roland McGrath <roland@frob.com> - - * hurd/fd-read.c (_hurd_fd_read): Return EGRATUITOUS if the server - returned too much data out of line. - -2008-07-20 Ulrich Drepper <drepper@redhat.com> - - * locale/setlocale.c (setname): Remove inline to avoid compiler - warning. - - [BZ #6712] - * locale/setlocale.c (setlocale): Take the setlocale lock earlier. - -2008-07-15 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfprintf.c (_IO_helper_overflow): In case _IO_sputn - doesn't manage to write anything, fail. +2005-12-19 Ulrich Drepper <drepper@redhat.com> - * malloc/hooks.c (__malloc_check_init): Remove printf. + * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS. + * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. + Patch by Clint Adams. -2008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org> +2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>. + * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and + dependent definitions from the kernel header to sys/user.h and + remove the #include of asm/user.h. -2008-07-12 Ulrich Drepper <drepper@redhat.com> +2005-12-19 Ulrich Drepper <drepper@redhat.com> - * nscd/connections.c (main_loop_poll): Fix handling of read errors - from inotify. - (main_loop_epoll): Likewise. + * sysdeps/gnu/Makefile: Make sure the correct errlist.c file is + used when generating errlist-compat.c. -2008-07-09 Ulrich Drepper <drepper@redhat.com> +2005-12-18 Ulrich Drepper <drepper@redhat.com> - * resolv/res_send.c: Remove unnecessary res_pquery prototype. + * iconv/gconv.c: Demangle pointers before use if necessary. + * iconv/gconv_cache.c: Likewise. + * iconv/skeleton.c: Likewise. + * libio/iofwide.c: Likewise. + * wcsmbs/btowc.c: Likewise. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs_l.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. + * iconv_gconv_db.c: Likewise. After init functions returns mangle + btowc pointer if necessary. + * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym. - * resolv/res_query.c (__libc_res_nquery): Issue debug message only - if DEBUG is defined. + * iconv/gconv_builtin.c (builtin_map): Change type of size + information fields to int8_t. - * resolv/res_query.c (__libc_res_nquery): Align buffer for T_AAAA - query. Adjust buffer size computation for padding. + * libio/iofwide.c (__libio_codecvt): Mark as const. + (__libio_translit): Likewise. + * libio/libioP.h (__libio_codecvt): Adjust declaraction. -2008-07-08 Ulrich Drepper <drepper@redhat.com> + * wcsmbs/wcsmbsload.c (to_wc): Mark as const. + (to_mb): Likewise. - * stdio-common/Makefile: Add rules to build and run tst-setvbuf1. - * stdio-common/tst-setvbuf1.c: New file. - * stdio-common/tst-setvbuf1.expect: New file. +2005-12-18 Richard Henderson <rth@redhat.com> - [BZ #6719] - * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags - when selecting fully-buffered stream. - Patch by Wang Xin <wxinee@gmail.com>. + * sysdeps/alpha/libc-tls.c: Fix directory on include of base file. -2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org> +2005-12-18 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/open.c: Include <stdio.h>. - (__open_2): New function. - (__open64_2): New alias to __open_2. - * sysdeps/mach/hurd/openat.c: Include <stdio.h>. - (__openat_2): New function. - (__openat64_2): New alias to __openat_2. + * iconv/gconv_builtin.c: Mark map with attribute_relro. -2008-07-06 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C + version for inside ld.so. - [BZ #6723] - * time/mktime.c (__mktime_internal): Normalize tp->tm_isdst value. + * elf/rtld.c (dl_main): Don't use hp timing code unless it's available. -2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org> + * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid + call to __sigjmp_save. + * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. - * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. - * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of - __hurd_dfail. - * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. - * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. - * sysdeps/mach/hurd/send.c (__send): Likewise. - * sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise. - * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise. + * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill in + flavor field last and protect with memory barrier. + * stdlib/on_exit.c: Likewise. + * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before + using it. + * stdlib/exit.c: Likewise. -2008-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. - * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. - * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. - * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD. - * hurd/get-host.c (_hurd_get_host_config): Likewise. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and + PTR_DEMANGLE for C code in libc. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. -2008-06-27 Ulrich Drepper <drepper@redhat.com> +2005-12-17 Ulrich Drepper <drepper@redhat.com> + + * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined. + * elf/rtld.c: Define __pointer_chk_guard_local and if necessary + __pointer_chk_guard. + (_rtld_global_ro): Initialize _dl_pointer_guard. + (dl_main): Initialize __pointer_chk_guard_local and either + __pointer_chk_guard or TLS value if necessary. + (process_envvars): Recognize and handle LD_POINTER_GUARD. + * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard. + * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined. + * sysdeps/x86_64/__longjmp.S: Likewise. + * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined. + * sysdeps/i386/bsd-_setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + [IS_IN_rtld]: Avoid call to __sigjmp_save. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and + PTR_DEMANGLE. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. - [BZ #6657] - * time/strptime_l.c: Don't clear s.era_cnt after successful match - of %EY. - Patch by Petr Baudis. + * sysdeps/i386/elf/setjmp.S: Removed. + * sysdeps/i386/elf/bsd-setjmp.S: Removed. + + * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of + setjmp. + * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp. + * elf/dl-minimal.c (longjmp): Remove definition. + + * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp. + +2005-12-14 Thorsten Kukuk <kukuk@suse.de> + + * nscd/Makefile: Don't build nscd_nischeck. + * nscd/nscd_nischeck.c: Removed. + +2005-12-15 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in + separate function __atfct_seterrno_2. + * include/fcntl.h: Declare __atfct_seterrno_2. + * posix/unistd.h: Declare linkat, symlinkat, readlinkat. + * io/Makefile (routines): Add linkat, symlinkat, readlinkat. + * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat. + * io/linkat.c: New file. + * io/readlinkat.c: New file. + * io/symlinkat.c: New file. + * sysdeps/unix/sysv/linux/linkat.c: New file. + * sysdeps/unix/sysv/linux/readlinkat.c: New file. + * sysdeps/unix/sysv/linux/symlinkat.c: New file. + +2005-12-15 Roland McGrath <roland@redhat.com> + + [BZ #1997] + * manual/stdio.texi (String Streams): For open_memstream, elaborate a + little on malloc reference. + + * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/. + * sysdeps/alpha/fpu/s_cacoshf.c: Likewise. + * sysdeps/alpha/fpu/s_casinf.c: Likewise. + * sysdeps/alpha/fpu/s_casinhf.c: Likewise. + * sysdeps/alpha/fpu/s_catanf.c: Likewise. + * sysdeps/alpha/fpu/s_catanhf.c: Likewise. + * sysdeps/alpha/fpu/s_ccosf.c: Likewise. + * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. + * sysdeps/alpha/fpu/s_cexpf.c: Likewise. + * sysdeps/alpha/fpu/s_clog10f.c: Likewise. + * sysdeps/alpha/fpu/s_clogf.c: Likewise. + * sysdeps/alpha/fpu/s_cpowf.c: Likewise. + * sysdeps/alpha/fpu/s_cprojf.c: Likewise. + * sysdeps/alpha/fpu/s_csinf.c: Likewise. + * sysdeps/alpha/fpu/s_csinhf.c: Likewise. + * sysdeps/alpha/fpu/s_csqrtf.c: Likewise. + * sysdeps/alpha/fpu/s_ctanf.c: Likewise. + * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. + * sysdeps/alpha/libc-tls.c: Likewise. + * sysdeps/gnu/glob64.c: Likewise. + * sysdeps/gnu/updwtmp.c: Likewise. + * sysdeps/gnu/utmp_file.c: Likewise. + * sysdeps/i386/bzero.c: Likewise. + * sysdeps/i386/ffs.c: Likewise. + * sysdeps/i386/i686/ffs.c: Likewise. + * sysdeps/i386/memset.c: Likewise. + * sysdeps/ia64/fpu/printf_fphex.c: Likewise. + * sysdeps/ia64/libc-tls.c: Likewise. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. + * sysdeps/m68k/ffs.c: Likewise. + * sysdeps/mach/hurd/getdents.c: Likewise. + * sysdeps/mach/hurd/init-posix.c: Likewise. + * sysdeps/mach/msync.c: Likewise. + * sysdeps/mips/libc-tls.c: Likewise. + * sysdeps/posix/profil.c: Likewise. + * sysdeps/posix/shm_open.c: Likewise. + * sysdeps/posix/shm_unlink.c: Likewise. + * sysdeps/posix/sprofil.c: Likewise. + * sysdeps/powerpc/ffs.c: Likewise. + * sysdeps/rs6000/ffs.c: Likewise. + * sysdeps/s390/libc-tls.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mq_close.c: Likewise. + * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise. + * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. + * sysdeps/unix/sysv/linux/mq_open.c: Likewise. + * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. + * sysdeps/unix/sysv/linux/mq_send.c: Likewise. + * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. + * sysdeps/unix/sysv/linux/sigstack.c: Likewise. + * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. + * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * sysdeps/unix/sysv/linux/vfork.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise. + + * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed. + +2005-12-13 Ulrich Drepper <drepper@redhat.com> + + * locale/programs/charmap-kw.h: Regenerated with new gperf. + * locale/programs/locfile-kw.h: Likewise. -2008-06-26 Ulrich Drepper <drepper@redhat.com> + * Makeconfig (+includes): Look in current directory late. + * Makerules: Add rules from rules before the rules for the current + directory. + * sysdeps/generic/__longjmp.c: Moved to... + * setjmp/__longjmp.c: ...here. + * sysdeps/generic/_exit.c: Moved to... + * posix/_exit.c: ...here. + * sysdeps/generic/_strerror.c: Moved to... + * string/_strerror.c: ...here. + * sysdeps/generic/abort.c: Moved to... + * stdlib/abort.c: ...here. + * sysdeps/generic/accept.c: Moved to... + * socket/accept.c: ...here. + * sysdeps/generic/access.c: Moved to... + * io/access.c: ...here. + * sysdeps/generic/acct.c: Moved to... + * misc/acct.c: ...here. + * sysdeps/generic/add_n.c: Moved to... + * stdlib/add_n.c: ...here. + * sysdeps/generic/addmul_1.c: Moved to... + * stdlib/addmul_1.c: ...here. + * sysdeps/generic/adjtime.c: Moved to... + * time/adjtime.c: ...here. + * sysdeps/generic/aio_cancel.c: Moved to... + * rt/aio_cancel.c: ...here. + * sysdeps/generic/aio_fsync.c: Moved to... + * rt/aio_fsync.c: ...here. + * sysdeps/generic/aio_misc.c: Moved to... + * rt/aio_misc.c: ...here. + * sysdeps/generic/aio_notify.c: Moved to... + * rt/aio_notify.c: ...here. + * sysdeps/generic/aio_read.c: Moved to... + * rt/aio_read.c: ...here. + * sysdeps/generic/aio_read64.c: Moved to... + * rt/aio_read64.c: ...here. + * sysdeps/generic/aio_sigqueue.c: Moved to... + * rt/aio_sigqueue.c: ...here. + * sysdeps/generic/aio_suspend.c: Moved to... + * rt/aio_suspend.c: ...here. + * sysdeps/generic/aio_write.c: Moved to... + * rt/aio_write.c: ...here. + * sysdeps/generic/aio_write64.c: Moved to... + * rt/aio_write64.c: ...here. + * sysdeps/generic/alarm.c: Moved to... + * posix/alarm.c: ...here. + * sysdeps/generic/allocrtsig.c: Moved to... + * signal/allocrtsig.c: ...here. + * sysdeps/generic/alphasort64.c: Moved to... + * dirent/alphasort64.c: ...here. + * sysdeps/generic/backtrace.c: Moved to... + * debug/backtrace.c: ...here. + * sysdeps/generic/backtracesyms.c: Moved to... + * debug/backtracesyms.c: ...here. + * sysdeps/generic/backtracesymsfd.c: Moved to... + * debug/backtracesymsfd.c: ...here. + * sysdeps/generic/bb_init_func.c: Moved to... + * gmon/bb_init_func.c: ...here. + * sysdeps/generic/bcopy.c: Moved to... + * string/bcopy.c: ...here. + * sysdeps/generic/bind.c: Moved to... + * socket/bind.c: ...here. + * sysdeps/generic/brdinit.c: Moved to... + * bare/brdinit.c: ...here. + * sysdeps/generic/brk.c: Moved to... + * misc/brk.c: ...here. + * sysdeps/generic/bsd-_setjmp.c: Moved to... + * setjmp/bsd-_setjmp.c: ...here. + * sysdeps/generic/bsd-setjmp.c: Moved to... + * setjmp/bsd-setjmp.c: ...here. + * sysdeps/generic/bzero.c: Moved to... + * string/bzero.c: ...here. + * sysdeps/generic/cabsf.c: Moved to... + * math/cabsf.c: ...here. + * sysdeps/generic/cargf.c: Moved to... + * math/cargf.c: ...here. + * sysdeps/generic/chdir.c: Moved to... + * io/chdir.c: ...here. + * sysdeps/generic/check_fds.c: Moved to... + * csu/check_fds.c: ...here. + * sysdeps/generic/check_pf.c: Moved to... + * inet/check_pf.c: ...here. + * sysdeps/generic/chflags.c: Moved to... + * misc/chflags.c: ...here. + * sysdeps/generic/chmod.c: Moved to... + * io/chmod.c: ...here. + * sysdeps/generic/chown.c: Moved to... + * io/chown.c: ...here. + * sysdeps/generic/chroot.c: Moved to... + * misc/chroot.c: ...here. + * sysdeps/generic/cimagf.c: Moved to... + * math/cimagf.c: ...here. + * sysdeps/generic/clock.c: Moved to... + * time/clock.c: ...here. + * sysdeps/generic/clock_getcpuclockid.c: Moved to... + * rt/clock_getcpuclockid.c: ...here. + * sysdeps/generic/clock_getres.c: Moved to... + * rt/clock_getres.c: ...here. + * sysdeps/generic/clock_gettime.c: Moved to... + * rt/clock_gettime.c: ...here. + * sysdeps/generic/clock_nanosleep.c: Moved to... + * rt/clock_nanosleep.c: ...here. + * sysdeps/generic/clock_settime.c: Moved to... + * rt/clock_settime.c: ...here. + * sysdeps/generic/close.c: Moved to... + * io/close.c: ...here. + * sysdeps/generic/closedir.c: Moved to... + * dirent/closedir.c: ...here. + * sysdeps/generic/cmp.c: Moved to... + * stdlib/cmp.c: ...here. + * sysdeps/generic/conjf.c: Moved to... + * math/conjf.c: ...here. + * sysdeps/generic/connect.c: Moved to... + * socket/connect.c: ...here. + * sysdeps/generic/console.c: Moved to... + * bare/console.c: ...here. + * sysdeps/generic/crealf.c: Moved to... + * math/crealf.c: ...here. + * sysdeps/generic/creat.c: Moved to... + * io/creat.c: ...here. + * sysdeps/generic/creat64.c: Moved to... + * io/creat64.c: ...here. + * sysdeps/generic/ctermid.c: Moved to... + * stdio-common/ctermid.c: ...here. + * sysdeps/generic/cuserid.c: Moved to... + * stdio-common/cuserid.c: ...here. + * sysdeps/generic/dbl2mpn.c: Moved to... + * stdlib/dbl2mpn.c: ...here. + * sysdeps/generic/dirfd.c: Moved to... + * dirent/dirfd.c: ...here. + * sysdeps/generic/div.c: Moved to... + * stdlib/div.c: ...here. + * sysdeps/generic/divmod_1.c: Moved to... + * stdlib/divmod_1.c: ...here. + * sysdeps/generic/divrem.c: Moved to... + * stdlib/divrem.c: ...here. + * sysdeps/generic/dl-brk.c: Moved to... + * elf/dl-brk.c: ...here. + * sysdeps/generic/dl-cache.c: Moved to... + * elf/dl-cache.c: ...here. + * sysdeps/generic/dl-environ.c: Moved to... + * elf/dl-environ.c: ...here. + * sysdeps/generic/dl-execstack.c: Moved to... + * elf/dl-execstack.c: ...here. + * sysdeps/generic/dl-fptr.c: Moved to... + * elf/dl-fptr.c: ...here. + * sysdeps/generic/dl-origin.c: Moved to... + * elf/dl-origin.c: ...here. + * sysdeps/generic/dl-sbrk.c: Moved to... + * elf/dl-sbrk.c: ...here. + * sysdeps/generic/dl-symaddr.c: Moved to... + * elf/dl-symaddr.c: ...here. + * sysdeps/generic/dl-sysdep.c: Moved to... + * elf/dl-sysdep.c: ...here. + * sysdeps/generic/dl-tls.c: Moved to... + * elf/dl-tls.c: ...here. + * sysdeps/generic/dl-trampoline.c: Moved to... + * elf/dl-trampoline.c: ...here. + * sysdeps/generic/dup.c: Moved to... + * io/dup.c: ...here. + * sysdeps/generic/dup2.c: Moved to... + * io/dup2.c: ...here. + * sysdeps/generic/e_acoshl.c: Moved to... + * math/e_acoshl.c: ...here. + * sysdeps/generic/e_acosl.c: Moved to... + * math/e_acosl.c: ...here. + * sysdeps/generic/e_asinl.c: Moved to... + * math/e_asinl.c: ...here. + * sysdeps/generic/e_atan2l.c: Moved to... + * math/e_atan2l.c: ...here. + * sysdeps/generic/e_atanhl.c: Moved to... + * math/e_atanhl.c: ...here. + * sysdeps/generic/e_coshl.c: Moved to... + * math/e_coshl.c: ...here. + * sysdeps/generic/e_exp10.c: Moved to... + * math/e_exp10.c: ...here. + * sysdeps/generic/e_exp10f.c: Moved to... + * math/e_exp10f.c: ...here. + * sysdeps/generic/e_exp10l.c: Moved to... + * math/e_exp10l.c: ...here. + * sysdeps/generic/e_exp2l.c: Moved to... + * math/e_exp2l.c: ...here. + * sysdeps/generic/e_expl.c: Moved to... + * math/e_expl.c: ...here. + * sysdeps/generic/e_fmodl.c: Moved to... + * math/e_fmodl.c: ...here. + * sysdeps/generic/e_gammal_r.c: Moved to... + * math/e_gammal_r.c: ...here. + * sysdeps/generic/e_hypotl.c: Moved to... + * math/e_hypotl.c: ...here. + * sysdeps/generic/e_j0l.c: Moved to... + * math/e_j0l.c: ...here. + * sysdeps/generic/e_j1l.c: Moved to... + * math/e_j1l.c: ...here. + * sysdeps/generic/e_jnl.c: Moved to... + * math/e_jnl.c: ...here. + * sysdeps/generic/e_lgammal_r.c: Moved to... + * math/e_lgammal_r.c: ...here. + * sysdeps/generic/e_log10l.c: Moved to... + * math/e_log10l.c: ...here. + * sysdeps/generic/e_log2l.c: Moved to... + * math/e_log2l.c: ...here. + * sysdeps/generic/e_logl.c: Moved to... + * math/e_logl.c: ...here. + * sysdeps/generic/e_powl.c: Moved to... + * math/e_powl.c: ...here. + * sysdeps/generic/e_rem_pio2l.c: Moved to... + * math/e_rem_pio2l.c: ...here. + * sysdeps/generic/e_scalb.c: Moved to... + * math/e_scalb.c: ...here. + * sysdeps/generic/e_scalbf.c: Moved to... + * math/e_scalbf.c: ...here. + * sysdeps/generic/e_scalbl.c: Moved to... + * math/e_scalbl.c: ...here. + * sysdeps/generic/e_sinhl.c: Moved to... + * math/e_sinhl.c: ...here. + * sysdeps/generic/e_sqrtl.c: Moved to... + * math/e_sqrtl.c: ...here. + * sysdeps/generic/enbl-secure.c: Moved to... + * elf/enbl-secure.c: ...here. + * sysdeps/generic/endutxent.c: Moved to... + * login/endutxent.c: ...here. + * sysdeps/generic/environ.c: Moved to... + * posix/environ.c: ...here. + * sysdeps/generic/errlist.c: Moved to... + * stdio-common/errlist.c: ...here. + * sysdeps/generic/errno-loc.c: Moved to... + * csu/errno-loc.c: ...here. + * sysdeps/generic/errno-loc.c: Moved to... + * csu/errno-loc.c: ...here. + * sysdeps/generic/errno.c: Moved to... + * csu/errno.c: ...here. + * sysdeps/generic/euidaccess.c: Moved to... + * io/euidaccess.c: ...here. + * sysdeps/generic/exc2signal.c: Moved to... + * hurd/exc2signal.c: ...here. + * sysdeps/generic/execve.c: Moved to... + * posix/execve.c: ...here. + * sysdeps/generic/fattach.c: Moved to... + * streams/fattach.c: ...here. + * sysdeps/generic/fchdir.c: Moved to... + * io/fchdir.c: ...here. + * sysdeps/generic/fchflags.c: Moved to... + * misc/fchflags.c: ...here. + * sysdeps/generic/fchmod.c: Moved to... + * io/fchmod.c: ...here. + * sysdeps/generic/fchown.c: Moved to... + * io/fchown.c: ...here. + * sysdeps/generic/fchownat.c: Moved to... + * io/fchownat.c: ...here. + * sysdeps/generic/fclrexcpt.c: Moved to... + * math/fclrexcpt.c: ...here. + * sysdeps/generic/fcntl.c: Moved to... + * io/fcntl.c: ...here. + * sysdeps/generic/fdatasync.c: Moved to... + * misc/fdatasync.c: ...here. + * sysdeps/generic/fdetach.c: Moved to... + * streams/fdetach.c: ...here. + * sysdeps/generic/fdopendir.c: Moved to... + * dirent/fdopendir.c: ...here. + * sysdeps/generic/fedisblxcpt.c: Moved to... + * math/fedisblxcpt.c: ...here. + * sysdeps/generic/feenablxcpt.c: Moved to... + * math/feenablxcpt.c: ...here. + * sysdeps/generic/fegetenv.c: Moved to... + * math/fegetenv.c: ...here. + * sysdeps/generic/fegetexcept.c: Moved to... + * math/fegetexcept.c: ...here. + * sysdeps/generic/fegetround.c: Moved to... + * math/fegetround.c: ...here. + * sysdeps/generic/feholdexcpt.c: Moved to... + * math/feholdexcpt.c: ...here. + * sysdeps/generic/fesetenv.c: Moved to... + * math/fesetenv.c: ...here. + * sysdeps/generic/fesetround.c: Moved to... + * math/fesetround.c: ...here. + * sysdeps/generic/feupdateenv.c: Moved to... + * math/feupdateenv.c: ...here. + * sysdeps/generic/fexecve.c: Moved to... + * posix/fexecve.c: ...here. + * sysdeps/generic/ffs.c: Moved to... + * string/ffs.c: ...here. + * sysdeps/generic/ffsll.c: Moved to... + * string/ffsll.c: ...here. + * sysdeps/generic/fgetexcptflg.c: Moved to... + * math/fgetexcptflg.c: ...here. + * sysdeps/generic/fgetxattr.c: Moved to... + * misc/fgetxattr.c: ...here. + * sysdeps/generic/flistxattr.c: Moved to... + * misc/flistxattr.c: ...here. + * sysdeps/generic/flock.c: Moved to... + * io/flock.c: ...here. + * sysdeps/generic/flockfile.c: Moved to... + * stdio-common/flockfile.c: ...here. + * sysdeps/generic/fork.c: Moved to... + * posix/fork.c: ...here. + * sysdeps/generic/fpathconf.c: Moved to... + * posix/fpathconf.c: ...here. + * sysdeps/generic/fpu_control.c: Moved to... + * math/fpu_control.c: ...here. + * sysdeps/generic/fraiseexcpt.c: Moved to... + * math/fraiseexcpt.c: ...here. + * sysdeps/generic/fremovexattr.c: Moved to... + * misc/fremovexattr.c: ...here. + * sysdeps/generic/fsetexcptflg.c: Moved to... + * math/fsetexcptflg.c: ...here. + * sysdeps/generic/fsetxattr.c: Moved to... + * misc/fsetxattr.c: ...here. + * sysdeps/generic/fstatfs.c: Moved to... + * io/fstatfs.c: ...here. + * sysdeps/generic/fstatfs64.c: Moved to... + * io/fstatfs64.c: ...here. + * sysdeps/generic/fstatvfs.c: Moved to... + * io/fstatvfs.c: ...here. + * sysdeps/generic/fstatvfs64.c: Moved to... + * io/fstatvfs64.c: ...here. + * sysdeps/generic/fsync.c: Moved to... + * misc/fsync.c: ...here. + * sysdeps/generic/ftestexcept.c: Moved to... + * math/ftestexcept.c: ...here. + * sysdeps/generic/ftime.c: Moved to... + * time/ftime.c: ...here. + * sysdeps/generic/ftruncate.c: Moved to... + * misc/ftruncate.c: ...here. + * sysdeps/generic/ftruncate64.c: Moved to... + * misc/ftruncate64.c: ...here. + * sysdeps/generic/ftrylockfile.c: Moved to... + * stdio-common/ftrylockfile.c: ...here. + * sysdeps/generic/funlockfile.c: Moved to... + * stdio-common/funlockfile.c: ...here. + * sysdeps/generic/futimes.c: Moved to... + * misc/futimes.c: ...here. + * sysdeps/generic/futimesat.c: Moved to... + * misc/futimesat.c: ...here. + * sysdeps/generic/fxstat.c: Moved to... + * io/fxstat.c: ...here. + * sysdeps/generic/fxstat64.c: Moved to... + * io/fxstat64.c: ...here. + * sysdeps/generic/fxstatat.c: Moved to... + * io/fxstatat.c: ...here. + * sysdeps/generic/fxstatat64.c: Moved to... + * io/fxstatat64.c: ...here. + * sysdeps/generic/gai_sigqueue.c: Moved to... + * resolv/gai_sigqueue.c: ...here. + * sysdeps/generic/gai_strerror.c: Moved to... + * posix/gai_strerror.c: ...here. + * sysdeps/generic/get_clockfreq.c: Moved to... + * rt/get_clockfreq.c: ...here. + * sysdeps/generic/getaddrinfo.c: Moved to... + * posix/getaddrinfo.c: ...here. + * sysdeps/generic/getclktck.c: Moved to... + * misc/getclktck.c: ...here. + * sysdeps/generic/getcontext.c: Moved to... + * stdlib/getcontext.c: ...here. + * sysdeps/generic/getcwd.c: Moved to... + * io/getcwd.c: ...here. + * sysdeps/generic/getdents.c: Moved to... + * dirent/getdents.c: ...here. + * sysdeps/generic/getdents64.c: Moved to... + * dirent/getdents64.c: ...here. + * sysdeps/generic/getdomain.c: Moved to... + * misc/getdomain.c: ...here. + * sysdeps/generic/getdtsz.c: Moved to... + * misc/getdtsz.c: ...here. + * sysdeps/generic/getegid.c: Moved to... + * posix/getegid.c: ...here. + * sysdeps/generic/getenv.c: Moved to... + * stdlib/getenv.c: ...here. + * sysdeps/generic/geteuid.c: Moved to... + * posix/geteuid.c: ...here. + * sysdeps/generic/getgid.c: Moved to... + * posix/getgid.c: ...here. + * sysdeps/generic/getgroups.c: Moved to... + * posix/getgroups.c: ...here. + * sysdeps/generic/gethostid.c: Moved to... + * misc/gethostid.c: ...here. + * sysdeps/generic/gethostname.c: Moved to... + * misc/gethostname.c: ...here. + * sysdeps/generic/getipv4sourcefilter.c: Moved to... + * inet/getipv4sourcefilter.c: ...here. + * sysdeps/generic/getitimer.c: Moved to... + * time/getitimer.c: ...here. + * sysdeps/generic/getloadavg.c: Moved to... + * misc/getloadavg.c: ...here. + * sysdeps/generic/getlogin.c: Moved to... + * posix/getlogin.c: ...here. + * sysdeps/generic/getlogin_r.c: Moved to... + * posix/getlogin_r.c: ...here. + * sysdeps/generic/getmsg.c: Moved to... + * streams/getmsg.c: ...here. + * sysdeps/generic/getpagesize.c: Moved to... + * misc/getpagesize.c: ...here. + * sysdeps/generic/getpeername.c: Moved to... + * socket/getpeername.c: ...here. + * sysdeps/generic/getpgid.c: Moved to... + * posix/getpgid.c: ...here. + * sysdeps/generic/getpgrp.c: Moved to... + * posix/getpgrp.c: ...here. + * sysdeps/generic/getpid.c: Moved to... + * posix/getpid.c: ...here. + * sysdeps/generic/getpmsg.c: Moved to... + * streams/getpmsg.c: ...here. + * sysdeps/generic/getppid.c: Moved to... + * posix/getppid.c: ...here. + * sysdeps/generic/getpriority.c: Moved to... + * resource/getpriority.c: ...here. + * sysdeps/generic/getpt.c: Moved to... + * login/getpt.c: ...here. + * sysdeps/generic/getresgid.c: Moved to... + * posix/getresgid.c: ...here. + * sysdeps/generic/getresuid.c: Moved to... + * posix/getresuid.c: ...here. + * sysdeps/generic/getrlimit.c: Moved to... + * resource/getrlimit.c: ...here. + * sysdeps/generic/getrlimit64.c: Moved to... + * resource/getrlimit64.c: ...here. + * sysdeps/generic/getrusage.c: Moved to... + * resource/getrusage.c: ...here. + * sysdeps/generic/getsid.c: Moved to... + * posix/getsid.c: ...here. + * sysdeps/generic/getsockname.c: Moved to... + * socket/getsockname.c: ...here. + * sysdeps/generic/getsockopt.c: Moved to... + * socket/getsockopt.c: ...here. + * sysdeps/generic/getsourcefilter.c: Moved to... + * inet/getsourcefilter.c: ...here. + * sysdeps/generic/getsysstats.c: Moved to... + * misc/getsysstats.c: ...here. + * sysdeps/generic/gettimeofday.c: Moved to... + * time/gettimeofday.c: ...here. + * sysdeps/generic/getuid.c: Moved to... + * posix/getuid.c: ...here. + * sysdeps/generic/getutmp.c: Moved to... + * login/getutmp.c: ...here. + * sysdeps/generic/getutmpx.c: Moved to... + * login/getutmpx.c: ...here. + * sysdeps/generic/getutxent.c: Moved to... + * login/getutxent.c: ...here. + * sysdeps/generic/getutxid.c: Moved to... + * login/getutxid.c: ...here. + * sysdeps/generic/getutxline.c: Moved to... + * login/getutxline.c: ...here. + * sysdeps/generic/getxattr.c: Moved to... + * misc/getxattr.c: ...here. + * sysdeps/generic/glob.c: Moved to... + * posix/glob.c: ...here. + * sysdeps/generic/glob64.c: Moved to... + * posix/glob64.c: ...here. + * sysdeps/generic/grantpt.c: Moved to... + * login/grantpt.c: ...here. + * sysdeps/generic/group_member.c: Moved to... + * posix/group_member.c: ...here. + * sysdeps/generic/gtty.c: Moved to... + * misc/gtty.c: ...here. + * sysdeps/generic/herrno-loc.c: Moved to... + * inet/herrno-loc.c: ...here. + * sysdeps/generic/htonl.c: Moved to... + * inet/htonl.c: ...here. + * sysdeps/generic/htons.c: Moved to... + * inet/htons.c: ...here. + * sysdeps/generic/if_index.c: Moved to... + * inet/if_index.c: ...here. + * sysdeps/generic/ifaddrs.c: Moved to... + * inet/ifaddrs.c: ...here. + * sysdeps/generic/ifreq.c: Moved to... + * inet/ifreq.c: ...here. + * sysdeps/generic/init-first.c: Moved to... + * csu/init-first.c: ...here. + * sysdeps/generic/init-posix.c: Moved to... + * posix/init-posix.c: ...here. + * sysdeps/generic/inlines.c: Moved to... + * stdlib/inlines.c: ...here. + * sysdeps/generic/ioctl.c: Moved to... + * misc/ioctl.c: ...here. + * sysdeps/generic/isastream.c: Moved to... + * streams/isastream.c: ...here. + * sysdeps/generic/isatty.c: Moved to... + * io/isatty.c: ...here. + * sysdeps/generic/isfdtype.c: Moved to... + * socket/isfdtype.c: ...here. + * sysdeps/generic/jmp-unwind.c: Moved to... + * setjmp/jmp-unwind.c: ...here. + * sysdeps/generic/k_cosl.c: Moved to... + * math/k_cosl.c: ...here. + * sysdeps/generic/k_rem_pio2l.c: Moved to... + * math/k_rem_pio2l.c: ...here. + * sysdeps/generic/k_sincosl.c: Moved to... + * math/k_sincosl.c: ...here. + * sysdeps/generic/k_sinl.c: Moved to... + * math/k_sinl.c: ...here. + * sysdeps/generic/k_tanl.c: Moved to... + * math/k_tanl.c: ...here. + * sysdeps/generic/kill.c: Moved to... + * signal/kill.c: ...here. + * sysdeps/generic/killpg.c: Moved to... + * signal/killpg.c: ...here. + * sysdeps/generic/labs.c: Moved to... + * stdlib/labs.c: ...here. + * sysdeps/generic/lchmod.c: Moved to... + * io/lchmod.c: ...here. + * sysdeps/generic/lchown.c: Moved to... + * io/lchown.c: ...here. + * sysdeps/generic/ldbl2mpn.c: Moved to... + * stdlib/ldbl2mpn.c: ...here. + * sysdeps/generic/ldiv.c: Moved to... + * stdlib/ldiv.c: ...here. + * sysdeps/generic/lgetxattr.c: Moved to... + * misc/lgetxattr.c: ...here. + * sysdeps/generic/libc-start.c: Moved to... + * csu/libc-start.c: ...here. + * sysdeps/generic/libc-tls.c: Moved to... + * csu/libc-tls.c: ...here. + * sysdeps/generic/libc_fatal.c: Moved to... + * libio/libc_fatal.c: ...here. + * sysdeps/generic/link.c: Moved to... + * io/link.c: ...here. + * sysdeps/generic/lio_listio.c: Moved to... + * rt/lio_listio.c: ...here. + * sysdeps/generic/lio_listio64.c: Moved to... + * rt/lio_listio64.c: ...here. + * sysdeps/generic/listen.c: Moved to... + * socket/listen.c: ...here. + * sysdeps/generic/listxattr.c: Moved to... + * misc/listxattr.c: ...here. + * sysdeps/generic/llabs.c: Moved to... + * stdlib/llabs.c: ...here. + * sysdeps/generic/lldiv.c: Moved to... + * stdlib/lldiv.c: ...here. + * sysdeps/generic/llistxattr.c: Moved to... + * misc/llistxattr.c: ...here. + * sysdeps/generic/lockf.c: Moved to... + * io/lockf.c: ...here. + * sysdeps/generic/lockf64.c: Moved to... + * io/lockf64.c: ...here. + * sysdeps/generic/longjmp-ts.c: Moved to... + * hurd/longjmp-ts.c: ...here. + * sysdeps/generic/longjmp.c: Moved to... + * setjmp/longjmp.c: ...here. + * sysdeps/generic/lremovexattr.c: Moved to... + * misc/lremovexattr.c: ...here. + * sysdeps/generic/lseek.c: Moved to... + * misc/lseek.c: ...here. + * sysdeps/generic/lseek64.c: Moved to... + * io/lseek64.c: ...here. + * sysdeps/generic/lsetxattr.c: Moved to... + * misc/lsetxattr.c: ...here. + * sysdeps/generic/lshift.c: Moved to... + * stdlib/lshift.c: ...here. + * sysdeps/generic/lutimes.c: Moved to... + * misc/lutimes.c: ...here. + * sysdeps/generic/lxstat.c: Moved to... + * io/lxstat.c: ...here. + * sysdeps/generic/lxstat64.c: Moved to... + * io/lxstat64.c: ...here. + * sysdeps/generic/madvise.c: Moved to... + * misc/madvise.c: ...here. + * sysdeps/generic/makecontext.c: Moved to... + * stdlib/makecontext.c: ...here. + * sysdeps/generic/memccpy.c: Moved to... + * string/memccpy.c: ...here. + * sysdeps/generic/memchr.c: Moved to... + * string/memchr.c: ...here. + * sysdeps/generic/memcmp.c: Moved to... + * string/memcmp.c: ...here. + * sysdeps/generic/memcpy.c: Moved to... + * string/memcpy.c: ...here. + * sysdeps/generic/memcpy_chk.c: Moved to... + * debug/memcpy_chk.c: ...here. + * sysdeps/generic/memmem.c: Moved to... + * string/memmem.c: ...here. + * sysdeps/generic/memmove.c: Moved to... + * string/memmove.c: ...here. + * sysdeps/generic/memmove_chk.c: Moved to... + * debug/memmove_chk.c: ...here. + * sysdeps/generic/mempcpy.c: Moved to... + * string/mempcpy.c: ...here. + * sysdeps/generic/mempcpy_chk.c: Moved to... + * debug/mempcpy_chk.c: ...here. + * sysdeps/generic/memrchr.c: Moved to... + * string/memrchr.c: ...here. + * sysdeps/generic/memset.c: Moved to... + * string/memset.c: ...here. + * sysdeps/generic/memset_chk.c: Moved to... + * debug/memset_chk.c: ...here. + * sysdeps/generic/mig-reply.c: Moved to... + * mach/mig-reply.c: ...here. + * sysdeps/generic/mincore.c: Moved to... + * misc/mincore.c: ...here. + * sysdeps/generic/mkdir.c: Moved to... + * io/mkdir.c: ...here. + * sysdeps/generic/mkdirat.c: Moved to... + * io/mkdirat.c: ...here. + * sysdeps/generic/mkfifo.c: Moved to... + * io/mkfifo.c: ...here. + * sysdeps/generic/mkfifoat.c: Moved to... + * io/mkfifoat.c: ...here. + * sysdeps/generic/mknod.c: Moved to... + * io/mknod.c: ...here. + * sysdeps/generic/mknodat.c: Moved to... + * io/mknodat.c: ...here. + * sysdeps/generic/mlock.c: Moved to... + * misc/mlock.c: ...here. + * sysdeps/generic/mlockall.c: Moved to... + * misc/mlockall.c: ...here. + * sysdeps/generic/mmap.c: Moved to... + * misc/mmap.c: ...here. + * sysdeps/generic/mmap64.c: Moved to... + * misc/mmap64.c: ...here. + * sysdeps/generic/mod_1.c: Moved to... + * stdlib/mod_1.c: ...here. + * sysdeps/generic/morecore.c: Moved to... + * malloc/morecore.c: ...here. + * sysdeps/generic/mp_clz_tab.c: Moved to... + * stdlib/mp_clz_tab.c: ...here. + * sysdeps/generic/mpn2dbl.c: Moved to... + * stdlib/mpn2dbl.c: ...here. + * sysdeps/generic/mpn2flt.c: Moved to... + * stdlib/mpn2flt.c: ...here. + * sysdeps/generic/mpn2ldbl.c: Moved to... + * stdlib/mpn2ldbl.c: ...here. + * sysdeps/generic/mprotect.c: Moved to... + * misc/mprotect.c: ...here. + * sysdeps/generic/mq_close.c: Moved to... + * rt/mq_close.c: ...here. + * sysdeps/generic/mq_getattr.c: Moved to... + * rt/mq_getattr.c: ...here. + * sysdeps/generic/mq_notify.c: Moved to... + * rt/mq_notify.c: ...here. + * sysdeps/generic/mq_open.c: Moved to... + * rt/mq_open.c: ...here. + * sysdeps/generic/mq_receive.c: Moved to... + * rt/mq_receive.c: ...here. + * sysdeps/generic/mq_send.c: Moved to... + * rt/mq_send.c: ...here. + * sysdeps/generic/mq_setattr.c: Moved to... + * rt/mq_setattr.c: ...here. + * sysdeps/generic/mq_timedreceive.c: Moved to... + * rt/mq_timedreceive.c: ...here. + * sysdeps/generic/mq_timedsend.c: Moved to... + * rt/mq_timedsend.c: ...here. + * sysdeps/generic/mq_unlink.c: Moved to... + * rt/mq_unlink.c: ...here. + * sysdeps/generic/msgctl.c: Moved to... + * sysvipc/msgctl.c: ...here. + * sysdeps/generic/msgget.c: Moved to... + * sysvipc/msgget.c: ...here. + * sysdeps/generic/msgrcv.c: Moved to... + * sysvipc/msgrcv.c: ...here. + * sysdeps/generic/msgsnd.c: Moved to... + * sysvipc/msgsnd.c: ...here. + * sysdeps/generic/msync.c: Moved to... + * misc/msync.c: ...here. + * sysdeps/generic/mul.c: Moved to... + * stdlib/mul.c: ...here. + * sysdeps/generic/mul_1.c: Moved to... + * stdlib/mul_1.c: ...here. + * sysdeps/generic/mul_n.c: Moved to... + * stdlib/mul_n.c: ...here. + * sysdeps/generic/munlock.c: Moved to... + * misc/munlock.c: ...here. + * sysdeps/generic/munlockall.c: Moved to... + * misc/munlockall.c: ...here. + * sysdeps/generic/munmap.c: Moved to... + * misc/munmap.c: ...here. + * sysdeps/generic/nanosleep.c: Moved to... + * posix/nanosleep.c: ...here. + * sysdeps/generic/nice.c: Moved to... + * resource/nice.c: ...here. + * sysdeps/generic/nscd_setup_thread.c: Moved to... + * nscd/nscd_setup_thread.c: ...here. + * sysdeps/generic/open.c: Moved to... + * io/open.c: ...here. + * sysdeps/generic/open64.c: Moved to... + * io/open64.c: ...here. + * sysdeps/generic/openat.c: Moved to... + * io/openat.c: ...here. + * sysdeps/generic/openat64.c: Moved to... + * io/openat64.c: ...here. + * sysdeps/generic/opendir.c: Moved to... + * dirent/opendir.c: ...here. + * sysdeps/generic/opensock.c: Moved to... + * socket/opensock.c: ...here. + * sysdeps/generic/pathconf.c: Moved to... + * posix/pathconf.c: ...here. + * sysdeps/generic/pause.c: Moved to... + * posix/pause.c: ...here. + * sysdeps/generic/pipe.c: Moved to... + * io/pipe.c: ...here. + * sysdeps/generic/poll.c: Moved to... + * io/poll.c: ...here. + * sysdeps/generic/posix_fadvise.c: Moved to... + * io/posix_fadvise.c: ...here. + * sysdeps/generic/posix_fadvise64.c: Moved to... + * io/posix_fadvise64.c: ...here. + * sysdeps/generic/posix_fallocate.c: Moved to... + * io/posix_fallocate.c: ...here. + * sysdeps/generic/posix_fallocate64.c: Moved to... + * io/posix_fallocate64.c: ...here. + * sysdeps/generic/posix_madvise.c: Moved to... + * posix/posix_madvise.c: ...here. + * sysdeps/generic/pread.c: Moved to... + * posix/pread.c: ...here. + * sysdeps/generic/pread64.c: Moved to... + * posix/pread64.c: ...here. + * sysdeps/generic/printf_fphex.c: Moved to... + * stdio-common/printf_fphex.c: ...here. + * sysdeps/generic/prof-freq.c: Moved to... + * gmon/prof-freq.c: ...here. + * sysdeps/generic/profil.c: Moved to... + * gmon/profil.c: ...here. + * sysdeps/generic/pselect.c: Moved to... + * misc/pselect.c: ...here. + * sysdeps/generic/ptrace.c: Moved to... + * misc/ptrace.c: ...here. + * sysdeps/generic/ptsname.c: Moved to... + * login/ptsname.c: ...here. + * sysdeps/generic/putenv.c: Moved to... + * stdlib/putenv.c: ...here. + * sysdeps/generic/putmsg.c: Moved to... + * streams/putmsg.c: ...here. + * sysdeps/generic/putpmsg.c: Moved to... + * streams/putpmsg.c: ...here. + * sysdeps/generic/pututxline.c: Moved to... + * login/pututxline.c: ...here. + * sysdeps/generic/pwrite.c: Moved to... + * posix/pwrite.c: ...here. + * sysdeps/generic/pwrite64.c: Moved to... + * posix/pwrite64.c: ...here. + * sysdeps/generic/raise.c: Moved to... + * signal/raise.c: ...here. + * sysdeps/generic/rawmemchr.c: Moved to... + * string/rawmemchr.c: ...here. + * sysdeps/generic/read.c: Moved to... + * io/read.c: ...here. + * sysdeps/generic/readdir.c: Moved to... + * dirent/readdir.c: ...here. + * sysdeps/generic/readdir64.c: Moved to... + * dirent/readdir64.c: ...here. + * sysdeps/generic/readdir64_r.c: Moved to... + * dirent/readdir64_r.c: ...here. + * sysdeps/generic/readdir_r.c: Moved to... + * dirent/readdir_r.c: ...here. + * sysdeps/generic/readelflib.c: Moved to... + * elf/readelflib.c: ...here. + * sysdeps/generic/readlink.c: Moved to... + * io/readlink.c: ...here. + * sysdeps/generic/readonly-area.c: Moved to... + * debug/readonly-area.c: ...here. + * sysdeps/generic/readv.c: Moved to... + * misc/readv.c: ...here. + * sysdeps/generic/reboot.c: Moved to... + * misc/reboot.c: ...here. + * sysdeps/generic/recv.c: Moved to... + * socket/recv.c: ...here. + * sysdeps/generic/recvfrom.c: Moved to... + * socket/recvfrom.c: ...here. + * sysdeps/generic/recvmsg.c: Moved to... + * socket/recvmsg.c: ...here. + * sysdeps/generic/remap_file_pages.c: Moved to... + * misc/remap_file_pages.c: ...here. + * sysdeps/generic/remove.c: Moved to... + * stdio-common/remove.c: ...here. + * sysdeps/generic/removexattr.c: Moved to... + * misc/removexattr.c: ...here. + * sysdeps/generic/rename.c: Moved to... + * stdio-common/rename.c: ...here. + * sysdeps/generic/renameat.c: Moved to... + * stdio-common/renameat.c: ...here. + * sysdeps/generic/res-state.c: Moved to... + * resolv/res-state.c: ...here. + * sysdeps/generic/revoke.c: Moved to... + * misc/revoke.c: ...here. + * sysdeps/generic/rewinddir.c: Moved to... + * dirent/rewinddir.c: ...here. + * sysdeps/generic/rmdir.c: Moved to... + * io/rmdir.c: ...here. + * sysdeps/generic/rshift.c: Moved to... + * stdlib/rshift.c: ...here. + * sysdeps/generic/s_asinhl.c: Moved to... + * math/s_asinhl.c: ...here. + * sysdeps/generic/s_atanl.c: Moved to... + * math/s_atanl.c: ...here. + * sysdeps/generic/s_cacos.c: Moved to... + * math/s_cacos.c: ...here. + * sysdeps/generic/s_cacosf.c: Moved to... + * math/s_cacosf.c: ...here. + * sysdeps/generic/s_cacosh.c: Moved to... + * math/s_cacosh.c: ...here. + * sysdeps/generic/s_cacoshf.c: Moved to... + * math/s_cacoshf.c: ...here. + * sysdeps/generic/s_cacoshl.c: Moved to... + * math/s_cacoshl.c: ...here. + * sysdeps/generic/s_cacosl.c: Moved to... + * math/s_cacosl.c: ...here. + * sysdeps/generic/s_casin.c: Moved to... + * math/s_casin.c: ...here. + * sysdeps/generic/s_casinf.c: Moved to... + * math/s_casinf.c: ...here. + * sysdeps/generic/s_casinh.c: Moved to... + * math/s_casinh.c: ...here. + * sysdeps/generic/s_casinhf.c: Moved to... + * math/s_casinhf.c: ...here. + * sysdeps/generic/s_casinhl.c: Moved to... + * math/s_casinhl.c: ...here. + * sysdeps/generic/s_casinl.c: Moved to... + * math/s_casinl.c: ...here. + * sysdeps/generic/s_catan.c: Moved to... + * math/s_catan.c: ...here. + * sysdeps/generic/s_catanf.c: Moved to... + * math/s_catanf.c: ...here. + * sysdeps/generic/s_catanh.c: Moved to... + * math/s_catanh.c: ...here. + * sysdeps/generic/s_catanhf.c: Moved to... + * math/s_catanhf.c: ...here. + * sysdeps/generic/s_catanhl.c: Moved to... + * math/s_catanhl.c: ...here. + * sysdeps/generic/s_catanl.c: Moved to... + * math/s_catanl.c: ...here. + * sysdeps/generic/s_cbrtl.c: Moved to... + * math/s_cbrtl.c: ...here. + * sysdeps/generic/s_ccos.c: Moved to... + * math/s_ccos.c: ...here. + * sysdeps/generic/s_ccosf.c: Moved to... + * math/s_ccosf.c: ...here. + * sysdeps/generic/s_ccosh.c: Moved to... + * math/s_ccosh.c: ...here. + * sysdeps/generic/s_ccoshf.c: Moved to... + * math/s_ccoshf.c: ...here. + * sysdeps/generic/s_ccoshl.c: Moved to... + * math/s_ccoshl.c: ...here. + * sysdeps/generic/s_ccosl.c: Moved to... + * math/s_ccosl.c: ...here. + * sysdeps/generic/s_cexp.c: Moved to... + * math/s_cexp.c: ...here. + * sysdeps/generic/s_cexpf.c: Moved to... + * math/s_cexpf.c: ...here. + * sysdeps/generic/s_cexpl.c: Moved to... + * math/s_cexpl.c: ...here. + * sysdeps/generic/s_clog.c: Moved to... + * math/s_clog.c: ...here. + * sysdeps/generic/s_clog10.c: Moved to... + * math/s_clog10.c: ...here. + * sysdeps/generic/s_clog10f.c: Moved to... + * math/s_clog10f.c: ...here. + * sysdeps/generic/s_clog10l.c: Moved to... + * math/s_clog10l.c: ...here. + * sysdeps/generic/s_clogf.c: Moved to... + * math/s_clogf.c: ...here. + * sysdeps/generic/s_clogl.c: Moved to... + * math/s_clogl.c: ...here. + * sysdeps/generic/s_cpow.c: Moved to... + * math/s_cpow.c: ...here. + * sysdeps/generic/s_cpowf.c: Moved to... + * math/s_cpowf.c: ...here. + * sysdeps/generic/s_cpowl.c: Moved to... + * math/s_cpowl.c: ...here. + * sysdeps/generic/s_cproj.c: Moved to... + * math/s_cproj.c: ...here. + * sysdeps/generic/s_cprojf.c: Moved to... + * math/s_cprojf.c: ...here. + * sysdeps/generic/s_cprojl.c: Moved to... + * math/s_cprojl.c: ...here. + * sysdeps/generic/s_csin.c: Moved to... + * math/s_csin.c: ...here. + * sysdeps/generic/s_csinf.c: Moved to... + * math/s_csinf.c: ...here. + * sysdeps/generic/s_csinh.c: Moved to... + * math/s_csinh.c: ...here. + * sysdeps/generic/s_csinhf.c: Moved to... + * math/s_csinhf.c: ...here. + * sysdeps/generic/s_csinhl.c: Moved to... + * math/s_csinhl.c: ...here. + * sysdeps/generic/s_csinl.c: Moved to... + * math/s_csinl.c: ...here. + * sysdeps/generic/s_csqrt.c: Moved to... + * math/s_csqrt.c: ...here. + * sysdeps/generic/s_csqrtf.c: Moved to... + * math/s_csqrtf.c: ...here. + * sysdeps/generic/s_csqrtl.c: Moved to... + * math/s_csqrtl.c: ...here. + * sysdeps/generic/s_ctan.c: Moved to... + * math/s_ctan.c: ...here. + * sysdeps/generic/s_ctanf.c: Moved to... + * math/s_ctanf.c: ...here. + * sysdeps/generic/s_ctanh.c: Moved to... + * math/s_ctanh.c: ...here. + * sysdeps/generic/s_ctanhf.c: Moved to... + * math/s_ctanhf.c: ...here. + * sysdeps/generic/s_ctanhl.c: Moved to... + * math/s_ctanhl.c: ...here. + * sysdeps/generic/s_ctanl.c: Moved to... + * math/s_ctanl.c: ...here. + * sysdeps/generic/s_erfl.c: Moved to... + * math/s_erfl.c: ...here. + * sysdeps/generic/s_expm1l.c: Moved to... + * math/s_expm1l.c: ...here. + * sysdeps/generic/s_fdim.c: Moved to... + * math/s_fdim.c: ...here. + * sysdeps/generic/s_fdimf.c: Moved to... + * math/s_fdimf.c: ...here. + * sysdeps/generic/s_fdiml.c: Moved to... + * math/s_fdiml.c: ...here. + * sysdeps/generic/s_fma.c: Moved to... + * math/s_fma.c: ...here. + * sysdeps/generic/s_fmaf.c: Moved to... + * math/s_fmaf.c: ...here. + * sysdeps/generic/s_fmal.c: Moved to... + * math/s_fmal.c: ...here. + * sysdeps/generic/s_fmax.c: Moved to... + * math/s_fmax.c: ...here. + * sysdeps/generic/s_fmaxf.c: Moved to... + * math/s_fmaxf.c: ...here. + * sysdeps/generic/s_fmaxl.c: Moved to... + * math/s_fmaxl.c: ...here. + * sysdeps/generic/s_fmin.c: Moved to... + * math/s_fmin.c: ...here. + * sysdeps/generic/s_fminf.c: Moved to... + * math/s_fminf.c: ...here. + * sysdeps/generic/s_fminl.c: Moved to... + * math/s_fminl.c: ...here. + * sysdeps/generic/s_ldexp.c: Moved to... + * math/s_ldexp.c: ...here. + * sysdeps/generic/s_ldexpf.c: Moved to... + * math/s_ldexpf.c: ...here. + * sysdeps/generic/s_ldexpl.c: Moved to... + * math/s_ldexpl.c: ...here. + * sysdeps/generic/s_log1pl.c: Moved to... + * math/s_log1pl.c: ...here. + * sysdeps/generic/s_nan.c: Moved to... + * math/s_nan.c: ...here. + * sysdeps/generic/s_nanf.c: Moved to... + * math/s_nanf.c: ...here. + * sysdeps/generic/s_nanl.c: Moved to... + * math/s_nanl.c: ...here. + * sysdeps/generic/s_nextafter.c: Moved to... + * math/s_nextafter.c: ...here. + * sysdeps/generic/s_nexttowardf.c: Moved to... + * math/s_nexttowardf.c: ...here. + * sysdeps/generic/s_nexttowardl.c: Moved to... + * math/s_nexttowardl.c: ...here. + * sysdeps/generic/s_significand.c: Moved to... + * math/s_significand.c: ...here. + * sysdeps/generic/s_significandf.c: Moved to... + * math/s_significandf.c: ...here. + * sysdeps/generic/s_significandl.c: Moved to... + * math/s_significandl.c: ...here. + * sysdeps/generic/s_tanhl.c: Moved to... + * math/s_tanhl.c: ...here. + * sysdeps/generic/sbrk.c: Moved to... + * misc/sbrk.c: ...here. + * sysdeps/generic/scandir64.c: Moved to... + * dirent/scandir64.c: ...here. + * sysdeps/generic/sched_getaffinity.c: Moved to... + * posix/sched_getaffinity.c: ...here. + * sysdeps/generic/sched_getp.c: Moved to... + * posix/sched_getp.c: ...here. + * sysdeps/generic/sched_gets.c: Moved to... + * posix/sched_gets.c: ...here. + * sysdeps/generic/sched_primax.c: Moved to... + * posix/sched_primax.c: ...here. + * sysdeps/generic/sched_primin.c: Moved to... + * posix/sched_primin.c: ...here. + * sysdeps/generic/sched_rr_gi.c: Moved to... + * posix/sched_rr_gi.c: ...here. + * sysdeps/generic/sched_setaffinity.c: Moved to... + * posix/sched_setaffinity.c: ...here. + * sysdeps/generic/sched_setp.c: Moved to... + * posix/sched_setp.c: ...here. + * sysdeps/generic/sched_sets.c: Moved to... + * posix/sched_sets.c: ...here. + * sysdeps/generic/sched_yield.c: Moved to... + * posix/sched_yield.c: ...here. + * sysdeps/generic/seekdir.c: Moved to... + * dirent/seekdir.c: ...here. + * sysdeps/generic/segfault.c: Moved to... + * debug/segfault.c: ...here. + * sysdeps/generic/select.c: Moved to... + * misc/select.c: ...here. + * sysdeps/generic/semctl.c: Moved to... + * sysvipc/semctl.c: ...here. + * sysdeps/generic/semget.c: Moved to... + * sysvipc/semget.c: ...here. + * sysdeps/generic/semop.c: Moved to... + * sysvipc/semop.c: ...here. + * sysdeps/generic/semtimedop.c: Moved to... + * sysvipc/semtimedop.c: ...here. + * sysdeps/generic/send.c: Moved to... + * socket/send.c: ...here. + * sysdeps/generic/sendfile.c: Moved to... + * io/sendfile.c: ...here. + * sysdeps/generic/sendfile64.c: Moved to... + * io/sendfile64.c: ...here. + * sysdeps/generic/sendmsg.c: Moved to... + * socket/sendmsg.c: ...here. + * sysdeps/generic/sendto.c: Moved to... + * socket/sendto.c: ...here. + * sysdeps/generic/setcontext.c: Moved to... + * stdlib/setcontext.c: ...here. + * sysdeps/generic/setdomain.c: Moved to... + * misc/setdomain.c: ...here. + * sysdeps/generic/setegid.c: Moved to... + * misc/setegid.c: ...here. + * sysdeps/generic/setenv.c: Moved to... + * stdlib/setenv.c: ...here. + * sysdeps/generic/seteuid.c: Moved to... + * misc/seteuid.c: ...here. + * sysdeps/generic/setfpucw.c: Moved to... + * math/setfpucw.c: ...here. + * sysdeps/generic/setgid.c: Moved to... + * posix/setgid.c: ...here. + * sysdeps/generic/setgroups.c: Moved to... + * grp/setgroups.c: ...here. + * sysdeps/generic/sethostid.c: Moved to... + * misc/sethostid.c: ...here. + * sysdeps/generic/sethostname.c: Moved to... + * misc/sethostname.c: ...here. + * sysdeps/generic/setipv4sourcefilter.c: Moved to... + * inet/setipv4sourcefilter.c: ...here. + * sysdeps/generic/setitimer.c: Moved to... + * time/setitimer.c: ...here. + * sysdeps/generic/setjmp.c: Moved to... + * setjmp/setjmp.c: ...here. + * sysdeps/generic/setlogin.c: Moved to... + * posix/setlogin.c: ...here. + * sysdeps/generic/setpgid.c: Moved to... + * posix/setpgid.c: ...here. + * sysdeps/generic/setpgrp.c: Moved to... + * posix/setpgrp.c: ...here. + * sysdeps/generic/setpriority.c: Moved to... + * resource/setpriority.c: ...here. + * sysdeps/generic/setregid.c: Moved to... + * misc/setregid.c: ...here. + * sysdeps/generic/setresgid.c: Moved to... + * posix/setresgid.c: ...here. + * sysdeps/generic/setresuid.c: Moved to... + * posix/setresuid.c: ...here. + * sysdeps/generic/setreuid.c: Moved to... + * misc/setreuid.c: ...here. + * sysdeps/generic/setrlimit.c: Moved to... + * resource/setrlimit.c: ...here. + * sysdeps/generic/setrlimit64.c: Moved to... + * resource/setrlimit64.c: ...here. + * sysdeps/generic/setsid.c: Moved to... + * posix/setsid.c: ...here. + * sysdeps/generic/setsockopt.c: Moved to... + * socket/setsockopt.c: ...here. + * sysdeps/generic/setsourcefilter.c: Moved to... + * inet/setsourcefilter.c: ...here. + * sysdeps/generic/settimeofday.c: Moved to... + * time/settimeofday.c: ...here. + * sysdeps/generic/setuid.c: Moved to... + * posix/setuid.c: ...here. + * sysdeps/generic/setutxent.c: Moved to... + * login/setutxent.c: ...here. + * sysdeps/generic/setxattr.c: Moved to... + * misc/setxattr.c: ...here. + * sysdeps/generic/shm_open.c: Moved to... + * rt/shm_open.c: ...here. + * sysdeps/generic/shm_unlink.c: Moved to... + * rt/shm_unlink.c: ...here. + * sysdeps/generic/shmat.c: Moved to... + * sysvipc/shmat.c: ...here. + * sysdeps/generic/shmctl.c: Moved to... + * sysvipc/shmctl.c: ...here. + * sysdeps/generic/shmdt.c: Moved to... + * sysvipc/shmdt.c: ...here. + * sysdeps/generic/shmget.c: Moved to... + * sysvipc/shmget.c: ...here. + * sysdeps/generic/shutdown.c: Moved to... + * socket/shutdown.c: ...here. + * sysdeps/generic/sigaction.c: Moved to... + * signal/sigaction.c: ...here. + * sysdeps/generic/sigaltstack.c: Moved to... + * signal/sigaltstack.c: ...here. + * sysdeps/generic/sigblock.c: Moved to... + * signal/sigblock.c: ...here. + * sysdeps/generic/sigfillset.c: Moved to... + * signal/sigfillset.c: ...here. + * sysdeps/generic/sigignore.c: Moved to... + * signal/sigignore.c: ...here. + * sysdeps/generic/sigintr.c: Moved to... + * signal/sigintr.c: ...here. + * sysdeps/generic/sigjmp.c: Moved to... + * setjmp/sigjmp.c: ...here. + * sysdeps/generic/siglist.c: Moved to... + * stdio-common/siglist.c: ...here. + * sysdeps/generic/signal.c: Moved to... + * signal/signal.c: ...here. + * sysdeps/generic/sigpause.c: Moved to... + * signal/sigpause.c: ...here. + * sysdeps/generic/sigpending.c: Moved to... + * signal/sigpending.c: ...here. + * sysdeps/generic/sigprocmask.c: Moved to... + * signal/sigprocmask.c: ...here. + * sysdeps/generic/sigqueue.c: Moved to... + * signal/sigqueue.c: ...here. + * sysdeps/generic/sigreturn.c: Moved to... + * signal/sigreturn.c: ...here. + * sysdeps/generic/sigset.c: Moved to... + * signal/sigset.c: ...here. + * sysdeps/generic/sigsetmask.c: Moved to... + * signal/sigsetmask.c: ...here. + * sysdeps/generic/sigstack.c: Moved to... + * signal/sigstack.c: ...here. + * sysdeps/generic/sigsuspend.c: Moved to... + * signal/sigsuspend.c: ...here. + * sysdeps/generic/sigtimedwait.c: Moved to... + * signal/sigtimedwait.c: ...here. + * sysdeps/generic/sigvec.c: Moved to... + * signal/sigvec.c: ...here. + * sysdeps/generic/sigwait.c: Moved to... + * signal/sigwait.c: ...here. + * sysdeps/generic/sigwaitinfo.c: Moved to... + * signal/sigwaitinfo.c: ...here. + * sysdeps/generic/sleep.c: Moved to... + * posix/sleep.c: ...here. + * sysdeps/generic/sockatmark.c: Moved to... + * socket/sockatmark.c: ...here. + * sysdeps/generic/socket.c: Moved to... + * socket/socket.c: ...here. + * sysdeps/generic/socketpair.c: Moved to... + * socket/socketpair.c: ...here. + * sysdeps/generic/spawni.c: Moved to... + * posix/spawni.c: ...here. + * sysdeps/generic/speed.c: Moved to... + * termios/speed.c: ...here. + * sysdeps/generic/sprofil.c: Moved to... + * gmon/sprofil.c: ...here. + * sysdeps/generic/sstk.c: Moved to... + * misc/sstk.c: ...here. + * sysdeps/generic/start.c: Moved to... + * csu/start.c: ...here. + * sysdeps/generic/statfs.c: Moved to... + * io/statfs.c: ...here. + * sysdeps/generic/statfs64.c: Moved to... + * io/statfs64.c: ...here. + * sysdeps/generic/statvfs.c: Moved to... + * io/statvfs.c: ...here. + * sysdeps/generic/statvfs64.c: Moved to... + * io/statvfs64.c: ...here. + * sysdeps/generic/stime.c: Moved to... + * time/stime.c: ...here. + * sysdeps/generic/stpcpy.c: Moved to... + * string/stpcpy.c: ...here. + * sysdeps/generic/stpcpy_chk.c: Moved to... + * debug/stpcpy_chk.c: ...here. + * sysdeps/generic/stpncpy.c: Moved to... + * string/stpncpy.c: ...here. + * sysdeps/generic/stpncpy_chk.c: Moved to... + * debug/stpncpy_chk.c: ...here. + * sysdeps/generic/strcasecmp.c: Moved to... + * string/strcasecmp.c: ...here. + * sysdeps/generic/strcasecmp_l.c: Moved to... + * string/strcasecmp_l.c: ...here. + * sysdeps/generic/strcasestr.c: Moved to... + * string/strcasestr.c: ...here. + * sysdeps/generic/strcat.c: Moved to... + * string/strcat.c: ...here. + * sysdeps/generic/strcat_chk.c: Moved to... + * debug/strcat_chk.c: ...here. + * sysdeps/generic/strchr.c: Moved to... + * string/strchr.c: ...here. + * sysdeps/generic/strchrnul.c: Moved to... + * string/strchrnul.c: ...here. + * sysdeps/generic/strcmp.c: Moved to... + * string/strcmp.c: ...here. + * sysdeps/generic/strcpy.c: Moved to... + * string/strcpy.c: ...here. + * sysdeps/generic/strcpy_chk.c: Moved to... + * debug/strcpy_chk.c: ...here. + * sysdeps/generic/strcspn.c: Moved to... + * string/strcspn.c: ...here. + * sysdeps/generic/string-inlines.c: Moved to... + * string/string-inlines.c: ...here. + * sysdeps/generic/strlen.c: Moved to... + * string/strlen.c: ...here. + * sysdeps/generic/strncase.c: Moved to... + * string/strncase.c: ...here. + * sysdeps/generic/strncase_l.c: Moved to... + * string/strncase_l.c: ...here. + * sysdeps/generic/strncat.c: Moved to... + * string/strncat.c: ...here. + * sysdeps/generic/strncat_chk.c: Moved to... + * debug/strncat_chk.c: ...here. + * sysdeps/generic/strncmp.c: Moved to... + * string/strncmp.c: ...here. + * sysdeps/generic/strncpy.c: Moved to... + * string/strncpy.c: ...here. + * sysdeps/generic/strncpy_chk.c: Moved to... + * debug/strncpy_chk.c: ...here. + * sysdeps/generic/strnlen.c: Moved to... + * string/strnlen.c: ...here. + * sysdeps/generic/strpbrk.c: Moved to... + * string/strpbrk.c: ...here. + * sysdeps/generic/strrchr.c: Moved to... + * string/strrchr.c: ...here. + * sysdeps/generic/strsep.c: Moved to... + * string/strsep.c: ...here. + * sysdeps/generic/strspn.c: Moved to... + * string/strspn.c: ...here. + * sysdeps/generic/strstr.c: Moved to... + * string/strstr.c: ...here. + * sysdeps/generic/strtoimax.c: Moved to... + * stdlib/strtoimax.c: ...here. + * sysdeps/generic/strtok.c: Moved to... + * string/strtok.c: ...here. + * sysdeps/generic/strtok_r.c: Moved to... + * string/strtok_r.c: ...here. + * sysdeps/generic/strtol.c: Moved to... + * stdlib/strtol.c: ...here. + * sysdeps/generic/strtol_l.c: Moved to... + * stdlib/strtol_l.c: ...here. + * sysdeps/generic/strtold_l.c: Moved to... + * stdlib/strtold_l.c: ...here. + * sysdeps/generic/strtoll.c: Moved to... + * stdlib/strtoll.c: ...here. + * sysdeps/generic/strtoll_l.c: Moved to... + * stdlib/strtoll_l.c: ...here. + * sysdeps/generic/strtoul.c: Moved to... + * stdlib/strtoul.c: ...here. + * sysdeps/generic/strtoul_l.c: Moved to... + * stdlib/strtoul_l.c: ...here. + * sysdeps/generic/strtoull.c: Moved to... + * stdlib/strtoull.c: ...here. + * sysdeps/generic/strtoull_l.c: Moved to... + * stdlib/strtoull_l.c: ...here. + * sysdeps/generic/strtoumax.c: Moved to... + * stdlib/strtoumax.c: ...here. + * sysdeps/generic/strtsupp.c: Moved to... + * bare/strtsupp.c: ...here. + * sysdeps/generic/stty.c: Moved to... + * misc/stty.c: ...here. + * sysdeps/generic/sub_n.c: Moved to... + * stdlib/sub_n.c: ...here. + * sysdeps/generic/submul_1.c: Moved to... + * stdlib/submul_1.c: ...here. + * sysdeps/generic/swapcontext.c: Moved to... + * stdlib/swapcontext.c: ...here. + * sysdeps/generic/swapoff.c: Moved to... + * misc/swapoff.c: ...here. + * sysdeps/generic/swapon.c: Moved to... + * misc/swapon.c: ...here. + * sysdeps/generic/symlink.c: Moved to... + * io/symlink.c: ...here. + * sysdeps/generic/sync.c: Moved to... + * misc/sync.c: ...here. + * sysdeps/generic/syscall.c: Moved to... + * misc/syscall.c: ...here. + * sysdeps/generic/sysconf.c: Moved to... + * posix/sysconf.c: ...here. + * sysdeps/generic/sysdep.c: Moved to... + * csu/sysdep.c: ...here. + * sysdeps/generic/syslog.c: Moved to... + * misc/syslog.c: ...here. + * sysdeps/generic/system.c: Moved to... + * stdlib/system.c: ...here. + * sysdeps/generic/sysv_signal.c: Moved to... + * signal/sysv_signal.c: ...here. + * sysdeps/generic/t_sincosl.c: Moved to... + * math/t_sincosl.c: ...here. + * sysdeps/generic/tcdrain.c: Moved to... + * termios/tcdrain.c: ...here. + * sysdeps/generic/tcflow.c: Moved to... + * termios/tcflow.c: ...here. + * sysdeps/generic/tcflush.c: Moved to... + * termios/tcflush.c: ...here. + * sysdeps/generic/tcgetattr.c: Moved to... + * termios/tcgetattr.c: ...here. + * sysdeps/generic/tcgetpgrp.c: Moved to... + * termios/tcgetpgrp.c: ...here. + * sysdeps/generic/tcsendbrk.c: Moved to... + * termios/tcsendbrk.c: ...here. + * sysdeps/generic/tcsetattr.c: Moved to... + * termios/tcsetattr.c: ...here. + * sysdeps/generic/tcsetpgrp.c: Moved to... + * termios/tcsetpgrp.c: ...here. + * sysdeps/generic/telldir.c: Moved to... + * dirent/telldir.c: ...here. + * sysdeps/generic/tempname.c: Moved to... + * stdio-common/tempname.c: ...here. + * sysdeps/generic/time.c: Moved to... + * time/time.c: ...here. + * sysdeps/generic/timer_create.c: Moved to... + * rt/timer_create.c: ...here. + * sysdeps/generic/timer_delete.c: Moved to... + * rt/timer_delete.c: ...here. + * sysdeps/generic/timer_getoverr.c: Moved to... + * rt/timer_getoverr.c: ...here. + * sysdeps/generic/timer_gettime.c: Moved to... + * rt/timer_gettime.c: ...here. + * sysdeps/generic/timer_settime.c: Moved to... + * rt/timer_settime.c: ...here. + * sysdeps/generic/times.c: Moved to... + * posix/times.c: ...here. + * sysdeps/generic/tmpfile.c: Moved to... + * stdio-common/tmpfile.c: ...here. + * sysdeps/generic/tmpfile64.c: Moved to... + * stdio-common/tmpfile64.c: ...here. + * sysdeps/generic/trampoline.c: Moved to... + * hurd/trampoline.c: ...here. + * sysdeps/generic/truncate.c: Moved to... + * misc/truncate.c: ...here. + * sysdeps/generic/truncate64.c: Moved to... + * misc/truncate64.c: ...here. + * sysdeps/generic/tst-timer.c: Moved to... + * rt/tst-timer.c: ...here. + * sysdeps/generic/ttyname.c: Moved to... + * io/ttyname.c: ...here. + * sysdeps/generic/ttyname_r.c: Moved to... + * io/ttyname_r.c: ...here. + * sysdeps/generic/ualarm.c: Moved to... + * misc/ualarm.c: ...here. + * sysdeps/generic/udiv_qrnnd.c: Moved to... + * stdlib/udiv_qrnnd.c: ...here. + * sysdeps/generic/ulimit.c: Moved to... + * resource/ulimit.c: ...here. + * sysdeps/generic/umask.c: Moved to... + * io/umask.c: ...here. + * sysdeps/generic/uname.c: Moved to... + * posix/uname.c: ...here. + * sysdeps/generic/unlink.c: Moved to... + * io/unlink.c: ...here. + * sysdeps/generic/unlinkat.c: Moved to... + * io/unlinkat.c: ...here. + * sysdeps/generic/unlockpt.c: Moved to... + * login/unlockpt.c: ...here. + * sysdeps/generic/updwtmp.c: Moved to... + * login/updwtmp.c: ...here. + * sysdeps/generic/updwtmpx.c: Moved to... + * login/updwtmpx.c: ...here. + * sysdeps/generic/usleep.c: Moved to... + * misc/usleep.c: ...here. + * sysdeps/generic/ustat.c: Moved to... + * misc/ustat.c: ...here. + * sysdeps/generic/utime.c: Moved to... + * io/utime.c: ...here. + * sysdeps/generic/utimes.c: Moved to... + * misc/utimes.c: ...here. + * sysdeps/generic/utmp_file.c: Moved to... + * login/utmp_file.c: ...here. + * sysdeps/generic/utmpxname.c: Moved to... + * login/utmpxname.c: ...here. + * sysdeps/generic/versionsort64.c: Moved to... + * dirent/versionsort64.c: ...here. + * sysdeps/generic/vfork.c: Moved to... + * posix/vfork.c: ...here. + * sysdeps/generic/vhangup.c: Moved to... + * misc/vhangup.c: ...here. + * sysdeps/generic/vlimit.c: Moved to... + * resource/vlimit.c: ...here. + * sysdeps/generic/vtimes.c: Moved to... + * resource/vtimes.c: ...here. + * sysdeps/generic/w_acos.c: Moved to... + * math/w_acos.c: ...here. + * sysdeps/generic/w_acosf.c: Moved to... + * math/w_acosf.c: ...here. + * sysdeps/generic/w_acosh.c: Moved to... + * math/w_acosh.c: ...here. + * sysdeps/generic/w_acoshf.c: Moved to... + * math/w_acoshf.c: ...here. + * sysdeps/generic/w_acoshl.c: Moved to... + * math/w_acoshl.c: ...here. + * sysdeps/generic/w_acosl.c: Moved to... + * math/w_acosl.c: ...here. + * sysdeps/generic/w_asin.c: Moved to... + * math/w_asin.c: ...here. + * sysdeps/generic/w_asinf.c: Moved to... + * math/w_asinf.c: ...here. + * sysdeps/generic/w_asinl.c: Moved to... + * math/w_asinl.c: ...here. + * sysdeps/generic/w_atan2.c: Moved to... + * math/w_atan2.c: ...here. + * sysdeps/generic/w_atan2f.c: Moved to... + * math/w_atan2f.c: ...here. + * sysdeps/generic/w_atan2l.c: Moved to... + * math/w_atan2l.c: ...here. + * sysdeps/generic/w_atanh.c: Moved to... + * math/w_atanh.c: ...here. + * sysdeps/generic/w_atanhf.c: Moved to... + * math/w_atanhf.c: ...here. + * sysdeps/generic/w_atanhl.c: Moved to... + * math/w_atanhl.c: ...here. + * sysdeps/generic/w_cosh.c: Moved to... + * math/w_cosh.c: ...here. + * sysdeps/generic/w_coshf.c: Moved to... + * math/w_coshf.c: ...here. + * sysdeps/generic/w_coshl.c: Moved to... + * math/w_coshl.c: ...here. + * sysdeps/generic/w_drem.c: Moved to... + * math/w_drem.c: ...here. + * sysdeps/generic/w_dremf.c: Moved to... + * math/w_dremf.c: ...here. + * sysdeps/generic/w_dreml.c: Moved to... + * math/w_dreml.c: ...here. + * sysdeps/generic/w_exp10.c: Moved to... + * math/w_exp10.c: ...here. + * sysdeps/generic/w_exp10f.c: Moved to... + * math/w_exp10f.c: ...here. + * sysdeps/generic/w_exp10l.c: Moved to... + * math/w_exp10l.c: ...here. + * sysdeps/generic/w_exp2.c: Moved to... + * math/w_exp2.c: ...here. + * sysdeps/generic/w_exp2f.c: Moved to... + * math/w_exp2f.c: ...here. + * sysdeps/generic/w_exp2l.c: Moved to... + * math/w_exp2l.c: ...here. + * sysdeps/generic/w_expl.c: Moved to... + * math/w_expl.c: ...here. + * sysdeps/generic/w_fmod.c: Moved to... + * math/w_fmod.c: ...here. + * sysdeps/generic/w_fmodf.c: Moved to... + * math/w_fmodf.c: ...here. + * sysdeps/generic/w_fmodl.c: Moved to... + * math/w_fmodl.c: ...here. + * sysdeps/generic/w_hypot.c: Moved to... + * math/w_hypot.c: ...here. + * sysdeps/generic/w_hypotf.c: Moved to... + * math/w_hypotf.c: ...here. + * sysdeps/generic/w_hypotl.c: Moved to... + * math/w_hypotl.c: ...here. + * sysdeps/generic/w_j0.c: Moved to... + * math/w_j0.c: ...here. + * sysdeps/generic/w_j0f.c: Moved to... + * math/w_j0f.c: ...here. + * sysdeps/generic/w_j0l.c: Moved to... + * math/w_j0l.c: ...here. + * sysdeps/generic/w_j1.c: Moved to... + * math/w_j1.c: ...here. + * sysdeps/generic/w_j1f.c: Moved to... + * math/w_j1f.c: ...here. + * sysdeps/generic/w_j1l.c: Moved to... + * math/w_j1l.c: ...here. + * sysdeps/generic/w_jn.c: Moved to... + * math/w_jn.c: ...here. + * sysdeps/generic/w_jnf.c: Moved to... + * math/w_jnf.c: ...here. + * sysdeps/generic/w_jnl.c: Moved to... + * math/w_jnl.c: ...here. + * sysdeps/generic/w_lgamma.c: Moved to... + * math/w_lgamma.c: ...here. + * sysdeps/generic/w_lgamma_r.c: Moved to... + * math/w_lgamma_r.c: ...here. + * sysdeps/generic/w_lgammaf.c: Moved to... + * math/w_lgammaf.c: ...here. + * sysdeps/generic/w_lgammaf_r.c: Moved to... + * math/w_lgammaf_r.c: ...here. + * sysdeps/generic/w_lgammal.c: Moved to... + * math/w_lgammal.c: ...here. + * sysdeps/generic/w_lgammal_r.c: Moved to... + * math/w_lgammal_r.c: ...here. + * sysdeps/generic/w_log.c: Moved to... + * math/w_log.c: ...here. + * sysdeps/generic/w_log10.c: Moved to... + * math/w_log10.c: ...here. + * sysdeps/generic/w_log10f.c: Moved to... + * math/w_log10f.c: ...here. + * sysdeps/generic/w_log10l.c: Moved to... + * math/w_log10l.c: ...here. + * sysdeps/generic/w_log2.c: Moved to... + * math/w_log2.c: ...here. + * sysdeps/generic/w_log2f.c: Moved to... + * math/w_log2f.c: ...here. + * sysdeps/generic/w_log2l.c: Moved to... + * math/w_log2l.c: ...here. + * sysdeps/generic/w_logf.c: Moved to... + * math/w_logf.c: ...here. + * sysdeps/generic/w_logl.c: Moved to... + * math/w_logl.c: ...here. + * sysdeps/generic/w_pow.c: Moved to... + * math/w_pow.c: ...here. + * sysdeps/generic/w_powf.c: Moved to... + * math/w_powf.c: ...here. + * sysdeps/generic/w_powl.c: Moved to... + * math/w_powl.c: ...here. + * sysdeps/generic/w_remainder.c: Moved to... + * math/w_remainder.c: ...here. + * sysdeps/generic/w_remainderf.c: Moved to... + * math/w_remainderf.c: ...here. + * sysdeps/generic/w_remainderl.c: Moved to... + * math/w_remainderl.c: ...here. + * sysdeps/generic/w_scalb.c: Moved to... + * math/w_scalb.c: ...here. + * sysdeps/generic/w_scalbf.c: Moved to... + * math/w_scalbf.c: ...here. + * sysdeps/generic/w_scalbl.c: Moved to... + * math/w_scalbl.c: ...here. + * sysdeps/generic/w_sinh.c: Moved to... + * math/w_sinh.c: ...here. + * sysdeps/generic/w_sinhf.c: Moved to... + * math/w_sinhf.c: ...here. + * sysdeps/generic/w_sinhl.c: Moved to... + * math/w_sinhl.c: ...here. + * sysdeps/generic/w_sqrt.c: Moved to... + * math/w_sqrt.c: ...here. + * sysdeps/generic/w_sqrtf.c: Moved to... + * math/w_sqrtf.c: ...here. + * sysdeps/generic/w_sqrtl.c: Moved to... + * math/w_sqrtl.c: ...here. + * sysdeps/generic/w_tgamma.c: Moved to... + * math/w_tgamma.c: ...here. + * sysdeps/generic/w_tgammaf.c: Moved to... + * math/w_tgammaf.c: ...here. + * sysdeps/generic/w_tgammal.c: Moved to... + * math/w_tgammal.c: ...here. + * sysdeps/generic/wait.c: Moved to... + * posix/wait.c: ...here. + * sysdeps/generic/wait3.c: Moved to... + * posix/wait3.c: ...here. + * sysdeps/generic/wait4.c: Moved to... + * posix/wait4.c: ...here. + * sysdeps/generic/waitid.c: Moved to... + * posix/waitid.c: ...here. + * sysdeps/generic/waitpid.c: Moved to... + * posix/waitpid.c: ...here. + * sysdeps/generic/wcstoimax.c: Moved to... + * stdlib/wcstoimax.c: ...here. + * sysdeps/generic/wcstol.c: Moved to... + * wcsmbs/wcstol.c: ...here. + * sysdeps/generic/wcstol_l.c: Moved to... + * wcsmbs/wcstol_l.c: ...here. + * sysdeps/generic/wcstoll.c: Moved to... + * wcsmbs/wcstoll.c: ...here. + * sysdeps/generic/wcstoll_l.c: Moved to... + * wcsmbs/wcstoll_l.c: ...here. + * sysdeps/generic/wcstoul.c: Moved to... + * wcsmbs/wcstoul.c: ...here. + * sysdeps/generic/wcstoul_l.c: Moved to... + * wcsmbs/wcstoul_l.c: ...here. + * sysdeps/generic/wcstoull.c: Moved to... + * wcsmbs/wcstoull.c: ...here. + * sysdeps/generic/wcstoull_l.c: Moved to... + * wcsmbs/wcstoull_l.c: ...here. + * sysdeps/generic/wcstoumax.c: Moved to... + * stdlib/wcstoumax.c: ...here. + * sysdeps/generic/wordcopy.c: Moved to... + * string/wordcopy.c: ...here. + * sysdeps/generic/wordexp.c: Moved to... + * posix/wordexp.c: ...here. + * sysdeps/generic/write.c: Moved to... + * io/write.c: ...here. + * sysdeps/generic/writev.c: Moved to... + * misc/writev.c: ...here. + * sysdeps/generic/xmknod.c: Moved to... + * io/xmknod.c: ...here. + * sysdeps/generic/xmknodat.c: Moved to... + * io/xmknodat.c: ...here. + * sysdeps/generic/xpg-strerror.c: Moved to... + * string/xpg-strerror.c: ...here. + * sysdeps/generic/xstat.c: Moved to... + * io/xstat.c: ...here. + * sysdeps/generic/xstat64.c: Moved to... + * io/xstat64.c: ...here. + * catgets/gencat.c: Use "config.h" to refer to the local config.h file. + * stdlib/stdtod_l.c: Use "..." for gmp-impl.h and longlong.h headers. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust for files moving + out of sysdeps/generic. + * sysdeps/ieee754/ldbl-96/strtold_l.c: Likewise. + * sysdeps/powerpc/elf/libc-start.c: Likewise. + * sysdeps/unix/sysv/linux/dl-sbrk.c: Likewise. + * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/segfault.c: Likewise. + * sysdeps/unix/sysv/linux/sigreturn.c: Likewise. + * sysdeps/unix/sysv/linux/syslog.c: Likewise. + * sysdeps/unix/sysv/linux/updwtmp.c: Likewise. + * sysdeps/unix/sysv/linux/utmp_file.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise. + * sysdeps/wordsize-32/llabs.c: Likewise. + * sysdeps/wordsize-32/lldiv.c: Likewise. + * sysdeps/wordsize-64/glob.c: Likewise. + * sysdeps/wordsize-64/labs.c: Likewise. + * sysdeps/wordsize-64/ldiv.c: Likewise. + * sysdeps/wordsize-64/strtol.c: Likewise. + * sysdeps/wordsize-64/strtol_l.c: Likewise. + * sysdeps/wordsize-64/strtoul.c: Likewise. + * sysdeps/wordsize-64/strtoul_l.c: Likewise. + * sysdeps/wordsize-64/wcstol.c: Likewise. + * sysdeps/wordsize-64/wcstol_l.c: Likewise. + * sysdeps/wordsize-64/wcstoul.c: Likewise. + * sysdeps/wordsize-64/wcstoul_l.c: Likewise. + * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. + * wcsmbs/Makefile (strtox-CFLAGS): remove -I../stdlib. + (CPPFLAGS-wcstold_l.c): Add -I../stdlib. + +2005-12-13 Roland McGrath <roland@redhat.com> + + * sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft. + +2005-12-13 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/generic/signame.c: Removed. + * sysdeps/generic/signame.h: Removed. + * sysdeps/generic/configure.in: Removed. + * sysdeps/generic/Dist: Remove these files. + + * sysdeps/generic/det_endian.c: Removed. + * sysdeps/generic/Makefile: Remove rule to build it. + * sysdeps/generic/Dist: Don't distribute it. + +2005-12-13 Roland McGrath <roland@redhat.com> + + * sysdeps/powerpc/dl-procinfo.c: New file. + * sysdeps/powerpc/dl-procinfo.h: New file. + +2005-12-12 Ulrich Drepper <drepper@redhat.com> + + * io/sys/stat.h: Add restrict to fstatat declarations. + +2005-12-10 Ulrich Drepper <drepper@redhat.com> + + * posix/regex_internal.h: Include <stdint.h> if available. + +2005-12-06 Paolo Bonzini <bonzini@gnu.org> + + * posix/regex_internal.h (SIZE_MAX): Provide a default definition. + +2005-12-08 Ulrich Drepper <drepper@redhat.com> + + * nis/nis_call.c (inetstr2int): Optimize. + +2005-12-08 Jakub Jelinek <jakub@redhat.com> + + * nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy, + ->clnt cannot be != NULL. + (__do_niscall): No need to use __nisbind_destroy, __nisbind_next + did it. + (__nisbind_connect): use_auth is already TRUE, otherwise we would + not be here. + + * nis/nis_lookup.c (nis_lookup): Remove unnecessary + __nisbind_destroy calls. __nisbind_next does all that. + + * nis/ypclnt.c (yp_update): Before trying default authentication, + free DES descriptor. + +2005-12-07 Jakub Jelinek <jakub@redhat.com> + + * nis/nis_table.c (nis_list): Fix memory handling in error case. + +2005-12-07 Ulrich Drepper <drepper@redhat.com> + + * nis/nis_table.c (nis_list): Remove have_tablepath, just use the + pointer value itself. + +2005-12-06 Ulrich Drepper <drepper@redhat.com> - * resolv/res_debug.c (__p_type_syms): Add ns_t_dname entry. - Patch by Peter Jones <pjones@redhat.com>. + * catgets/gencat.c: Use GPL, not LGPL. + * elf/cache.c: Likewise. + * elf/chroot_canon.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/readlib.c: Likewise. + * iconv/dummy-repertoire.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * locale/programs/3level.h: Likewise. + * locale/programs/charmap-dir.c: Likewise. + * locale/programs/charmap-dir.h: Likewise. + * locale/programs/charmap-kw.gperf: Likewise. + * locale/programs/charmap.c: Likewise. + * locale/programs/charmap.h: Likewise. + * locale/programs/config.h: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/linereader.h: Likewise. + * locale/programs/locale-spec.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/localedef.h: Likewise. + * locale/programs/locarchive.c: Likewise. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-token.h: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/repertoire.h: Likewise. + * locale/programs/simple-hash.c: Likewise. + * locale/programs/simple-hash.h: Likewise. + * locale/programs/xmalloc.c: Likewise. + * locale/programs/xstrdup.c: Likewise. + * malloc/memusagestat.c: Likewise. + * nscd/aicache.c: Likewise. + * nscd/cache.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/dbg_log.c: Likewise. + * nscd/gai.c: Likewise. + * nscd/getgrgid_r.c: Likewise. + * nscd/getgrnam_r.c: Likewise. + * nscd/gethstbyad_r.c: Likewise. + * nscd/gethstbynm2_r.c: Likewise. + * nscd/getpwnam_r.c: Likewise. + * nscd/getpwuid_r.c: Likewise. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/initgrcache.c: Likewise. + * nscd/mem.c: Likewise. + * nscd/nscd.c: Likewise. + * nscd/nscd_conf.c: Likewise. + * nscd/pwdcache.c: Likewise. + * posix/getconf.c: Likewise. + * sysdeps/generic/nscd_setup_thread.c: Likewise. + * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. -2008-06-25 Ulrich Drepper <drepper@redhat.com> + * sunrpc/auth_des.c (authdes_pk_create): If conversation key + cannot be created, free memory. + Reported by rprasad@vmware.com. - [BZ #6654] - * stdlib/canonicalize.c (__realpath): readlink can write too much - into the buffer on platforms without PATH_MAX. +2005-11-15 Mike Frysinger <vapier@gentoo.org> -2008-06-17 Carlos O'Donell <carlos@codesourcery.com> + * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor + protection and allow pthread.h to include bits/setjmp.h as well as + setjmp.h. + * sysdeps/m68k/bits/setjmp.h: Likewise. + * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h + are allow to include bits/setjmp.h. + * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs + cast of address. + * sysdeps/sh/bits/setjmp.h: Likewise. - [BZ #6653] - * posix/tst-regex.c (main): Rename to... - (do_test): ... this. Remove cmdline option processing. - (TIMEOUT): Define. - (TEST_FUNCTION): Define. - (CMDLINE_OPTIONS): Define. +2005-11-12 Jim Meyering <jim@meyering.net> -2008-06-25 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter + to be pointer to const. + * include/dirent.h: Update decl. - [BZ #5210] - * configure.in: Add -Werror to -fstack-protector test to catch - unsupported architectures. - Patch by Gilles Esponasse <g.esp@free.fr>. +2005-12-05 Roland McGrath <roland@redhat.com> -2008-06-17 Joseph Myers <joseph@codesourcery.com> + * hurd/hurdmalloc.c: Remove $ tag $ magic. + * mach/err_kern.sub: Likewise. + * mach/err_server.sub: Likewise. + * mach/err_us.sub: Likewise. + * mach/error_compat.c: Likewise. + * mach/errorlib.h: Likewise. + * mach/errstring.c: Likewise. + * mach/mach/error.h: Likewise. + * mach/mach_error.c: Likewise. + * mach/mach_error.h: Likewise. + * mach/msg-destroy.c: Likewise. + * mach/msgserver.c: Likewise. + * sysdeps/mach/sys/reboot.h: Likewise. - * stdlib/tst-setcontext.c: Set back_in_main before exit if - getcontext returns ENOSYS. + * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL. -2008-06-18 Ulrich Drepper <drepper@redhat.com> +2005-11-28 Jakub Jelinek <jakub@redhat.com> - * nscd/connections.c (main_loop_poll): Fix test for read error. - (main_loop_epoll): Likewise. + * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is + initialized. Reported by John Reiser <jreiser@BitWagon.com>. -2008-06-13 Ulrich Drepper <drepper@redhat.com> +2005-12-05 Daniel Jacobowitz <dan@codesourcery.com> - * sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a - better place so it is not called when nscd is used. + * stdlib/longlong.h: Update from GCC. - * nscd/connections.c: Also recognize and handle changes to the - resolver configuration file. +2005-12-04 Joseph S. Myers <joseph@codesourcery.com> -2008-06-12 Ulrich Drepper <drepper@redhat.com> + * soft-fp/soft-fp.h: Include <stdlib.h>. - * time/strftime.c: Pass reference to tzset_called around to handle - recursive calls. + * soft-fp/floatdisf.c (__floatdisf): Return float. - [BZ #6612] - * time/strftime.c (__strftime_internal): Call tzset() only - when printing timezone-dependent values. - Based on a patch by Petr Baudis <pasky@suse.cz>. +2005-12-05 Roland McGrath <roland@redhat.com> - * resolv/nss_dns/dns-host.c (gaih_getanswer): Don't - unconditionally use second gaih_getanswer_slice result. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later. - * sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test. - (getaddrinfo): RES must always be non-NULL. +2005-12-03 Ulrich Drepper <drepper@redhat.com> -2008-06-12 Jakub Jelinek <jakub@redhat.com> + * nis/nis_table.c (nis_list): Optimize freeing and reallocation of + result record. - * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using - cr[34] registers. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): + Better sized buffers. Correct error case handling. + * nis/nis_error.c (nis_sperror_r): Let snprintf determine whether + there is an overflow. + * nis/nss_nisplus/nisplus-service.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, remove + unnecessary variables, general cleanup. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise.. + * nis/nss_nisplus/nisplus-network.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, general cleanup. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): + Removed. + Fix locking to use _nss_create_tablename. Avoid unnecessary copying, + general cleanup. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): + Correctly construct request. + Fix locking to use _nss_create_tablename. Avoid unnecessary copying, + general cleanup. + * nis/nss_nisplus/nisplus-alias.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, general cleanup. + * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent): + Rewrite to use snprintf. + * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): Likewise. - * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3 - register. - -2008-06-12 Ulrich Drepper <drepper@redhat.com> - - * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache - fields. - * nscd/connections.c (inotify_fd): New variable. - (nscd_init): Try to open an inotify descriptor. - If successful, watch files for databases using inotify instead of - having prune threads stat the files. - (nscd_run_prune): Recognize clear_cache flag being set and call - prune_cache appropriately. - (main_loop_poll): Add inotify descriptor to wait set and handle the - reported changes. - (main_loop_epoll): Likewise. - * nscd/cache.c (prune_cache): Don't stat files for databases if - inotify is used. - * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] - (CFLAGS-connections.c): Add -DHAVE_INOTIFY. - - * nscd/grpcache.c (cache_addgr): Correctly compute size of - fixed-size portion of the record. - * nscd/servicescache.c (cache_addserv): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. - -2008-06-11 Ulrich Drepper <drepper@redhat.com> - - * nscd/mem.c (gc): Initialize obstack earlier so that if we jump - out we don't use uninitialized memory. - - * nscd/hstcache.c (cache_addhst): Send correct number of bytes to - the client. - -2008-06-10 Ulrich Drepper <drepper@redhat.com> - - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Also log and - ignore T_DNAME messages. - * resolv/arpa/nameser_compat.h (T_DNAME): Define. - -2008-06-05 Jakub Jelinek <jakub@redhat.com> - * misc/regexp.h (compile): Use __REPB_PREFIX macro. - Avoid segfault if first GETC returns eof/'\0'/'\n'. +2005-12-02 Ulrich Drepper <drepper@redhat.com> -2008-06-03 Jakub Jelinek <jakub@redhat.com> + * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): + Renamed from _nss_create_tablename. Export from file (but not DSO). + (pwd_tablename_val): Renamed from tablename_val, mark hidden. + (pwd_tablename_len): Renamed from tablename_len, mark hidden. + Change all users. + * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed. + Use _nss_pwd_create_tablename now. Use pwd_tablename_val and + pwd_tablename_len. Remove unnecessary variables, general cleanup. - * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp - instead of portstr to nscd_getserv_r. Patch by - Roman Kagan <rkagan@mail.ru>. + * nis/nss_nisplus/nisplus-pwd.c: Fix locking to use + _nss_create_tablename. Avoid unnecessary copying, remove + unnecessary variables, general cleanup. + * nis/nss_nisplus/nisplus-grp.c: Likewise. -2008-05-26 Jim Meyering <meyering@redhat.com> + * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat. + (static-only-routines): Add mknodat. + * io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat. + * io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat. + Define mknodat inline function. + * include/sys/stat.h: Add hidden proto for __xmknodat. + * sysdeps/generic/mkdirat.c: New file. + * sysdeps/generic/mkfifoat.c: New file. + * sysdeps/generic/mknodat.c: New file. + * sysdeps/generic/xmknodat.c: New file. + * sysdeps/unix/mkfifoat.c: New file. + * sysdeps/unix/sysv/linux/mkdirat.c: New file. + * sysdeps/unix/sysv/linux/xmknodat.c: New file. - Remove more useless "if" tests before "free". - * include/inline-hashtab.h (htab_delete): Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/freopen64.c (freopen64): Likewise. - * locale/programs/ld-collate.c (collate_read): Likewise. - * misc/fstab.c (libc_freeres_fn): Likewise. - * posix/glob.c (globfree): Likewise. + * sysdeps/generic/xmknod.c: Add one more parameter check. -2008-05-24 Ulrich Drepper <drepper@redhat.com> +2005-11-28 Andreas Jaeger <aj@suse.de> - * string/Makefile (strop-tests): Add memmem. - * string/test-memmem.c: New file. - * string/test-string.h (BUF1PAGES): Define to 1 if undefined. - (test_init): Size buf1 according to BUF1PAGES. + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added, + Patch by René Rebe <rene@exactcode.de>. -2008-05-24 Jakub Jelinek <jakub@redhat.com> +2005-11-27 Ulrich Drepper <drepper@redhat.com> - * libio/stdio.h (vscanf): Fix -std=c99 redirect. - * stdio-common/Makefile (tests): Add scanf16 and scanf17. - (CFLAGS-scanf17.c): New. - * stdio-common/scanf14.c (main): Add fscanf and scanf tests. - * stdio-common/scanf15.c (main): Likewise. - * stdio-common/scanf16.c: New file. - * stdio-common/scanf17.c: New file. + * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are + multiple return records but only one address. -2008-05-24 Ulrich Drepper <drepper@redhat.com> + * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication. - * resolv/res_send.c (send_dg): If we already have one of two - answers and the server reports SERVFAIL, NOTIMP, or REFUSED, then - use the one answer insted of failing. +2005-11-27 Roland McGrath <roland@redhat.com> -2008-02-20 Ryan S. Arnold <rsa@us.ibm.com> + * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h. + Reported by René Rebe <rene@exactcode.de>. - * math/libm-test.inc (exp_test): Exclude expl(1000.0L) from - being executed on PowerPC as the expected result exceeds IBM - long double 128 __LDBL_MAX__. +2005-11-27 Ulrich Drepper <drepper@redhat.com> -2008-05-21 Roland McGrath <roland@redhat.com> + * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache + euid and egid. - * shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines. + * nis/nis_table.c (nis_list): Add more free calls in error cases. - * Makefile (check-data): Use $(abi-name) before other guesses. - Look in $(add-ons) dirs before scripts/data/. - * elf/Makefile (check-data): Likewise. +2005-11-26 Richard Henderson <rth@redhat.com> - * scripts/soversions.awk: Grok ABI line. - * Makeconfig ($(common-objpfx)soversions.mk): Likewise. - Emit definition for abi-name variable. + * sysdeps/alpha/strncmp.S: Don't read too much data when pointers + are co-aligned, and count is aligned with the end of the word. -2008-05-21 Ulrich Drepper <drepper@redhat.com> +2005-11-26 Ulrich Drepper <drepper@redhat.com> - * string/endian.h: Define new fixed-size hto* and *toh macros only - if [__USE_BSD]. + * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty + printing. - * iconvdata/Depend: Add localedata. + * nis/nis_table.c (__create_ib_request): Use strdupa instead of + variable size array. + (RPCTIMEOUT): Mark as const. -2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org> + * nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand. + (ypdomainname): Renamed from __ypdomainname. No need for initializer. + (ypbindlist): Renamed from __ypbindlist. + (do_ypcall): Check memory allocation suceeded before calling + yp_bind_ypbindprog. + (yperr_string): Reduce size of function by using only one gettext call. + (ypbinderr_string): Likewise. + (yp_match): Free response in case memory for return value cannot be + allocated. + (yp_first): Likewise. + (yp_next): Likewise. + (do_ypcall_tr): New function which translates error codes as well. + (yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it. + (yp_all): Correct test for invalid parameter. + Pretty printing. + (RPCTIMEOUT, UDPTIMEOUT): Mark as const. - * bits/termios.h (ONLCR): Define under [__USE_XOPEN] too. +2005-11-25 Richard Henderson <rth@redhat.com> -2008-05-08 David S. Miller <davem@davemloft.net> + * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo. + (__fxstatat64): Alias from __fxstatat; remove other cnp errors. + * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h + and stddef.h. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define. - * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use - HIDDEN_JUMPTARGET. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (__SYSCALL_CLOBBERS): Remove %g* registers. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (__SYSCALL_CLOBBERS): Likewise. - * scripts/data/localplt-sparc-linux-gnu.data: New file. - * scripts/data/localplt-sparc64-linux-gnu.data: New file. +2005-11-25 Ulrich Drepper <drepper@redhat.com> -2008-05-21 Jakub Jelinek <jakub@redhat.com> + * Makeconfig (+cflags): Add -fmerge-all-constants by default. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h - (CALL_ERRNO_LOCATION): Define. - (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. - * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h - (CALL_ERRNO_LOCATION): Define. - (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. - * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use - HIDDEN_JUMPTARGET for __errno_location call in libc.so. + [BZ #1912] + * nss/function.def: Add entry to use gethostbyname2 for files. -2008-05-20 Ulrich Drepper <drepper@redhat.com> +2005-11-25 Thorsten Kukuk <kukuk@suse.de> - * include/inline-hashtab.h (higher_prime_number): Fix type of mid - variable. + * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h. -2008-05-20 Jakub Jelinek <jakub@redhat.com> +2005-11-25 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h - (FIRST_FRAME_POINTER): Define. + [BZ #1926] + * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change + return value type to match expected type. -2008-05-09 David S. Miller <davem@davemloft.net> + [BZ #1925] + * nis/ypclnt.c (yp_order): Correct test for invalid parameter. - * sysdeps/sparc/sparc64/backtrace.c: New file. +2005-11-24 Ulrich Drepper <drepper@redhat.com> -2008-05-14 David S. Miller <davem@davemloft.net> + * scripts/check-c++-types.sh: Improve comments. - * sysdeps/sparc/machine-gmon.h: New file. - * sysdeps/sparc/sparc-mcount.S: Likewise. - * sysdeps/sparc/Makefile: Add sparc-mcount target to - sysdep_routines in gmon directory. + * scripts/check-local-headers.sh: New file. + * Makefile (tests): Run check-local-headers.sh. -2008-05-19 Jakub Jelinek <jakub@redhat.com> +2005-11-23 Thorsten Kukuk <kukuk@suse.de> - * elf/soinit.c (__EH_FRAME_BEGIN__): Remove. + * include/sys/sendfile.h: New file. -2008-05-19 Ulrich Drepper <drepper@redhat.com> +2005-11-24 Andreas Schwab <schwab@suse.de> - * resolv/res_query.c (__libc_res_nquery): In case one of two - answer was too short don't try to read that answer's header. + * time/sys/time.h: Remove nonnull attribute from futimesat. - * resolv/res_send.c (send_dg): In case of timeout and there are - two queries and one has been answered, return value indicating - success. +2005-11-22 Ulrich Drepper <drepper@redhat.com> -2008-05-18 Ulrich Drepper <drepper@redhat.com> - - * nscd/cache.c (cache_add): Take additional parameter specifying - whether this is in response of a cache refill. Check alignment - of package data. Revamp waking of pruning thread. - (prune_cache): Small optimization. - * nscd/nscd.h: Adjust cache_add prototypes. - * nscd/aicache.c: Adjust cache_add calls. + * nscd/connections.c (sendfileall): Define. + (handle_request): Use it instead of sendfile call. + * nscd/nscd-client.h: Declare sendfileall. + * nscd/aicache.c: Use sendfileall instead of sendfile. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/pwdcache.c: Likewise. - * nscd/servicescache.c: Likewise. - * nscd/connections.c (restart): Really disable cache use before - exec attempt. If it fails, reenable cache. - (nscd_run_prune): Initialize wakeup_time. After wakeup, set wakeup - time to max to be able to notice concurrent cache additions. Unlock - prune_lock while performing gc. Afterwards compute wakeup time with - current wakeup_time value in mind. - -2008-05-17 Ulrich Drepper <drepper@redhat.com> - - * nscd/mem.c (gc): Avoid stack overflow when allocating move list. - - * nscd/mem.c (gc): Correctly determine highest used array element - in mark. - - * nscd/mem.c (markrange): Add assert to check entries are all - aligned. Small cleanup in bitmap use. - - * nscd/nscd.h (mem_in_flight): Replace blockaddr field with - blockoff of type nscd_ssize_t. - * nscd/mem.c (gc): Simplify markrange call for on-flight blocks. - (mempoll_alloc): Record block offset and not address. - - * nscd/mem.c (gc): Fix test for stack overuse. - - * nscd/aicache.c (addhstaiX): Fix a few small problems, cleanups, - more asserts. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): If nscd reports no - entry is available, believe it. - - * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): If there are - no answers return NSS_STATUS_NOTFOUND. - (gaih_getanswer): Don't call gaih_getanswer_slice if the answer - buffer does not have any content. - -2008-05-16 Ulrich Drepper <drepper@redhat.com> - - * string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp. - * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r - lookup, don't assign canon unconditionally. + [BZ #1908] + * manual/install.texi (Tools for Compilation): Require gawk. -2008-05-14 Ulrich Drepper <drepper@redhat.com> +2005-11-22 Jakub Jelinek <jakub@redhat.com> - * string/Makefile (distribute): Add str-two-way.h. + * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove + unused is_static field from slotinfo array. -2008-03-29 Eric Blake <ebb9@byu.net> +2005-11-21 Jakub Jelinek <jakub@redhat.com> - Rewrite string searches to O(n) rather than O(n^2). - * string/str-two-way.h: New file. For linear fixed-allocation - string searching. - * string/memmem.c: New implementation. - * string/strstr.c: New implementation. - * string/strcasestr.c: New implementation. - -2008-04-11 Paolo Bonzini <bonzini@gnu.org> - - * posix/regcomp.c (optimize_utf8): Add a note on why we test - opr.ctx_type. - (calc_first): Initialize constraint field. - (duplicate_node_closure): Use it instead of special casing ANCHORS. - Use search_duplicated_node to avoid loops. Fix grammar. - (duplicate_node): Merge constraint field for all node types. - (calc_eclosure_iter): Look at constraint field for all node types. - * posix/regex_internal.c (create_cd_newstate): Don't look at - create_cd_newstate. - -2008-05-14 Ulrich Drepper <drepper@redhat.com> - - [BZ #6428] - * configure.in: Don't use $CFLAGS when assembling, use $ASFLAGS. - - [BZ #6442] - * string/endian.h: Add macros for fixed-size endian conversion. - * bits/byteswap.h: Allow inclusion from <endian.h>. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/ia64/bits/byteswap.h: Likewise. - * sysdeps/s390/bits/byteswap.h: Likewise. - * sysdeps/x86_64/bits/byteswap.h: Likewise. - * string/Makefile (tests): Add tst-endian. - * string/tst-endian.c: New file. - - * iconvdata/run-iconv-test.sh: Use = instead of == in test. - Patch by Reuben Thomas. - -2008-05-14 Joseph Myers <joseph@codesourcery.com> - - * iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define. - -2008-05-14 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale. + * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport + in the loop if port is bigger than endport, initially set to + ENDPORT. When changing startport, set endport and port + appropriately. - [BZ #6461] - * iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): - Add missing braces. - (BODY for __gconv_transform_internal_ascii): Likewise. +2005-11-21 Ulrich Drepper <drepper@redhat.com> - [BZ #6472] - * sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have - to be treated like link-local addresses. - (match_prefix): Don't treat IPv4 loopback address special when - converting to v4 mapped addressed. + * Makefile.in: Remove RCS ID line. + * config-name.in: Likewise. + * config.make.in: Likewise. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/malloc.c: Likewise. + * manual/dir: Likewise. + * math/math_private.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * scripts/mkinstalldirs: Likewise. + * sunrpc/rpc_clntout.c: Likewise. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_sample.c: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_tblout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sysdeps/unix/sysv/linux/sys/quote.h: Likewise. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init - if necessary. - * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init. - * posix/tst-rfc3484-2.c: Likewise. - * posix/tst-rfc3484-3.c: Likewise. - - * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite, - and SCTP. - - * nss/getent.c (ahosts_keys_int): Handle all known socket types. - - * inet/netinet/in.h (IPPIPPROTO_DCCP, IPPROTO_UDPLITE): Define. - - * sysdeps/unix/sysv/linux/bits/socket.h (SOCK_DCCP): Define. - -2008-05-13 Ulrich Drepper <drepper@redhat.com> - - * po/lt.po: New file. From Lituanian translation team. - -2008-01-30 Alexandre Oliva <aoliva@redhat.com> - - Introduce TLS descriptors for i386 and x86_64. - * include/inline-hashtab.h: New file, copied from 2005's - libiberty, with fix for memory leak imported afterwards by - Glauber de Oliveira Costa. - * elf/tlsdeschtab.h: New file. - * elf/dl-reloc.c (_dl_try_allocate_static_tls): Extract from... - (_dl_allocate_static_tls): ... here. Rearrange failure path. - (CHECK_STATIC_TLS): Move to... - * elf/dynamic-link.h: ... this file. - (TRY_STATIC_TLS): New macro. - * elf/dl-conflict.c (CHECK_STATIC_TLS, TRY_STATIC_TLS): Override. - * elf/elf.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, - R_386_TLS_DESC): Define. - (R_X86_64_PC64, R_X86_GOTOFF64, R_X86_64_GOTPC32): Merge from - binutils. - (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL, - R_X86_64_TLSDESC): Define. - (R_386_NUM, R_X86_64_NUM): Adjust. - * sysdeps/i386/Makefile (sysdep-dl-routines, sysdep_routines, - sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. - (gen-as-const-headers): Add tlsdesc.sym to csu subdir. - * sysdeps/i386/dl-lookupcfg.h: New file. Introduce _dl_unmap to - release tlsdesc_table. - * sysdeps/i386/dl-machine.h: Include dl-tlsdesc.h. - (elf_machine_type_class): Mark R_386_TLS_DESC as PLT class. - (elf_machine_rel): Handle R_386_TLS_DESC. - (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - (elf_machine_lazy_rela): Likewise. - * sysdeps/i386/dl-tls.h (struct dl_tls_index): Name it. - * sysdeps/i386/dl-tlsdesc.S: New file. - * sysdeps/i386/dl-tlsdesc.h: New file. - * sysdeps/i386/tlsdesc.c: New file. - * sysdeps/i386/tlsdesc.sym: New file. - * sysdeps/i386/bits/linkmap.h (struct link_map_machine): Add - tlsdesc_table. - * sysdeps/x86_64/Makefile (sysdep-dl-routines, sysdep_routines, - sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. - (gen-as-const-headers): Add tlsdesc.sym to csu subdir. - * sysdeps/x86_64/dl-lookupcfg.h: New file. Introduce _dl_unmap to - release tlsdesc_table. - * sysdeps/x86_64/dl-machine.h: Include dl-tlsdesc.h. - (elf_machine_runtime_setup): Set up lazy TLSDESC GOT entry. - (elf_machine_type_class): Mark R_X86_64_TLSDESC as PLT class. - (elf_machine_rel): Handle R_X86_64_TLSDESC. - (elf_machine_rela): Likewise. - (elf_machine_lazy_rel): Likewise. - * sysdeps/x86_64/dl-tls.h (struct dl_tls_index): Name it. - (__tls_get_addr): Do not declare for non-shared compiles. - * sysdeps/x86_64/dl-tlsdesc.S: New file. - * sysdeps/x86_64/dl-tlsdesc.h: New file. - * sysdeps/x86_64/tlsdesc.c: New file. - * sysdeps/x86_64/tlsdesc.sym: New file. - * sysdeps/x86_64/bits/linkmap.h (struct link_map_machine): Add - tlsdesc_table for both 32- and 64-bit structs. + * nscd/nscd_helper.c: Pretty printing. -2008-05-11 Ulrich Drepper <drepper@redhat.com> +2005-11-19 Roland McGrath <roland@redhat.com> - * elf/dl-tls.c (__tls_get_addr): Optimize by moving slow path in - its own function. This reduces the frame setup costs and more. + * elf/elf.h: Revert last change. -2008-02-11 Joseph Myers <joseph@codesourcery.com> +2005-11-19 Jakub Jelinek <jakub@redhat.com> - [BZ #3406] - * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. - * math/libm-test.inc (exp_test): Test 88.72269439697265625. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type. + (struct shmid_ds): Use it for shm_nattch field. -2008-05-11 Ulrich Drepper <drepper@redhat.com> +2005-11-18 Jakub Jelinek <jakub@redhat.com> - * io/openat.c (__openat_2): Also pass fd to __openat. - * io/openat64.c (__openat64_2): Also pass fd to __openat64. - Patch by Kristian Van Der Vliet <vanders@liqwyd.com>. + * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL, + set access and modification times of the file referenced by FD. + * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if + FILE is NULL. Don't check FD if FILE is absolute path. - * string/tester.c (test_memcmp): Add a few more tests. - Patch by Mats Erik Andersson <ynglingatal@comhem.se>. +2005-11-19 Ulrich Drepper <drepper@redhat.com> -2008-05-10 Ulrich Drepper <drepper@redhat.com> + * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call + if there are no aliases. - * nscd/cache.c (cache_add): Before returning with failure and this - is the first use of the record, mark it as unusable. - * nscd/aicache.c: Don't touch the dataset after cache_add returns - reporting a failure. - * nscd/grpcache.c: Likewise + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c, + CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c, + CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE): + Define. + * nscd/pwdcache.c [HAVE_SENDFILE]: Include <sys/sendfile.h> and + <kernel-features.h>. + [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive + result. + * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. + * nscd/aicache.c: Likewise. * nscd/initgrcache.c: Likewise. - * nscd/pwdcache.c: Likewise. - * nscd/servicescache.c: Likewise. - -2008-05-10 Roland McGrath <roland@redhat.com> - - [BZ #6505] - * sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub. - -2008-05-08 David S. Miller <davem@davemloft.net> - - * misc/truncate64.c (truncate64): Use __truncate not truncate. - - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel. - (__ieee754_y0l): Likewise. - * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. - (__ieee754_y1l): Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for - frexpl and ldexpl. math_private.h provides them and the latter - is not even used. - (__log1pl): Use __frexpl. - -2008-05-10 Ulrich Drepper <drepper@redhat.com> - - * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend - prototypes. - * include/arpa/nameser_compat.h: Define T_UNSPEC. - * nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r. - (libnss_nisplus): Export _nss_nisplus_gethostbyname4_r. - * nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle - af==AF_UNSPEC. - (_nss_nis_gethostbyname4_r): New function. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): - Change to also handle af==AF_UNSPEC. - (get_tablename): New function. Use it to avoid duplication. - (_nss_nisplus_gethostbyname4_r): New function. - * nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is - available. - * nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r. - * nss/nss.h: Define struct gaih_addrtuple. - * nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle - af==AF_UNSPEC. - (_nss_files_gethostbyname4_r): New function. - * resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r. - * resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery - calls. - * resolv/res_query.c (__libc_res_nquery): Take two additional - parameters for second answer buffer. Handle type=T_UNSPEC to mean - look up IPv4 and IPv6. - Change all callers. - * resolv/res_send.c (__libc_res_nsend): Take five aditional parameters - for an additional query and answer buffer. Pass to send_vc and - send_dg. - (send_vc): Send possibly two requests and receive two answers. - (send_dg): Likewise. - * resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and - __libc_res_nquery. - (_nss_dns_gethostbyname4_r): New function. - (gaih_getanswer_slice): Likewise. - (gaih_getanswer): Likewise. - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust - __libc_res_nquery call. - * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. - (_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call. - * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is - available. - -2008-05-05 David S. Miller <davem@davemloft.net> - - * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build. - * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build. - -2007-09-14 Samuel Thibault <samuel.thibault@ens-lyon.org> - - Fix termios bit macros. - Move *DLY definitions where they belong, in termios.h. - Add *[0-3] definitions. - Fixes confusion between VT and FF. - * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, - CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they - are already defined to avoid collision with termios.h. - (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. - * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, - TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. - [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. - [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, - TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, - VTDLY, VT0, VT1): New macros. - [__USE_GNU] (OLCUC): Change value of macro. - [__USE_XOPEN] (OFILL): New macro. - [__USE_BSD] (CRTSCTS): Change value. - (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. - [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. - (B7200, B14400, B28800, B76800): New macros. - -2008-05-01 David S. Miller <davem@davemloft.net> - - * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: - (gen-as-const-headers): Add it. - * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise. - - * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for - six system call parameters. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. - -2008-04-30 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/resource.h: Define RUSAGE_THREAD and - RUSAGE_LWP. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. - -2008-04-30 Jakub Jelinek <jakub@redhat.com> - - * stdlib/tst-setcontext.c: Include unistd.h. - -2008-04-25 David S. Miller <davem@davemloft.net> - - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): - Pass "union semun" properly in to sys_ipc, it must be passed - by value, not by reference. - -2008-04-22 Jakub Jelinek <jakub@redhat.com> - - * nscd/Makefile (nscd-cflags): Set back to -fpie. - * nscd/nscd.h (mem_in_flight): Add attribute_tls_model_ie. - * nscd/connections.c (mem_in_flight): Likewise. - - * nscd/nscd.h (dbs): Make hidden. + * nscd/connectionc.c: Likewise. - * sysdeps/unix/sysv/linux/times.c (__times): Fix check for EFAULT. - Avoid returning -1, return 0 instead. +2005-11-18 Andreas Schwab <schwab@suse.de> -2008-04-19 Ulrich Drepper <drepper@redhat.com> + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias. - * resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle + NO_WEAK_ALIAS. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. -2008-04-15 Ulrich Drepper <drepper@redhat.com> +2005-11-18 Paul Brook <paul@codesourcery.com> - [BZ #5209] - * sysdeps/unix/sysv/linux/times.c: New file. + * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro. - [BZ #5381] - * nscd/nscd.h: Define enum in_flight, mem_in_flight, and - mem_in_flight_list variables. Add new parameter to mempool_alloc - prototype. - * nscd/mem.c (mempool_alloc): Take additional parameter. Initialize - appropriate mem_in_flight element. - (gc): Take allocations which have not yet been committed to the - database into account. - * nscd/cache.c (cache_add): Add new parameter to mempool_alloc call. - Reset mem_in_flight before returning. - * nscd/connections.c (nscd_run_worker): Initialize mem_in_flight and - cue it up in mem_in_flight_list. - * nscd/aicache.c: Adjust mempool_alloc call. - * nscd/grpcache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/initgrcache.c: Likewise. + * nscd/grpcache.c: Include <sys/socket.h>. + * nscd/nscd_stat.c: Likewise. * nscd/pwdcache.c: Likewise. - * nscd/servicescache.c: Likewise. - * nscd/Makefile (nscd-flags): Until ld is fixed, use -fpic instead - of -fpie. + * sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>. + +2005-11-17 Ulrich Drepper <drepper@redhat.com> - * nscd/connections.c (handle_request): Provide better error message - in case SELinux forbids the service. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE. + * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * version.h (VERSION): Bump to 2.8.90. +2005-11-17 Steven Munroe <sjmunroe@us.ibm.com> -2008-04-17 Jakub Jelinek <jakub@redhat.com> + [BZ #1877] + * string/test-strncmp.c (do_test_limit): Handle zero length and + non-zero align values. + (test_main): Correct do_test_limit tests for 64-bit. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. +2005-11-15 Steven Munroe <sjmunroe@us.ibm.com> -2008-04-11 Ulrich Drepper <drepper@redhat.com> + * sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE, + PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE, + PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5, + PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970): + Define to match 2.6.15 kernel. - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): - Also use for 32-bit. - * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use - __nextafter instead of nextafter to avoid local PLT. - * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept. + * sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include. * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise. - * scripts/data/localplt-powerpc64-linux-gnu.data: New file. - - * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for - __fe_nomask_env. - * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. Include - <fenv_libc.h> instead of <fenv.h>. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. - - * sysdeps/powerpc/bits/fenv.h: Make safe for C++. - - * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. - * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename - function from fegetexcept and make old name weak alias. - * include/fenv.h: Declare __fegetexcept. - * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of - fegetexcept. - * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. - * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call - to fetestexcept. - * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl - instead of frexpl to avoid local PLT. - * math/s_significandl.c (__significandl): Use __ilogbl instead of - ilogbl to avoid local PLT. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl - instead of ldexpl to avoid local PLT. - * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use - __roundl not roundl to avoid local PLT. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid - local PLTs. Use __sincosl instead of separate sinl and cosl - calls. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - - * sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel - version for ppc64 to 2.4.21 since without it makecontext will fail. - - * elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according - to the ABI in use. - [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of - .__tls_get_addr. - [__powerpc64__] (TLS_GD): Likewise. - -2007-11-20 Ryan S. Arnold <rsa@us.ibm.com> - - [BZ #4997] - * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous - result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the - mantissa. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): - Likewise. Also account for when x is an odd number between 2^52 - and 2^53-1. - * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. - * math/libm-test.inc (lround_test, llround_test): Added test cases to - detect aforementioned erroneous conditions. - -2008-04-11 Jakub Jelinek <jakub@redhat.com> - - * configure.in: Check for -fno-section-anchors in addition to - -fno-toplevel-reorder. - -2008-04-11 Ulrich Drepper <drepper@redhat.com> - - * include/features.h (__GLIBC_MINOR__): Bump to 8. - - * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise. - * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise. - -2008-04-11 Jakub Jelinek <jakub@redhat.com> - - [BZ #5443] - * time/era.c: Transform __libc_setlocale_lock into rwlock. - * time/alt_digit.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - -2008-04-10 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump to 2.8. - - * timzeone/asia: Update from tzdata2008b. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/leapseconds: Likewise. - * timezone/zone.tab: Likewise. - * timezone/private.h: Update from tzcode2008a. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. +2005-11-17 Roland McGrath <roland@redhat.com> -2008-01-24 Steven Munroe <sjmunroe@us.ibm.com> + * elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30. - [BZ #5741] - * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF): - Define additonal Data Cache Block instruction macros. - (elf_machine_fixup_plt): Add dcbt for opd and plt entries. - Replace dcbst with dcbf and sync with sync/isync. +2005-11-17 Jakub Jelinek <jakub@redhat.com> -2008-02-21 Alan Modra <amodra@bigpond.net.au> + * io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined, + define fstatat to fstatat64. - * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): - Always set ELF_RTYPE_CLASS_PLT. - (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete. +2005-11-17 Steven Munroe <sjmunroe@us.ibm.com> -2008-04-03 Steven Munroe <sjmunroe@us.ibm.com> + [BZ #1877] + * string/test-strncmp.c (do_test_limit): New function. + (do_test) Add cast to eliminate compiler warnings. + (do_random_tests) Add cast to eliminate compiler warnings. + (test_main) Add do_test_limit tests. + * sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned + load. + * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. - * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file. - * sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file. - * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW): - For ISA 2.01 and later replace mftb with mfspr 268. +2005-11-17 Ulrich Drepper <drepper@redhat.com> -2008-02-19 Steven Munroe <sjmunroe@us.ibm.com> + * include/resolv.h: Include <stdbool.h>. + Patch by Paul Brook. - [BZ #5768] - * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan. - * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file. + * io/sys/stat.h: Use __const not const in fstatat prototypes. -2008-02-18 Steven Munroe <sjmunroe@us.ibm.com> +2005-11-08 H.J. Lu <hongjiu.lu@intel.com> - [BZ #5768] - * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed. + * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to + -Din_divdi3_c. + * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined. -2008-04-10 Jakub Jelinek <jakub@redhat.com> +2005-11-16 Jakub Jelinek <jakub@redhat.com> - * stdlib/tst-makecontext.c (othervar): New variable. - (cf): Test sign extending the argument to long. + * sysdeps/unix/sysv/linux/fchownat.c: Include string.h. + * sysdeps/unix/sysv/linux/futimesat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/renameat.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. + * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. -2008-03-03 Steven Munroe <sjmunroe@us.ibm.com> +2005-11-16 Ulrich Drepper <drepper@redhat.com> + + * iconvdata/Makefile (modules): Add ISO_11548-1. + (distribute): Add iso_11548-1.c. + * iconvdata/gconv-modules: Add entries for ISO 11548-1. + * iconvdata/TESTS: Add entry for ISO 11548-1. + + [BZ 1872] + * iconvdata/iso_11548-1.c: New file. + * iconvdata/testdata/ISO_11548-1: New file. + * iconvdata/testdata/ISO_11548-1..UTF8: New file. + Patch by Samuel Thibault <samuel.thibault@ens-lyon.org>. + +2005-11-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &. + +2005-11-15 Ulrich Drepper <drepper@redhat.com> + + [BZ 1865] + * inet/netinet/icmp6.h: More updates for RFC3542. + * inet/netinet/ip6.h: Likewise. + * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources. + Patch by David L Stevens <dlstevens@us.ibm.com>. + + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat): + Return -1 on failure. + * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.. + * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL] + (__fxstatat64): Handle errors. + + * io/sys/poll.h: Add comment explaining poll is a cancellation point. + + * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align with + poll, make cancelable. + * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining + epoll_wait is a cancellation point. + +2005-11-15 Jakub Jelinek <jakub@redhat.com> + + * io/sys/stat.h (fstatat): Don't use __THROW together with + __REDIRECT_NTH. + +2005-11-14 Ulrich Drepper <drepper@redhat.com> + + * elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition. + * sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here. + +2005-11-11 Ulrich Drepper <drepper@redhat.com> + + * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, + fchownat, and unlinkat. + (static-only-routines): Add fstatat and fstatat64. + (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat, + and tst-fchownat. + * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64, + and unlinkat. + * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR. + * io/fstatat.c: New file. + * io/fstatat64.c: New file. + * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64 + and define fstatat and fstatat64 inline functions. + * libio/stdio.h: Declare renameat. + * misc/Makefile (routines): Add futimesat. + * misc/Versions [GLIBC_2.4]: Add futimesat. + * posix/unistd.h: Declare fchownat and unlinkat. + * stdio-common/Makefile (routines): Add renameat. + * stdio-common/Versions [GLIBC_2.4]: Add renameat. + * sysdeps/generic/fchownat.c: New file. + * sysdeps/generic/futimesat.c: New file. + * sysdeps/generic/fxstatat.c: New file. + * sysdeps/generic/fxstatat64.c: New file. + * sysdeps/generic/renameat.c: New file. + * sysdeps/generic/unlinkat.c: New file. + * sysdeps/unix/sysv/linux/fchownat.c: New file. + * sysdeps/unix/sysv/linux/futimesat.c: New file. + * sysdeps/unix/sysv/linux/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/fxstatat64.c: New file. + * sysdeps/unix/sysv/linux/renameat.c: New file. + * sysdeps/unix/sysv/linux/unlinkat.c: New file. + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/i386/fchownat.c: New file. + * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file. + * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/sh/fchownat.c: New file. + * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file. + * time/sys/time.h: Declare futimesat. + * include/fcntl.h: Declare __atfct_seterrno. + * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function. + Split out from openat code and called. + (do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD. + * sysdeps/generic/openat.c: Handle AT_FDCWD. + * sysdeps/generic/openat64.c: Likewise. + * io/tst-unlinkat.c: New file. + * io/tst-fstatat.c: New file. + * io/tst-futimesat.c: New file. + * io/tst-renameat.c: New file. + * io/tst-fchownat.c: New file. + * io/tst-openat.c: Don't fail if openat is not implemented. + + * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward + compatibility code if new kernel is guaranteed. + + * time/sys/time.h: Add a few nonnull attributes. + +2005-11-09 Ulrich Drepper <drepper@redhat.com> + + * io/fcntl.h: Declare openat and openat64. + * io/Makefile (routines): Add openat and openat64. + (tests): Add tst-openat. + * io/Versions: Add openat and openat64 for GLIBC_2.4. + * sysdeps/generic/openat.c: New file. + * sysdeps/generic/openat64.c: New file. + * sysdeps/unix/sysv/linux/openat.c: New file. + * sysdeps/unix/sysv/linux/openat64.c: New file. + * io/tst-openat.c: New file. + + * sysdeps/generic/check_fds.c (check_one_fd): For writable + descriptors, use /dev/full. + (__libc_check_standard_fds): Reverse modes so that common operations on + the descriptors fail. + * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full. + +2005-11-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * elf/elf.h (R_M32R_REL32): New macro. + +2005-11-05 Marcus Brinkmann <marcus@gnu.org> + + * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro. + (S_ISPARE): Unset the S_IMMAP0 flag. + +2005-11-07 Roland McGrath <roland@redhat.com> + + * configure.in: Grok --with-cpu=CPU option. If given, search for + sysdeps/.../machine/CPU subdirs, and give error if none are found. + * configure: Regenerated. + * config.make.in (with-cpu): New substituted variable. + * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set. + + * malloc/malloc.c (munmap_chunk): Suppress warnings from last change. + + * sysdeps/unix/bsd/sun: Directory and all subdirectories removed, + saved in ports repository. + * sysdeps/unix/sysv/linux/tcflush.c: Rewritten. + * sysdeps/unix/sysv/linux/tcflow.c: Rewritten. + +2005-11-06 Ulrich Drepper <drepper@redhat.com> + + * malloc/malloc.c (munmap_chunk): Add sanity checks. + + * sysdeps/pthread/configure: Fix comment. + +2005-11-05 Ulrich Drepper <drepper@redhat.com> + + * configure.in: Remove gnu_as definition and everything using it. + * config.make.in: Remove gnu-as. + * config.h.in: Remove HAVE_GNU_AS. + + * configure.in: Remove gnu_ld definition and everything using it. + * config.h.in: Remove HAVE_GNU_LD. + * config.make.in: Remove gnu-ld. + * csu/Makefile: Remove use of gnu-ld. + * csu/munch.awk: Removed. + * csu/munch-tmpl.c: Removed. + * include/libc-symbols.h: Remove use of HAVE_GNU_LD. + * posix/execl.c: Likewise. + * posix/execv.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdlib/exit.c: Likewise. + * string/strsignal.c: Likewise. + * string/tester.c: Likewise. + * sysdeps/generic/errlist.c: Likewise. + * sysdeps/generic/getenv.c: Likewise. + * sysdeps/generic/getgroups.c: Likewise. + * sysdeps/generic/init-posix.c: Likewise. + * sysdeps/posix/gettimeofday.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/unix/bsd/init-posix.c: Likewise. + * sysdeps/unix/bsd/ulimit.c: Likewise. + * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/i386/brk.S: Likewise. + * sysdeps/unix/sparc/brk.S: Likewise. + + * configure.in: Remove test for support for subtracting local labels. + * config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS. + * stdio-common/vfprintf.c: Remove test of + HAVE_SUBTRACT_LOCAL_LABELS. + + * configure.in: If init_array/fini_array support is not available, + bail out. + * config.h.in: Remove trace of optional init_array/fini_array support. + * config.make.in: Likewise. + * csu/elf-init.c: Likewise. + * dlfcn/dlfcn.c: Likewise. + * elf/soinit.c: Likewise. + * sysdeps/ia64/elf/initfinit.c: Likewise. - * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file. - * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file. +2005-11-04 Roland McGrath <roland@redhat.com> -2008-02-22 Alan Modra <amodra@bigpond.net.au> + * sysdeps/i386/configure.in (libc_mtune_example): Variable removed. + * sysdeps/i386/configure: Regenerated. - * elf/Makefile (tests): Substitute tests-vis-yes here. - (tests-vis-yes): Delete. - (modules-name, modules-vis-yes): Similarly. + [BZ #1089] + * configure.in: Change order of add-on sysdeps directories, + so they are interleaved with main sysdeps directories. + * configure: Regenerated. -2008-02-12 Pete Eberlein <eberlein@us.ibm.com> +2005-11-03 Roland McGrath <roland@redhat.com> - [BZ #4407] - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): - Preserve sign in signgamp when x is zero. + * NEWS: Synch with 2.3 branch updates. -2007-10-26 Steven Munroe <sjmunroe@us.ibm.com> +2005-11-03 Ulrich Drepper <drepper@redhat.com> - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File. - * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File. + * sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test. -2008-04-09 Ulrich Drepper <drepper@redhat.com> +2005-11-03 Roland McGrath <roland@redhat.com> - [BZ #4314] - * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned - buffers. + [BZ #1548] + * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask, + make sure constant is long. + From Jay Lan <jlan@engr.sgi.com>. - [BZ #5209] - * sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have - a reserved error value. +2005-11-03 Ulrich Drepper <drepper@redhat.com> - * stdlib/tst-makecontext.c: Change parameter to cf to negative - value to check for correct sign extension. + [BZ #1774] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple + gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set. - [BZ #5436] - * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): - Copy 64-bit parameter values even though this is not required in - the standard. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible + while looking for scope delimiter. + Some pretty printing. - * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return - PC save. +2005-10-31 Steven Munroe <sjmunroe@us.ibm.com> -2008-02-14 Daniel Jacobowitz <dan@codesourcery.com> + * sysdeps/powerpc/powerpc64/Makefile + (sysdep_routines, elide-routines.os): Add hp-timing. + * sysdeps/powerpc/powerpc64/hp-timing.c: New file. + * sysdeps/powerpc/powerpc64/hp-timing.h: New file. + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file. - * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return - PC save. +2005-10-31 Ulrich Drepper <drepper@redhat.com> -2008-04-09 Jakub Jelinek <jakub@redhat.com> + * resolv/res_init.c (__res_iclose): New function. Broken out of + res_nclose. Take addition parameter which determines whether + addresses should be freed. + (res_nclose): Call __res_iclose. + (res_thread_freeres): Likewise. + * resolv/res_data.c (res_close): Call __res_iclose. + * resolv/res_libc.c (res_init): No need to separately free the + addresses. + (__res_maybe_init): Likewise. + * resolv/res_send.c: Use __res_iclose instead of res_nclose. + * resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose. + * include/resolv.h: Declare __res_iclose. + Add libc_hidden_proto for __res_iclose. + * hesiod/hesiod.c (__hesiod_res_set): No need to free name server + addresses here again. - * nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno. + [BZ #1579] + * debug/execinfo.h: Change backtrace_symbols_fd comment. -2008-04-09 Ulrich Drepper <drepper@redhat.com> +2005-10-24 H.J. Lu <hongjiu.lu@intel.com> - [BZ #5998] - * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing - in line-buffered stream failed. - * libio/iofwrite_u.c (fwrite_unlocked): Likewise. + * sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__" + prefix to LOCAL_LIBM_ENTRY. + (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END. -2008-04-08 Ulrich Drepper <drepper@redhat.com> +2005-10-26 Jakub Jelinek <jakub@redhat.com> - [BZ #6024] - * scripts/abi-versions.awk: If the version specified by - --enable-oldest-abi is older than the first version for this - architecture, use the default version. + * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf + instead of _dl_printf to print conflict processing debug message. + Reported by John Reiser <jreiser@BitWagon.com>. - * locale/programs/ld-collate.c (collate_read): Ignore script lines - as well when ignoring the whole category. +2005-10-30 Ulrich Drepper <drepper@redhat.com> -2008-04-07 Ulrich Drepper <drepper@redhat.com> + * misc/hsearch_r.c (hsearch_r): Remove duplicate test. + Patch by Chris Caputo <ccaputo@alt.net>. - [BZ #6042] - * sysdeps/unix/sysv/linux/net/ethernet.h: Add a few more - ETHERTYPE_* definitions. - Patch partly by Aurelien Jarno <aurelien@aurel32.net>. +2005-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> -2008-04-07 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias. + * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS. - * stdlib/mbtowc.c (__no_r_state): Remove. - (mbtowc): New static state variable. Use it instead of - __no_r_state. - * stdlib/wctomb.c (__no_r_state): Remove extern decl. - (__wctomb_state): New hidden variable. - (wctomb): Use __wctomb_state instead of __no_r_state. - * debug/wctomb_chk.c (__no_r_state): Remove extern decl. - (__wctomb_state): New extern decl. - (__wctomb_chk): Use __wctomb_state instead of __no_r_state. +2005-10-28 Thorsten Kukuk <kukuk@suse.de> -2008-04-07 Ulrich Drepper <drepper@redhat.com> + * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off + by one error. - [BZ #5475] - * resolv/res_init.c: Handle scope IDs in resolv.conf. +2005-10-24 Roland McGrath <roland@redhat.com> -2008-04-07 Jakub Jelinek <jakub@redhat.com> + [BZ #1534] + * include/string.h: Use libc_hidden_proto for strnlen, + not libc_hidden_builtin_proto. - * malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet. +2005-10-23 Ulrich Drepper <drepper@redhat.com> -2008-04-06 Ulrich Drepper <drepper@redhat.com> + * rt/mqueue.h: Cleanups. - * po/nl.po: Update from translation team. +2005-10-22 Roland McGrath <roland@redhat.com> -2008-03-31 Ulrich Drepper <drepper@redhat.com> + [BZ #1254] + * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change. + From Samuel Thibault <samuel.thibault@ens-lyon.org>. - [BZ #6007] - * string/strfry.c: Handle empty strings again. +2005-10-17 Thomas Schwinge <tschwinge@gnu.org> -2008-03-30 Ulrich Drepper <drepper@redhat.com> + [BZ #1252] + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue. + * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise. - [BZ #5443] - * intl/dcigettext.c (__dcigettext): Get reader lock for locale data - before looking for translation. - * locale/duplocale.c: Transform __libc_setlocale_lock into rwlock. - * locale/freelocale.c: Likewise. - * locale/newlocale.c: Likewise. - * locale/setlocale.c: Likewise. - Based partially on a patch by ryo@np.css.fujitsu.com. +2005-10-20 Ulrich Drepper <drepper@redhat.com> -2008-03-30 Jakub Jelinek <jakub@redhat.com> + * iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping. + * iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise. + * iconvdata/testdata/IBM1364: Add missing valid input. + * iconvdata/testdata/IBM1388: Likewise. + * iconvdata/testdata/IBM1364..UTF8: Adjust appropriately. + * iconvdata/testdata/IBM1388..UTF8: Likewise. + Patch by Masahide Washizawa <washi@jp.ibm.com>. - * intl/dcigettext.c (_nl_find_msg): Reread nconversions after - acquiring wrlock. Do conv_tab allocation while holding lock. - * intl/Makefile: Add rules to build and run tst-gettext6. - * intl/tst-gettext6.c: New test. - * intl/tst-gettext6.sh: New file. +2005-08-23 GOTO Masanori <gotom@debian.or.jp> -2008-03-30 Ulrich Drepper <drepper@redhat.com> + [BZ #1498] + * sysdeps/alpha/remqu.S: Return the correct result when the same + dividend and divisor are provided, and they're negative numbers. + * sysdeps/alpha/divqu.S: Likewise. - * po/nl.po: Update from translation team. +2005-10-18 Steven Munroe <sjmunroe@us.ibm.com> - * sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size - provided through st_blksize, try the default size before giving up. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS): + Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS): + Likewise. -2008-03-29 Ulrich Drepper <drepper@redhat.com> +2005-10-19 Ulrich Drepper <drepper@redhat.com> - * stdio-common/vfprintf.c (vfprintf): Correct overflow test. + * iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390, + and IBM1399. + (distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h, + ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h. + * iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390, + and IBM1399. + * iconvdata/gconv-modules: Likewise. + * iconvdata/ibm1364.c: New file. + * iconvdata/ibm1364.h: New file. + * iconvdata/ibm1371.c: New file. + * iconvdata/ibm1371.h: New file. + * iconvdata/ibm1388.c: New file. + * iconvdata/ibm1388.h: New file. + * iconvdata/ibm1390.c: New file. + * iconvdata/ibm1390.h: New file. + * iconvdata/ibm1399.c: New file. + * iconvdata/ibm1399.h: New file. + * iconvdata/testdata/IBM1364: New file. + * iconvdata/testdata/IBM1364..UTF8: New file. + * iconvdata/testdata/IBM1371: New file. + * iconvdata/testdata/IBM1371..UTF8: New file. + * iconvdata/testdata/IBM1388: New file. + * iconvdata/testdata/IBM1388..UTF8: New file + * iconvdata/testdata/IBM1390: New file. + * iconvdata/testdata/IBM1390..UTF8: New file. + * iconvdata/testdata/IBM1399: New file. + * iconvdata/testdata/IBM1399..UTF8: New file. + Original patch by Masahide Washizawa <washi@jp.ibm.com>. + +2005-10-17 Roland McGrath <roland@redhat.com> + + * elf/dl-load.c (MAP_COPY): When undefined, define to + MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE. + (_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly. + +2005-10-17 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS): + Define. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS): + Likewise. - [BZ #5939] - * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection. +2005-10-17 Ulrich Drepper <drepper@redhat.com> - * posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded - error message. POSIX today does not require the messages to be in - a specific form. Suggested by Jim Meyering <jim@meyering.net>. + * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch. + Return EOF not 0. - [BZ #5979] - * sunrpc/auth_unix.c: Unify printed strings. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * locale/programs/ld-time.c (time_finish): Unify messages. - * locale/programs/locfile.c (handle_copy): Fix typo. - * nscd/nscd.c (options): Fix typo. + * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also + allow EACCES errors when opening /proc for now. - [BZ #5995] - * stdlib/strtod_l.c: Use correct sign for result in one more - underflow case. - Patch by Eric Blake <ebb9@byu.net>. + * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw* + functions if character is in ASCII range. + * wctype/wcfuncs_l.c: Likewise. -2008-03-27 Jakub Jelinek <jakub@redhat.com> +2005-05-03 Robert Millan <robertmh@gnu.org> - * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open - and creat system calls. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system - call. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat - system calls. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. + * abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4. + * elf/cache.c (print_entry): Match the kNetBSD ABI tag. -2008-03-27 Ulrich Drepper <drepper@redhat.com> +2005-10-16 Alfred M. Szmidt <ams@gnu.org> - * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if - <linux/limits.h> has defined it. - * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy - ARG_MAX value and prevent ARG_MAX from being defined by the kernel - headers. - * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use - it instead of ARG_MAX. + * sysdeps/generic/bits/mman.h + [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros. -2008-03-25 Jakub Jelinek <jakub@redhat.com> +2005-10-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> - * posix/gai.conf: Fix comment for scope nullbits. - * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, - default to 128 bits for v4 mapped addresses. + * sysdeps/unix/sysv/linux/sh/makecontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed. + * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file. -2008-03-07 Martin Schwidefsky <schwidefsky@de.ibm.com> +2005-09-13 Jakub Jelinek <jakub@redhat.com> - * sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER - ptrace call to get the ieee_instruction_pointer from the kernel. - * sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER - ptrace call to set the ieee_instructtion_pointer. - * sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct): - Add comment that ieee_instruction_pointer is always 0. + [BZ #1228] + * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these + are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not + -std=c99. -2008-03-09 Andreas Jaeger <aj@suse.de> +2005-10-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> - [BZ #5857] - * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18. - * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise. - Patch by Mark Elliott <mark.h.elliott@lmco.com>. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED. - * math/libm-test.inc (nearbyint_test): Add new test cases from #5857. - (rint_test): Likewise. +2005-08-05 Alfred M. Szmidt <ams@gnu.org> -2008-03-24 Ulrich Drepper <drepper@redhat.com> + [BZ #1252] + * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn + forward decl out of function body. + * sysdeps/mach/hurd/profil.c: Likewise. - * nis/nis_call.c (nis_server_cache_search): Save errno around stat - call. - (__nisfind_server): Similar for open readColdStartFile call. - Patch partially by Jim Meyering. - * nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno - around internal_setent call. - - * po/vi.po: New Vietnamese translation. - - * sysdeps/unix/sysv/linux/adjtime.c: Correctly use - ADJ_OFFSET_SS_READ. - - * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags, - remove CLONE_STOPPED. - -2008-02-10 Jim Meyering <meyering@redhat.com> - - Remove useless "if" before "free": - * elf/ldconfig.c (parse_conf_include): Likewise. - * gmon/gmon.c (weak_alias): Likewise. - * iconv/gconv_conf.c (__gconv_get_path): Likewise. - * inet/rcmd.c (__validuser2_sa): Likewise. - * intl/bindtextdom.c (set_binding_values): Likewise. - * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise. - * libio/genops.c (save_for_backup): Likewise. - * libio/wgenops.c (save_for_wbackup): Likewise. - * locale/programs/ld-collate.c (collate_read): Likewise. - * locale/programs/linereader.c (get_string): Likewise. - * nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise. - * nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise. - * resolv/res_debug.c (do_section): Likewise. - * sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise. - * sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise. - * sysdeps/posix/sprofil.c (__sprofil): Likewise. - * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise. - * time/tzset.c (tzset_internal): Likewise. - -2008-03-18 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead - of ASSEMBLER. - -2008-03-11 Ulrich Drepper <drepper@redhat.com> - - [BZ #5903] - * iconv/iconv_charmap.c (charmap_conversion): Pass name of output file - not stream for output file. Open output file here. - * iconv/iconv_prog.c (process_lock): Take pointer to output stream - and output file name. - (process_fd): Likewise. - (process_file): Likewise. - (main): Adjust callers of changed functions. - * iconv/iconv_prog.h: Adjust prototype. - -2008-03-09 Andreas Jaeger <aj@suse.de> - - [BZ #5753] - * sysdeps/ia64/ieee754.h: Use protected namespace - __BIG_ENDIAN/__LITTLE_ENDIAN. - * sysdeps/ieee754/ieee754.h: Likewise. - Patch by Aurelien Jarno <aurelien@aurel32.net>. - -2008-03-08 Roland McGrath <roland@frob.com> - - * hurd/hurdsig.c (_hurd_internal_post_signal): When normal rules would - ignore a signal that came from a machine exception, treat it as a - fatal core-dump signal instead. - Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. +2005-10-16 Roland McGrath <roland@frob.com> - * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): - Clear DF bit in thread state's eflags. + [BZ #1254] + * sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN + byte limit when setting ADDR->sa_family. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. -2008-03-08 Ulrich Drepper <drepper@redhat.com> - - [BZ #5774] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Consume closing brace - of NAN(...) sequence. - * stdlib/Makefile (tests): Add tst-strtod6. - * stdlib/tst-strtod6.c: New file. - - * inet/inet6_opt.c (inet6_opt_init): Check extlen for overflow. - - [BZ #5762] - * posix/getopt.c (_getopt_internal_r): Clarify error message by - putting offending option character in quotes. Clean up error - messages. - * po/be.po: Adjust msgstr in translation file. - * po/bg.po: Likewise. - * po/ca.po: Likewise. - * po/cs.po: Likewise. - * po/da.po: Likewise. - * po/de.po: Likewise. - * po/es.po: Likewise. - * po/fr.po: Likewise. - * po/hr.po: Likewise. - * po/ko.po: Likewise. - * po/nl.po: Likewise. - * po/rw.po: Likewise. - * po/sk.po: Likewise. - * po/sv.po: Likewise. - * po/tr.po: Likewise. - * po/zh_CN.po: Likewise. - * po/zh_TW.po: Likewise. - - [BZ #5760] - * inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation. - Patch by Roland Bless <roland@bless.de>. - - * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for - .o file. - * elf/Makefile (routines): Add dl-sysdep. - (elide-routines.os): Likewise. - -2008-03-07 Ulrich Drepper <drepper@redhat.com> - - [BZ #5786] - * elf/dl-sysdep.c: Undefine ROUND after use. - * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] - (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. - * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion - to ... - * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. - * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion - if necessary. - * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here. - - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add - _dl_tls_get_addr_soft element. - * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft. - * elf/Versions (ld): Don't export _dl_tls_get_addr_soft. - * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through - GLRO. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. - * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead - of internal_function. - - * stdlib/Makefile (aux): Add tens_in_limb. - * stdlib/strtod_l.c: Move _tens_in_limb definition to... - * stdlib/tens_in_limb.c: ...here. New file. - - [BZ #5778] - * sysdeps/unix/sysv/linux/pathconf.h: Declare - __statfs_chown_restricted. - * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted - for _PC_CHOWN_RESTRICTED. - * sysdeps/unix/sysv/linux/pathconf.c: Likewise. - Implement __statfs_chown_restricted. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change - _POSIX_CHOWN_RESTRICTED value to zero. - * io/tst-fchownat.c: Correctly handle _POSIX_CHOWN_RESTRICTED - defined to zero. - - * sysdeps/x86_64/rtld-memset.c: New file. - -2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com> - - * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards. - - * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD - Barcelona machine. Make default fall through branch of - __x86_64_preferred_memory_instruction check as the integer code path. - -2007-10-15 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/cacheinfo.c - (__x86_64_preferred_memory_instruction): New variable. - (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. - - * sysdeps/x86_64/memset.S: Rewrite. - -2008-03-04 Jakub Jelinek <jakub@redhat.com> - - * include/stdio.h (__asprintf_chk, __dprintf_chk, - __obstack_printf_chk): New prototypes. - (__vasprintf_chk, __vdprintf_chk, - __obstack_vprintf_chk): Likewise. - Add libc_hidden_proto. - * libio/obprintf.c - (_IO_obstack_jumps): No longer static, add attribute_hidden. - * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, - __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, - __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. - * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, - __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, - __obstack_vprintf_chk): New prototypes. - (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, - obstack_vprintf): New inlines. - * debug/dprintf_chk.c: New file. - * debug/vdprintf_chk.c: New file. - * debug/asprintf_chk.c: New file. - * debug/vasprintf_chk.c: New file. - * debug/obprintf_chk.c: New file. - * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. - * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, - __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export - @@GLIBC_2.8. - * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, - vdprintf_chk and obprintf_chk, set CFLAGS for them. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, - __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add - libc_hidden_proto. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, - __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. - * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, - __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, - __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export - @@GLIBC_2.8. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, - vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and - obstack_vprintf_chk. - * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file. - -2008-03-04 Ulrich Drepper <drepper@redhat.com> - - [BZ #5779] - * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions. - Patch by Roy Marples <roy@marples.name>. + [BZ #1253] + * sysdeps/mach/hurd/dl-sysdep.h + [SHARED] (DL_ARGV_NOT_RELRO): New macro. - [BZ #5736] - * malloc/malloc.c: Fix typo in comment. + [BZ #1253] + * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher. + (_hurd_stack_setup): Don't declare with arguments and ellipsis. + Use __builtin_frame_address and __builtin_return_address. + (_dl_init_first): Likewise. - [BZ #5627] - * locale/iso-639.def: Add Shuswap. + [BZ #1249] + * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare + as weak extern. + (init): Check for it being undefined. -2008-02-25 Jakub Jelinek <jakub@redhat.com> +2005-10-16 Daniel Jacobowitz <dan@codesourcery.com> + Roland McGrath <roland@redhat.com> - [BZ #5790] - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Don't - overwrite *h_errnop/*errnop values from getanswer_r in case of - failure. + * Makerules [module-names] (extra-modules-build): New variable. + ($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule. + Depend on libc.so and libc_nonshared.a. + * dlfcn/Makefile ($(test-modules)): Remove static pattern rule. + * elf/Makefile (modules-names-nobuild): New variable, add filtmod1. + ($(test-modules)): Remove static pattern rule. -2008-03-03 Ulrich Drepper <drepper@redhat.com> +2005-10-15 Thomas Schwinge <tschwinge@gnu.org> - [BZ #5818] - * nscd/connections.c (dbs): Add initializers for .suggested_module. - (verify_persistent_db): Remove one unnecessary test and add a new one - for bad configuration. - (nscd_init): Improve error reported when persistent database cannot - be reused. - * nscd/nscd.h (DEFAULT_SUGGESTED_MODULE): Define. - * nscd/nscd_conf.c (nscd_parse_file): Provide default values for - .suggested_module and .max_db_size and case config file says the - values are zero. - * nscd/nscd_helper.c (get_mapping): Fail if hash table module is zero. + * include/dirent.h: Include <stdbool.h>. + * sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>. + (fdopendir): Correct argument to _hurd_fd_get(). + * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'. - [BZ #5854] - * nis/ypclnt.c (yp_order): Fix handling of return value of - do_ypcall_tr call. - Patch by Jeff Moyer <jmoyer@redhat.com>. +2005-08-20 Paul Eggert <eggert@cs.ucla.edu> - * po/fr.po: Update from translation team. + [BZ #1224] + * posix/regcomp.c (init_word_char, duplicate_node_closure, + fetch_token, peek_token_bracket, build_range_exp, + build_collating_symbol): Remove forward decls; no longer needed + now that we use prototypes. -2008-02-22 Andreas Jaeger <aj@suse.de>, - Carlos O'Donell <carlos@systemhalted.org> +2005-10-15 Ulrich Drepper <drepper@redhat.com> - [BZ #5012] - * FAQ.in: Describe why glibc needs to be compiled with - optimization. + [BZ #1221] + * posix/regex_internal.h: Remove last traces of + RE_NO_INTERNAL_PROTOTYPES. -2008-02-19 Roland McGrath <roland@redhat.com> + [BZ #968] + * string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops. - * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro. + * sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor + allows reading. -2008-02-15 Ulrich Drepper <drepper@redhat.com> + * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8. + * wcsmbs/Makefile: Define tst-mbrtowc2-ENV. - [BZ #5737] - * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when - __USE_MISC is defined. + * posix/regexec.c: Finish prototyping of static functions. + * posix/regex_internal.c: Likewise. -2008-02-10 Ulrich Drepper <drepper@redhat.com> +2005-10-14 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/sys/timerfd.h: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add - sys/timerfd.h. - * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, - timerfd_gettime, timerfd_settime. - * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, - timerfd_gettime, timerfd_settime for GLIBC_2.8. + * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken + out of ... + (__opendir): ... here. Call it. + * sysdeps/mach/hurd/fdopendir.c: New file. -2008-02-08 Roland McGrath <roland@redhat.com> +2005-10-14 Ulrich Drepper <drepper@redhat.com> - * elf/elf.h (NT_PPC_SPE): New macro. + [BZ #865] + * math/tgmath.h: Correctly determine result type for + __TGMATH_BINARY_REAL_ONLY, + __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, + __TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG. -2008-02-06 Roland McGrath <roland@redhat.com> +2005-09-17 Andreas Jaeger <aj@suse.de> - * Makerules ($(common-objpfx)sysd-rules): - Depend on $(sysdep-makeconfigs). + [BZ #865] + * math/test-tgmath-int.c: New file. + * math/Makefile (tests): Add test-tgmath-int. -2008-01-31 Roland McGrath <roland@redhat.com> +2005-10-14 Ulrich Drepper <drepper@redhat.com> - [BZ #5442] - * configure.in: Use -print-file-name if it yields a directory, - for each of include and include-fixed. - * configure: Regenerated. + [BZ #804] + * malloc/tst-mtrace.sh: Work around for bootstraping. - * Makeconfig (sysd-rules-targets): New variable. - * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. - * sysdeps/unix/Makefile (omit-deps): Append variants for each target. + * locale/programs/ld-collate.c (collate_output): Fix counting of + elements. Don't limit table size. Use correct secondary hash + function. + * locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE. + * posix/fnmatch_loop.c: Adjust for changed secondary hash function. + * posix/regcomp.c: Likewise. -2008-01-30 Roland McGrath <roland@redhat.com> + * time/asctime.c (asctime_internal): Use __snprintf instead of + snprintf to avoid PLT entry. - * manual/libc.texinfo: Update back-cover text. + * sysdeps/unix/opendir.c (__opendir): Pass extra argument to + __alloc_dir. + (__alloc_dir): Only close descriptor on error if new parameter is true. + * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to + __alloc_dir. Don't close fd on error. + * include/dirent.h (__alloc_dir): Adjust prototype. + + * stdlib/Makefile (tests): Add tst-ucontext-off. + * stdlib/tst-ucontext-off.c: New file. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define. + * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise. + + [BZ #1468] + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for + oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR. + Patch by Nicholas Miell <nmiell@comcast.net>. + + [BZ #1460] + * time/asctime.c (asctime_internal): New function, derived from + asctime_r. Takes additional parameter which is the buffer length. + Use snprintf instead sprintf, if it overflows, fail. + (asctime_r): Call asctime_internal with 26 as buffer length. + (asctime): Call asctime_internal with length of internal buffer. + * time/Makefile (tests): Add bug-asctime_r. + * time/bug-asctime_r.c: New file. + + [BZ #1459] + * time/asctime.c (__asctime_r): Check for tm_year computation to + overflow and fail in this case. + * time/Makefile (tests): Add bug-asctime. + * time/bug-asctime.c: New file. + + [BZ #1458] + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + * misc/sys/mman.h: Add ellipsis after last parameter of mremap and + adjust leading comment. + * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to + mremap syscall. + * include/sys/mman.h (__mremap): Add ellipsis. + * malloc/memusage.c: Adjust mremap wrapper for optional additional + parameter. - * elf/elf.h (NT_386_TLS): New macro. +2005-10-13 Ulrich Drepper <drepper@redhat.com> + + [BZ #1405] + * libio/iogetdelim.c (_IO_getdelim): Fix truncation of return + value. Avoid overflow in computation. + + [BZ #1373] + * argp/argp.h: Remove __NTH for __argp_usage inline function. + +2005-08-26 Paul Eggert <eggert@cs.ucla.edu> + + [BZ #1248] + * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, + bitset_mask, re_string_allocate, re_string_construct, + re_string_reconstruct, re_string_destruct, re_string_elem_size_at, + re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case, + re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1, + re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect, + re_node_set_init_union, re_node_set_merge, re_node_set_insert, + re_node_set_insert_last, re_node_set_compare, re_node_set_contains, + re_node_set_remove_at, re_dfa_add_node, re_acquire_state, + re_acquire_state_context): Remove unnecessary forward decls. + (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at): + Put __attribute at function definition, now that the function decl + has been removed. + * posix/regex_internal.c (re_string_peek_byte_case, + re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): + Likewise. -2008-01-29 Roland McGrath <roland@redhat.com> +2005-08-23 Paul Eggert <eggert@cs.ucla.edu> - * Makeconfig (sysd-rules-patterns): New variable. - * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that. - (check-inhibit-asm): New canned sequence, replaces ... - (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed. - * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands. - (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld. - (CFLAGS-rtld): Variable removed. + [BZ #1231] + * posix/regex_internal.c (re_string_skip_chars, register_state, + calc_state_hash): Remove forward decls. + * posix/regexec.c (acquire_init_state_context, check_halt_node_context, + proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes, + clean_state_log_if_needed): Likewise. -2008-01-24 Roland McGrath <roland@redhat.com> +2005-10-13 Ulrich Drepper <drepper@redhat.com> - * configure.in: Let configure fragments set base_os. - * configure: Regenerated. + * posix/regex.c: No need to use K&R definitions for static functions. + * posix/regex_internal.c: Likewise. + * posix/regcomp.c: Likewise. -2008-01-22 Ulrich Drepper <drepper@redhat.com> + [BZ #1466] + * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return + principal square root. + * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise. + * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise. + * math/libm-test.inc (csqrt_test): Add test for returning + principal value. - * po/ko.po: Update from translation team. + * include/features.h: Define _POSIX_C_SOURCE to 200112 for + _XOPEN_SOURCE == 600. -2008-01-12 H.J. Lu <hongjiu.lu@intel.com> +2005-10-12 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw. + * malloc/malloc.c (_int_free): Fail if block size is obviously wrong. -2008-01-12 Andreas Jaeger <aj@suse.de> + * include/malloc.h: Remove _int_new_arena prototype. + * malloc/arena.c (_int_new_arena): Move definition ahead of + arena_get2 and make static. - [BZ #5040] - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS): - Add EPOLLRDHUP. + Correctly implement M_MXFAST. + * malloc/malloc.c (struct malloc_state): Replace max_fast with flags + fields. + (global_max_fast): New variable. + (set_max_fast): Change to not require arena parameter and to modify + global_max_fast. Change all callers. + (get_max_fast): New macro. Use this instead of directly accessing + now removed max_fast arena member. + (have_fastchunks): Use flags instead of max_fast. + (clear_fastchunks): Likewise. + (set_fastchunks): Likewise. + (contiguous): Likewise. + (noncontiguous): Likewise. + (set_noncontiguous): Likewise. + (set_contiguous): Likewise. + (malloc_init_state): Explicitly set FASTCHUNKS_BIT. Call set_max_fast + only for main arena. + * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use. -2008-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org> +2005-10-10 Daniel Jacobowitz <dan@codesourcery.com> - * hurd/hurdsock.c (_hurd_socket_server): Return the standard - error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. - * sunrpc/bindrsvprt.c (bindresvport): Likewise. + * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro. + (__bswap_16): Use it. + (__bswap_constant_32): New macro. + (__bswap_32): Use it. -2007-10-23 Alexandre Oliva <aoliva@redhat.com> +2005-10-10 Ulrich Drepper <drepper@redhat.com> - * include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define. - * elf/dl-close.c (_dl_close): Check for it. - * elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise. - (_dl_allocate_static_tls): Likewise. - * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. - (__tls_get_addr): Protect from race conditions in setting l_tls_offset - to it. - * elf/tst-tls16.c: New file. - * elf/tst-tlsmod16a.c: New file. - * elf/tst-tlsmod16b.c: New file. - * elf/Makefile: Add rules to build and run tst-tls16. + * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr. -2008-01-16 Ulrich Drepper <drepper@redhat.com> +2005-10-08 Jakub Jelinek <jakub@redhat.com> - [BZ #5628] - * bits/shm.h: Fix comment describing shmid_ds. - * sysdeps/gnu/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. - Patch by Hareesh Nagarajan <hareesh.nagarajan@gmail.com>. - - [BZ #5607] - * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate - prototypes. - * conform/data/limits.h-data: Adjust limits changed in v6 and add - additional suffixes. - * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry. - Add optional functions mq_timedreceive and mq_timedsend. - * conform/data/netdb.h-data: Add more AI_* and EAI_* constants. - * conform/data/pthread.h-data: Fix prototype of - pthread_condattr_setclock. pthread_sigmask is not required in v6. - * conform/data/semaphore.h-data: Allow time.h definitions. - * conform/data/signal.h-data: Likewise. - * conform/data/stdio.h-data: getw and putw are not required in v6. - * conform/data/stdlib.h-data: Change setstate prototype. - * conform/data/string.h-data: Fix strerror_r prototype. - * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition. - * conform/data/unistd.h-data: pthread_atfork not required in v6. - Fix readlink prototype. - * conform/data/netinet/in.h-data: Add const to in6addr_any and - in6addr_loopback. - * inet/netinet/in.h: Cleanup namespace. - * posix/regex.h: Likewise. - * resolv/netdb.h: Likewise. - * sysdeps/unix/sysv/linux/bits/in.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change - of names of in in6_addr. - (default_precedence): Likewise. - * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include <stddef.h> for - NULL definition. - -2008-01-15 Ulrich Drepper <drepper@redhat.com> - - * conform/data/fmtmsg.h-data: Add missing allows. - * conform/data/ftw.h-data: Likewise. - * conform/data/inttypes.h-data: Likewise. - * conform/data/math.h-data: Likewise. - * conform/data/signal.h-data: Likewise. - * conform/data/net/if.h-data: Likewise. - * conform/data/netinet/in.h-data: Likewise. - * conform/data/sys/socket.h-data: Likewise. - - [BZ #5614] - * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP. - (__strtok_r): Simplify. - * string/tester.c (test_strtok_r): Add test case for futile search - with single-character seach string. - -2008-01-12 Ulrich Drepper <drepper@redhat.com> - - * po/ko.po: Update from translation team. - -2008-01-11 Andreas Jaeger <aj@suse.de> - - [BZ #5600] - * sysdeps/unix/sysv/linux/sys/signalfd.h (struct - signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux - kernel header. - -2008-01-10 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of - native interface lookup in all the relevant places. - -2008-01-10 Jakub Jelinek <jakub@redhat.com> - Ulrich Drepper <drepper@redhat.com> + * nss/getent.c (hosts_keys): Pass INADDRSZ as size rather + than IN6ADDRSZ to AF_INET gethostbyaddr. - * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order - field. Use sockaddr_in6 for source_addr. - (get_scope): Change type of parameter to sockaddr_in6. Adjust. - (match_prefix): Likewise. - (get_label): Likewise. - (get_precedence): Likewise. - (rfc3484_sort): Change to use indirect access to results array. - Adjust to use of sockaddr_in6. Replace service_order test with - simple index comparison. - (getaddrinfo): Define order array. Initialize it. Don't initialize - service_order field. Adjust qsort_t calls. Access sorted result - array indirectly through order array. - * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort. - * posix/tst-rfc3484-2.c: Likewise. - * posix/tst-rfc3484-3.c: Likewise. +2005-10-07 Roland McGrath <roland@redhat.com> -2008-01-09 Ulrich Drepper <drepper@redhat.com> + [BZ #1438] + * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__ + friendly to -Wundef. + (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else. - [BZ #5541] - * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and - pollfd structures. - Patch by André Cruz. +2005-10-06 Ulrich Drepper <drepper@redhat.com> - [BZ #5545] - * sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer. - (clnt_spcreateerror): Likewise. + * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail because + the file does not exist. - [BZ #5553] - * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena. - (public_mEMALIGn): Likewise. - Patch mostly by Daniel Jacobowitz. +2005-10-05 Simon Josefsson <jas@extundo.com> -2008-01-09 Jakub Jelinek <jakub@redhat.com> + [BZ #1423] + * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros. - * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid - clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. - * stdlib/Makefile: Add rules to build and run tst-makecontext2. - * stdlib/tst-makecontext2.c: New test. +2005-10-05 Roland McGrath <roland@redhat.com> -2008-01-08 Jakub Jelinek <jakub@redhat.com> + * crypt/Makefile (distribute): Remove duplicate defn. - * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not - defined. - (REINIT_PARAMS): Likewise. Undefine before end of file. - (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling - transliteration hooks and REINIT_PARAMS afterwards. - * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for - status. - (REINIT_PARAMS): Define. - * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. - * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. - * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. - * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. - * iconvdata/tst-iconv7.c: New test. + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): + Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined. + * elf/tst-auditmod1.c: Include <tst-audit.h> to define more + architecture-specific code. + * sysdeps/generic/tst-audit.h: New file. + * elf/Makefile (distribute): Add it. -2008-01-07 Ulrich Drepper <drepper@redhat.com> +2005-10-05 Daniel Jacobowitz <dan@codesourcery.com> - * libio/stdio.h (vscanf): Fix definition for loser compilers. + * elf/elf.h (R_ARM_TLS_DTPMOD32, R_ARM_TLS_DTPOFF32, + R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32, + R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros. -2008-01-05 Jakub Jelinek <jakub@redhat.com> +2005-10-03 Roland McGrath <roland@redhat.com> - [BZ #5112] - * nscd/connections.c (restart): Fix condition. + * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository. -2008-01-03 Jakub Jelinek <jakub@redhat.com> +2005-09-30 Ulrich Drepper <drepper@redhat.com> - * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, - __ctype_toupper_loc): Add __THROW. + * posix/regex.h: Pretty printing. + Clean up namespace a bit. -2008-01-02 Ulrich Drepper <drepper@redhat.com> +2005-09-30 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix - recognition of interface family. + * posix/regexec.c (update_cur_sifted_state, check_arrival, + check_arrival_add_next_nodes): Avoid using uninitialized variable. - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. - * debug/catchsegv.sh: Likewise. + * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches. -2007-12-26 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x. - * nss/nsswitch.c (__nss_lookup): Actually use alternative name in - second lookup. +2005-09-29 Ulrich Drepper <drepper@redhat.com> -2007-12-23 Ulrich Drepper <drepper@redhat.com> + * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921, + IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140, + IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, + IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971, + IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804. + (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c, + ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c, + ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h, + ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h, + ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h, + ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h, + ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h, + ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h, + ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h, + ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h, + ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h. + * iconvdata/TESTS: Add entries for new modules. + * iconvdata/gconv-modules: Likewise. + * iconvdata/ibm803.c: New file. + * iconvdata/ibm803.h: New file. + * iconvdata/ibm901.c: New file. + * iconvdata/ibm901.h: New file. + * iconvdata/ibm902.c: New file. + * iconvdata/ibm902.h: New file. + * iconvdata/ibm921.c: New file. + * iconvdata/ibm921.h: New file. + * iconvdata/ibm1008.c: New file. + * iconvdata/ibm1008.h: New file. + * iconvdata/ibm1008_420.c: New file. + * iconvdata/ibm1097.c: New file. + * iconvdata/ibm1097.h: New file. + * iconvdata/ibm1112.c: New file. + * iconvdata/ibm1112.h: New file. + * iconvdata/ibm1123.c: New file. + * iconvdata/ibm1123.h: New file. + * iconvdata/ibm1130.c: New file. + * iconvdata/ibm1130.h: New file. + * iconvdata/ibm1140.c: New file. + * iconvdata/ibm1140.h: New file. + * iconvdata/ibm1141.c: New file. + * iconvdata/ibm1141.h: New file. + * iconvdata/ibm1142.c: New file. + * iconvdata/ibm1142.h: New file. + * iconvdata/ibm1143.c: New file. + * iconvdata/ibm1143.h: New file. + * iconvdata/ibm1144.c: New file. + * iconvdata/ibm1144.h: New file. + * iconvdata/ibm1145.c: New file. + * iconvdata/ibm1145.h: New file. + * iconvdata/ibm1146.c: New file. + * iconvdata/ibm1146.h: New file. + * iconvdata/ibm1147.c: New file. + * iconvdata/ibm1147.h: New file. + * iconvdata/ibm1148.c: New file. + * iconvdata/ibm1148.h: New file. + * iconvdata/ibm1149.c: New file. + * iconvdata/ibm1149.h: New file. + * iconvdata/ibm1166.c: New file. + * iconvdata/ibm1166.h: New file. + * iconvdata/ibm1167.c: New file. + * iconvdata/ibm1167.h: New file. + * iconvdata/ibm4517.c: New file. + * iconvdata/ibm4517.h: New file. + * iconvdata/ibm4899.c: New file. + * iconvdata/ibm4899.h: New file. + * iconvdata/ibm4909.c: New file. + * iconvdata/ibm4909.h: New file. + * iconvdata/ibm4971.c: New file. + * iconvdata/ibm4971.h: New file. + * iconvdata/ibm5347.c: New file. + * iconvdata/ibm5347.h: New file. + * iconvdata/ibm9030.c: New file. + * iconvdata/ibm9030.h: New file. + * iconvdata/ibm9066.c: New file. + * iconvdata/ibm9066.h: New file. + * iconvdata/ibm9448.c: New file. + * iconvdata/ibm9448.h: New file. + * iconvdata/ibm12712.c: New file. + * iconvdata/ibm12712.h: New file. + * iconvdata/ibm16804.c: New file. + * iconvdata/ibm16804.h: New file. + * iconvdata/testdata/IBM803: New file. + * iconvdata/testdata/IBM803..UTF8: New file. + * iconvdata/testdata/IBM901: New file. + * iconvdata/testdata/IBM901..UTF8: New file. + * iconvdata/testdata/IBM902: New file. + * iconvdata/testdata/IBM902..UTF8: New file. + * iconvdata/testdata/IBM921: New file. + * iconvdata/testdata/IBM921..UTF8: New file. + * iconvdata/testdata/IBM1008: New file. + * iconvdata/testdata/IBM1008..UTF8: New file. + * iconvdata/testdata/IBM1097: New file. + * iconvdata/testdata/IBM1097..UTF8: New file. + * iconvdata/testdata/IBM1112: New file. + * iconvdata/testdata/IBM1112..UTF8: New file. + * iconvdata/testdata/IBM1123: New file. + * iconvdata/testdata/IBM1123..UTF8: New file. + * iconvdata/testdata/IBM1130: New file. + * iconvdata/testdata/IBM1130..UTF8: New file. + * iconvdata/testdata/IBM1140: New file. + * iconvdata/testdata/IBM1140..UTF8: New file. + * iconvdata/testdata/IBM1141: New file. + * iconvdata/testdata/IBM1141..UTF8: New file. + * iconvdata/testdata/IBM1142: New file. + * iconvdata/testdata/IBM1142..UTF8: New file. + * iconvdata/testdata/IBM1143: New file. + * iconvdata/testdata/IBM1143..UTF8: New file. + * iconvdata/testdata/IBM1144: New file. + * iconvdata/testdata/IBM1144..UTF8: New file. + * iconvdata/testdata/IBM1145: New file. + * iconvdata/testdata/IBM1145..UTF8: New file. + * iconvdata/testdata/IBM1146: New file. + * iconvdata/testdata/IBM1146..UTF8: New file. + * iconvdata/testdata/IBM1147: New file. + * iconvdata/testdata/IBM1147..UTF8: New file. + * iconvdata/testdata/IBM1148: New file. + * iconvdata/testdata/IBM1148..UTF8: New file. + * iconvdata/testdata/IBM1149: New file. + * iconvdata/testdata/IBM1149..UTF8: New file. + * iconvdata/testdata/IBM1166: New file. + * iconvdata/testdata/IBM1166..UTF8: New file. + * iconvdata/testdata/IBM1167: New file. + * iconvdata/testdata/IBM1167..UTF8: New file. + * iconvdata/testdata/IBM4517: New file. + * iconvdata/testdata/IBM4517..UTF8: New file. + * iconvdata/testdata/IBM4899: New file. + * iconvdata/testdata/IBM4899..UTF8: New file. + * iconvdata/testdata/IBM4909: New file. + * iconvdata/testdata/IBM4909..UTF8: New file. + * iconvdata/testdata/IBM4971: New file. + * iconvdata/testdata/IBM4971..UTF8: New file. + * iconvdata/testdata/IBM5347: New file. + * iconvdata/testdata/IBM5347..UTF8: New file. + * iconvdata/testdata/IBM9030: New file. + * iconvdata/testdata/IBM9030..UTF8: New file. + * iconvdata/testdata/IBM9066: New file. + * iconvdata/testdata/IBM9066..UTF8: New file. + * iconvdata/testdata/IBM9448: New file. + * iconvdata/testdata/IBM9448..UTF8: New file. + * iconvdata/testdata/IBM12712: New file. + * iconvdata/testdata/IBM12712..UTF8: New file. + * iconvdata/testdata/IBM16804: New file. + * iconvdata/testdata/IBM16804..UTF8: New file. + Patch by Masahide WASHIZAWA <washi@jp.ibm.com>. + + * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus + test only if $subset is N. + +2005-09-29 Roland McGrath <roland@redhat.com> + + [BZ #1392] + * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const. + +2005-09-29 Alfred M. Szmidt <ams@gnu.org> + + * elf/rtld.c [DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args): + Don't use attribute_relro. + +2005-09-29 Roland McGrath <roland@redhat.com> + + [BZ #1392] + * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer, + in case __typeof yields a const-qualified type. + +2005-09-28 Ulrich Drepper <drepper@redhat.com> + + * dirent/dirent.h: Declare fdopendir. + * dirent/Versions: Export fdopendir for GLIBC_2.4. + * dirent/Makefile (routines): Add fdopendir. + (tests): Add tst-fdopendir. + * dirent/tst-fdopendir.c: New file. + * include/dirent.h: Declare __alloc_dir. + * sysdeps/generic/fdopendir.c: New file. + * sysdeps/unix/fdopendir.c: New file. + * sysdeps/unix/opendir.c: Split off back part of opendir into new + function __alloc_dir. + +2005-09-26 Steven Munroe <sjmunroe@us.ibm.com> + + [BZ #1384] + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn, + ynf results. + +2005-09-06 Paul Eggert <eggert@cs.ucla.edu> + Ulrich Drepper <drepper@redhat.com> + + [BZ #1302] + Change bitset word type from unsigned int to unsigned long int, + as this has better performance on typical 64-bit hosts. Change + bitset type name to bitset_t. + * posix/regcomp.c (build_equiv_class, build_charclass): + (build_range_exp, build_collating_symbol): + Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual + argument is a bitset. This is merely a style issue, but it makes + it clearer that an entire array is expected. + (re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps, + lower_subexp): Adjust for new bitset_t definition. + (lower_subexp, parse_bracket_exp, built_charclass_op): Likewise. + * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain, + bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise. + * posix/regexec.c (check_dst_limits_calc_pos_1, + check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates): + Likewise. + * posix/regcomp.c (utf8_sb_map): Don't assume initializer + == 0xffffffff. + * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS. + All uses changed. + (BITSET_WORDS): Renamed from BITSET_UINTS. All uses changed. + (bitset_word_t): New type, replacing 'unsigned int' for bitset uses. + All uses changed. + (BITSET_WORD_MAX): New macro. + (bitset_set, bitset_clear, bitset_contain, bitset_empty, + (bitset_set_all, bitset_copy): Adjust for bitset_t change. + (bitset_empty, bitset_copy): + Prefer sizeof (bitset_t) to multiplying it out ourselves. + (bitset_not_merge): Remove; unused. + (bitset_contain): Return bool, not unsigned int with one bit on. + All callers changed. + * posix/regexec.c (build_trtable): Don't assume bitset_t has no + stricter alignment than re_node_set; do this by defining a new + internal type struct dests_alloc and using it to allocate memory. + +2005-09-27 Ulrich Drepper <drepper@redhat.com> + + [BZ #1230] + * stdlib/strtod_l.c (STRNCASECMP): Always use C locale object. + (TOLOWER_C): Define. Use it when recognizing inf and nan. + * stdlib/Makefile (tests): Add bug-strtod2. + * stdlib/bug-strtod2.c: New file. + +2005-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + [BZ #1361] + * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>. + * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c, + argp/argp-xinl.c: Fix up whitespace. + +2005-09-27 Ulrich Drepper <drepper@redhat.com> + + [BZ #1158] + * stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in + which the functions were registered. + * dlfcn/Makefile: Add rules to build and run bug-atexit1 and + bug-atexit2. + * dlfcn/bug-atexit1.c: New file. + * dlfcn/bug-atexit1-lib.c: New file. + * dlfcn/bug-atexit2.c: New file. + * dlfcn/bug-atexit2-lib.c: New file. + + [BZ #1078] + * libio/fileops.c (_IO_new_file_xsputn): Determine amount of + available space in non-line-buffered buffer correctly. + * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. + * stdio-common/Makefile (tests): Add tst-fwrite. + * stdio-common/tst-fwrite.c: New file. + +2005-09-26 Ulrich Drepper <drepper@redhat.com> + + [BZ #838] + * malloc/arena.c (ptmalloc_lock_all): If global lock already taken + by the same thread, just bump the counter. + (ptmalloc_unlock_all): If counter for recursive locks hasn't reached + zero, don't do anything else. + * malloc/Makefile (tests): Add tst-mallocfork. + * malloc/tst-mallocfork.c: New file. + + [BZ #808] + * malloc/malloc.c (_int_realloc): Make error message clearer. + + [BZ #713] + * libio/iofgets.c: Treat N==1 correctly. + * libio/iofgets_u.c: Likewise. + * libio/iofgetws.c: Likewise. + * libio/iofgetws_u.c: Likewise. + * stdio-common/Makefile (tests): Add tst-fgets. + * stdio-common/tst-fgets.c: New file. + +2005-01-11 Thorsten Kukuk <kukuk@suse.de> + + [BZ #652] + * posix/getconf.c: Add new option -a to print the names of + the current system configuration variables to stdout. + Based on patch from Josh Aas <josha@sgi.com>. + +2005-09-26 Ulrich Drepper <drepper@redhat.com> + + [BZ #644] + * sysdeps/posix/getaddrinfo.c (fls): New function. + (gaih_inet): Don't use ffs, use fls. Convert address to native byte + order first. + * posix/Makefile (tests): Add tst-rfc3484. + * posix/tst-rfc3484.c: New file. + + [BZ #627] + * libio/iofclose.c (_IO_new_fclose): Unlock the internal lock + before destroying it as part of the _IO_FINISH call. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + + [BZ #524] + * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if + number of bits is multiple of 8. + Patch by Fredrik Tolf <fredrik@dolda2000.com>. + + [BZ #516] + * elf/dl-load.c: Report failed loading due to ELF class mismatch + with better words. + + [BZ #162] + * manual/llio.texi (Waiting for I/O): Correct description of read + conditions reported by select. + +2005-09-24 Jakub Jelinek <jakub@redhat.com> + + * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0. + Return 1 only if result == 1. Patch by Benoit Capelle. - * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. +2005-09-25 Ulrich Drepper <drepper@redhat.com> -2007-12-17 Roland McGrath <roland@redhat.com> + [BZ #278] + * manual/stdio.texi (Hook Functions): Correct type of position + parameter of seeker and fix fallout of the change in the text. - * inet/ether_line.c (ether_line): Remove unused variable. + [BZ #714] + * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of + left-over bytes and store them correctly. + * wcsmbs/tst-mbrtowc2.c: New file. + * wcsmbs/Makefile (tests): Add tst-mbrtowc2. -2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org> +2005-09-24 Roland McGrath <roland@redhat.com> - * login/forkpty.c (forkpty): Add const qualifier to parameters termp - and winp. - * login/openpty.c (openpty): Likewise. - * login/pty.h (openpty, forkpty): Likewise. - * manual/terminal.texi (openpty, forkpty): Likewise. + * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository. + * sysdeps/unix/sysv/i386/sigreturn.S: Likewise. -2007-12-17 Ulrich Drepper <drepper@redhat.com> +2005-09-24 Ulrich Drepper <drepper@redhat.com> - * malloc/malloc.c (public_cALLOc): For arenas other than - main_arena, count all bytes inside the mprotect_size range of the - heap as uninitialized. + [BZ #545] + * locale/iso-639.def: More updates from the current spec. -2007-12-16 Ulrich Drepper <drepper@redhat.com> + * locale/programs/ld-address.c (address_finish): Produce better + error messages for invalid lang_ab use. - * elf/tst-execstack.c (do_test): Don't fail if SELinux forbids - executable stacks. + * locale/iso-639.def: Add a few updates from current spec. - * malloc/malloc.c (public_mTRIm): Iterate over all arenas and call - mTRIm for all of them. - (mTRIm): Additionally iterate over all free blocks and use madvise - to free memory for all those blocks which contain at least one - memory page. - * malloc/tst-trim1.c: New file. - * malloc/Makefile (tests): Add tst-trim1. +2005-09-23 Ulrich Drepper <drepper@redhat.com> - * malloc/malloc.c (do_check_malloc_state): Minimal cleanups. + [BZ #704] + * locale/iso-4217.def: Replace MGF with MGA. -2007-12-14 Ulrich Drepper <drepper@redhat.com> + * iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of + array. + * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P): - First cast argument to long - * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday): - Return long. - (__vdso_clock_gettime): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions - return long. +2004-08-13 GOTO Masanori <gotom@debian.or.jp> -2007-12-13 Ulrich Drepper <drepper@redhat.com> + [BZ #395] + * iconvdata/jis0208.c: Remove 0x005C mapping from + __jisx0208_from_ucs4_lat1. + Reported by Fumitoshi UKAI <ukai@debian.or.jp> - * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l. - * locale/nl_langinfo_l.c: Real implementation, copied from - nl_langinfo.c. - * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l. +2005-09-23 Ulrich Drepper <drepper@redhat.com> -2007-12-01 Jim Meyering <meyering@redhat.com> + [BZ #394] + * libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if + nothing can be written. + * libio/iofopncook.c (_IO_cookie_write): If something went wrong, + set error bit. - * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, - that would inhibit utf8-optimization of a regexp containing line- - or buffer-anchors, e.g., `^', `$'. +2005-09-22 Ulrich Drepper <drepper@redhat.com> -2007-12-12 Ulrich Drepper <drepper@redhat.com> + [BZ #281] + * posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *. + * posix/regcomp.c: Remove unnecessary uses of + unsigned RE_TRANSLATE_TYPE. + * posix/regex_internal.h: Likewise. + * posix/regex_internal.c: Likewise. + * posix/regexexec.c: Likewise. + Based on a patch by Stepan Kasal <kasal@ucw.cz>. - * time/bug-getdate1.c (do_test): Don't use century values which - aren't valid on 32-bit systems. + [BZ #1035] + * locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira. -2007-12-12 Jakub Jelinek <jakub@redhat.com> + [BZ #1363] + * nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped + free call in code handling detection of GC runs. - * sysdeps/i386/i486/bits/string.h (memmove): Define as macro. - (memmove): Rename to __memmove_g, with __asm__ ("memmove"). - * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g, - __strcat_g, __strncat_g): Add __asm__. +2005-09-22 Roland McGrath <roland@redhat.com> -2007-12-12 Ulrich Drepper <drepper@redhat.com> + * elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for + static __thread variable. + From Alexandre Oliva <aoliva@redhat.com> - [BZ #5477] - * io/fchmodat.c: Fix typo in stub_warning use. - Patch by Petr Salinger. + * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command. + Reported by Alexandre Oliva <aoliva@redhat.com>. -2007-12-11 Ulrich Drepper <drepper@redhat.com> +2005-09-20 Jakub Jelinek <jakub@redhat.com> - * iconvdata/hp-thai8.c: New file. - * iconvdata/Makefile: Add rules for hp-thai8.c. - * iconvdata/tst-tables.sh: Add entry for HP-THAI8. - * iconvdata/gconv-modules: Likewise. + * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen. - [BZ #5464] - * iconvdata/hp-greek8.c: New file. - * iconvdata/Makefile: Add rules for hp-greek8.c. - * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. - * iconvdata/gconv-modules: Likewise. +2005-09-20 Roland McGrath <roland@redhat.com> - [BZ #5463] - * iconvdata/hp-turkish8.c: New file. - * iconvdata/Makefile: Add rules for hp-turkish8.c. - * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. - * iconvdata/gconv-modules: Likewise. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl. - * malloc/arena.c (grow_heap): Split out code to shrink heap into... - (shrink_heap): ... this new function. - (heap_trim): Call shrink_heap instead of grow_heap. + [BZ #1346] + * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro + magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot + lies outside the page-rounded-down relro region. - * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in this - case don't call alloc_perturb. +2005-09-19 Richard Henderson <rth@redhat.com> -2007-12-10 Ulrich Drepper <drepper@redhat.com> + [BZ #1358] + * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s) + to a temporary first. + (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. + (inline_syscall5, inline_syscall6): Likewise. - * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if - possible. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. - * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define. - -2007-12-08 Ulrich Drepper <drepper@redhat.com> - - [BZ #5424] - * stdio-common/vfprintf.c: Do not overflow when adding to done. - * stdio-common/Makefile (tests): Add bug22. - * stdio-common/bug22.c: New file. - - [BZ #5451] - * time/getdate.c: Fix filling in default values. - * time/bug-getdate1.c: New file. - * time/Makefile: Add rules to build and run bug-getdate1. - - * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. - * iconvdata/ebcdic-es.c: Likewise. - * iconvdata/ebcdic-es-a.c: Likewise. - * iconvdata/ebcdic-uk.c: Likewise. - * iconvdata/iso8859-16.c: Likewise. - * iconvdata/viscii.c: Likewise. - * iconvdata/iso8859-9e.c: Likewise. - * iconvdata/Makefile: Adjust appropriately. - - [BZ #5428] - * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and - __need_wint_t. - -2007-12-07 Ulrich Drepper <drepper@redhat.com> - - [BZ #5427] - * iconvdata/hp-roman9.c: New file. - * iconvdata/Makefile: Add rules for hp-roman9.c. - * iconvdata/tst-tables.sh: Add HP-ROMAN9. - * iconvdata/gconv-modules: Likewise. + * sysdeps/alpha/ldiv.S (lldiv): Add alias. - * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. - * iconvdata/Makefile: Adjust appropriately. +2005-09-17 Ulrich Drepper <drepper@redhat.com> - [BZ #5441] - * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free - structure, it's allocated with alloca. - * stdio-common/Makefile (tests): Add bug21. - * stdio-common/bug21.c: New file. + [BZ #1010] + * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly. -2007-12-06 Aurelien Jarno <aurelien@aurel32.net> + [BZ #1053] + * debug/xtrace.sh: Add missing escape character in -? match. + Patch by Peter Breitenlohner <peb@mppmu.mpg.de>. - [BZ #5452] - * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ - keyword for gcc's braced-groups. + [BZ #1051] + * wctype/wctype.h: Remove stray __END_NAMESPACE_C99. + * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of + __END_NAMESPACE_C99 in one place. + * scripts/begin-end-check.pl: New file. + Patch by Ralph Loader <suckfish@ihug.co.nz>. + * Makefile: Add rules to run scripts/begin-end-check.pl. -2007-12-07 Ulrich Drepper <drepper@redhat.com> +2005-09-17 Andreas Jaeger <aj@suse.de> - [BZ #5454] - * inet/ether_line.c: Strip hostname of whitespaces. - * inet/Makefile (tests): Add tst-ether_line. - * inet/tst-ether_line.c: New file. + * timezone/zdump.c: Include ctype.h. -2007-12-03 Ulrich Drepper <drepper@redhat.com> +2005-09-16 Andreas Jaeger <aj@suse.de> - [BZ #5439] - * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull. + [BZ #1047] + * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file. - [BZ #5435] - * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack. +2005-09-16 Maciej W. Rozycki <macro@linux-mips.org> - * stdlib/tst-setcontext.c: Catch the case where the links gets - messed up and we do not reach main again. + [BZ #933] + * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of + the syscall immediately before invocation. + * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. - * po/ca.po: Update from translation team. + * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use + macros to handle GP. + * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): + Likewise. Update inaccurate comments. -2007-11-26 Ulrich Drepper <drepper@redhat.com> +2005-09-13 Ulrich Drepper <drepper@redhat.com> - * posix/unistd.h: Declare fsync also for __USE_XOPEN2K. - * posix/regex.h (REG_ENOSYS): Likewise. - * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K. + * sysdeps/posix/spawni.c (__spawni): Automatically recognize some + more cases when we can use vfork. -2007-11-25 Ulrich Drepper <drepper@redhat.com> +2005-08-29 Thomas Schwinge <schwinge@nic-nac-project.de> - * nscd/nscd.h (MAX_STACK_USE): Define. - * nscd/mem.c (MAX_STACK_USE): Remove definition here. - (gc): Initialize stack_used based on allocation in prune_cache. - * nscd/cache.c (prune_cache): Use heap for mark array if necessary. - Clear array before use. + [BZ #1261] + * manual/memory.texi (Hooks for Malloc): Correct prototype of + my_init_hook and definition of my_free_hook. - * nscd/aicache.c (addhstaiX): Update statistics counter in case - memory allocation failed. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/grpcache.c (cache_addgr): Likewise. - * nscd/servicescache.c (cache_addserv): Likewise. - * nscd/pwdcache.c (cache_addpw): Likewise. - * nscd/initgrcache.c (addinitgroupsX): Likewise. +2005-09-12 Roland McGrath <roland@redhat.com> -2007-11-23 Ulrich Drepper <drepper@redhat.com> + [BZ #1331] + * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed + macro argument. + Reported by Matej Vela <vela@debian.org>. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add open - and creat system calls. +2005-09-12 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>. + * malloc/malloc.c (struct malloc_chunk): Fix comment typo. + (public_cALLOc): For mmapped chunks and perturb_byte != 0, + don't clear SIZE_SZ bytes more than should be cleared. -2007-11-23 Martin Schwidefsky <schwidefsky@de.ibm.com> +2005-09-09 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): - Add netiucv/iucv.h. - * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV - protocol. - * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. - * sysdeps/unix/sysv/linux/s390/opensock.c: New file. - * sysdeps/unix/sysv/linux/s390/sa_len.c: New file. + * inet/getnetgrent_r.c: Include assert. + (setup): Remove FUNC_NAME and ALL arguments, assume they are always + "setnetgrent" and 1. + (endnetgrent_hook): New function. + (internal_endnetgrent): Use it. + (__internal_setnetgrent_reuse): Use it. Adjust setup caller. + If status is NSS_STATUS_SUCCESS, yet action is continue, call + endnetgrent hook. + (internal_getnetgrent_r): Use __nss_lookup_function rather than + setup. Recompute getfct pointer after successful + __internal_setnetgrent_reuse. Don't use __nss_next. + (innetgr): Use __nss_lookup_function instead of __nss_lookup. + Adjust setup caller. + * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear + data_size and cursor. Add libnss_files_hidden_proto and + libnss_files_hidden_def. + (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure. + * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear + data_size and cursor. + (_nss_nis_setnetgrent): Don't call internal_endnetgrent. + (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling. + * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear + data_size and position. + (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent. -2007-11-22 Martin Schwidefsky <schwidefsky@de.ibm.com> +2005-09-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat, - strncat): Define as macros to avoid compile errors. + * nss/getent.c (netgroup_keys): Call endnetgrent. + (main): Call mtrace. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open and - creat entries. + * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't + need locking for the stream. Use feof_unlocked. -2007-11-22 Ulrich Drepper <drepper@redhat.com> +2005-09-09 Jakub Jelinek <jakub@redhat.com> - [BZ #5382] - * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. - * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. - * nscd/mem.c (gc): Don't allocate arrays on the stack if they can - overflow it. - Partially based on a patch by Petr Baudis <pasky@suse.cz>. + [BZ #1318] + * locale/loadarchive.c (_nl_load_locale_from_archive): Free + normalized_codeset even if p was already normalized. + Reported by Jaroslav Snajdr <jsnajdr@kerio.com>. - * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): - Return zero in case the thread library is not NPTL. +2005-09-08 Roland McGrath <roland@redhat.com> + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS + properly, first byte is bit number in mask. Skip disabled caps. + +2005-07-11 Derek R. Price <derek@ximbiot.com> + + [BZ #1061] + * sysdeps/generic/glob.c (glob): Only a 0 return from + getlogin_r means success, according to POSIX 1003.2. - [BZ #5375] - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when - initializing interface list. +2005-06-23 Paul Eggert <eggert@cs.ucla.edu> - [BZ #5378] - * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't - use result of nss_getgrgid_r if nothing was found. For other - error return with a failure. - Partially based on a patch by Petr Baudis <pasky@suse.cz>. + [BZ #1033] + * time/mktime.c: Import from gnulib. + The following macros are now consistent with other gnulib code. + This does not change mktime's behavior. + (TYPE_IS_INTEGER): New macro. + (time_t_is_integer): Use it. + (TYPE_TWOS_COMPLEMENT): New macro. + (twos_complement_arithmetic): Use it. + (TYPE_ONES_COMPLEMENT): New macro. + (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude. + mktime doesn't use this, but the code now matches other gnulib code. + (ranged_convert): Pacify GCC 4.0 in a different way, which + generates a few bytes less code. + (ranged_convert, __mktime_internal): When calling a function via a + pointer P, use P () rather than (*P) (), as we now assume C89 or + better. + +2005-09-07 Alexandre Oliva <aoliva@redhat.com> + + * timezone/test-tz.c: Update to match tzdata2005m. + * timezone/tst-timezone.c: Likewise. + +2005-09-07 Ulrich Drepper <drepper@redhat.com> + + * posix/regexec.c (find_recover_state): Remove unnecessary + initialization. + (transit_state_bkref): Make DFA a const pointer. + (get_subexp): Likewise. + (check_arrival): Likewise. + (update_cur_sifted_state): Likewise. + (re_search_internal): Likewise. + (prune_impossible_nodes): Likewise. + (acquire_init_state_context): Likewise. + (proceed_next_node): Likewise. + (set_regs): Likewise. + (free_fail_stack_return): Likewise. + (check_arrival_expand_ecl): Mark DFA parameter as const. + (check_arrival_expand_ecl_sub): Likewise. + (check_subexp_limits): Likewise. + (sub_epsilon_src_nodes): Likewise. + (add_epsilon_src_nodes): Likewise. + (merge_state_array): Likewise. + (update_regs): Likewise. + (build_trtable): Likewise. + (sift_states_backward): Mark MCTX parameter as const. + (build_sifted_states): Likewise. + (update_cur_sifted_state): Likewise. + (sift_states_mkref): Likewise. + (check_arrival_expand_ecl): Mark eclosure as const. + (check_dst_limits_calc_pos_1): Likewise. + * posix/regex_internal.h (re_match_context_t): Make dfa a const + pointer. + +2005-09-06 Ulrich Drepper <drepper@redhat.com> + + * timezone/africa: Update from tzdata2005m. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. + * timezone/zdump.c: Update from tzcode2005m. - * locale/programs/ld-collate.c (collate_read): Fix loop to match - macro name. + * posix/regexec.c (merge_state_with_log): Define dfa as const pointer. + (transit_state_sb): Likewise. + (transit_state_mb): Likewise. + (sift_states_iter_mb): Likewise. + (check_arrival_add_next_nodes): Likewise. + (check_node_accept_bytes): Change first parameter to pointer-to-const. + [_LIBC] (re_search_2_stub): Use mempcpy. -2007-11-19 Ulrich Drepper <drepper@redhat.com> + * posix/regex_internal.c (re_string_reconstruct): Avoid calling + mbrtowc for very simple UTF-8 case. - * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables. - (get_scope): For IPv4 scope, use scopes table. - (fini): Free scopes table if necessary. - (free_scopelist): New function. - (scopecmp): New function. - (gaiconf_init): Also handle scopev4 entries. - * posix/tst-rfc3484.c (do_test): Initialize scopes. - * posix/tst-rfc3484-2.c (do_test): Likewise. - * posix/gai.conf: Document scopev4 defaults. - * posix/Makefile (tests): Add tst-rfc3484-3. - * posix/tst-rfc3484-3.c: New file. +2005-09-01 Paul Eggert <eggert@cs.ucla.edu> - * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for - Teredo tunnels. - * posix/gai.conf: Update for current default tables. + * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability + bugs in int versus size_t comparisons. -2007-11-19 Ulrich Drepper <drepper@redhat.com> +2005-09-06 Ulrich Drepper <drepper@redhat.com> - * po/tr.po: Update from translation team. + * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg + a pointer-to-const. + (re_acquire_state_context): Likewise. + * posix/regex_internal.h: Adjust prototypes. -2007-11-18 Roland McGrath <roland@frob.com> +2005-08-31 Jim Meyering <jim@meyering.net> - * manual/arith.texi (Remainder Functions): Spelling fix. - From Shaun Silk <genix@mysoul.com.au>. + * posix/regcomp.c (search_duplicated_node): Make first pointer arg + a pointer-to-const. + * posix/regex_internal.c (create_ci_newstate, create_cd_newstate, + register_state): Likewise. + * posix/regexec.c (search_cur_bkref_entry, check_dst_limits): + (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos): + (group_nodes_into_DFAstates): Likewise. - * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value. +2005-08-31 Paul Eggert <eggert@cs.ucla.edu> -2007-11-17 Ulrich Drepper <drepper@redhat.com> + * posix/regexec.c (re_search_internal): Simplify update of + rm_so and rm_eo by replacing "if (A == B) A += C - B;" + with the equivalent of "if (A == B) A = C;". - * po/zh_CN.po: Update from translation team. +2005-09-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): - Add sys/signalfd.h and sys/eventfd.h. + * posix/regcomp.c (re_compile_internal): Change third parameter type + to size_t. + (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't + overflow. + * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc + and nodes_len to size_t. + * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for + new_nodes_alloc. Check for overflow. + +2005-08-31 Paul Eggert <eggert@cs.ucla.edu> + + * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char): + (optimize_subexps, lower_subexp): + Don't assume 1<<31 has defined behavior on hosts with 32-bit int, + since the signed shift might overflow. Use 1u<<31 instead. + * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain): + Likewise. + * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise. + (check_subexp_matching_top): Likewise. + * posix/regcomp.c (optimize_subexps, lower_subexp): + Use CHAR_BIT rather than 8, for clarity. + * posix/regexec.c (check_dst_limits_calc_pos_1): + (check_subexp_matching_top): Likewise. + * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we + don't have to worry about portability issues when shifting it left. + Remove no-longer-needed test for table_size > 0. + * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there + are in a word, as the resulting behavior is undefined. + * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise; + in one case, a <= should have been an <, and in another case the + whole test was missing. + * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to + the standard name CHAR_BIT. -2007-11-15 Bruno Haible <bruno@clisp.org> + * posix/regex_internal.h (re_sub_match_top_t): Remove unused member + next_last_offset. + (struct re_dfa_t): Remove unused member states_alloc. + * posix/regcomp.c (init_dfa): Don't initialize unused members. - [BZ #5346] - * intl/dcigettext.c (struct known_translation_t): Turn msgid into a - union. - (transcmp): Use the appropriate part of s1->msgid and s2->msgid. - (DCIGETTEXT): Change the allocation of the 'search' variable so that - it needs only fixed stack space. Delay the initialization of - msgid_len until it is needed. +2005-08-25 Paul Eggert <eggert@cs.ucla.edu> -2007-11-15 Andreas Jaeger <aj@suse.de> + * posix/regexec.c (set_regs): Don't alloca with an unbounded size. - * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union. - Reported by Christoph Quirin Lauter <christoph.lauter@ens-lyon.fr>. + alloca modernization/simplification for regex. + * posix/regex.c: Remove portability cruft for alloca. This no longer + needs to be at the start of the file, and can be moved into + regex_internal.h and simplified. + * posix/regex_internal.h: Include <alloca.h>. + (__libc_use_alloca) [!defined _LIBC]: New macro. + * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC", + since the code now works outside glibc. -2007-11-15 Ulrich Drepper <drepper@redhat.com> +2005-09-06 Ulrich Drepper <drepper@redhat.com> - * po/ko.po: Update from translation team. + * include/regex.h: Remove use of _RE_ARGS. -2007-11-14 Ulrich Drepper <drepper@redhat.com> +2005-08-25 Paul Eggert <eggert@cs.ucla.edu> - * sysdeps/unix/sysv/linux/check_native.c (__check_native): Simplify - significantly. The device type is also part of the ifinfomsg data. + * posix/regexec.c (find_recover_state): Change "err" to "*err". - * po/sv.po: Update from translation team. - * po/nl.po: Likewise. +2005-08-24 Paul Eggert <eggert@cs.ucla.edu> - * nscd/cache.c (prune_cache): If cache is empty, instruct caller - to wake up in 24 hours. + * posix/regcomp.c (regerror): Pointer args are 'restrict', + as per POSIX. + * posix/regex.h (regerror): Likewise. + * manual/pattern.texi (POSIX Regexp Compilation): Likewise. + Similarly for regcomp and regexec. Also, first 2 args of regexec + and 2nd arg of regerror are const. - * nscd/gai.c (__ioctl): Define. Include check_native.c. + * posix/regex.c: Do not include <sys/types.h>, as POSIX no longer + requires this. (The code never needed it.) -2007-11-13 Ulrich Drepper <drepper@redhat.com> +2005-08-20 Paul Eggert <eggert@cs.ucla.edu> - * po/cs.po: Update from translation team. - * po/pl.po: Likewise. + * posix/regexec.c (sift_states_bkref): re_node_set_insert returns + int, not reg_errcode_t. - * include/ifaddrs.h: Remove in6ai_temporary. - (struct in6addrinfo): Add index element. - Declare __check_native. - * inet/Makefile (aux): Add check_native. - * sysdeps/unix/sysv/linux/check_native.c: New file. - * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize - IFA_F_TEMPORARY. Pass back ifa_index. - * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code. - (rfc3484_sort): Add new parameter. Implement rule 7 correctly: - call __check_native if necessary. - (getaddrinfo): Fill in index field. Use qsort_r instead of qsort - to sort addresses. Pass information about the results. - * posix/tst-rfc3484.c: Adjust for addition of index field and change - of rfc3484_sort interface. - * posix/tst-rfc3484-2.c: Likewise. + * posix/regex_internal.c (calc_state_hash): Put 'inline' before type, + since some broken compilers warn about it otherwise. - * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r. - * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype - for _quicksort. - * stdlib/msort.c (qsort): Now a wrapper around qsort_r. - (qsort_r): Renamed from qsort. Take additional parameter and pass it - on as third parameter to compare function and _quicksort. - * stdlib/qsort.c (_quicksort): Take additional parameter and pass on - to the compare function. - * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. - * Versions.def: Add GLIBC_2.8 for libc. - - * posix/tst-rfc3484.c: Adjust for addition of prefixlen field. - * posix/tst-rfc3484-2.c: Likewise. + * posix/regcomp.c (create_initial_state): Remove duplicate decl. - * include/kernel-features.h: Moved to... - * sysdeps/mach/hurd/kernel-features.h: ...here. - -2007-09-13 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i586/memcpy_chk.S: New file. - * sysdeps/i386/i586/mempcpy_chk.S: Likewise. - * sysdeps/i386/i586/memset_chk.S: Likewise. - -2007-11-12 Ulrich Drepper <drepper@redhat.com> - - * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return - list of interfaces. Also store prefix length. - * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element. - (rfc3484_sort): In rule 9, for IPv4 addresses count only matching - prefix if source and destination address are in the same subnet. - (getaddrinfo): Always call __check_pf. Fill in prefixlen field. - Always look for matching record in in6ai list. - Correct source_addr_len value for IPv6->IPv4 converted records. - -2007-11-11 Roland McGrath <roland@frob.com> - - * include/kernel-features.h: New file. - -2007-11-10 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/pthread/aio_misc.c (handle_fildes_io): Avoid unnecessary - complications for 64-bit platforms. - - * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. - * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add - open64_2. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat - entries. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/wordsize-64/alphasort.c: New file. - * sysdeps/wordsize-64/alphasort64.c: New file. - * sysdeps/wordsize-64/fseeko.c: New file. - * sysdeps/wordsize-64/fseeko64.c: New file. - * sysdeps/wordsize-64/ftello.c: New file. - * sysdeps/wordsize-64/ftello64.c: New file. - * sysdeps/wordsize-64/ftw.c: New file. - * sysdeps/wordsize-64/ftw64.c: New file. - * sysdeps/wordsize-64/iofgetpos.c: New file. - * sysdeps/wordsize-64/iofgetpos64.c: New file. - * sysdeps/wordsize-64/iofopen.c: New file. - * sysdeps/wordsize-64/iofopen64.c: New file. - * sysdeps/wordsize-64/iofsetpos.c: New file. - * sysdeps/wordsize-64/iofsetpos64.c: New file. - * sysdeps/wordsize-64/lockf.c: New file. - * sysdeps/wordsize-64/lockf64.c: New file. - * sysdeps/wordsize-64/mkostemp.c: New file. - * sysdeps/wordsize-64/mkostemp64.c: New file. - * sysdeps/wordsize-64/mkstemp.c: New file. - * sysdeps/wordsize-64/mkstemp64.c: New file. - * sysdeps/wordsize-64/scandir.c: New file. - * sysdeps/wordsize-64/scandir64.c: New file. - * sysdeps/wordsize-64/tmpfile.c: New file. - * sysdeps/wordsize-64/tmpfile64.c: New file. - * sysdeps/wordsize-64/versionsort.c: New file. - * sysdeps/wordsize-64/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. - - * crypt/sha256-crypt.c: Fix a comment. - * crypt/sha512-crypt.c: Likewise. - -2007-11-07 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/x86_64/memset.S: Add sfence after movnti. - -2007-11-07 Ulrich Drepper <drepper@redhat.com> - - [BZ #5277] - * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed - because output buffer is too small break, don't loop. - * iconvdata/Makefile (tests): Add bug-iconv6. - * iconvdata/bug-iconv6.c: New file. - -2007-11-06 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfprintf.c (vfprintf): Compute necessary buffer size - with size_t type. - * stdio-common/printf_fp.c (__print_fp): Change chars_needed type to - size_t. Add casts where needed. - - * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with - old headers, don't call avc_has_perm if we don't have the - permission information. - -2007-11-05 Daniel Jacobowitz <dan@codesourcery.com> - - * elf/rtld.c (dl_main): Use the page size to find the map start. - -2007-11-05 Ulrich Drepper <drepper@redhat.com> - - * time/tzfile.c (__tzfile_read): Fix check for version 0 data files. - Patch by Szymon Siwek <sls@poczta.wp.pl>. - - * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only - when the lookup call failed. - - * nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock. - Add prune_cond and wakeup_time. - (CACHE_PRUNE_INTERNAL): Define. - Update declarations of prune_cache and setup_thread. - * nscd/connections.c (dbs): Update initializers. - (CACHE_PRUNE_INTERNAL): Moved to nscd.h. - (nscd_init): Default number of threads is now 4. - (invalidate_cache): Take lock before calling prune_cache. - (handle_request): If SELinux forbids the request, say so. - (readylist_cond): Use static initializer. - (nscd_run_prune): New function. Used only by pruning threads. - (nscd_run_worder): Renamed from nscd_run. Remove support for pruning - here. - (fd_ready): Update nscd_run reference. - (start_threads): No need to initialize readylist_cond. - Start pruning threads separately. - * nscd/nscd_setup_thread.c: Change return value type to int and always - return 0. - * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type - to int and return nonzero value if we can use the TID address hack. - * nscd/cache.c (cache_add): If next wakeup time of cleanup thread for - the database is later than the new entry's timeout, update the - wakeup time and wake the cleanup thread. - (prune_cache): Return seconds the next entry in the database is still - valid. Remove locking for pruning here. - * nscd/nscd.conf: Document default number of threads. - -2007-10-31 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Make sure - stack is properly aligned for the target function. - Correct unwind info. - - * elf/rtld.c (dl_main): Initialize stack and pointer guard early - when using auditing libraries. - -2007-10-29 Ulrich Drepper <drepper@redhat.com> - - * resolv/Versions [libresolv] (GLIBC_PRIVATE): Add - _nss_dns_getnetbyaddr2_r. - * resolv/nss_dns/dns-host.c: Define _nss_dns_getnetbyaddr2_r. Pass - extra parameter to getanswer_r. - (_nss_dns_getnetbyaddr_r): Now a wrapper around - _nss_dns_getnetbyaddr2_r. - - * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with - gethstbynm3_r. - * nscd/gethstbynm2_r.c: Remove. - * nscd/gethstbynm3_r.c: New file. - * nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of - __gethostbyaddr_r. - * nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function. Define - __gethostbyaddr_r compatibility wrapper. - * nscd/hstcache.c (cache_addhst): Add ttl parameter. Use it when - determining timeout of entry. - (lookup): Take new parameter and pass it to __gethostbyname3_r and - __gethostbyaddr2_r. - (addhstbyX): Pass reference to variable for TTL to lookup and - cache_addhst. - * nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2, - __nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2, - and __nss_next2. Remove __nss_services_lookup. - * nss/XXX-lookup.c: Name function now *_lookup2. Add new parameter. - Add compat wrapper. - * nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and - __nss_next2. - * nss/getXXent_r.c: Likewise. - * nss/getnssent_r.c: Likewise. - * nss/nsswitch.c (__nss_lookup): Add new parameter. If first function - does not exist in module, try the optional second name. - (__nss_next2): New function. - (__nss_next): Now wrapper around __nss_next2. - * nss/nsswitch.h: Adjust __nss_lookup prototype. - Declare __nss_next2. - Adjust definition of db_lookup_function type. - * nss/service-lookup.c: Define NO_COMPAT. - * include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r. - * inet/ether_hton.c: Use __nss_next2 instead of __nss_next. - * inet/ether_ntoh.c: Likewise. - * sunrpc/netname.c: Likewise. - * sunrpc/publickey.c: Likewise. - * inet/getnetgrent.c: Likewise. Adjust calls to __nss_lookup. - * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2. - * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. - - * nscd/aicache.c (addhstaiX): Fix default TTL handling. - - * inet/getnetgrent_r.c (setup): Encrypt static pointer. - -2007-10-28 Ulrich Drepper <drepper@redhat.com> - - [BZ #5204] - * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware. - * crypt/sha512c-test.c: Likewise. - - [BZ #5225] - * stdio-common/vfscanf.c (_IO_vfwscanf): Don't misuse wp pointer - to keep track of end of %[ format string element. - * stdio-common/Makefile (tests): Add bug20. - * stdio-common/bug20.c: New file. - - [BZ #5222] - * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short - path elements in counting mode. - -2007-10-27 Andreas Jaeger <aj@suse.de> - - [BZ #5040] - * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value. - - [BZ #3112] - * sysdeps/ia64/backtrace.c (init): Free shared library if incorrect. - (__cleanup): Free shared library when exiting. - * sysdeps/i386/backtrace.c (init): Free shared library if incorrect. - (__cleanup): Free shared library when exiting. - -2006-04-14 H.J. Lu <hongjiu.lu@intel.com> - - [BZ #2549] - * math/libm-test.inc (check_float_internal): Support - denormalized return. +2005-08-20 Paul Eggert <eggert@cs.ucla.edu> -2007-10-23 Andreas Jaeger <aj@suse.de> + * posix/regex.h (_RE_ARGS): Remove. No longer needed, since we assume + C89 or better. All uses removed. - [BZ #5208] - * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use - __LONG_LONG_PAIR to handle little endian byte order. - Suggested by abhishekrai@google.com +2005-09-06 Ulrich Drepper <drepper@redhat.com> -2007-10-27 Ulrich Drepper <drepper@redhat.com> + * posix/regex.c: Prevent using C++ compilers. - * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined. +2005-08-19 Paul Eggert <eggert@cs.ucla.edu> -2007-10-26 Ulrich Drepper <drepper@redhat.com> - - * nscd/cache.c (prune_cache): Move test for modified file outside - of locking. - -2007-10-21 Andreas Jaeger <aj@suse.de> - - * manual/texinfo.tex: Update to latest version. + * posix/regcomp.c (duplicate_node): Return new index, not an error + code, and let the caller return REG_ESPACE if out of space. This + removes an uninitialied-variable warning with GCC 4.0.1, and also + avoids taking the address of a local variable. All callers + changed. - * manual/sysinfo.texi (System Parameters): Fix Formatting. - - * manual/arith.texi (Status bit operations): Fix formatting. +2005-09-06 Ulrich Drepper <drepper@redhat.com> - * manual/errno.texi (Error Messages): Fix formatting. + * include/time.h (__strptime_internal): Rename parameter to avoid + bogus compiler warning. - * manual/sysinfo.texi (System Parameters): Fix formatting. +2005-08-19 Jim Meyering <jim@meyering.net> - * manual/libc.texinfo: Update VERSION and UPDATED. + * posix/regexec.c (proceed_next_node): Redo local variables to + avoid GCC shadowing warnings. -2007-10-19 Roland McGrath <roland@redhat.com> +2005-09-06 Ulrich Drepper <drepper@redhat.com> - * elf/Makefile ($(objpfx)ld.so): Use $(AWK). + * posix/regex_internal.c (re_acquire_state): Minor code rearrangement. + (re_acquire_state_context): Likewise. -2007-10-06 David S. Miller <davem@davemloft.net> +2005-08-19 Paul Eggert <eggert@cs.ucla.edu> - * configure.in: Add sparcv9v2 and sparc64v2. - * scripts/config.sub: Likewise. - * configure: Regenerate. - * elf/elf.h (HWCAP_SPARC_N2): New. - * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. - * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. - (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. - * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. - * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. - * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file. + * posix/regex_internal.c (re_string_realloc_buffers): + (re_node_set_insert, re_node_set_insert_last, re_dfa_add_node): + Rename local variables to avoid GCC shadowing warnings. -2007-10-18 Ulrich Drepper <drepper@redhat.com> +2005-07-08 Eric Blake <ebb9@byu.net> + Paul Eggert <eggert@cs.ucla.edu> - * sunrpc/clnt_udp.c (clntudp_call): Don't block in recvfrom call - even if the poll result indicates there is data to read. - Patch by Jeff Moyer <jmoyer@redhat.com>. + * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not + wchar_t. Remove now-unnecessary cast. + (build_range_exp): Likewise. -2007-10-18 Roland McGrath <roland@redhat.com> +2005-08-31 Bob Wilson <bob.wilson@acm.org> - * elf/elf.h (NT_PPC_VMX): New macro. + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove the + exponent bias from the increment value for scaling by 2^60. -2007-10-17 Ulrich Drepper <drepper@redhat.com> +2005-09-05 Alexandre Oliva <aoliva@redhat.com> - * version.h (VERSION): Set to 2.7.90. + * configure.in: Compile source test file with -fPIC for -shared. -2007-10-17 Jakub Jelinek <jakub@redhat.com> +2005-09-04 Ulrich Drepper <drepper@redhat.com> - * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add - weak_alias. + * iconv/skeleton.c: Eliminate DEFINE_DIRECTION_OBJECTS macro use, + it wasn't used. Remove use of from_object and to_object variable, + replace with some constants. Adjust users. -2007-10-17 Roland McGrath <roland@frob.com> + * sysdeps/i386/bits/string.h: Removed. - * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. - * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it. + * stdio-common/Makefile (tests): Add tst-put-error. + * stdio-common/tst-put-error.c: New file. + * libio/fileops.c (_IO_new_file_xsputn): If overflow fails and no more + data would have to be written signal error. + * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. -2007-10-17 Ulrich Drepper <drepper@redhat.com> + * libio/fileops.c (_IO_new_file_overflow): Use NULL not 0. - * version.h (VERSION): Bump to 2.7. - * include/features.h (__GLIBC_MINOR__): Bump to 7. +2005-09-02 Ulrich Drepper <drepper@redhat.com> - [BZ #5186] - * time/tzset.c (__tz_convert): Don't force testing for a change of - TZ if not called from localtime. But then also see whether the - file changed, in case __use_tzfile is set. + * elf/dl-load.c (_dl_map_object_from_fd): No need to change + protection of memory used for the last segment. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. +2005-08-22 Robert Millan <robertmh@gnu.org> -2007-10-17 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/hurd/nfs/nfs.h: Move to ... + * sysdeps/generic/nfs/nfs.h: ... here. - * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses - and admin selects to be able to replace the gai.conf file, lock - data structures around the qsort call. +2005-09-01 Ulrich Drepper <drepper@redhat.com> -2007-10-17 Ulrich Drepper <drepper@redhat.com> + * libio/stdio.h: Remove __wur from ungetc, sscanf, and vsscanf. + Add __wur to feof{,_unlocked}, ferror{,_unlocked}, + fileno{,_unlocked}, and popen. - * sysdeps/x86_64/cacheinfo.c: Comment out code added in support of - new memset. - * sysdeps/x86_64/memset.S: Revert to old version for now. The cost is - too high for the improvements. Implement bzero unconditionally for - use in libc. +2005-08-30 Ulrich Drepper <drepper@redhat.com> -2007-10-17 Ulrich Drepper <drepper@redhat.com> - Jakub Jelinek <jakub@redhat.com> + * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name. - * time/tzfile.c (__tzfile_read): Read POSIX TZ string if available - even when time_t is 32-bit. - (__tzfile_compute): Override POSIX TZ string STD/DST zone names if - timezone data read by __tzfile_default. Ensure __tzname[0] is - always set after the search. +2005-08-01 Bob Wilson <bob.wilson@acm.org> + Richard Sandiford <richard@codesourcery.com> -2007-10-16 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing + exponent bias to the value for 2^126. - * time/tzfile.c (__tzfile_read): Help the compiler recognize - unreachable code on 32-bit machines. +2005-08-30 Jakub Jelinek <jakub@redhat.com> + Alan Modra <amodra@bigpond.net.au> -2007-10-16 Jakub Jelinek <jakub@redhat.com> + * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro. + * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file. - [BZ #5184] - * time/strftime_l.c: Include stdbool.h. - (my_strftime): New wrapper, old function renamed to... - (__strftime_internal): ... new function. Add tzset_called - argument, pass it down to recursive calls, don't call tzset () - if already true, set to true after call to tzset (). +2005-08-23 Ulrich Drepper <drepper@redhat.com> -2007-10-16 Ulrich Drepper <drepper@redhat.com> + * nscd/nscd.c (main): Use error while process isn't running in the + background, not dbg_log. + * nscd/nscd_conf.c (nscd_parse_file): Likewise. + Mark messages with _(). Unify testing for database name. - * time/tzfile.c (__tzfile_read): Take extra memory requested by caller - into account when copying TZ string. + * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. + (dbs): Initialize max_db_size fields. + (nscd_init): When mapping the database, use max_db_size as the + mapping size even if it is bigger than the file size. + * nscd/mem.c (mempool_alloc): When resizing the file make sure the + limit in max_db_size is not exceeded. Don't use mremap, just + posix_fallocate is enough (according to Linus). Use posix_fallocate + correctly. + * nscd/nscd.conf: Add max-db-size parameters. + * nscd/nscd.h (struct database_dyn): Add max_db_size field. + Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET. + Temporarily define TEMP_FAILURE_RETRY_VAL here. + * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter + and add sanity checks for it. -2007-10-16 Jakub Jelinek <jakub@redhat.com> + * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to + send reply. + * nscd/connection.c (writeall): Likewise. + (handle_request): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/nscd.c (parse_opt): Likewise. + * nscd/nscd_stat.c (send_stats): Likewise. + (receive_print_stats): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. - * time/tzfile.c (__tzfile_compute): For use_last case set i to - num_transition rather than num_transitions - 1. + * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls. -2007-10-16 Jakub Jelinek <jakub@redhat.com> +2005-08-22 Jakub Jelinek <jakub@redhat.com> - * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move - PIC indirect jump. + * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by + sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t). + Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine. + * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise. + * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply + len by sizeof (wchar_t). + * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise. + * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise. + Fix type of SRC argument. Pass &SRC rather than SRC to + __mbsrtowcs. + * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC + to __wcsrtombs. + * debug/tst-chk1.c: Include assert.h. + (do_test): Change enough array from VLA into a fixed size array. + Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro + instead of print error details. Add several new tests. + Kill some unused variable warnings. - * sysdeps/x86_64/memset.S: Jump from bzero to memset using - a local label rather than HIDDEN_JUMPTARGET. +2005-08-21 Ulrich Drepper <drepper@redhat.com> -2007-10-15 Ulrich Drepper <drepper@redhat.com> + * resolv/res_send.c (Aerror): Fix printing IP address. - * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define. - (init_cacheinfo): Initialize it. - * sysdeps/x86_64/memset.S: Use __x86_64_shared_cache_size. - Always define bzero. - Remove non-glibc code. - * sysdeps/x86_64/bzero.S: Make an empty file. + * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect. -2007-10-15 H.J. Lu <hongjiu.lu@intel.com> +2005-08-19 H.J. Lu <hongjiu.lu@intel.com> - * sysdeps/x86_64/cacheinfo.c - (__x86_64_preferred_memory_instruction): New. - (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. + * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort. - * sysdeps/x86_64/memset.S: Rewrite. +2005-08-17 Robert Love <rml@novell.com> -2007-10-15 Roland McGrath <roland@redhat.com> + * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event. - * po/libc.pot: Regenerated. +2005-08-19 Bruno Haible <bruno@clisp.org> -2007-10-15 Ulrich Drepper <drepper@redhat.com> + * intl/localealias.c (read_alias_file): In case of failure, close the + file descriptor and sort the array before returning. - * nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle startp and start_fct - pointers. +2005-08-19 Ulrich Drepper <drepper@redhat.com> - [BZ #3425] - * resolv/nss_dns/dns-host.c (getanswer_r): Fail with - NSS_STATUS_NOTFOUND if the server replied with only a CNAME and no - address record to T_A/T_AAAA requests. + * malloc/Makefile: Link libmemusage.so with ld.so. + * malloc/memusage.c: Use atomic operations for all counter and size + computations. Handle thread stacks. + * sysdeps/generic/memusage.h: Define memusage_cntr_t and + memusage_size_t. + * sysdeps/i386/i686/memusage.h: New file. + * include/atomic.h: Define atomic_max and atomic_min. -2007-10-14 Ulrich Drepper <drepper@redhat.com> + * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs. - * posix/glob.c: Reimplement link_exists_p to use fstatat64. +2005-08-17 Paul Eggert <eggert@cs.ucla.edu> - * posix/glob.c: Add some branch prediction throughout. + [BZ #1207] + * posix/regex.h: Remove spurious space-before-tab. From gnulib. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful - read from nscd. +2005-08-16 Ulrich Drepper <drepper@redhat.com> - * sysdeps/posix/getaddrinfo.c (struct sort_result): Add - service_order. - (rfc3484_sort): Make sure that even if qsort doesn't support - stable sorting out sorting here is stable by comparing service_order. - (getaddrinfo): Initialize service_order. - * posix/tst-rfc3484.c (do_test): Adjust for addition of - service_order field to sorting structure. - * posix/tst-rfc3484-2.c (do_test): Likewise. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + sys/inotify.h. + * sysdeps/unix/sysv/linux/sys/inotify.h: New file. + * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls. - * include/time.h: Declare __tzset_parse_tz and __tzset_compute. - * time/tzset.c (tzset_internal): Break TZ string parsing out into - __tzset_parse_tz and updating of daylight, timezone, tzname into - update_vars. - (__tz_compute): Renamed from tz_compute. Take additional parameters. - (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now - happens in __tz_compute. - * time/tzfile.c (__tzfile_read): Also read TZ string. - (find_transition): Fold into __tzfile_compute. - (__tzfile_compute): For times beyond the last transition try to - use the TZ string. - * timezone/tst-timezone.c: Information in daylight and tzname does - change for Asia/Tokyo timezone with more concrete information. - Remove the test. - - * include/stdio.h: Add libc_hidden_proto for ftello. - * libio/ftello.c: Add libc_hidden_def. - - [BZ #1140] - * time/tzfile.c (__tzfile_compute): Compute tzname[] values based - on the specified time and not the last entries in the file. Move - code to determine tzname[] to... - (find_transition): ...here. Add ugly guess for times before the - first transition. - -2007-10-13 Ulrich Drepper <drepper@redhat.com> - - [BZ #3195] - * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found - no entry. - * nscd/nscd_getgr.c (nscd_getgr_r): Likewise. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - - * nscd/nscd_getgr_r.c (nscd_getgr_r): Optimize a bit: use simpler - read mechanism when there are no group members and avoid no-op - read syscall in this case. - - [BZ #3242] - * nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter. - (__readall): If reading failed due to EAGAIN error wait a bit - and possibly try again. - (__readvall): Likewise. - -2007-10-13 Bruno Haible <bruno@clisp.org> - - * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock - when we cannot recode the message. - -2007-10-13 Ulrich Drepper <drepper@redhat.com> - - [BZ #4359] - * libio/__freading.c (__freading): Don't return true for - write-only streams. For read/write streams, check whether we - performed a read operation already. - * libio/Makefile (tests): Add tst-ext2. - * libio/tst-ext2.c: New file. - -2007-10-12 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/repertoire.c (repertoire_read): Always free - memory for repertoire file name [Coverity CID 270]. - - * elf/cache.c (save_aux_cache): Free memory allocated for - temporary file name [Coverity CID 267]. - -2007-10-12 Jakub Jelinek <jakub@redhat.com> - - * misc/Makefile (headers): Add bits/error.h. - -2007-10-12 Ulrich Drepper <drepper@redhat.com> - - * posix/fnmatch_loop.c: Take rule index returned as part of - findidx return value into account when accessing weights. - * posix/regcomp.c: Likewise. - * posix/regexec.c: Likewise. + * nscd/cache.c (prune_cache): Add more debug output. Only for + debug level 3 and higher and very verbose. - * locale/programs/ld-collate.c (collate_read): Optimize a bit. - (skip_to): Fix problems with parameter of elifdef/elifndef. + * nscd/cache.c (prune_cache): Use stat64 not stat. + * nscd/connections.c (nscd_init): Likewise. -2007-10-11 Ulrich Drepper <drepper@redhat.com> +2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se> - * iconv/gconv_simple.c: Add some branch prediction. + [BZ #1188] + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check + from (len > 0) to (len >= 0). -2007-10-12 Jakub Jelinek <jakub@redhat.com> +2005-08-16 Ulrich Drepper <drepper@redhat.com> - * locale/programs/ld-collate.c (collate_read): If ignore_content - and nowtok is tok_define, eat any tok_eol tokens. + * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable. + Reported by Thomas Schwinge. -2007-10-11 Jakub Jelinek <jakub@redhat.com> +2005-08-15 Jakub Jelinek <jakub@redhat.com> - * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. - (struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage. + * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly. - * inet/netinet/in.h: Don't include bits/socket.h. - * sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H - macro. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. +2005-08-16 Ulrich Drepper <drepper@redhat.com> -2007-10-10 Ulrich Drepper <drepper@redhat.com> + * nss/getent.c (more_help): Use open_memstream instead of handling + memory allocation ourselves. - * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef - and tok_elifndef. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/ld-collate.c: Implement primitive preprocessor. - -2007-10-10 Jakub Jelinek <jakub@redhat.com> - - * stdio-common/printf-parse.h: Include string.h and wchar.h. - (__find_specwc): Change into __extern_always_inline function. - (__find_specmb): Likewise. Remove ps argument. Use __strchrnul. - (__parse_one_specmb): Remove ps argument. - * stdio-common/vfprintf.c (vfprintf): Remove mbstate variable. - Adjust __find_specmb and __parse_one_specmb callers. - * stdio-common/printf-prs.c (parse_printf_format): Likewise. - * stdio-common/printf-parsemb.c (__find_specwc, __find_specmb): - Removed. - (__parse_one_specmb): Remove ps argument, adjust __find_specmb - caller. +2005-08-16 Jay Fenlason <fenlason@redhat.com> -2007-10-09 Ulrich Drepper <drepper@redhat.com> + * nss/getent.c (parse_options): change the -s option to support + {database}:{search} to override /etc/resolv.conf for only the + specified database. - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem - with some Pentium Ds. +2005-08-08 Ulrich Drepper <drepper@redhat.com> -2007-10-08 Ulrich Drepper <drepper@redhat.com> + * nscd/connections.c (main_loop_epoll): Pass NULL as event + argument for epoll_ctl(EPOLL_CTL_DEL) calls. - * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use - __read not read. - * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use - __write not write. + * nscd/nscd_stat.c (receive_print_stats): Really print values of + thread number, paranoia, and restart interval the server is using. -2007-10-07 Ulrich Drepper <drepper@redhat.com> + * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf. + * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk. + * debug/vfprintf_chk.c: Add libc_hidden_def. - [BZ #181] - * locale/C-time.c: Set week_1stday data to 19971201. - * locale/programs/ld-time.c (time_finish): Default for - first_workday is Monday. +2005-08-08 Roland McGrath <roland@redhat.com> - [BZ #2633] - * wcsmbs/wchar.h: Move many C99 functions into std namespace. + * argp/argp-help.c (__argp_error): __asprintf -> vasprintf. + (__argp_failure): Likewise. - [BZ #5103] - * posix/glob.c (glob): Recognize patterns starting \/. - * posix/tst-gnuglob.c (find_file): Handle absolute path names. - (main): Add test for pattern starting \/. +2005-08-08 Ulrich Drepper <drepper@redhat.com> - * misc/error.h: Use __const instead of const. - * misc/bits/error.h: Likewise. + * nscd/cache.c (cache_add): Commit hash table and header to disk. -2007-10-07 Andreas Jaeger <aj@suse.de> + * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate. + * nscd/connections.c (nscd_init): Likewise. - * include/bits/error.h: New file. +2005-08-08 Jakub Jelinek <jakub@redhat.com> - * misc/bits/error.h (error_at_line): Fix prototype. + * stdio-common/fxprintf.c: Include libioP.h. -2007-10-06 Ulrich Drepper <drepper@redhat.com> + * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname, + getdomainname): Add __NTH. + * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs): + Likewise. + (realpath): Likewise. Use __const instead of const. Add __restrict + keywords. + * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf. + * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset, + wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb, + mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH. + * string/bits/string3.h (__memset_ichk): Likewise. + (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk, + __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk, + __strncat_ichk): Likewise. Use __const instead of const. + (__stpncpy_chk): Use __const instead of const. + (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT. + +2005-08-08 Ulrich Drepper <drepper@redhat.com> + Jakub Jelinek <jakub@redhat.com> - [BZ #3924] - * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few - more little bugs in creating the stack frame when pltexit has to - be called. + * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move + definitions to... + * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here. + * nscd/connections.c (usekey): New enum. + (check_use, verify_persistent_db): New functions. + (nscd_init): If persistent database is corrupted, unlink it and + recreate rather than falling back to non-persistent database. + Call verify_persistent_db. Avoid overflows in total computation. - * nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops. - * nscd/connections.c (verify_persistent_db): Recognize circular lists. +2005-08-08 Ulrich Drepper <drepper@redhat.com> - [BZ #4407] - * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0. - * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * math/libm-test.inc: Add test for this case. + * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code + better readable. Avoid passing var to loop function, it's not + necessary at all. - [BZ #5010] - * sunrpc/svc.c (struct svc_callout): Add sc_mapped element. - (svc_register): Initialize sc_mapped. Set to TRUE if call to - map service succeeded. - (svc_is_mapped): New function. - (svc_unregister): Use it before trying to unmap service. +2005-08-07 Ulrich Drepper <drepper@redhat.com> -2007-10-05 Ulrich Drepper <drepper@redhat.com> + * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO + definition. - * timezone/zic.c: Update from tzcode2007h. +2005-08-05 Ulrich Drepper <drepper@redhat.com> - [BZ #5063] - * timezone/africa: Update from tzdata2007h. + * timezone/checktab.awk: Update from tzcode2005k. + * timezone/private.h: Likewise. + * timezone/scheck.c: Likewise. + * timezone/tzselect.ksh: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + * timezone/africa: Update from tzdata2005k. * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. + * timezone/iso3166.tab: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. + * timezone/solar87: Likewise. + * timezone/solar88: Likewise. + * timezone/solar89: Likewise. * timezone/southamerica: Likewise. - * timzeone/zone.tab: Likewise. - - [BZ #5104] - * elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols. - - [BZ #5113] - * string/bits/string2.h (__strdup): Cast parameters to calloc to - avoid warning with -Wconversion. - (__strndup): Likewise. - Half the patch by Christian Iseli <christian.iseli@licr.org>. - - [BZ #5112] - * nscd/connections.c (restart): Don't resync if database is - disabled. Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>. - - * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN, - struct tcp_md5sig. Extend struct tcp_info according to recent kernels. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd, - evetnfd_read, eventfd_write. - * sysdeps/unix/sysv/linux/eventfd.c: New file. - * sysdeps/unix/sysv/linux/eventfd_read.c: New file. - * sysdeps/unix/sysv/linux/eventfd_write.c: New file. - * sysdeps/unix/sysv/linux/sys/eventfd.h: New file. - * sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read, - eventfd_write for GLIBC_2.7. - - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd. - * sysdeps/unix/sysv/linux/signalfd.c: New file. - * sysdeps/unix/sysv/linux/sys/signalfd.h: New file. - * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7. - -2007-10-04 Jakub Jelinek <jakub@redhat.com> - - * stdlib/msort.c: Include stdint.h. - (struct msort_param): New type. - (msort_with_tmp): Use struct msort_param pointer for unchanging - parameters. Add optimized handling for several common sizes - and indirect sorting mode. - (qsort): Adjust msort_with_tmp callers. For big S use indirect - sorting. - Suggested by Belazougui Djamel . - - * stdlib/Makefile (tests): Add tst-qsort2. - * stdlib/tst-qsort2.c: New test. - -2007-10-04 Ulrich Drepper <drepper@redhat.com> - - * login/login_tty.c (login_tty): The Linux kernel can return EBUSY - for dup2 in case another thread races with the current one. Retry - in this case. - - * misc/error.h: Remove support for use outside of libc. We have to - include <features.h> now. Include <bits/error.h> if possible. - * misc/bits/error.h: New file. - -2007-10-03 Jakub Jelinek <jakub@redhat.com> - - * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy, - bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use - __extern_always_inline functions unconditionally, drop macros. - - * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros. - * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use - __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH. - - * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ - add __artificial__ attribute. - -2007-10-02 Ulrich Drepper <drepper@redhat.com> - - * string/strcoll_l.c (STRCOLL): Correct handling of switching from - backward to forward direction. - - * string/strcoll_l.c (STRCOLL): Correct test for alloca use. - - [BZ #645] - * locale/programs/ld-collate.c (collate_finish): Compare against last - used section which is known to have rules defined. - (collate_read): After order_start, correctly record order of sections - and queue sections up. - -2007-10-01 Ulrich Drepper <drepper@redhat.com> - - [BZ #5071] - * malloc/malloc.c (mremap_chunk): Avoid resizing of new block has - the same number of pages. - Patch by Tomash Brechko <tomash.brechko@gmail.com>. - - * locale/programs/ld-collate.c (collate_read): After initial copy - statement, continue in state 0. - - * include/stdio_ext.h (__fsetlocking): Define as macro. - -2007-09-30 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/ld-collate.c (collate_finish): Compare all bytes - of section order. - - * po/pt_BR.po: Fix typo. - -2007-09-29 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/Makefile (modules): Add ISO8859-9E. - (distribute): Add iso8859-9e.c. - (gen-8bit-gap-modules): Add iso8859-9e. - * iconvdata/iso8859-9e.c: New file. - * iconvdata/gconv-modules: Add entries for ISO-8859-9E. - * iconvdata/TESTS: Likewise. - * iconvdata/tst-tables.sh: Likewise. - - * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. - - * locale/iso-639.def: Add several new entries. - -2007-09-24 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store - void * pointers instead of struct link_map **. - (_dl_scope_free): Change argument type to void *. - * include/link.h (struct link_map): Change type of l_reldeps - to struct link_map_reldeps, move l_reldepsact into that - struct too. - * elf/dl-deps.c: Include atomic.h. - (_dl_map_object_deps): Only change l->l_initfini when it is - fully populated, use _dl_scope_free for freeing it. Optimize - removal of libs from reldeps by using l_reserved flag, when - some removal is needed, allocate a new list instead of - reallocating and free the old with _dl_scope_free. Adjust - for l_reldeps and l_reldepsact changes. - * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow - searching in l_initfini and l_reldeps without holding dl_load_lock. - * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and - l_reldepsact changes. - * elf/dl-close.c (_dl_close_worker): Likewise. - * elf/dl-open.c (_dl_scope_free): Change argument type to void *. - -2007-09-28 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/Makefile (modules): Add KOI8-RU. - (distribute): Add koi8-ru.c. - (gen-8bit-gap-modules): Add koi8-ru. - * iconvdata/koi8-ru.c: New file. - * iconvdata/gconv-modules: Add entries for KOI8-RU. - * iconvdata/TESTS: Likewise. - * iconvdata/tst-tables.sh: Likewise. - - * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. - -2007-09-26 Jakub Jelinek <jakub@redhat.com> - - * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define - with __warning__/__error__ attributes. - (__warnattr): Define. - * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn, - __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with - __warnattr. - (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead - of __*_chk if compile time detectable overflow is found. - * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn, - __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases - with __warnattr. - (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn - instead of __*_chk if compile time detectable overflow is found. - (__gets_alias): Rename to... - (__gets_warn): ... this. Add __warnattr. - (gets): Call __gets_warn instead of __gets_alias. - * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New - aliases with __warnattr. - (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile - time detectable overflow is found. - * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn, - __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn, - __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn, - __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn, - __getdomainname_chk_warn): New aliases with __warnattr. - (read, pread, pread64, readlink, readlinkat, getcwd, confstr, - getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call - __*_chk_warn instead of __*_chk if compile time detectable overflow - is found. - (__getgroups_chk): Rename argument to __listlen from listlen. - (__getwd_alias): Rename to... - (__getwd_warn): ... this. Add __warnattr. - (getwd): Call __getwd_warn instead of __getwd_alias. - * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn, - __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn, - __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn, - __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn, - __wcsnrtombs_chk_warn): New aliases with __warnattr. - (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs, - mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if - compile time detectable overflow is found. - (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether - to use __*_chk or not. - (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both - in comparisons which function should be called and in __*_chk* - arguments. Call __*_chk_warn instead of __*_chk if compile time - detectable overflow is found. - (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in - __*_chk argument. - * debug/tst-chk1.c (do_test): Add a few more tests. - -2007-09-24 Ulrich Drepper <drepper@redhat.com> - - [BZ #5058] - * intl/gettextP.h (struct loaded_domain): Add conversions_lock member. - * intl/loadmsgcat.c (_nl_load_domain): Initialize conversions_lock. - (_nl_unload_domain): Finalize conversions_lock. - * intl/dcigettext.c (_nl_find_msg): Take conversions_lock before - handling table of known conversions. - -2007-09-24 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use - close_not_cancel_no_status instead of close. - -2007-09-13 Aurelien Jarno <aurelien@aurel32.net> - - [BZ #5028] - * posix/regcomp.c (lookup_collation_sequence_value): Check that - nrules != 0 for multibyte chars. - -2007-09-23 Ulrich Drepper <drepper@redhat.com> - - * resolv/ns_print.c (ns_sprintrrf): Handle ns_t_a6 and ns_t_opt. - Provide better error message in case the type is unknown. - - [BZ #4963] - * wcsmbs/wcsnlen.c: Don't reference before checking the length. - * string/stratcliff.c: Make usable to test wide char functions. - * wcsmbs/wcsatcliff.c: New file. - * wcsmbs/Makefiel (tests): Add wcsatcliff. - - [BZ #4972] - * iconvdata/Makefile (modules): Add MAC-CENTRALEUROPE. - (distribute): Add mac-centraleurope.c. - (gen-8bit-gap-modules): Add mac-centraleurope. - * iconvdata/mac-centraleurope.c: New file. - * iconvdata/gconv-modules: Add entries for MAC-CENTRALEUROPE. - * iconvdata/TESTS: Likewise. - * iconvdata/tst-tables.sh: Likewise. - - [BZ #5043] - * iconv/iconv_open.c (iconv_open): For large codeset names use malloc. - -2007-09-21 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size_half): Renamed - from __x86_64_core_cache_size_half. - (init_cacheinfo): Compute shared cache size for AMD processors with - shared L3 correctly. - * sysdeps/x86_64/memcpy.S: Adjust for __x86_64_data_cache_size_half - name change. - Patch in large parts by Evandro Menezes. - -2007-09-19 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-lookup.c (add_dependency): Handle failing memory - allocation for dependency list. Remove unnecessary check. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary - open/close when determining source addresses. - - * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256, - sha512-crypt, and sha512. - (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test. - (distribute): Add sha256.h and sha512.h. - * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes - and call the appropriate code. - * crypt/sha256-crypt.c: New file. - * crypt/sha256.c: New file. - * crypt/sha256.h: New file. - * crypt/sha256c-test.c: New file. - * crypt/sha256test.c: New file. - * crypt/sha512-crypt.c: New file. - * crypt/sha512.c: New file. - * crypt/sha512.h: New file. - * crypt/sha512c-test.c: New file. - * crypt/sha512test.c: New file. - -2007-09-19 Jakub Jelinek <jakub@redhat.com> - - * misc/bits/syslog.h (syslog): Remove extraneous argument from - the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to - __syslog_chk. - -2007-09-18 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of - %as in fscanf format strings. - - * sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup. - * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): - Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): - Likewise. - - * sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition. - * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in - DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG (). - * elf/dl-sym.c (do_sym): Likewise. - * include/link.h (struct link_map): Add l_serial field. - * elf/dl-object.c (_dl_new_object): Initialize l_serial. - * elf/dl-lookup.c (add_dependency): Add flags argument. - Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among - flags, use THREAD_GSCOPE_RESET_FLAG before and - THREAD_GSCOPE_SET_FLAG after - __rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock. - Don't dereference map until it has been found on some list. - If map->l_serial changed, return -1. - -2007-09-17 Jakub Jelinek <jakub@redhat.com> - - * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, - __isoc99_sscanf, __isoc99_vscanf): New prototypes. - (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add - libc_hidden_proto. - * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf, - __isoc99_swscanf, __isoc99_vwscanf): New prototypes. - (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes, - add libc_hidden_proto. - * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf, - vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX - conformance requested. - * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, - vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX - conformance requested. - * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf, - vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX - conformance requested. - * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf, - vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict - ISO C99 or POSIX conformance requested. - * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7, - __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7, - __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7 - and __isoc99_vsscanf@@GLIBC_2.7. - * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf, - isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf. - (tests): Add scanf14. - (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c, - CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c, - CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c, - CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c, - CFLAGS-isoc99_scanf.c): Add $(exceptions). - (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler - from using internal headers. - * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7, - __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7, - __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 - and __isoc99_vswscanf@@GLIBC_2.7. - * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf, - isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf. - (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c, - CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions). - (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed. - * stdio-common/isoc99_scanf.c: New file. - * stdio-common/isoc99_vsscanf.c: New file. - * stdio-common/isoc99_vscanf.c: New file. - * stdio-common/isoc99_vfscanf.c: New file. - * stdio-common/isoc99_fscanf.c: New file. - * stdio-common/isoc99_sscanf.c: New file. - * wcsmbs/isoc99_fwscanf.c: New file. - * wcsmbs/isoc99_vswscanf.c: New file. - * wcsmbs/isoc99_swscanf.c: New file. - * wcsmbs/isoc99_wscanf.c: New file. - * wcsmbs/isoc99_vwscanf.c: New file. - * wcsmbs/isoc99_vfwscanf.c: New file. - * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define. - * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also - clear _IO_FLAGS2_SCANF_STD bit from _flags2. - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't - handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2. - * stdio-common/scanf14.c: New test. - * stdio-common/scanf15.c: New test. - * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add - isoc99_scanf, isoc99_fscanf, isoc99_sscanf, - isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, - isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf, - isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf. - * sysdeps/ieee754/ldbl-opt/Versions (libc): Export - __nldbl___isoc99_scanf@@GLIBC_2.7, - __nldbl___isoc99_fscanf@@GLIBC_2.7, - __nldbl___isoc99_sscanf@@GLIBC_2.7, - __nldbl___isoc99_vscanf@@GLIBC_2.7, - __nldbl___isoc99_vfscanf@@GLIBC_2.7, - __nldbl___isoc99_vsscanf@@GLIBC_2.7, - __nldbl___isoc99_wscanf@@GLIBC_2.7, - __nldbl___isoc99_fwscanf@@GLIBC_2.7, - __nldbl___isoc99_swscanf@@GLIBC_2.7, - __nldbl___isoc99_vwscanf@@GLIBC_2.7, - __nldbl___isoc99_vfwscanf@@GLIBC_2.7 - and __nldbl___isoc99_vswscanf@@GLIBC_2.7. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf, - __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf, - __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, - __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf, - __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL. - * sysdeps/ieee754/ldbl-opt/nldbl-compat.c - (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf, - __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf, - __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf, - __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf, - __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf, - __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New - functions. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file. - * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file. - - * stdio-common/Makefile (tests): Add scanf13. - (scanf13-ENV): New. - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle - m modifier followed by l. - (STRING_ARG): Add width argument. - (_IO_vfscanf_internal) <case L_('c')>: Handle %mc. - <case L_('C')>: Handle %mlc and %mC. - <case L_('s'), case L_('S'), case L_('[')>: Adjust STRING_ARG - arguments. - * stdio-common/scanf13.c: New test. - - * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear - the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags. - -2007-09-18 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Correct return value - type and __THROW marker of splice, vmsplice, and tee. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Mark splice, vmsplice, and tee - as cancellation points. - -2003-11-01 Daniel Jacobowitz <dan@debian.org> - - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): Don't - parse more than three parts of the version number. - -2007-09-15 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfscanf.c (_IO_vfwscanf): Add support for 'm' - modifier. Patch by Jakub Jelinek. - -2007-08-26 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add - call_fallocate in misc subdir. - * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file. - * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove. - * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate - instead of __fallocate64. - * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. - -2007-09-15 Jakub Jelinek <jakub@redhat.com> - - * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. - * rt/Makefile (headers): Add bits/mqueue2.h. - * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2, - optimizing with GCC and __va_arg_pack_len is defined. - * rt/bits/mqueue2.h: New file. - * rt/mq_open.c (__mq_open): Renamed from mq_open. - (mq_open): New strong_alias. - (__mq_open_2): New function. - * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open. - (mq_open): New strong_alias. - (__mq_open_2): New function. - * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE. - * Versions.def (librt): Add GLIBC_2.7 version. - * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def. - * include/stdio.h (__fortify_fail): Add libc_hidden_proto. - - * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define. - * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len - is defined rather than when not C++. - * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias, - __openat64_alias): New redirects. - (__open_too_many_args, __open_missing_mode, __open64_too_many_args, - __open64_missing_mode, __openat_too_many_args, __openat_missing_mode, - __openat64_too_many_args, __openat64_missing_mode): New __errordecls. - (open, open64, openat, openat64): Rewrite as __extern_always_inline - functions instead of function-like macros. - -2007-09-14 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition. - * sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition. - * sysdeps/i386/i586/memset.S (__memset_chk): New definition. - -2007-09-15 Mike Frysinger <vapier@gentoo.org> - - * inet/inet_net.c: Reset digit to 0 for inputs starting with "0x". - * inet/tst-network.c (tests): Add edge case tests for "0", "0x", "0x0". - -2007-09-14 Mike Frysinger <vapier@gentoo.org> - - * inet/tst-network.c: Increment ERRORS for failing tests. - -2007-09-07 Jakub Jelinek <jakub@redhat.com> - - * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. - * misc/bits/syslog.h (syslog): When __va_arg_pack is defined, - implement as __extern_always_inline function. - (vsyslog): Define as __extern_always_inline function unconditionally. - * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): - When __va_arg_pack is defined, implement as __extern_always_inline - functions. - (vsprintf, vsnprintf, vprintf, vfprintf): Define as - __extern_always_inline functions unconditionally. - * libio/bits/stdio.h (vprintf): Ifdef out the inline when - bits/stdio2.h will be included. - * wcsmbs/bits/wchar2.h (__swprintf_alias): New redirect. - (swprintf, wprintf, fwprintf): When __va_arg_pack is defined, - implement as __extern_always_inline functions. - (vswprintf, vwprintf, vfwprintf): Define as - __extern_always_inline functions unconditionally. - * debug/tst-chk1.c (do_test): Enable remaining tests for C++. - -2007-09-03 Jakub Jelinek <jakub@redhat.com> - - * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Only - define in C++ for GCC 4.3+, in C++ always use __gnu_inline__ - attribute. - * include/features.h (__USE_EXTERN_INLINES): Define only when - __extern_inline is defined. - * stdlib/stdlib.h: Include bits/stdlib.h when __extern_always_inline - is defined instead of when not __cplusplus. - * misc/sys/syslog.h: Include bits/syslog.h when __extern_always_inline - is defined instead of when not __cplusplus. - * socket/sys/socket.h: Include bits/socket2.h when - __extern_always_inline is defined instead of when not __cplusplus. - * libio/stdio.h: Include bits/stdio2.h when __extern_always_inline - is defined instead of when not __cplusplus. - * posix/unistd.h: Include bits/unistd.h when __extern_always_inline - is defined instead of when not __cplusplus. - * string/string.h: Include bits/string3.h when __extern_always_inline - is defined instead of when not __cplusplus. - * wcsmbs/wchar.h: Include bits/wchar2.h when __extern_always_inline - is defined instead of when not __cplusplus. - (btowc, wctob): Don't guard the inlines with ifndef __cplusplus. - * io/fcntl.h: Don't include bits/fcntl2.h if __extern_always_inline - is not defined. - * misc/bits/syslog-ldbl.h: Guard *_chk stuff with - defined __extern_always_inline instead of !defined __cplusplus. - * libio/bits/stdio-ldbl.h: Likewise. - * wcsmbs/bits/wchar-ldbl.h: Likewise. - * misc/bits/syslog.h (syslog): Don't define for C++. - (vsyslog): Use __extern_always_inline function for C++ instead of - a macro. - * libio/bits/stdio.h (__STDIO_INLINE): Define to __extern_inline - whenever that macro is defined. - (vprintf): Don't provide the inline for C++. - (fread_unlocked, fwrite_unlocked): Don't define the macros for C++. - * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): Don't - define the macros for C++. - (vsprintf, vsnprintf, vprintf, vfprintf): Define as - __extern_always_inline functions for C++. - * io/sys/stat.h (stat, lstat, fstat, fstatat, mknod, mknodat, - stat64, lstat64, fstat64, fstatat64): Don't define if not - __USE_EXTERN_INLINES. - * wcsmbs/bits/wchar2.h: Fix #error message. - (swprintf, wprintf, fwprintf): Don't define the macros for C++. - (vswprintf, vwprintf, vfwprintf): Define using - __extern_always_inline functions for C++. - * string/bits/string3.h: Don't #undef macros if __cplusplus. - (memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy, - strncpy, strcat, strncat): Define as __extern_always_inline - functions instead of macros for C++. - * math/bits/cmathcalls.h: Guard __extern_inline routines with - defined __extern_inline. - * sysdeps/alpha/fpu/bits/mathinline.h (__MATH_INLINE): Define - to __extern_inline whenever that macro is defined. - * sysdeps/ia64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/i386/i486/bits/string.h (__STRING_INLINE): Likewise. - * sysdeps/s390/bits/string.h (__STRING_INLINE): Likewise. - * sysdeps/s390/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/powerpc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. - * sysdeps/unix/sysv/linux/sys/sysmacros.h (gnu_dev_major, - gnu_dev_minor, gnu_dev_makedev): Remove __extern_inline from - prototypes. Only provide __extern_inline routines if - __USE_EXTERN_INLINES. - * debug/Makefile: Add rules to build and run tst-{,lfs}chk{4,5,6} - tests. - * debug/tst-chk1.c (do_prepare, do_test): Allow compilation as C++. - For now avoid some *printf tests in C++. Skip all testing - if __USE_FORTIFY_LEVEL is defined, but __extern_always_inline macro - is not. - * debug/tst-chk4.cc: New file. - * debug/tst-chk5.cc: New file. - * debug/tst-chk6.cc: New file. - * debug/tst-lfschk4.cc: New file. - * debug/tst-lfschk5.cc: New file. - * debug/tst-lfschk6.cc: New file. - * include/wchar.h (__vfwprintf_chk, __vswprintf_chk): Avoid - prototypes in C++. - * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, - __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, - __vfprintf_chk, __fgets_unlocked_chk, __fgets_chk): Likewise. - -2007-09-13 Ulrich Drepper <drepper@redhat.com> - - * po/cs.po: Update from translation team. - -2007-09-11 Roland McGrath <roland@redhat.com> - - * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross - compiling. - -2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org> - - * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro. - -2007-09-05 Roland McGrath <roland@redhat.com> - - * manual/signal.texi (Signaling Another Process): Typo fix. - From Karl Berry <karl@freefriends.org>. - -2007-08-29 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/check_pf.c (IFA_F_OPTIMISTIC): Define to - zero if not defined. - (make_request): Recognize optimistic addresses and treat them like - deprecated addresses. - Reported by Neil Horman <nhorman@redhat.com>. - -2007-08-28 Ulrich Drepper <drepper@redhat.com> - - * nscd/connections.c (send_ro_fd): Also transfer file size. - * nscd/nscd_helper.c (get_mapping): If nscd also transfers the - file size don't call fstat. - - * nscd/nscd_helper.c (get_mapping): Avoid the pread call, just go - ahead and map the file. This should always be correct and we can - catch problems later. - -2007-08-28 Jakub Jelinek <jakub@redhat.com> - - * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New - prototypes. - (__fread_alias, __fread_unlocked_alias): New aliases. - (fread): New extern inline. - (fread_unlocked): Likewise. Undef macro before definition of - the inline function. - * debug/Makefile (routines): Add fread_chk and fread_u_chk. - (CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add. - * debug/Versions (libc): Export __fread_chk@@GLIBC_2.7 - and __fread_unlocked_chk@@GLIBC_2.7. - * debug/fread_chk.c: New file. - * debug/fread_u_chk.c: New file. - * debug/tst-chk1.c (do_test): Add fread and fread_unlocked tests. - -2007-08-27 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/syscalls.list - (personality): Change caller to EXTRA. - -2007-08-25 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf - to keep gcc quiet. - * iconvdata/iso-2022-cn.c (BODY): Likewise. - - * locale/programs/ld-collate.c (collate_output): Avoid warning if - NDEBUG is defined. - - * Makerules: Use -p option with mkdir. - - * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning. - * nis/nis_xdr.c (_xdr_nis_server): Likewise. - (_xdr_directory_obj): Likewise. - (xdr_entry_obj): Likewise. - (xdr_group_obj): Likewise. - (xdr_link_obj): Likewise. - (xdr_table_obj): Likewise. - (_xdr_nis_result): Likewise. - (_xdr_ns_request): Likewise. - (_xdr_ib_request): Likewise. - (_xdr_nis_taglist): Likewise. - (xdr_cback_data): Likewise. - * nis/yp_xdr.c (xdr_ypmaplist): Likewise. - (xdr_ypresp_maplist): Likewise. - - * stdio-common/Makefile: Avoid format string warning for tst-sprint. - - * posix/regex_internal.h: Prevent some declarations and definitions - to be seen when used in tests. - - * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT. - * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise. + * timezone/zone.tab: Likewise. - * debug/Makefile: Disable format checking when compiling tst-chk?.c. +2005-08-05 Roland McGrath <roland@frob.com> - * config.make.in (datarootdir): Add to shut up configure. + [BZ #1251] + * mach/shortcut.awk: Ignore `weak_alias' lines. + Reported by Alfred M. Szmidt <ams@gnu.org>. - * sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of - associativity for fully-associative caches. + [BZ #1250] + * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue. + Reported by Alfred M. Szmidt <ams@gnu.org>. - * sysdeps/x86_64/cacheinfo.c (handle_amd): Handle L3 cache - requests. Fill on more associativity values for L2. - Patch mostly by Evandro Menezes. +2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com> -2007-08-24 Ulrich Drepper <drepper@redhat.com> + * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): + Use +=, not =, to append. Remove duplicate flags. + * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): + Likewise. Fix comments. - * sysdeps/unix/sysv/linux/x86_64/init-first.c - (_libc_vdso_platform_setup): Avoid using exported variable by using - alias. +2005-08-01 Ulrich Drepper <drepper@redhat.com> - * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define. + * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system + call if it returned EINTR. - * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark - fallocate64 as EXTRA. It is not referenced if the symbol isn't - defined. +2005-07-31 Ulrich Drepper <drepper@redhat.com> -2007-08-23 Ulrich Drepper <drepper@redhat.com> + * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move + helper variable into .data.rel.ro. Simplify the code. Extend + comment to explain prelinking. - * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Correctly - align stack for call if pltexit is to be used. +2005-07-31 Andreas Jaeger <aj@suse.de> - [BZ #3924] - * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly - align for function call in case pltexit has to be called later. + * include/bits/syslog.h: New file. - * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid - implicit atomic operation when storing function pointer. - (_dl_runtime_profile): Likewise. +2005-07-30 Ulrich Drepper <drepper@redhat.com> -2007-08-17 Jakub Jelinek <jakub@redhat.com> + * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value + up. We have more program header entries now and the note section + was normally not loaded. - * nis/nis_table.c (nis_list): Don't fail if __follow_path returned - NIS_NOTFOUND. + * nis/nis_subr.c: Some minor code cleanups. -2007-08-21 Ulrich Drepper <drepper@redhat.com> +2005-07-29 Ulrich Drepper <drepper@redhat.com> - [BZ #4566] - * string/strtok.c: Fix typo in comment. + * misc/bits/syslog.h: New file. + * misc/sys/syslog.h: Include <bits/syslog.h> for fortification. + * misc/Makefile (headers): Add bits/syslog.h. + * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. + * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. + Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add + __syslog_chk. + * misc/Versions: Export __syslog_chk and __vsyslog_chk. - [BZ #4582] - * debug/segfault.c: Fix typos in comments. +2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de> - [BZ #4588] - * stdio-common/tempnam.c: Fix comment, it is not checked that - TMPDIR points to a writable directory. + [BZ #1137] + * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>. - [BZ #4726] - * resolv/res_send.c (__libc_res_nsend): Initialize all of the - memory allocated for the name server address. +2005-07-28 Ulrich Drepper <drepper@redhat.com> - [BZ #4946] - * nscd/connections.c (handle_request): Using sendfile always - requires that mmap is used for the database. - Patch by Petr Baudis <pasky@suse.cz>. + * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper + functions. - [BZ #4905] - * nscd/hstcache.c (cache_addhst): When reloading an entry which - suddenly has two or more addresses, ignore it and remove the old - entry. +2005-07-28 Jakub Jelinek <jakub@redhat.com> - [BZ #4814] - * resolv/res_hconf.c: Prepare for compiling outside libc. - * nscd/res_hconf.c: New file. - * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build - the new file. - * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define. - * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise. + * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf + call. + * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf. - * nscd/hstcache.c (cache_addhst): Minimal optimization. +2005-07-28 Ulrich Drepper <drepper@redhat.com> - [BZ #4925] - * debug/pcprofiledump.c: Turn on internationalization by calling - setlocale. Patch mostly by Benno Schulenberg. + * nis/nis_file.c: Rewrite the two pairs of functions into wrappers + around a pair of new, generalized functions. 22% size reduction. - [BZ #4936] - * iconv/gconv.c (__gconv): If flush was successful, clear rest of - the state. - * iconvdata/Makefile: Add rules to build and run bug-iconv5. - * iconvdata/bug-iconv5.c: New file. +2005-07-27 Ulrich Drepper <drepper@redhat.com> -2007-08-04 Carlos O'Donell <carlos@systemhalted.org> + * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs. + Rearrange code. This reduces the code size 10%. - [BZ #4896] - * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R, - R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, - R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, - R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, - R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, - R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, - R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, - R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64. +2005-07-26 Jakub Jelinek <jakub@redhat.com> -2007-08-21 Ulrich Drepper <drepper@redhat.com> + * misc/error.c (error_tail): Fix a comment typo. - [BZ #4937] - * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash - lookup loop. Suggested by John Reiser. +2005-07-25 Ulrich Drepper <drepper@redhat.com> -2007-08-21 Jakub Jelinek <jakub@redhat.com> + * po/zh_TW.po: Update from translation team. - * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h. + * debug/mbstowcs_chk.c: New file. + * debug/wcstombs_chk.c: New file. + * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk. + * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk. + * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs. -2007-08-20 Ulrich Drepper <drepper@redhat.com> + * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing. - * csu/libc-start.c: Don't handle VDSO_SETUP here. - * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead. - * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to... - * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code - to... - * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file. +2005-07-24 Ulrich Drepper <drepper@redhat.com> -2007-08-18 Ulrich Drepper <drepper@redhat.com> + * string/test-memset.c (test_main): Use negative byte value in + test. - * po/nl.po: Update from translation team. + * string/test-memset.c (do_one_test): Compare effect of call, not + only return value. + Add a few casts to avoid warnings. -2007-08-16 Andreas Jaeger <aj@suse.de> +2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp> - * locale/localeinfo.h: Make _nl_category_name_idxs extern. - Reported by Peter Festner <peter.festner@ewetel.net>. + * sysdeps/sh/memset.S (memset): Correct 2nd argument handling. -2007-08-17 Jakub Jelinek <jakub@redhat.com> +2005-07-24 Ulrich Drepper <drepper@redhat.com> - * login/tst-grantpt.c (test_einval): Add 3rd argument to open. + [BZ #1125] + * posix/Makefile (tests): Add tst-execvp4. + * posix/tst-execvp4.c: New file. -2007-08-16 Jakub Jelinek <jakub@redhat.com> +2005-07-24 Jakub Jelinek <jakub@redhat.com> - * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u - to check for undefined symbols. + [BZ #1125] + * posix/execvp.c (execvp): Change path_malloc to + char *, free that pointer on failure. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): - If the syscall fails, set errno to the actual returned error number - rather than EINVAL. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If - arguments are incorrect, set errno to EINVAL, if the syscall - fails, set errno to the actual returned error number. +2005-07-24 Ulrich Drepper <drepper@redhat.com> - * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. - * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove. + * wcsmbs/bits/wchar2.h: Use __FILE not FILE. + * wcsmbs/Makefile: Add rules to build and run tst-wchar-h. + * wcsmbs/tst-wchar-h.c: New file. - * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... - * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New - file. - (ASI_PNF, ASI_BLK_P): Don't define. - * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New - file. - * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... - * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New - file. +2005-07-22 Ulrich Drepper <drepper@redhat.com> -2007-08-15 Jakub Jelinek <jakub@redhat.com> + * stdio-common/fxprintf.c (__fxprintf): Define variable more local. - * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising - FE_UNDERFLOW on Niagara CPUs. +2005-07-22 Jakub Jelinek <jakub@redhat.com> - * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all - exceptions. + * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use + __gnuc_va_list rather than _G_va_list. -2007-08-14 Jakub Jelinek <jakub@redhat.com> +2005-07-22 Roland McGrath <roland@redhat.com> - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No - need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. - (sparc_fixup_plt): Add do_flush argument instead of figuring whether - flush should be used or not inside of the function. - (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. + [BZ #869] + * Makerules ($(objpfx)stubs): Fix last change. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, - __thread_start): Use HIDDEN_JUMPTARGET. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, - __thread_start): Likewise. - * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. +2005-07-21 Roland McGrath <roland@redhat.com> - * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. - Add libc_hidden_proto. - (STRTOF): Add libc_hidden_proto. - (___new_strtold_l, ___new_wcstold_l): New weak aliases. - (strtold_l, wcstold_l): Use them as second argument for - long_double_symbol. + * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o). -2007-08-14 Ulrich Drepper <drepper@redhat.com> + * stdlib/Makefile (headers): Move bits/wchar.h to ... + * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too. - * elf/dl-misc.c: Undo last change. The kernel won't allow it. +2005-07-21 Jakub Jelinek <jakub@redhat.com> -2007-08-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> + * wcsmbs/bits/wchar2.h (swprintf): Remove format argument. + * debug/tst-chk1.c (do_test): Add test for swprintf with format + being the last argument. - * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def. +2005-07-21 Thorsten Kukuk <kukuk@suse.de> -2007-08-14 Ulrich Drepper <drepper@redhat.com> + * debug/getgroups_chk.c (__getgroups_chk): Fix return value. - * po/bg.po: New file. From the translation team. + * stdio-common/fxprintf.c: Include string.h. -2007-08-13 Jakub Jelinek <jakub@redhat.com> +2005-07-20 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, - __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, - __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions - when each feature was introduced. + [BZ #1138] + * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. - * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. - (CHECK_HASH): New macro. - (PREPARE_VERSION): Use it. +2005-07-20 Bob Wilson <bob.wilson@acm.org> + Darin Petkov <darin@tensilica.com> - * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide - prototype if not __ASSUME_PSELECT. - * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide - prototype if not __ASSUME_PPOLL. + [BZ #1138] + * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value. - * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. +2005-07-20 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, - hp_timing_settime): Don't define or declare if HANDLED_CPUTIME - is defined. + * include/stdio.h (__fxprintf): Remove wfmt argument. + * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. + (__fxprintf): Remove wfmt argument, create wfmt format string on + the fly from fmt. + * argp/argp-fmtstream.c: Adjust all __fxprintf callers. + * argp/argp-help.c: Likewise. + * assert/assert-perr.c: Likewise. + * assert/assert.c: Likewise. + * gmon/gmon.c: Likewise. + * inet/rcmd.c: Likewise. + * malloc/obstack.c: Likewise. + * misc/error.c: Likewise. + * misc/getpass.c: Likewise. + * posix/getopt.c: Likewise. + * resolv/res_hconf.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sysdeps/generic/wordexp.c: Likewise. + +2005-07-20 Ulrich Drepper <drepper@redhat.com> + + * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, + wcsrtombs, mbsnrtowcs, and wcsnrtombs. + * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk, + wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk. + * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk, + __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk. + * debug/tst-chk1.c: Add tests for new functions. + * debug/mbsnrtowcs_chk.c: New file. + * debug/mbsrtowcs_chk.c: New file. + * debug/wcrtomb_chk.c: New file. + * debug/wcsnrtombs_chk.c: New file. + * debug/wcsrtombs_chk.c: New file. + +2005-07-19 Ulrich Drepper <drepper@redhat.com> + + * stdio-common/Makefile (aux): Add fxprintf. + * stdio-common/fxprintf.c: New file. + * include/stdio.h: Add declaration for __fxprintf. + * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream + orientation test and two separate function calls. + * argp/argp-help.c: Likewise. + * assert/assert-perr.c: Likewise. + * assert/assert.c: Likewise. + * gmon/gmon.c: Likewise. + * inet/rcmd.c: Likewise. + * malloc/obstack.c: Likewise. + * misc/error.c: Likewise. + * misc/getpass.c: Likewise. + * posix/getopt.c: Likewise. + * resolv/res_hconf.c: Likewise. + * stdio-common/perror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_array.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sysdeps/generic/wordexp.c: Likewise. -2007-08-13 Ulrich Drepper <drepper@redhat.com> + [BZ #1137] + * misc/Makefile: Add rules to build and run tst-error1. + * misc/tst-error1.c: New file. + * misc/error.c: Fix memory leak and possibly endless loop. - * sysdeps/unix/sysv/linux/x86_64/libc-start.c - (_libc_vdso_platform_setup): If vDSO is not available point - __vdso_gettimeofday to the vsyscall. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use - __vdso_gettimeofday instead of vsyscall. + * configure.in: Check for -fstack-protector gcc option. + * config.make.in (have-ssp): Add template. + * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported. -2007-08-13 Jakub Jelinek <jakub@redhat.com> + * nscd/nscd.c (main): Don't ignore result of chdir call. - * nscd/servicescache.c: Include kernel-features.h. - * nscd/gai.c: Likewise. - * sysdeps/unix/sysv/linux/statfs64.c: Likewise. - * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. - * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. - -2007-08-12 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute, - and _dl_get_origin defines anymore. - - * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu): - Build fix for systems which might lack POSIX timer support. - - * sysdeps/unix/sysv/linux/x86_64/libc-start.c - (_libc_vdso_platform_setup): Mangle function pointers before storing - them. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): - Demangle vdso pointer before use. - (INTERNAL_VSYSCALL): Likewise. - - * elf/cache.c (primes): Mark as const. - Noted by Roland McGrath. - -2007-08-01 Andreas Jaeger <aj@suse.de> - Jakub Jelinek <jakub@redhat.com> +2005-07-18 Roland McGrath <roland@redhat.com> - * elf/ldconfig.c (opt_ignore_aux_cache): Add new option. - (options): Add option. - (parse_opt): Handle option. - (manual_link): Adjust process_file caller. Call implicit_soname. - (search_dir): Formatting. Use and populate auxiliary cache. - (main): Load and save auxiliary cache. - * elf/readlib.c (process_file): Add stat_buf argument. Pass struct - stat64 from fstat64 to caller. - (implicit_soname): New function. - * elf/readelflib.c (process_elf_file): If DT_SONAME is not present, - leave *soname as NULL. - * elf/cache.c: Include libgen.h. - (print_entry, print_cache, compare, save_cache, add_to_cache): - Formatting and cleanups. - (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry, - aux_cache_file): New structures. - (AUX_CACHEMAGIC): Define. - (primes): New array. - (aux_hash_size, aux_hash): New variables. - (aux_cache_entry_id_hash, nextprime, init_aux_cache, - search_aux_cache, insert_to_aux_cache, add_to_aux_cache, - load_aux_cache, save_aux_cache): New functions. - * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define. - (init_aux_cache, search_aux_cache, add_to_aux_cache, - load_aux_cache, save_aux_cache, implicit_soname): New prototypes. - (process_file): Adjust prototype. - -2007-08-12 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h - with __need_size_t. - -2007-08-12 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect - r_found_version structure as second parameter. - * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define. - (_dl_vdso_vsym): Change type of second parameter accordingly. - * sysdeps/unix/sysv/linux/x86-64/libc-start.c - (_libc_vdso_platform_setup): Adjust. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c - (_libc_vdso_platform_setup): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to... - * sysdeps/unix/sysv/linux/dl-vdso.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to... - * sysdeps/unix/sysv/linux/dl-vdso.h: ...here. - * csu/libc-start.c: Pretty printing. - Use VDSO_SETUP if defined. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP - and let generic code call into _libc_vdso_platform_setup. - * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing. - Define INLINE_VSYSCALL and INTERNAL_VSYSCALL. - * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime - for GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf] - (sysdep_rountines): Add dl-vdso. - - * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead - of routines. - - * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add - attribute_hidden to __vdso_gettimeofday prototype. - -2007-08-12 Roland McGrath <roland@redhat.com> - - * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual. - From: Karl Berry <karl@freefriends.org>. - -2007-08-11 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need - an atime update for the files we read. - -2007-08-10 Ulrich Drepper <drepper@redhat.com> - - * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. - - * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp - instead of mkstemp. - - * misc/Makefile (routines): Add mkostemp and mkostemp64. - * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7. - * misc/mkostemp.c: New file. - * misc/mkostemp64.c: New file. - * stdlib/stdlib.h: Declare the new functions. - * sysdeps/posix/tempname.c: Add new parameter which is added to - the flags for open. Remove __GT_BIGFILE handling. - * stdio-common/tempname.c: Likewise. - * include/stdio.h: Adjust __gen_tempname prototype. - Renumber __GT_* constants. - * libio/oldtmpfile.c: Adjust for __gen_tempname interface change. - * misc/mkdtemp.c: Likewise. - * misc/mkstemp.c: Likewise. - * misc/mkstemp64.c: Likewise. - * misc/mktemp.c: Likewise. - * stdio-common/tempnam.c: Likewise. - * stdio-common/tmpfile.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/tmpnam.c: Likewise. - * stdio-common/tmpnam_r.c: Likewise. + [BZ #869] + * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of + objdump command line. -2007-08-10 Roland McGrath <roland@frob.com> +2005-07-18 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): - New macros. - (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. - Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. + * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE. -2007-08-10 Ulrich Drepper <drepper@redhat.com> + * nscd/connections.c: Fix a few wur warnings. - * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if - possible. - * nss/nss_files/files-alias.c (internal_setent): Likewise. - * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec. - * nss/nss_files/files-have_o_cloexec.c: New file. + [BZ #1113] + * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID + length. Patch by Ivan Gyurdiev <ivg2@cornell.edu>. - * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if - available. + * debug/confstr_chk.c: New file. + * debug/getdomainname_chk.c: New file. + * debug/getgroups_chk.c: New file. + * debug/gethostname_chk.c: New file. + * debug/getlogin_r_chk.c: New file. + * debug/ttyname_r_chk.c: New file. + * posix/bits/unistd.h: Add definitions for new debug versions. + * debug/tst-chk1.c: Add tests for new functions. + * debug/Versions: Export new functions. + * debug/Makefile (routines): Add new files. -2007-08-10 Jakub Jelinek <jakub@redhat.com> + * stdlib/bits/stdlib.h: Fix typo. - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, - ___new_wcstold_l): New weak aliases. - (strtold_l, wcstold_l): Use them as second argument for - long_double_symbol. +2005-07-13 Thorsten Kukuk <kukuk@suse.de> -2007-08-09 Ulrich Drepper <drepper@redhat.com> + * manual/Makefile (libc/index.html): Depend on dir-add.texi. - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct - register in test for error. +2005-07-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. + * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT + where necessary. + * wcsmbs/bits/wchar2.h: Likewise. - * po/sv.po: Update from translation team. +2005-07-15 Andreas Jaeger <aj@suse.de> -2007-08-06 Roland McGrath <roland@redhat.com> + * debug/Makefile (tst-lfschk3-ENV): New, set locale. + (tst-lfschk2-ENV): New. + (tst-lfschk1-ENV): New. + (tst-chk3-ENV): New. + (tst-chk2-ENV): New. + (tst-chk1-ENV): New. - * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. - Remove __strto*_l inlines. - * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. - * stdlib/strtod.c: Add libc_hidden_def. - * stdlib/strtod_l.c: Likewise. - * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto - for __new_strtold and __new_wcstold. - * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for - __STRTOF, STRTOF. - * stdlib/strtol.c: Add libc_hidden_def. - * stdlib/strtol_l.c: Likewise. - * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and - strtoq. + [BZ #1079] + * include/stdlib.h: Remove malloc attribute from __posix_memalign. + * stdlib/stdlib.h: Likewise. - * scripts/data/localplt-powerpc-linux-gnu.data: New file. +2005-07-15 Ulrich Drepper <drepper@redhat.com> + + * wcsmbs/bits/wchar2.h: New file. + * include/bits/wchar2.h: New file. + * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is + requested. + * wcsmbs/wcsncpy.c: Add __wcsncpy alias. + * string/bits/string3.h: Add fortified stpncpy definitions. + * sysdeps/generic/stpncpy_chk.c: New file. + * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h. + Export _IO_wstrn_jumps. + * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps. + * include/wchar.h: Declare __wcsncpy and __vswprintf_chk. + * debug/fgetws_chk.c: New file. + * debug/fgetws_u_chk.c: New file. + * debug/fwprintf_chk.c: New file. + * debug/swprintf_chk.c: New file. + * debug/vfwprintf_chk.c: New file. + * debug/vswprintf_chk.c: New file. + * debug/vwprintf_chk.c: New file. + * debug/wcpcpy_chk.c: New file. + * debug/wcpncpy_chk.c: New file. + * debug/wcscat_chk.c: New file. + * debug/wcscpy_chk.c: New file. + * debug/wcsncat_chk.c: New file. + * debug/wcsncpy_chk.c: New file. + * debug/wmemcpy_chk.c: New file. + * debug/wmemmove_chk.c: New file. + * debug/wmempcpy_chk.c: New file. + * debug/wmemset_chk.c: New file. + * debug/wprintf_chk.c: New file. + * debug/tst-chk1.c: Add tests for new functions. + * debug/Versions: Export new functions. + * debug/Makefile (routines): Add new functions. + +2005-07-13 Ulrich Drepper <drepper@redhat.com> + + * nscd/nscd_helper.c: Add a few __builtin_expect. + + [BZ #1080] + * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly. + * nscd/nscd_helper.c (wait_on_socket): New function. + (get_mapping): Use wait_on_socket instead of poll. The former handles + EINTR of poll correctly. + (__nscd_open_socket): Likewise. + (get_mapping): Make sure BUF is aligned correctly. + (get_mapping): Use munmap on correct pointer. + +2005-07-12 Ulrich Drepper <drepper@redhat.com> + + * include/libc-symbols.h: Define macros for librt hidden symbols. + * include/time.h: Add librt_hidden_proto definition for clock_gettime. + * sysdeps/generic/clock_gettime.c: Add librt_hidden_def. + * sysdeps/unix/clock_gettime.c: Likewise. + + * stdlib/bits/stdlib.h: New file. + * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is + requested. + * Makefile (headers): Add bits/stdlib.h. + * include/bits/stdlib.h: New file. + * debug/Depend: New file. + * debug/ptsname_r_chk.c: New file. + * debug/realpath_chk.c: New file. + * debug/wctomb_chk.c: New file. + * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and + wctomb_chk. + * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and + __wctomb_chk. + * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and + __wctomb_chk. + +2005-07-12 Jakub Jelinek <jakub@redhat.com> + + [BZ #1106] + * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h. + (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel + instead of read and close_not_cancel_no_status instead of close. + + [BZ #1106] + * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use + HIDDEN_BUILTIN_JUMPTARGET to jump to memmove. + +2005-06-27 Carlos O'Donell <carlos@systemhalted.org> + + * posix/regcomp.c (re_compile_internal): Call __libc_lock_init + after init_dfa. + +2005-07-08 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove + alignment. + * sysdeps/x86_64/fpu/s_sincos.S: New file. + + * include/fenv.h: Add libm_hidden_proto for fesetround and + feholdexcept. + * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def. + * sysdeps/alpha/fpu/fesetround.c: Likewise. + * sysdeps/generic/feholdexcpt.c: Likewise. + * sysdeps/generic/fesetround.c: Likewise. + * sysdeps/i386/fpu/feholdexcpt.c: Likewise. + * sysdeps/i386/fpu/fesetround.c: Likewise. + * sysdeps/ia64/fpu/feholdexcpt.c: Likewise. + * sysdeps/ia64/fpu/fesetround.c: Likewise. + * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fesetround.c: Likewise. + * sysdeps/s390/fpu/feholdexcpt.c: Likewise. + * sysdeps/s390/fpu/fesetround.c: Likewise. + * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise. + * sysdeps/sh/sh4/fpu/fesetround.c: Likewise. + * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. + * sysdeps/sparc/fpu/fesetround.c: Likewise. + * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise. + * sysdeps/x86_64/fpu/fesetround.c: Likewise. + * sysdeps/generic/s_significand.c (__significand): Use __ilogb not + ilogb. + * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf + not ilogbf. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and + __cos, not sin and cos. + +2005-07-07 Ulrich Drepper <drepper@redhat.com> + + * resolv/res_send.c (send_dg): Recognize referral results and + treat them as server errors. + Based on a patch by Jason Vas Dias <jvdias@redhat.com>. + +2005-07-08 Carlos O'Donell <carlos@systemhalted.org> + + * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19. + + * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0. + * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise. + * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise. + * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise. + * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise. + * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise. + +2005-07-07 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better. + * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise. + * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise. + * sysdeps/generic/s_ctan.c (__ctan): Likewise. + * sysdeps/generic/s_ctanf.c (__ctanf): Likewise. + * sysdeps/generic/s_ctanl.c (__ctanl): Likewise. + +2005-04-13 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #974] + * csu/elf-init.c (__preinit_array_start): Take int, char **, char **. + (__preinit_array_end): Likewise. + (__init_array_start): Likewise. + (__init_array_end): Likewise. + (__libc_csu_init): Take int argc, char **argv, char **envp. + Call preinit_array and init_array with argc, argv, envp. + * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove + INIT_MAIN_ARGS. + * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed. + * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c, + tst-array5dep.c, and tst-array5.exp. + (tests): Add tst-array5. + (tests-static): Add tst-array5-static. + ($(objpfx)tst-array5): New target. + ($(objpfx)tst-array5.out): Likewise. + ($(objpfx)tst-array5-static.out): Likewise. + * elf/tst-array5-static.c: New file. + * elf/tst-array5-static.exp: Likewise. + * elf/tst-array5.c: Likewise. + * elf/tst-array5.exp: Likewise. + * elf/tst-array5dep.c: Likewise. + +2005-07-07 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype. + +2005-07-05 Jakub Jelinek <jakub@redhat.com> + + * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition. + Reported by Ulrich Weigand <uweigand@de.ibm.com>. + + * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition. + +2005-07-06 Ulrich Drepper <drepper@redhat.com> + + * elf/dl-error.c (_dl_signal_error): When testing for executable + being relocated, take into account that nothing might even be loaded. + + * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define + consider_profiling always to zero. Don't count of compiler to + remove unreached if block. + * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile): + Don't compile. + * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. + * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. + * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile): + Likewise. + * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile): + Likewise. + * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF] + (_dl_profile_resolve): Likewise. + * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF] + (_dl_profile_resolve): Likewise. + * gmon/Makefile: Add rules to build and run tst-profile-static. + * gmon/tst-profile-static.c: New file. + * Makeconfig (+link-static): Allow passing program-specific flags. - * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... - * scripts/data/localplt-generic.data: ... here. - * elf/Makefile (check-data): Get generic file if no other. - ($(objpfx)check-localplt.out): Make target unconditional. +2005-07-05 Thorsten Kukuk <kukuk@suse.de> - * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): - Use ElfW(Nhdr). + [BZ #1111] + * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS + module provides getgrgid_r. + (getgrnam_plusgroup): Preserve original return value. + * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve + original return value. + * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise. -2007-08-05 Ulrich Drepper <drepper@redhat.com> +2005-07-05 Ulrich Drepper <drepper@redhat.com> - * po/zh_CN.po: Updated translation from translation team. + [BZ #1101] + * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not + MB_CUR_MAX. + (build_wcs_upper_buffer): Likewise. -2007-08-05 Jakub Jelinek <jakub@redhat.com> + * csu/elf-init.c (__libc_csu_fini): Pretty printing. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): - Don't use CGOTSETUP and CGOTRESTORE macros. +2005-07-02 Roland McGrath <roland@redhat.com> -2007-08-04 Roland McGrath <roland@redhat.com> + * NEWS: Note LinuxThreads removal. + * manual/install.texi (Installation): Don't mention linuxthreads. + (Configuring and compiling): Don't use linuxthreads as example. - * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. + * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only, + not linuxthreads. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * resolv/Depend: Add nptl. + * rt/Depend: Likewise. + + * linuxthreads, linuxthreads_db: Directories removed (preserved in + ports repository). + +2005-06-27 Jakub Jelinek <jj@ultra.linux.cz> + + [BZ #1037] + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated, + use -mcpu=v8. + +2005-06-16 Jakub Jelinek <jakub@redhat.com> + + [BZ #1016] + * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label. + +2005-06-23 Thorsten Kukuk <kukuk@suse.de> + + [BZ #1109] + * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR + with own translation. + +2005-06-25 Jakub Jelinek <jakub@redhat.com> + + [BZ #1097] + * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast + t2 to uint32_t instead of ulong. + * sunrpc/Makefile (tests): Add tst-xdrmem. + * sunrpc/tst-xdrmem.c: New test. + + * Versions.def (ld): Add GLIBC_2.4. + * configure.in: Add --enable-stackguard-randomization option. + (ENABLE_STACKGUARD_RANDOMIZE): New define. + * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h. + (_dl_setup_stack_chk_guard): New inline function. + * sysdeps/generic/dl-osinfo.h: Include stdint.h. + (_dl_setup_stack_chk_guard): New inline function. + * elf/rtld.c (__stack_chk_guard): New variable. + (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE. + Set __stack_chk_guard to _dl_setup_stack_chk_guard (), + use THREAD_SET_STACK_GUARD if defined. + * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4. + * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable. + (__libc_start_main): Set __stack_chk_guard to + _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. + * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all + traces of TLS_INIT_TP_EXPENSIVE. + * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4. + * debug/Makefile (routines): Add stack_chk_fail. + (static-only-routines): Add stack_chk_fail_local. + * debug/stack_chk_fail_local.c: New file. + * debug/stack_chk_fail.c: New file. + * elf/Makefile: Add rules to build and run tst-stackguard1{,-static} + tests. + * elf/tst-stackguard1.c: New file. + * elf/tst-stackguard1-static.c: New file. + * elf/stackguard-macros.h: New file. -2007-08-04 Jakub Jelinek <jakub@redhat.com> +2005-06-21 Ulrich Drepper <drepper@redhat.com> - * io/bits/fcntl2.h (open, open64, openat, openat64): Add - __extension__ around the whole statement expression. + * resource/Makefile (tests): Add tst-getrlimit. + * resource/tst-getrlimit.c: New file. -2007-08-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. - * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR - elements during initialization. +2005-06-20 Ulrich Drepper <drepper@redhat.com> - * po/pl.po: Updated translation from translation team. - * po/tr.po: Likewise. - * po/nl.po: Likewise. + * nscd/nscd.init: Get more in line with lsb3. + * nscd/nscd.c: Adjust some error codes to fit in better with lsb3. + * nscd/connections.c: Likewise. -2007-08-03 Ulrich Drepper <drepper@redhat.com> +2005-06-20 Jakub Jelinek <jakub@redhat.com> + + [BZ #653] + * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for + _LINUX_QUOTA_VERSION >= 2. + (_LINUX_QUOTA_VERSION): Define if not yet defined. + + * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE, + RLIMIT_RTPRIO): Add. + (RLIMIT_NLIMITS): Adjust. + +2005-06-17 Ulrich Drepper <drepper@redhat.com> + + [BZ #1106] + * time/mktime.c: Always include <string.h> for prototype of + implicitly used memcpy. + + [BZ #1104] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c + (truncate64): Use __truncate, not truncate. + (__have_no_truncate64): Renamed from have_no_truncate64. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c + (__have_no_truncate64): Renamed from have_no_truncate64. + + * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex + float functions for gcc 4. + +2005-06-10 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): + Handle prelinked libraries and binaries with new style PLT. + +2005-06-07 Jakub Jelinek <jakub@redhat.com> + + * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, + R_PPC_REL16_HA): Define. + +2005-06-14 Alan Modra <amodra@bigpond.net.au> + + * config.h.in (HAVE_ASM_PPC_REL16): Add. + * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define. + * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of + TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout. + * sysdeps/powerpc/powerpc32/configure.in: New file, + * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file. + * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define. + (ppc_got): New inline function. + (elf_machine_dynamic): Use ppc_got. Add attribute const. + (elf_machine_load_address): Add attribute const. Don't use int vars. + Use bcl rather than bl to save trashing branch target stack. Use + elf_machine_dynamic rather than duplicating code here. + (elf_machine_runtime_setup): New inline function replacing define. + Handle new PLT. + (elf_machine_fixup_plt): Handle new PLT. + (elf_machine_rela): Likewise. + * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h. + (CALL_MCOUNT): Don't set up counter vars. + * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment. + * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't + define when HAVE_ASM_PPC_REL16. + (_start): Add HAVE_ASM_PPC_REL16 code. + * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl + into the GOT when HAVE_ASM_PPC_REL16. + * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S + (__getcontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S + (__setcontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S + (__swapcontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock): + Comment. + (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE. + +2005-06-17 Ulrich Drepper <drepper@redhat.com> + + [BZ #1106] + * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler + to use __GI_memset. + * sysdeps/posix/signal.c: Likewise. + * sysdeps/posix/sigset.c: Likewise. + * sysdeps/posix/sysv_signal.c: Likewise. + * sysdeps/unix/sysv/linux/sleep.c: Likewise. + * sysdeps/unix/sysv/linux/sysctl.c: Likewise. + * sysdeps/unix/sysv/linux/system.c: Likewise. + +2005-06-15 Jakub Jelinek <jakub@redhat.com> + + [BZ #1088] + * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0 + or both classes equal here. + (parse_config_file): If both classes are equal, clear the second one. + +2005-06-08 Karl Kelley <kekelley@iastate.edu> + + [BZ #1088] + * hesiod/hesiod_p.h (struct hesiod_p): Add classes array. + * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no + valid classes were given or if both are equal. + (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN + and C_HS order. + (parse_config_file): Handle classes keyword. + * hesiod/README.hesiod: Mention addition of the classes keyword. + +2005-06-14 Ulrich Drepper <drepper@redhat.com> + + [BZ #1085] + * configure.in: Add test for availability of libaudit. + * config.h.in: Define HAVE_LIBAUDIT. + * config.make.in: Define have-libaudit. + * nscd/Makefile: If libaudit is available, link nscd with it. + * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit. + Patch by Steve Grubb <sgrubb@redhat.com>. + + * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. + * sysdeps/posix/posix_fallocate64.c: Likewise. + * include/string.h: Use libc_hidden_proto for strnlen. + * sysdeps/generic/strnlen.c: Add libc_hidden_def. + * include/libintl.h: Use libc_hidden_proto for __dcgettext. + * intl/dcgettext.c: Add libc_hidden_def. + * include/execinfo.h: Add libc_hidden_proto for __backtrace and + __backtrace_symbols_fd. + * sysdeps/generic/backtrace.c: Add libc_hidden_def. + * sysdeps/generic/backtracesymsfd.c: Likewise. + * sysdeps/generic/elf/backtracesymsfd.c: Likewise. + * sysdeps/i386/backtrace.c: Likewise. + * sysdeps/ia64/backtrace.c: Likewise. + * sysdeps/powerpc/powerpc32/backtrace.c: Likewise. + * sysdeps/powerpc/powerpc64/backtrace.c: Likewise. + * sysdeps/s390/s390-32/backtrace.c: Likewise. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + +2005-06-13 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case + where HANDLED_REALTIME is not defined. [BZ #966] + +2005-06-13 Jakub Jelinek <jakub@redhat.com> + + [BZ #1096] + * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq, + __netlink_receive): Remove prototypes. + (__netlink_request): New prototype. + * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and + <stdint.h>. + (__netlink_sendreq): Make static. + (__netlink_receive): Rename to... + (__netlink_request): ... this. Add type argument, call + __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry + with a bigger buffer. Don't record buffers that contain no + messages we are expecting. + (getifaddrs): Use __netlink_request instead of __netlink_sendreq + and __netlink_receive pairs. Formatting. + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use + __netlink_request instead of __netlink_sendreq and __netlink_receive + pair. + +2005-06-13 Thorsten Kukuk <kukuk@suse.de> + + * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel + headers, instead copy important structs/defines. + +2005-06-13 Jakub Jelinek <jakub@redhat.com> + + * elf/rtld.c (dl_main): Move DT_DEBUG setup before first + _dl_debug_state call. + +2005-06-12 Ulrich Drepper <drepper@redhat.com> + + * elf/dl-error.c (_dl_signal_error): Store information about use of + real malloc in the catch object. + (_dl_catch_error): Forward information about malloc use to caller + in new parameter. + (_dl_out_of_memory): Make static. + * elf/dl-deps.c: Adjust callers of _dl_catch_error. + * elf/dl-libc.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/rtld.c: Likewise. + Add new --audit option. + * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration. + (rtld_global_ro._dl_signal_error): Add new parameter. + * include/dlfcn.h (_dl_catch_error): Add new parameter. + * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to + _dl_catch_error. Only free if the returned newly value says so. - * rt/aio.h: Add __nonnull attributes. +2005-06-01 Roland McGrath <roland@redhat.com> -2007-08-03 Jakub Jelinek <jakub@redhat.com> + [BZ #959] + * posix/tst-mmap.c (main): Fill the test file with enough data for the + page size. - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. - * stdlib/Makefile (tests): Add tst-strtod5. - (tst-strtod5-ENV): New. - * stdlib/tst-strtod5.c: New file. +2005-05-30 Jakub Jelinek <jakub@redhat.com> - * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open - failed. - * intl/finddomain.c (_nl_find_domain): Free normalized_codeset - on failure. + * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If + GLRO(dl_osversion) has been already set to a value smaller than + _dl_discover_osversion (), don't overwrite it here. - * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be - allocated. +2005-05-24 Thomas Schwinge <schwinge@nic-nac-project.de> -2007-08-03 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/i386/syscall.S (syscall): Call END. - * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument - numbers. +2005-05-28 Richard Henderson <rth@redhat.com> -2007-08-02 Ulrich Drepper <drepper@redhat.com> + * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New. + * sysdeps/alpha/dl-dtprocnum.h: New file. + * sysdeps/alpha/dl-machine.h (DT_ALPHA): New. + (elf_machine_load_address): Simplify to rely on gprel relocations. + (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format. + Remove thread safety workaround for binutils 2.6. + (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format. + * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New. + (_dl_runtime_profile_new): New. + (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve. + (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix + typo in _dl_call_pltexit argument loading. - * io/Makefile (aux): Add have_o_cloexec. - * include/fcntl.h: Declare __have_o_cloexec. - * io/have_o_cloexec.c: New file. - * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. - (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the - fcntl call if not necessary. - * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead - of local variable. + * sysdeps/alpha/div_libc.h (funcnoplt): New. + * sysdeps/alpha/divl.S: Use it. + * sysdeps/alpha/divq.S: Likewise + * sysdeps/alpha/divqu.S: Likewise. + * sysdeps/alpha/reml.S: Likewise. + * sysdeps/alpha/remq.S: Likewise. + * sysdeps/alpha/remqu.S: Likewise. - * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. - Avoid memset, add explicit initialization. - * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn - to the end and change into zero-sized array. - Move lock member to fill a hole on 64-bit platforms. +2005-05-26 Andreas Schwab <schwab@suse.de> - * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* - inline functions. - * include/stdlib.h: Add __strto*_internal prototypes here. - * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* - inline functions. - * include/wchar.h: Add __wcsto*_internal prototypes. - * sysdeps/generic/inttypes.h: No need to protect the declaration - of the __strto*_internal and __wcsto*_internal members here. + * locale/Makefile (CFLAGS-loadlocale.c): Don't define. - * rt/mqueue.h: Change const to __const and add nonnull attributes. +2005-05-26 Ulrich Drepper <drepper@redhat.com> -2007-08-02 Roland McGrath <roland@redhat.com> + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value. + Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954] - * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to - $(inst_bindir)/getconf if possible. +2005-05-17 Alan Modra <amodra@bigpond.net.au> - * posix/Makefile ($(objpfx)getconf.speclist): New target. - (generated): Add it. - ($(inst_libexecdir)/getconf): Use it. + * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent + _dl_hwcap access in PIC && !SHARED case. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. -2007-08-01 Ulrich Drepper <drepper@redhat.com> +2005-05-25 Dwayne Grant McConnell <dgm69@us.ibm.com> + + * gmon/gmon.c: Add space in weak_alias use. + * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. + * sysdeps/alpha/htonl.S: Likewise. + * sysdeps/alpha/htons.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/i386/i386-mcount.S: Likewise. + * sysdeps/ia64/strchr.S: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/mach/hurd/readdir64_r.c: Likewise. + * sysdeps/mach/hurd/sigaltstack.c: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. + * sysdeps/s390/s390-32/s390-mcount.S: Likewise. + * sysdeps/s390/s390-64/s390x-mcount.S: Likewise. + * sysdeps/sparc/sparc32/memset.S: Likewise. + * sysdeps/sparc/sparc32/stpcpy.S: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc32/strchr.S: Likewise. + * sysdeps/sparc/sparc64/memcmp.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/memset.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/readdir64.c: Likewise. + * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. + * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise. + * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. + * sysdeps/x86_64/_mcount.S: Likewise. + +2005-05-24 Roland McGrath <roland@redhat.com> + + * sysdeps/unix/sysv/linux/i386/sysdep.h + (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ... + * sysdeps/i386/sysdep.h [PIC]: ... to here. + +2005-05-23 Roland McGrath <roland@redhat.com> + + * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm: + Subdirectories moved to ports repository. + * configure.in (base_machine): Remove arm* and thumb* patterns. + * shlib-versions (arm.*-.*-linux.*): Remove this pattern. - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using - /proc is faster and sufficient. /sys is still needed for - __get_nprocs_conf. +2005-05-23 Ulrich Drepper <drepper@redhat.com> -2007-08-01 Jakub Jelinek <jakub@redhat.com> + [BZ #1086] + * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd + implementations are broken and don't accept ports < 512. - * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate - syscall as __fallocate64. - * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. - * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. +2005-05-22 Dmitry V. Levin <ldv@altlinux.org> -2007-07-30 Jakub Jelinek <jakub@redhat.com> + [BZ #961] + * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64 + declarations. - * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t - value. +2005-05-23 Ulrich Drepper <drepper@redhat.com> - * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning - if off_t is different rank from size_t. + [BZ #1086] + * sunrpc/pm_getport.c (__get_socket): New function. + (pmap_getport): Use it to open a non-reserved socket to the portmapper + for TCP. + * include/rpc/pmap_clnt.h (__get_socket): Declare. + * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an + non-reserved socket for the portmapper. + Based on a patch by Steve Dickson <steved@redhat.com>. - * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, - uw_frame_state_for): Avoid type punning warnings. - * sysdeps/generic/unwind-dw2-fde-glibc.c - (_Unwind_IteratePhdrCallback): Likewise. - * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. - (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, - get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char - pointers. + [BZ #1086] + * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port. + If we tried looking at the usual range without success extend the + range to even lower ports. -2007-07-31 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch. - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count - total processors using sysfs. - (__get_nprocs): Use sysfs to determine which processors are online. +2005-05-22 Andreas Schwab <schwab@suse.de> -2007-07-31 Jakub Jelinek <jakub@redhat.com> + * elf/rtld.c: Include <dl-osinfo.h>. - * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix - syscall arguments count. +2005-05-17 Alan Modra <amodra@bigpond.net.au> - * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. + * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use + JUMPTARGET. Instead append @local to __syscall_error. + * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences + of JUMPTARGET. Instead append @local to labels. + * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. + * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise. + * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. + + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT + slot to access both constants. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise. -2007-07-30 Roland McGrath <roland@redhat.com> + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo. + (NEGZERO.0, POINTFIVE.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text. + (TWO52.0, POINTFIVE.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text. + (TWO23.0, POINTFIVE.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text. + (TWO52.0): Delete. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text. + (TWO23.0): Delete. + * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting. - * manual/libc.texinfo: Update copyrights, formatting magic, and - @dircategory. From Karl Berry <karl@freefriends.org>. +2005-05-19 Richard Henderson <rth@redhat.com> -2007-07-29 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around + CLOCK_REALTIME. - [BZ #4860] - * io/Makefile (headers): Add bits/fcntl2.h. + * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq, + __arch_compare_and_exchange_bool_64_acq, + __arch_compare_and_exchange_val_32_acq, + __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add): + Use __sync builtin without _si or _di suffix. - * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize - using gcc builtin. - (__CPU_EQUAL_S): Likewise. +2005-05-19 Jakub Jelinek <jakub@redhat.com> - * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. - (tests): Add tst-cpuset. - * posix/sched_cpualloc.c: New file. - * posix/sched_cpufree.c: New file. - * posix/tst-cpuset.c: New file. - * posix/Versions: Export __sched_cpualloc and __sched_cpufree for - GLIBC_2.7. - * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. - * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S - macros. Define CPU_*_S macros. + [BZ #955] + * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters + <UFFFF> and above. -2007-07-28 Ulrich Drepper <drepper@redhat.com> +2005-05-17 Andreas Schwab <schwab@suse.de> - * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE - entry. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c + (clock_getcpuclockid): Always return a defined value. - [BZ #4858] - * stdio-common/printf_fp.c (___printf_fp): Fix special case of - #.0g and value rounded to 1.0. - * stdio-common/tfformat.c (sprint_doubles): Add two new tests. +2005-05-17 Neal H. Walfield <neal@gnu.org> -2007-07-26 Jakub Jelinek <jakub@redhat.com> + [BZ #1350] + * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN] + instead of [SALEN]. + (gaih_inet): Likewise. - * locale/programs/ld-monetary.c (monetary_finish): Avoid range check - for int_frac_digits and frac_digits. +2005-05-11 Ulrich Drepper <drepper@redhat.com> - * login/logout.c (logout): Avoid aliasing violation. - * login/logwtmp.c (logwtmp): Likewise. + * elf/elf.h (Elf32_auxv_t): Make cross-compile safe. + (Elf64_auxv_t): Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for + removal of a_ptr element in ElfXX_auxv_t. + * elf/dl-support.c (_dl_aux_init): Likewise. - * libio/genops.c (_IO_un_link): Avoid aliasing violation. +2005-05-09 Daniel Jacobowitz <dan@codesourcery.com> - * nscd/selinux.c (preserve_capabilities): Initialize new_caps - to avoid warning. - * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid - warning. - * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid - warning. - * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len - to avoid warnings. - - * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to - void **. - * nss/nsswitch.h (service_user): Use void * type for KNOWN field. - - * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to - char * to avoid warning. - * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. - - * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. - - * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, - allocate_arrays): Cast second argument to charmap_find_symbol - to char * to avoid warnings. - - * locale/programs/repertoire.c (repertoire_new_char): Change - from_nr, to_nr and cnt to unsigned long, adjust printf format - string. - - * locale/programs/ld-collate.c (insert_value, handle_ellipsis): - Cast second argument to new_element to char * to avoid warnings. - - * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. - - * intl/gettextP.h (struct loaded_domain): Change plural to const - struct expression *. - * intl/plural-eval.c (plural_eval): Change first argument to - const struct expression *. - * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first - argument to const struct expression **. - * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust - prototypes. - * intl/loadmsgcat (_nl_unload_domain): Cast away const - in call to __gettext_free_exp. - - * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe - unitialized wstring/wpattern var warnings. - - * posix/runtests.c (struct a_test): Make data field const char *. - - * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf - vars if not LDBL_MANT_DIG >= 106. - - * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. - - * stdio-common/vfprintf.c (vfprintf): Cast first arugment to - __find_specmb to avoid warning. - - * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. - - * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts - to avoid warnings. - - * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to - initializer. - - * sysdeps/unix/clock_gettime.c (clock_gettime): Only define - tv var when it will be actually used. - - * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void - to avoid warnings. - - * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned - char array resp. pointer. - * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of - char array. - * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument - to const unsigned char **. - (ucs4_to_cns11643): Change second argument to unsigned char *. - * iconvdata/euc-tw.c (BODY): Change endp type to - const unsigned char *. - * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument - to unsigned char *. - * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. - * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. - * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp - types to unsigned char pointers/arrays instead of char. - * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument - to unsigned char *. - * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. - * iconvdata/jis0212.h: Include assert.h. - (ucs4_to_jisx0212): Change second argument to unsigned char *. - assert that if cp[0] is not '\0', cp[1] is not '\0' either instead - of trying to handle that. - * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to - shut up a warning. - * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, - from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to - two dimensional const unsigned char arrays. - (BODY): Cast "" to (const unsigned char *) for assignment to cp. - Initialize endp to inptr to shut up a warning. - -2007-07-20 Jakub Jelinek <jakub@redhat.com> - - [BZ #4772] - * time/strptime_l.c (__strptime_internal): Silently ignore - strftime modifiers and field width in recursive calls. - - * include/time.h (enum ptime_locale_status): Remove. - (__strptime_internal): Remove decided and era_cnt arguments, - add statep argument. - * time/strptime_l.c (__strptime_internal): Remove decided - and era_cnt arguments, add statep argument. Don't recompute - any fields in recursive calls, only update caller's tm - and state, if recursive call fails, don't change tm nor - any state. - (get_alt_number): Adjust. - (recursive): Adjust caller. - (strptime): Likewise. - * time/strptime.c (strptime): Likewise. - -2007-07-19 Jakub Jelinek <jakub@redhat.com> - - * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. - * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV - if from and to charsets are the same. - * iconv/gconv_db.c (__gconv_find_transform): Likewise. - * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open - returns __GCONV_NOCONV, but not for __GCONV_NULCONV. - -2007-07-17 Jakub Jelinek <jakub@redhat.com> - - * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. - Don't define wint_t when __need_mbstate_t unless it - is necessary. - (__mbstate_t): Use __WINT_TYPE__ rather than wint_t - in the typedef if possible. - * wctype/wctype.h (wint_t): Define by including - wchar.h with __need_wint_t instead of including stddef.h - with __need_wint_t and as fallback definining it ourselves. - * iconv/gconv.h (__need_wint_t): Define before including - wchar.h. - * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC - or _GLIBCPP_USE_WCHAR_T. - (__need_wchar_t): Don't define - if not _LIBC or _GLIBCPP_USE_WCHAR_T. - (__need_wint_t): Don't define before including stddef.h, - define before including wchar.h only if _LIBC or - _GLIBCPP_USE_WCHAR_T. - (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. - * sysdeps/mach/hurd/_G_config.h: Likewise. - * sysdeps/generic/_G_config.h: Likewise. - * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only - prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. - (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define - if _LIBC or _GLIBCPP_USE_WCHAR_T. - -2007-07-28 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/posix_fallocate64.c: Undefine - __posix_fallocate64_l64 before alias handling. - * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. - * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. - * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. - - * io/tst-posix_fallocate.c: Include <fcntl.h>. - -2007-07-23 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/ld-collate.c (atwc): New variable. - (add_to_tablewc): New toplevel function, moved from collate_output. - (collate_output): Remove add_to_tablewc nested function. - - * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. - (name_insert): New function. - (write_output): Remove hash_table and hash_size vars and name_insert - nested function. - -2007-07-24 Roland McGrath <roland@redhat.com> - - * Makerules (install-others-programs-nosubdir): New target. - (install-no-libc.a-nosubdir): Depend on it. - - * iconv/Makefile (install-others-programs): Set this instead of - install-others. - * login/Makefile (install-others-programs): Likewise. - * posix/Makefile (install-others-programs): Likewise. - - * Makerules (install-no-libc.a-nosubdir): Clean up conditional - dependencies. - -2007-07-23 Ulrich Drepper <drepper@redhat.com> - - * io/Makefile (tests): Add tst-posix_fallocate. - * io/tst-posix_fallocate.c: New file. + * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>. + * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_FALLOCATE. +2005-05-09 Alan Modra <amodra@bigpond.net.au> -2007-07-22 Roland McGrath <roland@frob.com> + * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use + .pushsection/.popsection in place of .section/.previous. - * hurd/getdport.c: Add missing copyright year update. +2005-05-08 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. - * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. + * MakeTAGS: Make xgettext not look into test cases. -2007-07-22 Ulrich Drepper <drepper@redhat.com> + * MakeTAGS: Make sure translations in error calls are marked with + c-format by xgettext. - * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. +2005-05-07 Ulrich Drepper <drepper@redhat.com> - * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set - O_CLOEXEC is needed. - * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. - Avoid additional fcntl to set O_CLOEXEC if not needed. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. + * intl/libintl.h: Always use __attribute_format_arg__ for gettext + functions since gcc sometimes forgets the attribute for the + standard functions. -2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org> +2005-05-06 Jakub Jelinek <jakub@redhat.com> - [BZ #3665] - * manual/errno.texi: Change ECANCELED value to 119. + [BZ #934] + * posix/regex_internal.h: Include bits/libc-lock.h or define dummy + __libc_lock_* macros if not _LIBC. + (struct re_dfa_t): Add lock. + * posix/regcomp.c (re_compile_internal): Add __libc_lock_init. + * posix/regexec.c (regexec, re_search_stub): Add locking. - [BZ #4610] - * mach/lock-intern.h: Include <sys/cdefs.h>. +2005-05-04 Jakub Jelinek <jakub@redhat.com> - [BZ #4178] - * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before - reading A. + * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix) + as argument to the scripts. + * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir. + * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument. + * intl/tst-gettext5.sh: Likewise. - [BZ #4126] - * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias - to __sigsuspend. + * intl/tst-translit.sh: Add mkdir -p. - * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. + * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use + .ifndef/.endif to allow use of this macro more than once per .S + file. + (LOAD_PIC_REG): New macro. + * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame + information. + * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. + * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame + information. + * sysdeps/i386/fpu/e_log10f.S: Likewise. + * sysdeps/i386/fpu/s_expm1.S: Likewise. + * sysdeps/i386/fpu/e_acoshf.S: Likewise. + * sysdeps/i386/fpu/e_log2l.S: Likewise. + * sysdeps/i386/fpu/s_log1pf.S: Likewise. + * sysdeps/i386/fpu/s_lrint.S: Likewise. + * sysdeps/i386/fpu/s_llrint.S: Likewise. + * sysdeps/i386/fpu/s_ilogbf.S: Likewise. + * sysdeps/i386/fpu/s_cbrtl.S: Likewise. + * sysdeps/i386/fpu/s_asinhf.S: Likewise. + * sysdeps/i386/fpu/e_log.S: Likewise. + * sysdeps/i386/fpu/e_atanhf.S: Likewise. + * sysdeps/i386/fpu/s_lrintl.S: Likewise. + * sysdeps/i386/fpu/e_atanhl.S: Likewise. + * sysdeps/i386/fpu/e_scalb.S: Likewise. + * sysdeps/i386/fpu/s_log1p.S: Likewise. + * sysdeps/i386/fpu/s_nearbyintl.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. + * sysdeps/i386/fpu/s_log1pl.S: Likewise. + * sysdeps/i386/fpu/s_nearbyintf.S: Likewise. + * sysdeps/i386/fpu/s_cbrt.S: Likewise. + * sysdeps/i386/fpu/s_expm1l.S: Likewise. + * sysdeps/i386/fpu/s_lrintf.S: Likewise. + * sysdeps/i386/fpu/e_acosh.S: Likewise. + * sysdeps/i386/fpu/s_cexp.S: Likewise. + * sysdeps/i386/fpu/s_ilogbl.S: Likewise. + * sysdeps/i386/fpu/s_expm1f.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_logl.S: Likewise. + * sysdeps/i386/fpu/e_acoshl.S: Likewise. + * sysdeps/i386/fpu/s_frexp.S: Likewise. + * sysdeps/i386/fpu/e_pow.S: Likewise. + * sysdeps/i386/fpu/e_logf.S: Likewise. + * sysdeps/i386/fpu/e_log2.S: Likewise. + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/s_cexpl.S: Likewise. + * sysdeps/i386/fpu/s_llrintf.S: Likewise. + * sysdeps/i386/fpu/s_ilogb.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + * sysdeps/i386/fpu/e_atanh.S: Likewise. + * sysdeps/i386/fpu/e_log10.S: Likewise. + * sysdeps/i386/fpu/s_cbrtf.S: Likewise. + * sysdeps/i386/fpu/s_cexpf.S: Likewise. + * sysdeps/i386/fpu/s_llrintl.S: Likewise. + * sysdeps/i386/fpu/e_log10l.S: Likewise. + * sysdeps/i386/fpu/s_nearbyint.S: Likewise. + * sysdeps/i386/fpu/s_asinhl.S: Likewise. + * sysdeps/i386/fpu/e_log2f.S: Likewise. + * sysdeps/i386/addmul_1.S: Various fixes to cfi handling. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/memcpy.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + * sysdeps/i386/i686/memcmp.S: Likewise. + * sysdeps/i386/i686/memmove.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + +2005-05-03 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/i386/add_n.S: Add call frame information. + * sysdeps/i386/addmul_1.S: Likewise. + * sysdeps/i386/bsd-setjmp.S: Likewise. + * sysdeps/i386/lshift.S: Likewise. + * sysdeps/i386/memchr.S: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/i386/mul_1.S: Likewise. + * sysdeps/i386/rawmemchr.S: Likewise. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/stpncpy.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/i386/strchrnul.S: Likewise. + * sysdeps/i386/strcspn.S: Likewise. + * sysdeps/i386/strpbrk.S: Likewise. + * sysdeps/i386/strrchr.S: Likewise. + * sysdeps/i386/strspn.S: Likewise. + * sysdeps/i386/strtok.S: Likewise. + * sysdeps/i386/sub_n.S: Likewise. + * sysdeps/i386/submul_1.S: Likewise. + * sysdeps/i386/elf/bsd-setjmp.S: Likewise. + * sysdeps/i386/i486/strcat.S: Likewise. + * sysdeps/i386/i586/add_n.S: Likewise. + * sysdeps/i386/i586/addmul_1.S: Likewise. + * sysdeps/i386/i586/lshift.S: Likewise. + * sysdeps/i386/i586/memcpy.S: Likewise. + * sysdeps/i386/i586/memset.S: Likewise. + * sysdeps/i386/i586/mul_1.S: Likewise. + * sysdeps/i386/i586/rshift.S: Likewise. + * sysdeps/i386/i586/strchr.S: Likewise. + * sysdeps/i386/i586/strcpy.S: Likewise. + * sysdeps/i386/i586/sub_n.S: Likewise. + * sysdeps/i386/i586/submul_1.S: Likewise. + * sysdeps/i386/i686/add_n.S: Likewise. + * sysdeps/i386/i686/memcmp.S: Likewise. + * sysdeps/i386/i686/memmove.S: Likewise. + * sysdeps/i386/i686/mempcpy.S: Likewise. + * sysdeps/i386/i686/memset.S: Likewise. + * sysdeps/i386/i686/strtok.S: Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4. + + * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available + on ppc in 2.6.12. + +2005-04-29 Jakub Jelinek <jakub@redhat.com> + + [BZ #1083] + * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0, + call ftruncate if offset is bigger than current size. Make sure + the file is offset + len bytes long if that is more than current size. + Don't overwrite previous content of the file. + * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): + Likewise. -2006-06-13 Thomas Schwinge <tschwinge@gnu.org> +2005-05-02 Roland McGrath <roland@redhat.com> - * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to - `__ASSEMBLER__'. - * sysdeps/mach/hurd/i386/tls.h: Likewise. + [BZ #924] + * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value. -2007-07-21 Ulrich Drepper <drepper@redhat.com> +2005-04-29 Roland McGrath <roland@redhat.com> - * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for - descriptor received from nscd. + * timezone/africa: Update from tzdata2005i. + * timezone/asia: Likewise. + * timezone/northamerica: Likewise. + * timezone/yearistype: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. + * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. +2005-04-29 Ulrich Drepper <drepper@redhat.com> -2007-07-20 Jakub Jelinek <jakub@redhat.com> - - [BZ #4816] - * manual/signal.texi (Non-atomic Example): Make memory var volatile. - - [BZ #4813] - * login/forkpty.c (forkpty): Close master and slave fds on - fork failure. Patch by - Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. - -2007-07-18 Jakub Jelinek <jakub@redhat.com> - - * include/features.h (__USE_ISOC95): New define. - * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, - swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even - for -std=iso9899:199409. - * CONFORMANCE: Remove comments about unsupported AMD1. - -2007-07-17 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ia64/sched_cpucount.c: New file. - * sysdeps/powerpc/sched_cpucount.c: New file. - - * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add - __BEGIN_DECLS/__END_DECLS around the prototype. - * bits/sched.h (__sched_cpucount): Likewise. Make second argument - pointer to const cpu_set_t. - - * bits/types.h: Don't include stddef.h, don't define __need_size_t. - * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define - __need_size_t and include stddef.h. - * sysvipc/sys/msg.h: Likewise. - * posix/sched.h: Likewise. - * hurd/hurd/signal.h (__need_size_t): Define. - - * CONFORMANCE: ctype.h and wctype.h no longer define size_t, - neither does signal.h in pedantic ISO C namespaces. stdio.h - no longer defines wint_t or wchar_t. - - * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. - * debug/vfwprintf_chk.c (__vfwprintf_chk): Use - _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. - * debug/vprintf_chk.c (__vprintf_chk): Likewise. - * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. - * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. - * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. - * debug/printf_chk.c (__printf_chk): Likewise. - * debug/fprintf_chk.c (__fprintf_chk): Likewise. - * debug/wprintf_chk.c (__wprintf_chk): Likewise. - - * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): - Define. + [BZ #1093] + * nis/nis_table.c: Fix realloc handling. + * nis/nis_removemember.c: Likewise. - * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. - * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. +2005-04-28 Ulrich Drepper <drepper@redhat.com> -2007-07-16 Jakub Jelinek <jakub@redhat.com> + [BZ #798] + * nscd/Makefile: Help losers who use --with-headers. - [BZ #4792] - * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. - * malloc/malloc.h (realloc): Likewise. +2005-04-28 Roland McGrath <roland@redhat.com> - * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end - if one of proc_file_chain streams has that fileno. - * stdio-common/Makefile (tests): Add tst-popen2. - * stdio-common/tst-popen2.c: New test. + [BZ #796] + * sysdeps/unix/sysv/linux/dl-sysdep.h: New file. + Define NEED_DL_SYSINFO_DSO for all platforms. -2007-07-14 Jakub Jelinek <jakub@redhat.com> + * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection. + * sysdeps/alpha/dl-sysdep.h: Likewise. + Use #include_next instead of duplicating generic file's contents. + * sysdeps/ia64/dl-sysdep.h: Likewise. + * sysdeps/sparc/dl-sysdep.h: Likewise. - * elf/ldconfig.c: Allow GPLv2 or any later version. - * elf/readlib.c: Likewise. - * elf/chroot_canon.c: Likewise. - * elf/cache.c: Likewise. - * nscd/mem.c: Likewise. - * nscd/getpwuid_r.c: Likewise. - * nscd/grpcache.c: Likewise. - * nscd/aicache.c: Likewise. - * nscd/getsrvbynm_r.c: Likewise. - * nscd/nscd.c: Likewise. - * nscd/servicescache.c: Likewise. - * nscd/getsrvbypt_r.c: Likewise. - * nscd/initgrcache.c: Likewise. - * nscd/gethstbyad_r.c: Likewise. - * nscd/gethstbynm2_r.c: Likewise. - * nscd/getgrnam_r.c: Likewise. - * nscd/nscd_setup_thread.c: Likewise. - * nscd/getpwnam_r.c: Likewise. - * nscd/gai.c: Likewise. - * nscd/connections.c: Likewise. - * nscd/dbg_log.c: Likewise. - * nscd/cache.c: Likewise. - * nscd/hstcache.c: Likewise. - * nscd/nscd_conf.c: Likewise. - * nscd/getgrgid_r.c: Likewise. - * nscd/pwdcache.c: Likewise. - * catgets/gencat.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/locarchive.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/ld-address.c: Likewise. - * locale/programs/xmalloc.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/simple-hash.c: Likewise. - * locale/programs/xstrdup.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/charmap-kw.gperf: Likewise. - * locale/programs/charmap.h: Likewise. - * locale/programs/charmap-kw.h: Likewise. - * locale/programs/config.h: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/charmap.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/repertoire.h: Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/linereader.c: Likewise. - * locale/programs/locfile.h: Likewise. - * locale/programs/3level.h: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/charmap-dir.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/localedef.h: Likewise. - * locale/programs/charmap-dir.h: Likewise. - * locale/programs/repertoire.c: Likewise. - * locale/programs/simple-hash.h: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/locale-spec.c: Likewise. - * locale/programs/locfile-token.h: Likewise. - * posix/getconf.c: Likewise. - * iconv/dummy-repertoire.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * malloc/memusagestat.c: Likewise. - * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. +2005-03-22 Steven Munroe <sjmunroe@us.ibm.com> -2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. - * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity - check for the first argument. - -2007-07-12 Jakub Jelinek <jakub@redhat.com> - - [BZ #4775] - * math/tgmath.h (__tgmath_real_type_sub): Formatting. - (__tgmath_real_type): Fix if expr is const int or other const - qualified integral type. - (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement - expressions and handle const qualified arguments. - (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, - __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. - (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using - statement expressions. - (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, - __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. - (__TGMATH_UNARY_IMAG): Define. - (conj, cproj): Use __TGMATH_UNARY_IMAG macro. - * math/Makefile (tests): Add test-tgmath2. - (CFLAGS-test-tgmath2.c): Add. - * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, - count_cfloat, count_cldouble): New variables. - (NCCALLS): Define. - (main): Check number of complex calls as well. - (F(compile_test)): Add complex tests and tests with const qualified - arguments. - (y, z, ccount): Define. - (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), - F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), - F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), - F(cproj)): New functions. - * math/test-tgmath2.c: New test. - -2007-07-11 Jakub Jelinek <jakub@redhat.com> - - [BZ #4776] - * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, - RPATH etc. as "/" rather than "", don't segfault on empty paths, - instead output ".". - * dlfcn/Makefile (distribute): Add glreflib3.c. - (module-names): Add glreflib3. - ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than - glreflib1.so. - (LDFLAGS_glreflib3.so): New. - * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of - glreflib1.so. - * dlfcn/glreflib3.c: New file. - - * intl/finddomain.c (_nl_find_domain): If _nl_explode_name - returned -1, return NULL. - * intl/explodename.c (_nl_explode_name): Return -1 if - _nl_normalize_codeset failed. + * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local. -2007-07-07 Steven Munroe <sjmunroe@us.ibm.com> +2005-03-07 Steven Munroe <sjmunroe@us.ibm.com> - * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. - Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops - and avoid branch misspredicts for > 31 bytes memset case. - * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. - Remove toc ref to __cache_line_size. + [BZ #781] + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1. + (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1. + (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting + with 2.6.1. + (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64. - * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 - to get ISA-V2.0 branch hints. - * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise - * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise - * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. - * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. - Remove toc ref to __cache_line_size. - - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: - Include math_ldbl_opt.h. - -2007-07-10 Ulrich Drepper <drepper@redhat.com> - - [BZ #4773] - * time/strptime_l.c (__strptime_internal): Implement greedy - matching of weekday and month names. - -2007-07-09 Roland McGrath <roland@redhat.com> - - * elf/elf.h (NT_GNU_ABI_TAG): New macro. - (ELF_NOTE_ABI): Use it. - (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. - -2007-07-09 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. - -2007-07-07 Ulrich Drepper <drepper@redhat.com> - - [BZ #4745] - * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF - in loop to look for conversion specifier to avoid testing of - wrong errno value. - * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. - * stdio-common/bug18.c: New file. - * stdio-common/bug18a.c: New file. - * stdio-common/bug19.c: New file. - * stdio-common/bug19a.c: New file. - -2007-07-05 Mike Frysinger <vapier@gentoo.org> - - * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when - running awk script. - -2007-07-01 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. - * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). - Return NULL if mmap failed instead of asserting it does not. - (calloc): Check for integer overflow. - - * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger - than LONG_MAX / 10. - -2007-07-03 Jakub Jelinek <jakub@redhat.com> - - [BZ #4702] - * nis/nss-default.c: Include errno.h. - (init): Preserve errno. - -2007-07-02 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. - -2007-06-30 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. - -2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. - -2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/s390/dl-procinfo.c: New file. - * sysdeps/s390/dl-procinfo.h: New file. - * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. - -2007-06-29 Jakub Jelinek <jakub@redhat.com> +2005-04-28 Ulrich Drepper <drepper@redhat.com> - * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even - in PT_NOTE segments with multiple notes. - * elf/readelflib.c (process_elf_file): Likewise. + * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate + cfi_startproc and cfi_endproc. -2007-06-22 Ulrich Drepper <drepper@redhat.com> + * configure.in: Remove ultrasparc names. - * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more - ISO C compliant. + * sysdeps/i386/i686/memcmp.S: Move misplaced END. -2007-06-19 Ulrich Drepper <drepper@redhat.com> +2005-03-27 Bruno Haible <bruno@clisp.org> - * elf/dl-close.c (free_mem): Free _dl_scope_free_list. + Make it possible for multiple threads to use gettext() in different + locales. + * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro. + (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename + field. + (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields. + (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in + search and newp. + + * intl/tst-gettext4.c: New file. + * intl/tst-gettext4.sh: New file. + * intl/tst-gettext4-de.po: New file. + * intl/tst-gettext4-fr.po: New file. + * intl/tst-gettext5.c: New file. + * intl/tst-gettext5.sh: New file. + * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po, + tst-gettext4-fr.po, tst-gettext5.sh. + (multithread-test-srcs): New variable. + (test-srcs): Add its contents. + (tests): Depend on tst-gettext4.out, tst-gettext5.out. + (tst-gettext4.out, tst-gettext5.out): New rules. + (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables. + Add rule for linking the multithread-test-srcs with the appropriate + thread-library. + +2005-04-28 Ulrich Drepper <drepper@redhat.com> + + * po/rw.po: New file. From translation team. + + * scripts/config.guess: Update from upstream. + * scripts/config.sub: Likewise. -2007-06-13 Jakub Jelinek <jakub@redhat.com> +2005-04-27 Ulrich Drepper <drepper@redhat.com> + + [BZ #1094] + * nscd/connections.c (nscd_run): Use time() value in prune_cache + call, not timeout value, since the latter might be from another clock. + +2005-04-27 Roland McGrath <roland@redhat.com> + + [BZ #877] + * posix/unistd.h: Remove __nonnull from acct decl. + + * rt/tst-cpuclock1.c: New file. + * rt/tst-cpuclock2.c: New file. + * rt/tst-cputimer1.c: New file. + * rt/tst-cputimer2.c: New file. + * rt/tst-cputimer3.c: New file. + * rt/Makefile (tests): Add them. + + * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file. + * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file. + * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c + (HAS_CPUCLOCK): New macro. + (clock_getcpuclockid): Function removed. + #include the new linux file to define it instead. + * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime): + New function, broken out of ... + (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it. + (realtime_gettime): New function, broken out of ... + (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it. + (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case. + * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro. + (SYSDEP_GETTIME_CPUTIME): New macro. + (SYSDEP_GETTIME): Use both. + [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken + out of ... + (SYSDEP_GETTIME): ... here. Use it. + [__NR_clock_gettime] (HANDLED_CPUTIME): Define it. + (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying + kernel support and falling back to hp-timing code. + * sysdeps/posix/clock_getres.c + [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ... + (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it. + (realtime_getres): New function, broken out of ... + (clock_getres) [! HANDLED_REALTIME]: ... here. Call it. + (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case. + * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro. + (SYSDEP_GETRES_CPUTIME): New macro. + (SYSDEP_GETRES): Use both. + [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken + out of ... + (SYSDEP_GETRES): ... here. Use it. + [__NR_clock_getres] (HANDLED_CPUTIME): Define it. + (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying + kernel support and falling back to hp-timing code. + * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle + CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially, + translating to the kernel clockid_t for our own process/thread clock. + +2005-04-27 Ulrich Drepper <drepper@redhat.com> + + * stdlib/test-canon.c: Make doesExist a directory and add more tests + for the new error case. + +2004-06-02 Dmitry V. Levin <ldv@altlinux.org> + Ranjani Murthy <ranmur@gmail.com> + + * stdlib/canonicalize.c (__realpath): Change realpath(3) to + return NULL and set errno to ENOTDIR for such pathnames like + "/path/to/existing-non-directory/". + +2005-04-26 Ulrich Drepper <drepper@redhat.com> + + [BZ #1105] + * time/strptime_l.c (__strptime_internal): Handle 'z' to set + tm_gmtoff. + * time/Makefile (tests): Add tst-strptime2. + * time/tst-strptime2.c: New file. + +2005-04-26 Jakub Jelinek <jakub@redhat.com> + + [BZ #1081] + * elf/dl-close.c: Include stddef.h. + (_dl_close): If called recursively, just remember GC needs to be rerun + and decrease l_direct_opencount. Avoid GC if l_direct_opencount + decreased to 1. Rerun GC at the end if any destructor unloaded some + additional libraries. + * elf/Makefile: Add rules to build and run unload6 test. + * elf/unload6.c: New test. + * elf/unload6mod1.c: New file. + * elf/unload6mod2.c: New file. + * elf/unload6mod3.c: New file. + + * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p + if magic_p is not NULL. + (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed. + (malloc_check): Fail if sz == -1. + (free_check): Adjust mem2chunk_check caller. + (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and + oldmem != NULL, call free_check and return NULL. If reallocating + and returning NULL, invert magic byte again to make oldmem valid + region for further checking. + (memalign_check): Fail if bytes == -1. + * malloc/Makefile: Add rules to build and run tst-mcheck. + * malloc/tst-mcheck.c: New test. + +2005-04-26 Ulrich Drepper <drepper@redhat.com> + + [BZ #1110] + * stdio-common/vfscanf.c: Correctly account for characters of + decimal points right after +-. + +2005-04-26 Roland McGrath <roland@redhat.com> + + * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of + ifeq ($(subdir),elf) to distinguish main driver from subdir runs. + +2005-04-25 Roland McGrath <roland@redhat.com> + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change. + + * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed. + + * elf/dl-load.c: Revert last change. + +2005-04-24 Ulrich Drepper <drepper@redhat.com> + + [BZ #1110] + * stdio-common/vfscanf.c: Fix parsing of decimal point after +-. + Patch by Hamed Malek <hamed@bamdad.org>. + +2005-04-21 Roland McGrath <roland@redhat.com> + + * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE, + since Linux ignores it in user mmap calls. + +2005-04-17 David S. Miller <davem@davemloft.net> + + * sysdeps/sparc/sparc32/elf/start.S: Define __data_start. + * sysdeps/sparc/sparc64/elf/start.S: Likewise. - * include/link.h: Don't include rtld-lowlevel.h. - (struct link_map): Remove l_scope_lock. - * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. - (_dl_scope_free_list): New field (variable) in _rtld_global. - (DL_LOOKUP_SCOPE_LOCK): Remove. - (_dl_scope_free): New prototype. - * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. - Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. - (_dl_profile_fixup): Likewise. - * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x - whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and - THREAD_GSCOPE_RESET_FLAG around it. - * elf/dl-close.c (_dl_close_worker): Don't use - __rtld_mrlock_{change,done}. Call _dl_scope_free on the old - scope. Make sure THREAD_GSCOPE_WAIT () happens if any old - scopes were queued or if l_scope_mem has been abandoned. - * elf/dl-open.c (_dl_scope_free): New function. - (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. - * elf/dl-support.c (_dl_scope_free_list): New variable. - * elf/dl-lookup.c (add_dependency): Remove flags argument. - Remove DL_LOOKUP_SCOPE_LOCK handling. - (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK - handling. - * elf/dl-object.c (_dl_new_object): Don't use - __rtld_mrlock_initialize. +2005-04-15 Roland McGrath <roland@redhat.com> -2007-06-19 Ulrich Drepper <drepper@redhat.com> + * timezone/Makefile (zic-deps): New variable. + ($(testdata)/America/New_York): Use it instead of explicit deps. + ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise. + ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise. + (%/UTC %/Universal): New pattern rule, replaces ... + ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets. + ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule. + ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed. - * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements - to fill in holes - (rtld_global_ro): Likewise. +2005-04-14 Roland McGrath <roland@redhat.com> -2007-06-18 Jakub Jelinek <jakub@redhat.com> + * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well. + (extract): Filter-out distinfo file name. - * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. - Move PT_LOAD checking to... - (_dl_addr_inside_object): ... here, new function. - * elf/dl-sym.c (do_sym): If not l_contiguous, - call _dl_addr_inside_object. - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. - * dlfcn/dlinfo.c (dlinfo_doit): Likewise. - * elf/dl-open.c (dl_open_worker): Likewise. - (_dl_addr_inside_object): New function if IS_IN_rtld. - * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no - holes are present or are PROT_NONE protected. - * include/link.h (struct link_map): Add l_contiguous field. - * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. + [BZ #253] + * MakeTAGS (text-srcs): Match %.bash.in files too. -2007-06-18 Jakub Jelinek <jakub@redhat.com> - Tomas Janousek <tjanouse@redhat.com> - Ulrich Drepper <drepper@redhat.com> + [BZ #253] + * nscd/Makefile (all-nscd-modules): New variable, include selinux + module regardless of configuration. + (distribute): Use that instead of $(nscd-modules). - [BZ #4647] - * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail - member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 - socket. - * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make - unused member a bitmap. - * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 - servers are configured. +2005-04-13 David S. Miller <davem@davemloft.net> -2007-06-18 Jakub Jelinek <jakub@redhat.com> + Add sparc64 TLS and NPTL support. + * elf/tls-macros.h: Add Sparc64 defines. + * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as + always_inline. + (elf_machine_fixup_plt): Likewise. + (elf_machine_rela): Handle TLS relocations. + (elf_machine_type_cleaa): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc. + It does not always fit in R_SPARC_GOT13 when building -fPIC. + Also, add TLS handling. + * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): + Increase it to 2.4.21 for sparc64. + * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate + backtrace by zero'ing out %fp. Store away flags, func_ptr, + and func_arg in global registers not local registers. + * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS, + and CTID arguments properly. Add RESET_PID handling. + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we + do not invoke __sigprocmask(). We can always assume rt signals + are present on sparc64, so just do an inline syscall. - * elf/rtld.c (dl_main): Don't call init_tls more than once. +2005-04-13 Jakub Jelinek <jakub@redhat.com> -2007-06-17 Andreas Schwab <schwab@suse.de> + * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple + inclusion guard for the first half of the header. + (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL, + ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup, + elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the + #ifndef dl_machine_h guarded part of the header. - * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. +2005-04-14 Ulrich Drepper <drepper@redhat.com> -2007-06-16 Andreas Jaeger <aj@suse.de> + [BZ #851] + * posix/execvp.c (execvp): Use file name including path when + trying to run it with shell. + * posix/Makefile: Add rules to build and run tst-execvp3. + * posix/tst-execvp3.c: New file. - [BZ #4125] - * sysdeps/unix/sysv/linux/sys/ptrace.h - (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, - PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, - PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, - PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, - PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): - Define. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. +2005-04-12 Ulrich Drepper <drepper@redhat.com> -2007-06-16 Ulrich Drepper <drepper@redhat.com> + [BZ #1090] + * stdlib/random_r.c (__initstate_r): Don't use non-existing state. + * string/tst-strfry.c: New file. + * string/Makefile (tests): Add tst-strfry. - [BZ #4599] - * sysdeps/unix/sysv/linux/check_pf.c (make_request): When - determining whether there are IPv4/IPv6 addresses, ignore loopback - addresses. +2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca> -2007-06-14 Uros Bizjak <ubizjak@gmail.com> + * manual/string.texi: Fix typo in wmemcpy decl. - * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. - * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int - as the return type. Change type of "r" variable to CMPtype. - * soft-fp/eqsf2.c (__eqsf2): Likewise. - * soft-fp/eqtf2.c (__eqtf2): Likewise. - * soft-fp/gedf2.c (__gedf2): Likewise. - * soft-fp/gesf2.c (__gesf2): Likewise. - * soft-fp/getf2.c (__getf2): Likewise. - * soft-fp/ledf2.c (__ledf2): Likewise. - * soft-fp/lesf2.c (__lesf2): Likewise. - * soft-fp/letf2.c (__letf2): Likewise. - * soft-fp/unorddf2 (__unorddf2): Likewise. - * soft-fp/unordsf2 (__unordsf2): Likewise. - * soft-fp/unordtf2 (__unordtf2): Likewise. +2005-04-10 David S. Miller <davem@davemloft.net> -2007-06-09 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx. - * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and - make sure gcc doesn't mess around with this. +2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca> -2007-06-08 Ulrich Drepper <drepper@redhat.com> + * FAQ.in: Explain why `make' might fail running rpcgen. + * FAQ: Regenerated. - * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. +2005-04-07 Roland McGrath <roland@redhat.com> -2007-06-08 Jakub Jelinek <jakub@redhat.com> + * po/libc.pot: Regenerated. - * elf/dl-close.c (_dl_close_worker): Remove all to be removed - libraries from the global scope at once and call THREAD_GSCOPE_WAIT - at most once per _dl_close_worker. +2005-04-07 Roland McGrath <roland@redhat.com> + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion) + [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan + GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version, + we can skip the uname call if it's there. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use + DL_SYSDEP_OSCHECK here. + * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead. + + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): + Add _dl_sysinfo_map. + * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the + rtld_is_main case. Call it unconditionally later. + Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call. + Initialize GLRO(dl_sysinfo_map). + * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called. + * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro. + (_dl_important_hwcaps) + [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan + GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names + and bit values. + * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro. + (hwcap_extra): New static variable. + (is_hwcap_platform): Check hwcap_extra for a matching name. + Remove tls special case. + (path_hwcap): Likewise. + (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits + and their names, stored in hwcap_extra. + (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls". + + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for + _dl_hwcap and _dl_hwcap_mask. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for + AT_HWCAP to unsigned long int. + * elf/dl-support.c (_dl_aux_init): Likewise. + (_dl_hwcap): Update defn. + + * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic. + * elf/ldconfig.c (search_dir): Likewise. + +2005-04-05 Roland McGrath <roland@redhat.com> + + * NEWS: Copy 2.3.5 section from 2.3 branch. + + * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary + file and mv it into place. + * intl/tst-gettext3.sh: Likewise. + + * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts + are up to date in srcdir. Touch all configure scripts after export. + + * iconv/gconv_int.h: Include <ctype.h> and <string.h>. + +2005-04-05 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #592] + * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05 + (comment changes only). + * sysdeps/ia64/fpu/e_acoshl.S: Likewise. + * sysdeps/ia64/fpu/e_atanh.S: Likewise. + * sysdeps/ia64/fpu/e_cosh.S: Likewise. + * sysdeps/ia64/fpu/e_coshf.S: Likewise. + * sysdeps/ia64/fpu/e_exp.S: Likewise. + * sysdeps/ia64/fpu/e_exp10.S: Likewise. + * sysdeps/ia64/fpu/e_exp10f.S: Likewise. + * sysdeps/ia64/fpu/e_exp2.S: Likewise. + * sysdeps/ia64/fpu/e_exp2f.S: Likewise. + * sysdeps/ia64/fpu/e_expf.S: Likewise. + * sysdeps/ia64/fpu/e_log.S: Likewise. + * sysdeps/ia64/fpu/e_logf.S: Likewise. + * sysdeps/ia64/fpu/e_pow.S: Likewise. + * sysdeps/ia64/fpu/e_powf.S: Likewise. + * sysdeps/ia64/fpu/e_sinh.S: Likewise. + * sysdeps/ia64/fpu/e_sinhf.S: Likewise. + * sysdeps/ia64/fpu/libm_error.c: Likewise. + * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. + * sysdeps/ia64/fpu/s_asinh.S: Likewise. + * sysdeps/ia64/fpu/s_atanl.S: Likewise. + * sysdeps/ia64/fpu/s_cos.S: Likewise. + * sysdeps/ia64/fpu/s_cosf.S: Likewise. + * sysdeps/ia64/fpu/s_erf.S: Likewise. + * sysdeps/ia64/fpu/s_erfc.S: Likewise. + * sysdeps/ia64/fpu/s_erfcf.S: Likewise. + * sysdeps/ia64/fpu/s_erfcl.S: Likewise. + * sysdeps/ia64/fpu/s_erff.S: Likewise. + * sysdeps/ia64/fpu/s_expm1.S: Likewise. + * sysdeps/ia64/fpu/s_expm1f.S: Likewise. + * sysdeps/ia64/fpu/s_log1p.S: Likewise. + * sysdeps/ia64/fpu/s_tanf.S: Likewise. + * sysdeps/ia64/fpu/s_tanh.S: Likewise. + * sysdeps/ia64/fpu/s_tanhf.S: Likewise. + * sysdeps/ia64/fpu/w_tgamma.S: Likewise. + * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal.S: Likewise. + +2005-04-05 Roland McGrath <roland@redhat.com> + + * scripts/config.guess: Update from master, timestamp='2005-03-24'. + * scripts/config.sub: Update from master, timestamp='2005-02-10'. + +2005-04-04 David S. Miller <davem@davemloft.net> + + * sysdeps/sparc/sparc32/dl-trampoline.S: New file. + * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there. + Use RESOLVE_MAP instead of RESOLVE to protect relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + * sysdeps/sparc/sparc64/dl-trampoline.S: New file. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. + * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there. + Use RESOLVE_MAP instead of RESOLVE to protect relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + * sysdeps/sparc/bits/link.h: New file. + * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval, + La_sparc64_regs, La_sparc64_retval): New. + (struct audit_ifaces): Add sparc entries. + * elf/tst-auditmod1.c: Add sparc entries. + +2005-03-27 Bruno Haible <bruno@clisp.org> + + * intl/tst-gettext3.c: New file. + * intl/tst-gettext3.sh: New file. + * intl/Makefile (distribute): Add tst-gettext3.sh. + (test-srcs): Add tst-gettext3. + (tests): Depend on tst-gettext3.out. + (tst-gettext3.out): New rule. + (CFLAGS-tst-gettext3.c): New variable. + + Fix bug exposed by tst-gettext3. + * intl/gettextP.h (struct converted_domain): New type. + (struct loaded_domain): Remove the conv, conv_tab fields. Add + conversions, nconversions fields. + (_nl_init_domain_conv): Remove declaration. + (_nl_free_domain_conv): Remove declaration. + (_nl_find_msg): Add convert argument. + * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1. + (_nl_find_msg): Add convert argument. When a conversion to a different + charset is needed, create a new converted_domain element, instead of + throwing away the old converted translations. + (get_output_charset): New function. + * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function. + (_nl_free_domain_conv): Remove function. + (_nl_load_domain): Initialize the conversions array to empty. Use + _nl_find_msg instead of _nl_init_domain_conv to retrieve the header + entry. + (_nl_unload_domain): Free the conversions array and its contents. -2007-06-08 Ulrich Drepper <drepper@redhat.com> + * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field. + (struct binding): Likewise. + * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr + modifications. - * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of - __sched_cpucount as const. - * posix/sched_cpucount.c: Adjust. +2005-04-04 Jakub Jelinek <jakub@redhat.com> - * posix/sched_cpucount.c (__sched_cpucount): Allow using special - instruction for counting bits. - * sysdeps/x86_64/sched_cpucount.c: New file. + [BZ #1082] + * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead + of trying to encode uninitialized arglen. -2007-06-07 Ulrich Drepper <drepper@redhat.com> +2005-04-04 Ulrich Drepper <drepper@redhat.com> - * configure.in: Avoid variable named BASH. - * config.make.in: Likewise. - Patch in part by Mike Frysinger. - -2007-06-06 Jakub Jelinek <jakub@redhat.com> - - [BZ #4586] - * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat - pseudo-zeros as zero. - * sysdeps/x86_64/ldbl2mpn.c: New file. - * sysdeps/ia64/ldbl2mpn.c: New file. - -2007-06-04 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove - unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. - Remove unreachable code at the end. - -2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of - ldbl-128ibm in comment. - (fpclassifyl): Correct classification of denormals. - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct - return value for MIN denormal. Rewrite using long double math too - correctly handle denormals and canonicalize the results. - -2007-06-05 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c - (__mpn_construct_long_double): Fix conversion where result ought - to be smaller than __LDBL_MIN__, or the low double should be - denormal. Fix decision where to negate low double - honor round - to even rules. - * stdio-common/tst-sprintf2.c: Include string.h. - (COMPARE_LDBL): Define. - (TEST): Also test whether a string hexadecimal float representation - can be parsed back to the number. - (main): Add a couple of further tests. - -2007-06-04 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c - (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double - is non-zero, but smaller than 2 * __DBL_MIN__. - * stdio-common/tst-sprintf2.c: New test. - * stdio-common/Makefile (tests): Add tst-sprintf2. - - * math/test-misc.c (main): Don't run last batch of tests with - IBM long double format. - -2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. - * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: - New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: - New file. + [BZ #825] + * timezone/scheck.c: Update from tzcode2005h. + * timezone/tzfile.h: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. -2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> + [BZ #825] + * timezone/antarctica: Update from tzdata2005h. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/etcetera: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/leapseconds: Likewise. + * timezone/iso3166.tab: Likewise. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. - * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. +2005-03-31 H.J. Lu <hongjiu.lu@intel.com> -2007-05-22 Steven Munroe <sjmunroe@us.ibm.com> + [BZ #592] + * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S - (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. +2005-04-01 Ulrich Drepper <drepper@redhat.com> -2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> + * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range. + * wcsmbs/wctob.c (wctob): Likewise. + * wcsmbs/wchar.h (btowc): Add optimized inline function. + (wctob): Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. - * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. +2005-03-31 Jakub Jelinek <jakub@redhat.com> -2007-03-15 Steven Munroe <sjmunroe@us.ibm.com> + * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally + equivalent, but shorter instructions. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. + * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise. + * sysdeps/unix/x86_64/sysdep.S: Likewise. + * sysdeps/x86_64/strchr.S: Likewise. + * sysdeps/x86_64/memset.S: Likewise. + * sysdeps/x86_64/strcspn.S: Likewise. + * sysdeps/x86_64/strcmp.S: Likewise. + * sysdeps/x86_64/elf/start.S: Likewise. + * sysdeps/x86_64/strspn.S: Likewise. + * sysdeps/x86_64/dl-machine.h: Likewise. + * sysdeps/x86_64/bsd-_setjmp.S: Likewise. + * sysdeps/x86_64/bsd-setjmp.S: Likewise. + * sysdeps/x86_64/strtok.S: Likewise. + +2005-03-30 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #592] + * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21. + * sysdeps/ia64/fpu/e_acoshf.S: Likewise. + * sysdeps/ia64/fpu/e_acoshl.S: Likewise. + * sysdeps/ia64/fpu/e_acosh.S: Likewise. + * sysdeps/ia64/fpu/e_acosl.S: Likewise. + * sysdeps/ia64/fpu/e_acos.S: Likewise. + * sysdeps/ia64/fpu/e_asinf.S: Likewise. + * sysdeps/ia64/fpu/e_asinl.S: Likewise. + * sysdeps/ia64/fpu/e_asin.S: Likewise. + * sysdeps/ia64/fpu/e_atan2f.S: Likewise. + * sysdeps/ia64/fpu/e_atan2.S: Likewise. + * sysdeps/ia64/fpu/e_atanhf.S: Likewise. + * sysdeps/ia64/fpu/e_atanhl.S: Likewise. + * sysdeps/ia64/fpu/e_atanh.S: Likewise. + * sysdeps/ia64/fpu/e_coshf.S: Likewise. + * sysdeps/ia64/fpu/e_coshl.S: Likewise. + * sysdeps/ia64/fpu/e_cosh.S: Likewise. + * sysdeps/ia64/fpu/e_exp10f.S: Likewise. + * sysdeps/ia64/fpu/e_exp10l.S: Likewise. + * sysdeps/ia64/fpu/e_exp10.S: Likewise. + * sysdeps/ia64/fpu/e_exp2f.S: Likewise. + * sysdeps/ia64/fpu/e_exp2l.S: Likewise. + * sysdeps/ia64/fpu/e_exp2.S: Likewise. + * sysdeps/ia64/fpu/e_expf.S: Likewise. + * sysdeps/ia64/fpu/e_exp.S: Likewise. + * sysdeps/ia64/fpu/e_fmodf.S: Likewise. + * sysdeps/ia64/fpu/e_fmodl.S: Likewise. + * sysdeps/ia64/fpu/e_fmod.S: Likewise. + * sysdeps/ia64/fpu/e_hypotf.S: Likewise. + * sysdeps/ia64/fpu/e_hypotl.S: Likewise. + * sysdeps/ia64/fpu/e_hypot.S: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/e_log2f.S: Likewise. + * sysdeps/ia64/fpu/e_log2l.S: Likewise. + * sysdeps/ia64/fpu/e_log2.S: Likewise. + * sysdeps/ia64/fpu/e_logf.S: Likewise. + * sysdeps/ia64/fpu/e_logl.S: Likewise. + * sysdeps/ia64/fpu/e_log.S: Likewise. + * sysdeps/ia64/fpu/e_powf.S: Likewise. + * sysdeps/ia64/fpu/e_powl.S: Likewise. + * sysdeps/ia64/fpu/e_pow.S: Likewise. + * sysdeps/ia64/fpu/e_remainderf.S: Likewise. + * sysdeps/ia64/fpu/e_remainderl.S: Likewise. + * sysdeps/ia64/fpu/e_remainder.S: Likewise. + * sysdeps/ia64/fpu/e_scalbf.S: Likewise. + * sysdeps/ia64/fpu/e_scalbl.S: Likewise. + * sysdeps/ia64/fpu/e_scalb.S: Likewise. + * sysdeps/ia64/fpu/e_sinhf.S: Likewise. + * sysdeps/ia64/fpu/e_sinhl.S: Likewise. + * sysdeps/ia64/fpu/e_sinh.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. + * sysdeps/ia64/fpu/e_sqrt.S: Likewise. + * sysdeps/ia64/fpu/libm_error.c: Likewise. + * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. + * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. + * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosl.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos.S: Likewise. + * sysdeps/ia64/fpu/libm_support.h: Likewise. + * sysdeps/ia64/fpu/s_asinhl.S: Likewise. + * sysdeps/ia64/fpu/s_asinh.S: Likewise. + * sysdeps/ia64/fpu/s_atanf.S: Likewise. + * sysdeps/ia64/fpu/s_atanl.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtf.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtl.S: Likewise. + * sysdeps/ia64/fpu/s_cosf.S: Likewise. + * sysdeps/ia64/fpu/s_cosl.S: Likewise. + * sysdeps/ia64/fpu/s_cos.S: Likewise. + * sysdeps/ia64/fpu/s_erfcf.S: Likewise. + * sysdeps/ia64/fpu/s_erfcl.S: Likewise. + * sysdeps/ia64/fpu/s_erfc.S: Likewise. + * sysdeps/ia64/fpu/s_erfl.S: Likewise. + * sysdeps/ia64/fpu/s_erf.S: Likewise. + * sysdeps/ia64/fpu/s_expm1f.S: Likewise. + * sysdeps/ia64/fpu/s_expm1l.S: Likewise. + * sysdeps/ia64/fpu/s_expm1.S: Likewise. + * sysdeps/ia64/fpu/s_fdimf.S: Likewise. + * sysdeps/ia64/fpu/s_fdiml.S: Likewise. + * sysdeps/ia64/fpu/s_fdim.S: Likewise. + * sysdeps/ia64/fpu/s_frexp.c: Likewise. + * sysdeps/ia64/fpu/s_frexpf.c: Likewise. + * sysdeps/ia64/fpu/s_frexpl.c: Likewise. + * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. + * sysdeps/ia64/fpu/s_ilogb.S: Likewise. + * sysdeps/ia64/fpu/s_ldexp.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpf.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpl.c: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise. + * sysdeps/ia64/fpu/s_log1pf.S: Likewise. + * sysdeps/ia64/fpu/s_log1pl.S: Likewise. + * sysdeps/ia64/fpu/s_log1p.S: Likewise. + * sysdeps/ia64/fpu/s_logbf.S: Likewise. + * sysdeps/ia64/fpu/s_logbl.S: Likewise. + * sysdeps/ia64/fpu/s_logb.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterf.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterl.S: Likewise. + * sysdeps/ia64/fpu/s_nextafter.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise. + * sysdeps/ia64/fpu/s_nexttoward.S: Likewise. + * sysdeps/ia64/fpu/s_roundf.S: Likewise. + * sysdeps/ia64/fpu/s_roundl.S: Likewise. + * sysdeps/ia64/fpu/s_round.S: Likewise. + * sysdeps/ia64/fpu/s_scalblnf.c: Likewise. + * sysdeps/ia64/fpu/s_scalbn.c: Likewise. + * sysdeps/ia64/fpu/s_scalbnf.c: Likewise. + * sysdeps/ia64/fpu/s_scalbnl.c: Likewise. + * sysdeps/ia64/fpu/s_tanf.S: Likewise. + * sysdeps/ia64/fpu/s_tanhl.S: Likewise. + * sysdeps/ia64/fpu/s_tanh.S: Likewise. + * sysdeps/ia64/fpu/s_tanl.S: Likewise. + * sysdeps/ia64/fpu/s_tan.S: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal.S: Likewise. + * sysdeps/ia64/fpu/w_tgamma.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/libm_cpu_defs.h: New file. + * sysdeps/ia64/fpu/libm_error_codes.h: New file. + + [BZ #592] + * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm + 2005-03-21. + * sysdeps/ia64/fpu/import_file.awk: Likewise. + * sysdeps/ia64/fpu/import_intel_libm: Likewise. + * sysdeps/ia64/fpu/Makefile: Likewise. + +2005-03-29 Jakub Jelinek <jakub@redhat.com> + + [BZ #1087] + * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to + avoid calling mbsrtowcs twice. + +2005-03-29 Roland McGrath <roland@redhat.com> + + * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New + function, inline broken out of ... + (DL_SYSDEP_OSCHECK): ... here. Use that. + Do the discovery and set GLRO(dl_osversion) if successful, + if __LINUX_KERNEL_VERSION <= 0. + * elf/dl-load.c: Don't include dl-osinfo.h here. + +2005-03-29 Alfred M. Szmidt <ams@gnu.org> + + * manual/install.texi (Tools for Compilation): GNU binutils 2.15 + is now needed. + +2005-03-19 Bruno Haible <bruno@clisp.org> + + * intl/dcigettext.c (struct known_translation_t): Change type of + domainname field to 'const char *'. + (DCIGETTEXT): Remove const-cast. + +2005-03-29 Thorsten Kukuk <kukuk@suse.de> + + [BZ #661] + * grp/initgroups.c (internal_getgrouplist): Check if we have + enough space before adding the primary group to the list. + + * posix/tst-execle1.c (do_test): Fix execle arguments. + * posix/tst-execle2.c (do_test): Likewise. + +2005-03-28 Roland McGrath <roland@redhat.com> + + * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names. + Reported by Mark Mitchell <mark@codesourcery.com>. + * Versions.def (libm): Define GLIBC_2.4 set. + * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l. + * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l. + * sysdeps/ia64/Versions: Likewise. + * sysdeps/m68k/Versions: Likewise. + * sysdeps/sparc/sparc64/Versions: Likewise. + * sysdeps/x86_64/Versions: New file. + * sysdeps/mips/mips64/Versions: New file. + + * locale/langinfo.h (_NL_LOCALE_NAME): New macro. + [__USE_GNU] (NL_LOCALE_NAME): New macro. + * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME, + return locale name string for the category. + +2005-03-25 Jakub Jelinek <jakub@redhat.com> + + [BZ #721] + * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than + <wcstol_l.c>. + +2005-03-28 Daniel Jacobowitz <dan@codesourcery.com> + + * sysdeps/mips/atomicity.h: Remove unused file. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations. + * sysdeps/mips/dl-tls.h: New file. + * sysdeps/mips/libc-tls.c: New file. + * sysdeps/mips/tls-macros.h: New file. + * sysdeps/mips/bits/atomic.h: New file. + * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion. + * sysdeps/mips/elf/configure.in: New file. + * sysdeps/mips/elf/configure: Generated. + * sysdeps/mips/sys/asm.h: New file. + * sysdeps/unix/sysv/linux/mips/vfork.S: New file. + * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument + clone support. + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h + (INTERNAL_SYSCALL_NCS): New. + (INTERNAL_SYSCALL): Update for non-constant support. + (internal_syscall0): Likewise. + (internal_syscall1): Likewise. + (internal_syscall2): Likewise. + (internal_syscall3): Likewise. + (internal_syscall4): Likewise. + (internal_syscall5): Likewise. + (internal_syscall6): Likewise. + (internal_syscall7): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD): + Update to match the kernel. + (SIGEV_CALLBACK): Likewise. + (SIGEV_THREAD_ID): Likewise. + +2005-03-28 Daniel Jacobowitz <dan@codesourcery.com> + + [BZ #783] + * elf/tst-auditmod1.c: Add MIPS support. + * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New. + (La_mips_32_retval): New. + (La_mips_64_regs): New. + (La_mips_64_retval): New. + (struct audit_ifaces): Add MIPS entries. + * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE. + (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE, + ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS, + ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c. + (RTLD_START): Align the stack before calling _dl_init_internal. + Use .ent for _dl_start_user. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define. + (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel) + (elf_machine_runtime_setup): Use "auto inline". + (elf_machine_rela, elf_machine_rela_relative): Provide empty versions. + (elf_machine_got_rel): Likewise. Use RESOLVE_MAP. + * sysdeps/mips/dl-trampoline.c: New file. + * sysdeps/mips/bits/link.h: New file. + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h + (internal_syscall5): Use register operands instead of non-lvalue + memory operands. + (internal_syscall6): Likewise. + (internal_syscall7): Likewise. + +2005-03-27 Andreas Jaeger <aj@suse.de> + + * debug/warning-nop.c (__builtin___memcpy_chk): Define away to + avoid warnings with older compiler. + (__builtin___memcpy_chk): Likewise. + (__builtin___memmove_chk: Likewise. + (__builtin___mempcpy_chk): Likewise. + (__builtin___memset_chk): Likewise. + (__builtin___stpcpy_chk): Likewise. + (__builtin___strcat_chk): Likewise. + (__builtin___strcpy_chk): Likewise. + (__builtin___strncat_chk): Likewise. + (__builtin___strncpy_chk): Likewise. + (__builtin_object_size): Likewise. + +2005-03-27 Daniel Jacobowitz <dan@codesourcery.com> + + * elf/tls-macros.h: Correct typo. + +2005-03-23 Jakub Jelinek <jakub@redhat.com> + + [BZ #822] + * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch. + (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE. + +2005-03-22 Roland McGrath <roland@redhat.com> + + * locale/setlocale.c: Comment typo. + + * scripts/versions.awk: No errors for GLIBC_PRIVATE. + + * Versions.def (libdl, librt): Add GLIBC_2.3.4 version. + + * scripts/versions.awk: Print all errors and die at the end. + Use library name in versions array keys. + +2005-03-22 Daniel Jacobowitz <dan@codesourcery.com> + + * elf/elf.h (PT_ARM_EXIDX): New macro. + +2005-03-21 Thorsten Kukuk <kukuk@suse.de> + + [BZ #1098] + * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong): + Convert correctly between long/int on 64bit big-endian. + +2005-03-21 David Mosberger <davidm@hpl.hp.com> + + * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames + with more than 8 output registers. Fix this by passing original + ar.pfs to _mcount_ret_helper via r3. + +2005-03-15 Jakub Jelinek <jakub@redhat.com> + + [BZ #786] + * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle + GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx). + * elf/Makefile: Add rules to build and run tst-tls15. + * elf/tst-tls15.c: New test. + * elf/tst-tlsmod15a.c: New file. + * elf/tst-tlsmod15b.c: New file. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S - [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. +2005-03-20 Ulrich Drepper <drepper@redhat.com> -2006-02-13 Steven Munroe <sjmunroe@us.ibm.com> + * elf/rtld.c (dl_main): Always call init_tls if we have audit modules. - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File - * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File - * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File - * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File +2005-03-20 Alfred M. Szmidt <ams@gnu.org> -2006-10-20 Steven Munroe <sjmunroe@us.ibm.com> + * elf/dl-open.c (dl_open_worker): Fix typo. - * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. +2005-03-20 Ulrich Drepper <drepper@redhat.com> -2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> + * malloc/malloc.c (public_cALLOc): We cannot skip the memory + clearing if perturb_byte != 0. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. +2005-03-20 Jakub Jelinek <jakub@redhat.com> - * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. - * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. + * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t + instead of __off_t for last argument. + * debug/Makefile (tests): Add tst-lfschk{1,2,3}. + * debug/tst-lfschk1.c: New test. + * debug/tst-lfschk2.c: New test. + * debug/tst-lfschk3.c: New test. -2006-09-29 Steven Munroe <sjmunroe@us.ibm.com> +2005-02-09 Jakub Jelinek <jakub@redhat.com> - * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. - * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. + * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC + and __USE_XOPEN guards to match linux/bits/termios.h. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + (CMSPAR): Define. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. -2006-09-28 Steven Munroe <sjmunroe@us.ibm.com> +2005-02-10 H.J. Lu <hongjiu.lu@intel.com> - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. - * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. - * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. + [BZ #1076] + * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels. -2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> +2005-02-27 Denis Barbier <barbier@debian.org> - * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. - * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. + [BZ #549] + * locale/iso-4217.def: Add CSD currency. -2006-06-15 Steven Munroe <sjmunroe@us.ibm.com> +2005-03-19 Ulrich Drepper <drepper@redhat.com> - * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. - * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. - * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. + * inet/test-ifaddrs.c: Use test-skeleton. + * inet/test_ifindex.c: Likewise. -2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> + [BZ #821] + * elf/dl-lookup.c (add_dependency): Always search l_initfini if + the list exists. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. - * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. + [BZ #821] + * elf/Makefile: Add rules to build and run order2. + * elf/order2.c: New file. + * elf/order2mod1.c: New file. + * elf/order2mod2.c: New file. + * elf/order2mod3.c: New file. + * elf/order2mod4.c: New file. -2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> +2005-03-19 Jakub Jelinek <jakub@redhat.com> - * sysdeps/powerpc/powerpc32/power6/memset.S: New file. - * sysdeps/powerpc/powerpc64/power6/memset.S: New file. + [BZ #821] + * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value, + it has been incremented before. -2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> +2005-03-18 Ulrich Drepper <drepper@redhat.com> - * sysdeps/powerpc/powerpc32/970/Implies: New file. - * sysdeps/powerpc/powerpc32/power5/Implies: New file. - * sysdeps/powerpc/powerpc32/power5+/Implies: New file. - * sysdeps/powerpc/powerpc32/power6/Implies: New file. - * sysdeps/powerpc/powerpc32/power6x/Implies: New file. - * sysdeps/powerpc/powerpc64/970/Implies: New file. - * sysdeps/powerpc/powerpc64/power5/Implies: New file. - * sysdeps/powerpc/powerpc64/power5+/Implies: New file. - * sysdeps/powerpc/powerpc64/power6/Implies: New file. - * sysdeps/powerpc/powerpc64/power6x/Implies: New file. + [BZ #821] + * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate + function _dl_sort_fini. + (_dl_sort_fini): New function. + * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini. + * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running + destructors to call them in the right order. -2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> +2005-02-07 Steven Munroe <sjmunroe@us.ibm.com> - * sysdeps/powerpc/powerpc32/power4/memset.S: New file + * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave. + (La_ppc64_retval): Correct size of lrc_fp. + * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve): + Fix up ABI problems and complete function. -2007-03-13 Steven Munroe <sjmunroe@us.ibm.com> +2005-03-10 Jakub Jelinek <jakub@redhat.com> - * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize - branch miss-predicts. Ensure that cache line crossing does not impact - dispatch grouping. + * math/test-misc.c (main): Add some more tests. -2006-12-13 Steven Munroe <sjmunroe@us.ibm.com> +2005-03-17 Jakub Jelinek <jakub@redhat.com> - * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include - "../../powerpc32/power4/memcopy.h". - * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include - "../../powerpc32/power4/wordcopy.c". - -2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. - * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. - * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. - * sysdeps/powerpc/powerpc32/power4/Makefile: To here. - * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. - * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. - -2006-09-10 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. - -2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. - * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. - * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. - * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. - * sysdeps/powerpc/powerpc64/power4/Makefile: New file. - * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. - * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. - * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. - -2006-07-06 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. - -2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. - * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. - * sysdeps/powerpc/powerpc32/power4/memset.S: New file. - * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. - * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. - * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. - * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. - -2007-05-29 Roland McGrath <roland@redhat.com> - - * po/Makefile (po-sed-cmd): New variable. - (libc.pot.files): Move sed command text in there, avoid \ inside ''. - -2007-05-29 Ulrich Drepper <drepper@redhat.com> - - * crypt/md5-crypt.c: Fix comment. - - * nscd/nscd_helper.c (get_mapping): Handle short replies instead - of crashing. When this is the case or if the reply is malformed, - don't try to close the new file descriptor since it does not - exist. - Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>. - -2007-05-28 Jakub Jelinek <jakub@redhat.com> + * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed + __wcrtomb. Check return values of other __wcrtomb calls. + * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars): + Change mbclen type to size_t. + (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t. + Handle mb chars whose upper case doesn't have multibyte representation + in locale's charset. - * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define - if __NR_utimensat is not defined. +2005-03-15 Jakub Jelinek <jakub@redhat.com> -2007-05-26 Ulrich Drepper <drepper@redhat.com> + * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc, + public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with + #ifndef _LIBC. - * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>. + [BZ #779] + * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet + initialized. -2007-05-25 Jakub Jelinek <jakub@redhat.com> +2005-03-10 Jakub Jelinek <jakub@redhat.com> - * io/bits/fcntl2.h (__open_2): Add nonnull attribute. - (open): Fix comment typos. Don't call __open_2 if flags - is a compile time constant without O_CREAT. - (__open64_2): Add nonnull attribute. - (open64): Fix comment typos. Don't call __open64_2 if flags - is a compile time constant without O_CREAT. - (__openat_2): Add nonnull attribute, fix nonnull attribute - on redirect. - (openat): Fix comment typos. Don't call __openat_2 if flags - is a compile time constant without O_CREAT. - (__openat64_2): Add nonnull attribute, fix nonnull attribute - on redirect. - (openat64): Fix comment typos. Don't call __openat64_2 if flags - is a compile time constant without O_CREAT. + * misc/sys/cdefs.h (__always_inline): Define. + * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd): + Use __always_inline instead of __inline. + * socket/bits/socket2.h (recv, recvfrom): Likewise. + * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise. + * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, + __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk, + __strcat_ichk, __strncat_ichk): Use __always_inline instead of + __inline__ __attribute__ ((__always_inline__)). + +2005-03-09 Jakub Jelinek <jakub@redhat.com> -2007-05-24 Ulrich Drepper <drepper@redhat.com> + * debug/tst-chk1.c: Include sys/socket.h and sys/un.h. + (do_test): Add new tests for recv, recvfrom, getcwd, getwd and + readlink. Add some more tests for read, pread, pread64, fgets and + fgets_unlocked. - * Makerules (sysd-rules): Define PTW for ptw-* files. - * Versions: Define GLIBC_2.7 for libc. - * include/stdio.h: Declare __fortify_fail. - * debug/fortify_fail.c: New file. - * debug/Makefile (routines): Add fortify_fail. - * debug/chk_fail.c: Use __fortify_fail. - * debug/stack_chk_fail.c: Likewise. - * io/Versions: Export __open_2, __open64_2, __openat_2, and - __openat64_2 for GLIBC_2.7. - * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. - * io/open.c: Define *_2 variant of function which checks for O_CREAT - and fails if necessary. - * io/open64.c: Likewise. - * io/openat.c: Likewise. - * io/openat64.c: Likewise. - * sysdeps/unix/sysv/linux/open64.c: Likewise. - * sysdeps/unix/sysv/linux/openat.c: Likewise. - * sysdeps/unix/sysv/linux/openat64.c: Likewise. - * io/bits/fcntl2.h: New file. - * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and - __openat64_2. - * include/bits/fcntl2.h: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add open_2. - * sysdeps/unix/sysv/linux/open_2.c: New file. - -2007-05-21 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value - as second parameter to handle_intel. - - * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache - the entry. - - * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information - handling to ... - * sysdeps/x86_64/cacheinfo.c: ... here. New file. - * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add - cacheinfo. - * sysdeps/x86_64/memcpy.S: Complete rewrite. - * sysdeps/x86_64/mempcpy.S: Adjust appropriately. - Patch by Evandro Menezes <evandro.menezes@amd.com>. - - * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. - -2007-05-21 Jakub Jelinek <jakub@redhat.com> - - [BZ #4525] - * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. - * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. - - * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. - - [BZ #4514] - * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, - reinitialize workend at the start of each do_positional format spec - loop, free workstart before do_positional loops. - (printf_unknown): Fix size of work_buffer. - * stdio-common/tst-sprintf.c (main): Add 3 new testcases. - - * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. - (public_sET_STATe): If ms->version < 3, put all chunks into - unsorted chunks and clear {fd,bk}_nextsize fields of largebin - chunks. - - * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. - * malloc/hooks.c: Likewise. - * malloc/arena.c: Likewise. - * malloc/malloc.c (do_check_malloc_state): Don't assert - n_mmaps is not greater than n_mmaps_max. This removes the need - for the previous change. + * posix/bits/unistd.h (read, pread, pread64, readlink, + getcwd, getwd): Change macros into extern inline functions. + (__read_alias, __pread_alias, __pread64_alias, __readlink_alias, + __getcwd_alias, __getwd_alias): New prototypes. + * socket/bits/socket2.h (recv, recvfrom): Change macros into + extern inline functions. + (__recv_alias, __recvfrom_alias): New prototypes. + * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros + into extern inline functions. + (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes. - * malloc/Makefile (CFLAGS-malloc.c): Revert accidental - 2007-05-07 commit. + * debug/pread_chk.c (__pread_chk): Fix order of arguments passed + to __pread. + * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed + to __pread64. + +2005-03-18 Daniel Jacobowitz <dan@codesourcery.com> + + * configure.in: Use %function instead of @function. + +2005-03-18 Ulrich Drepper <drepper@redhat.com> + + [BZ #821] + * include/link.h (struct link_map): Remove l_opencount. Add l_removed. + Change type of l_idx to int. + * elf/dl-close.c: Basically rewrite. Do not use l_opencount to + determine whether a DSO has to be unloaded. Instead compute this + in this function. + * elf/dl-deps.c: No need to manipulate l_opencount anymore. + * elf/dl-lookup.c: Likewise. + * elf/rtld.c: Likewise + * elf/dl-open.c: Likewise. Use l_init_called to determine whether + object was just loaded. + * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount. + * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which + is about to be unloaded as a match. + (_dl_map_object): Likewise. + * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about + to be unloaded. + * elf/circleload1.c: Don't use l_opencount anymore. + * elf/neededtest.c: Likewise. + * elf/neededtest2.c: Likewise. + * elf/neededtest3.c: Likewise. + * elf/neededtest4.c: Likewise. + * elf/unload.c: Likewise. + * elf/unload2.c: Likewise. + * elf/loadtest.c: Likewise. + + [BZ #821] + * elf/rtld.c: Preloading errors are now never fatal. + +2005-03-08 Jakub Jelinek <jakub@redhat.com> + + [BZ #821] + * elf/Makefile: Add rules to build and run unload5 test. + * elf/unload5.c: New file. + + [BZ #821] + * elf/Makefile: Add rules to build and run unload4 test. + * elf/unload4.c: New file. + * elf/unload4mod1.c: New file. + * elf/unload4mod2.c: New file. + * elf/unload4mod3.c: New file. + * elf/unload4mod4.c: New file. + +2005-03-17 Roland McGrath <roland@redhat.com> + + * nscd/aicache.c (addhstaiX): Tweak type to avoid warning. + +2005-03-16 Richard Henderson <rth@redhat.com> + + [BZ #721] + * include/libc-symbols.h (__hidden_proto): Remove bogus declaration + of internal. + (__hidden_def1, __hidden_dot_def1): Remove. + (__hidden_def2, __hidden_def3): Remove. + (__hidden_ver1): New. + (hidden_ver, hidden_def, hidden_weak): Use it. + (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data + version of the macro. + + [BZ #721] + * include/wchar.h (__wcscoll): Remove. + * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll. + * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined. + +2005-03-16 Daniel Jacobowitz <dan@codesourcery.com> + + * elf/elf.h: Define MIPS TLS relocations. + +2005-03-16 Ulrich Drepper <drepper@redhat.com> + + * elf/circleload1.c (main): Pretty printing. + +2005-03-15 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword. + Patch by Dan Kegel <dank@kegel.com>. + + [BZ #721] + * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative, + elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): + Add inline keyword. + * sysdeps/alpha/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline + attribute. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change + static inline into auto inline. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, + elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela): + Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative, + elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): + Likewise. -2007-05-19 Ulrich Drepper <drepper@redhat.com> +2005-03-15 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): - Define for kernel >= 2.6.22. + [BZ #789] + * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints. + Remove memory clobber. -2007-05-18 Ulrich Drepper <drepper@redhat.com> + * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition + thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff. - * elf/dl-close.c (_dl_close_worker): When removing object from - global scope, wait for all lookups to finish afterwards. - * elf/dl-open.c (add_to_global): When global scope array must - grow, allocate a new one and free old array only after all - lookups finish. - * elf/dl-runtime.c (_dl_fixup): Protect using global scope. - (_dl_lookup_symbol_x): Likewise. - * elf/dl-support.c: Define _dl_wait_lookup_done. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add - _dl_wait_lookup_done. +2005-03-14 Jakub Jelinek <jakub@redhat.com> - * malloc/malloc.c (do_check_chunk): Correct check for mmaped block - not overlapping with arena. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include + asm/types.h. - * malloc/mcheck.c (reallochook): If size==0, free the block. +2005-03-10 GOTO Masanori <gotom@debian.or.jp> - * rt/tst-shm.c: Use fstat64 instead of fstat. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and + MAP_NONBLOCK. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + Correct MAP_GROWSDOWN value. - * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where - __NR_sync_file_range is not defined. +2005-03-13 Roland McGrath <roland@redhat.com> -2007-05-17 Ulrich Drepper <drepper@redhat.com> + * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps + version if there is one. Only #error if macros are then undefined. + * sysdeps/generic/tls-macros.h: New file. - Dummy files to prevent stub versions from being used. - * sysdeps/x86_64/fpu/k_cosl.c: New file. - * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. - * sysdeps/x86_64/fpu/k_sinl.c: New file. - * sysdeps/x86_64/fpu/k_tanl.c: New file. +2005-03-10 GOTO Masanori <gotom@debian.or.jp> - * version.h (VERSION): Set to 2.6.90. + * sysdeps/hppa/configure.in: Remove old Makefile leftovers. + * sysdeps/hppa/configure: Regenerated. -2007-05-14 Ulrich Drepper <drepper@redhat.com> +2005-03-08 Roland McGrath <roland@redhat.com> - * version.h (VERSION): Define to 2.6. - * include/features.h (__GLIBC_MINOR__): Define to 6. + * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so + array types match exactly in C alias decls. - * malloc/malloc.c: Use all small bin slots on 64-bit archs. +2005-03-07 Ulrich Drepper <drepper@redhat.com> - * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 - sizes. + * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call + mallopt appropriately. + * malloc/malloc.h: Define M_PERTURB. + * malloc/malloc.c (perturb_byte): New variable. + (alloc_perturb, free_perturb): New macros. + (_int_malloc): Before returning, overwrite the memory if this is + requested. + (_int_free): Overwrite freed memory if requested. + (mALLOPt): Handle M_PERTURB. + * test-skeleton.c: Add call to mallopt with M_PERTURB command. -2007-05-13 Ulrich Drepper <drepper@redhat.com> + * elf/dl-close.c (_dl_close): Decrement l_opencount before + printing debug message. + * elf/dl-open.c (dl_open_worker): Always print the new opencount + in debug messages. - * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum - number of mmaps. n_mmaps_max is the target. - * malloc/hooks.c: Likewise. - * malloc/arena.c: Likewise. +2005-03-06 Ulrich Drepper <drepper@redhat.com> -2007-05-12 Andreas Jaeger <aj@suse.de> + * elf/dl-close.c (_dl_close): Unify debug message format. - * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for - getpid. + * elf/dl-close.c (_dl_close): Print debug message just before + destroying a link map. -2007-05-11 Ulrich Drepper <drepper@redhat.com> + * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output. + * elf/dl-version.c (match_symbol): Likewise. - * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by - adding new variables. + * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code. - * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc - optimize. Completely extend global scope array before making the - new entries visible. + * debug/recv_chk.c (__recv_chk): Always fail if request could + overflow the buffer. + * debug/recvfrom_chk.c (__recvfrom_chk): Likewise. + * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if + we know the call succeeds. + (recvfrom): Likewise. -2007-05-10 Ulrich Drepper <drepper@redhat.com> +2005-03-05 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add - tst-getcpu. + * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid + warning. + * posix/regex_internal.c (re_string_reconstruct): Add cast to + avoid warning. + (build_wcs_upper_buffer): Change type of bug to plain char. + * locale/weightwc.h (findidx): Add casts to avoid warnings. + * time/mktime.c (ranged_convert): Initialize tm to make the + compiler happy. + * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings. + * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings. + * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings. + * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings. + * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings. + * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf. + * wcsmbs/wctob.c (wctob): Make buf array of unsigned char. + * sysdeps/generic/strchrnul.c: Add cast to avoid warning. + * libio/iofwide.c: Add casts to avoid warnings. + * stdio-common/printf-prs.c (parse_printf_format): Introduce new + variable f to avoid warnings. + * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): + Fix a few casts to avoid warnings. + * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned + to avoid warning. - * include/link.h: Move l_version and l_nversion members around to - fill gaps. + [BZ #1101] + * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using + dynamically sized array. + (build_wcs_upper_buffer): Likewise. - * scripts/check-c++-types.sh: Don't use -fnu89-inline option. +2005-03-05 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/sched_setaffinity.c - (__sched_setaffinity_new): If syscall was successful and - RESET_VGETCPU_CACHE is defined, use it before returning. - * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. + * include/bits/unistd.h: New file. + * include/bits/socket2.h: New file. - * io/sys/stat.h: Make sure struct timespec is defined for - __USE_ATFILE. +2005-03-05 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and - UTIME_OMIT. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. - * io/sys/stat.h: Declare utimensat, futimens. - * io/utimensat.c: New file. - * io/futimens.c: New file. - * sysdeps/unix/sysv/linux/utimensat.c: New file. - * sysdeps/unix/sysv/linux/futimens.c: New file. - * io/Makefile (routines): Add utimensat, futimens. - * io/Versions: Add utimensat, futimens to GLIBC_2.6. - * sysdeps/unix/sysv/linux/lutimes.c: New file. - * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if - available. + * sunrpc/key_call.c: Remove doors support. + * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition. + * configure.in: Remove test for doors support which never existed. + * config.make.in: Remove have_doors entry. - * include/sys/cdefs.h: Redefine __nonnull so that test for - incorrect parameters in the libc code itself are not omitted. + * configure.in: Make sure at least gcc 3.4 is used. Undo last change. + * config.make.in: Undo last change. -2007-05-09 Jakub Jelinek <jakub@redhat.com> + * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use + -mtune. - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow - exception in addition to inexact when asked to raise only FE_INEXACT. +2005-03-05 Roland McGrath <roland@redhat.com> - [BZ #3427] - * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions - in *envp. + * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl. + (_dl_out_of_memory): Use rtld_hidden_proto. + * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def. + (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory. + * elf/dl-open.c (_dl_open): Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Likewise. -2007-05-07 Ulrich Drepper <drepper@redhat.com> + * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *. - [BZ #4403] - * string/strfry.c (strfry): Make result more random. + * elf/dl-addr.c (_dl_addr): Add a cast. -2007-05-07 Richard Henderson <rth@redhat.com> + [BZ #821] + * elf/unload3mod4.c: Declare foo. + * elf/testobj2.c: Include <stdio.h>. - * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define - if __NO_LONG_DOUBLE_MATH. - * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not - available in the compiler, add .arch directive to the assembly. + * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal + value constant, and use it in the defn. + * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl. + Use actual size for compat array decls. -2007-05-07 Jakub Jelinek <jakub@redhat.com> + * config.make.in (cc-mtune): New substituted variable. + * configure.in (libc_cv_cc_mtune): New test for -mtune= switch, + done only if libc_mtune_example is defined. + * sysdeps/i386/configure.in (libc_mtune_example): Set it. + * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune). - * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on - compat_symbol to GLIBC_2_1. - * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. - * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. - * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. - * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. - * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. - * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. - * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in - libc, not libm. - (__isnanl): New compat_symbol. +2005-03-05 Jakub Jelinek <jakub@redhat.com> -2007-05-07 Ulrich Drepper <drepper@redhat.com> - Jakub Jelinek <jakub@redhat.com> + [BZ #721] + * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define + unconditionally to (defined RTLD_BOOTSTRAP). + * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise. - * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. - (new_heap): Initialize mprotect_size. - (grow_heap): When growing, only mprotect from mprotect_size till - new_size if mprotect_size is smaller. When shrinking, use PROT_NONE - MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. - -2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> - Peter Bergner <bergner@us.ibm.com> - - * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. - Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. - * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. - * sysdeps/powerpc/fpu/fe_mask.c: New file. - * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. - * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): - Call __fe_mask_env() if all FP exceptions disabled. - * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits - from old FPSCR to new fenv to propagate DFP rounding modes. - Call __fe_mask_env() if FP exceptions previously enabled. - * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge - exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when - transitioning from all exceptions disabled to any exception enabled - or visa versa. - * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to - merge exceptions from env. Call __fe_nomask_env or __fe_mask_env - when transitioning from all exceptions disabled to any exception - enabled or visa versa. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. - -2007-05-06 Ulrich Drepper <drepper@redhat.com> - - [BZ #4465] - * posix/unistd.h: Remove __THROW from fdatasync. - -2007-05-06 Mike Frysinger <vapier@gentoo.org> - - [BZ #4465] - * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. - -2007-05-06 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfprintf.c (process_string_arg): Optimize - ridiculous precision in wide char code printing multi-byte string. - Reported by Jim Meyering <jim@meyering.net>. - - [BZ #4131] - * elf/dl-addr.c (_dl_addr): Compare address with actual segment - boundaries to work around systems with overlapping binary loading. - Based on a patch by Suzuki <suzuki@in.ibm.com>. - -2007-05-04 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfprintf.c (process_string_arg): Adjust call to - __mbsnrtowcs after last change. - - * locale/programs/linereader.c (get_symname): Fix adding final NUL. - (get_ident): Likewise. - -2007-05-03 Jakub Jelinek <jakub@redhat.com> - - * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT - with setting the sticky bit. - * math/test-misc.c (main): Add more truncation tests. - -2007-04-14 Uros Bizjak <ubizjak@gmail.com> - - * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of - double in the function declaration. - * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of - double in the function declaration. - * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of - float in the function declaration. - * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of - float in the function declaration. - - * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for - denormal operands. Do not generate FP_EX_DENORM exception. - (FP_UNPACK_RAW_EP): Ditto. - (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of - undefined _FP_UNPACK_RAW_E. - (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of - undefined _FP_UNPACK_RAW_EP. - (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of - undefined _FP_PACK_RAW_E. - (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of - undefined _FP_PACK_RAW_EP. - - * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to - _FP_FRAC_COPY_2. - * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to - _FP_FRAC_COPY_4. - -2007-04-16 Uros Bizjak <ubizjak@gmail.com> - Jakub Jelinek <jakub@redhat.com> +2005-03-05 Jakub Jelinek <jakub@redhat.com> - * soft-fp/op-common.h (FP_EXTEND): Do not abort when - _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for - this case. - * soft-fp/op-common.h (FP_TRUNC): Ditto. + * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of + $(inst_slibdir) in AS_NEEDED directive. -2007-05-03 Jakub Jelinek <jakub@redhat.com> +2005-03-03 Jakub Jelinek <jakub@redhat.com> - * math/test-misc.c (main): Add tests for rounding long double - values close to smallest double denormalized value to double. + * posix/bits/unistd.h (pread, pread64): Don't swap function arguments. -2007-04-30 Joseph Myers <joseph@codesourcery.com> +2005-03-01 H.J. Lu <hongjiu.lu@intel.com> - * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in - condition for truncating to 0. Set sticky bit for such - truncation. + [BZ #776] + * iconv/iconvconfig.c: Fix comment for the output file. + (write_output): Clear padding in header. -2007-05-02 Jakub Jelinek <jakub@redhat.com> +2005-03-03 Ulrich Drepper <drepper@redhat.com> - * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than - fixed length array for ignore. + [BZ #821] + * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the + loader is closed. Fixes unload3. + * elf/tst-global1.c: New file. + * elf/Makefile (tests): Add tst-global1. + * elf/testobj2.c (p): New function. -2007-04-30 Ulrich Drepper <drepper@redhat.com> +2005-03-03 Jakub Jelinek <jakub@redhat.com> - [BZ #4438] - * stdio-common/vfprintf.c (process_string_arg): Don't overflow the - stack for large precisions. - * stdio-common/test-vfprintf.c (main): Add test for large - precision. + [BZ #821] + * elf/Makefile: Add rules to build and run unload3 test. + * elf/unload3.c: New test. + * elf/unload3mod1.c: New file. + * elf/unload3mod2.c: New file. + * elf/unload3mod3.c: New file. + * elf/unload3mod4.c: New file. -2007-04-30 Jakub Jelinek <jakub@redhat.com> +2005-02-21 Alan Modra <amodra@bigpond.net.au> - * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign - for exponent 0. - * stdio-common/tfformat.c (sprint_doubles): Add a new test. + [BZ #1394] + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't + use __uint128_t. - [BZ #4439] - * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into - account in the size check. - * resolv/tst-inet_ntop.c: New test. - * resolv/Makefile (tests): Add tst-inet_ntop. +2005-03-01 Jakub Jelinek <jakub@redhat.com> -2007-04-30 Ulrich Drepper <drepper@redhat.com> - Jakub Jelinek <jakub@redhat.com> + * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead + of __bos. + * socket/bits/socket2.h (recv, recvfrom): Likewise. - [BZ #4349] - * malloc/malloc.c: Keep separate list for first blocks on the bin - lists with a given size. This helps skipping over list elements - we know won't fit in two places. - Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>. +2005-03-01 Roland McGrath <roland@redhat.com> -2007-04-28 Ulrich Drepper <drepper@redhat.com> + [BZ #721] + * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside + of [RESOLVE_MAP]. - [BZ #4102] - * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate - label to Teredo tunnel addresses 2001://32. +2005-03-01 Alfred M. Szmidt <ams@gnu.org> -2007-04-27 Ulrich Drepper <drepper@redhat.com> + [BZ #777] + * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]: + Add missing initializer. - * locale/programs/ld-collate.c (collate_read): Allow order_start - after copy. + [BZ #777] + * malloc/arena.c: #include <stdbool.h> outside of [SHARED && + USE_TLS && !USE___THREAD]. - * locale/programs/ld-collate.c (collate_read): Fix printing of - error message. +2005-02-26 GOTO Masanori <gotom@debian.or.jp> - [BZ #3213] - * locale/C-translit.h.in: Add entry for U2044. + * csu/Makefile: Use printf instead of echo for some shells. - [BZ #4342] - * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow - hexa-decimal floats without exponent. - * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. +2005-02-28 Roland McGrath <roland@redhat.com> -2007-04-25 Ulrich Drepper <drepper@redhat.com> + * debug/warning-nop.c (__nop): Rename to nop, make it static. + (__warndecl): Use alias attribute directly, instead of strong_alias + macro. Add attribute_hidden. - * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. - * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. - * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for - GLIBC_2.6. - * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): - Add sched_getcpu. +2005-02-28 Ulrich Drepper <drepper@redhat.com> -2007-04-25 Jakub Jelinek <jakub@redhat.com> + * posix/bits/unistd.h: Avoid calling __*_chk variants if we can + determine the call will never trigger a failure. + * debug/read_chk.c (__read_chk): Always fail if the buffer is too + small. + * debug/readlink_chk.c (__readlink_chk): Likewise. + * debug/pread64_chk.c (__pread64_chk): Likewise. + * debug/pread_chk.c (__pread_chk): Likewise. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead - of 0 after the out_fail label. + * sysdeps/i386/i686/memset_chk.S: Remove alias and warning. + * sysdeps/x86_64/memset_chk.S: Likewise. -2007-04-25 Ulrich Drepper <drepper@redhat.com> +2005-02-24 Roland McGrath <roland@redhat.com> - [BZ #4406] - * iconv/gconv_charset.h (strip): Allow ':'. - * iconv/iconv_open.c (iconv_open): Adjust comment. + * debug/Versions (libc: GLIBC_2.4): Remove + __memset_zero_constant_len_parameter. + * sysdeps/generic/memset_chk.c: Remove alias and warning. + * misc/sys/cdefs.h (__warndecl): New macro. + * debug/warning-nop.c: New file. + * string/bits/string3.h (memset): Call __warn_memset_zero_len with no + arguments, instead of calling __memset_zero_constant_len_parameter. + Use __warndecl for __warn_memset_zero_len. + * debug/Makefile (routines): Add $(static-only-routines). + (static-only-routines): New variable. -2007-04-25 Jakub Jelinek <jakub@redhat.com> +2005-02-27 Ulrich Drepper <drepper@redhat.com> - * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized - version. + * po/tr.po: Update from translation team. -2007-04-23 Jakub Jelinek <jakub@redhat.com> +2005-02-26 Ulrich Drepper <drepper@redhat.com> - [BZ #4381] - * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient - alignment of buffer and tmp_buffer. - * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, - internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient - alignment of buffer. - * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen - bigger than INT_MAX. - * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and - h_errnop arguments. Fail if buflen is too small. - (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. + * elf/dl-addr.c: Cleanups. Move declaration next to first use. -2007-04-23 Jakub Jelinek <jakub@redhat.com> + * dlfcn/dlerror.c (check_free): New function. Extract common code + from fini and free_key_mem. Check whether this is libdl in the + base namespace. - [BZ #4405] - * iconvdata/gconv-modules (E13B): Add a missing slash to the alias - name. Patch by Aurelien Jarno <aurelien@aurel32.net>. +2005-02-25 Ulrich Drepper <drepper@redhat.com> -2007-04-22 Roland McGrath <roland@redhat.com> + * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information + to debug output. - * elf/elf.h (NT_PRXFPREG): New macro. +2004-11-11 Richard Sandiford <rsandifo@redhat.com> -2007-04-19 Andreas Jaeger <aj@suse.de> + [BZ #758] + * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only + preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names + like __NR_N32_open. Just include <asm/unistd.h> otherwise. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the + standard __NR prefix. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that + the output file is compatible with both pre-2.6 and 2.6 kernel headers. + Extract separate syscall lists for each ABI. - [BZ #3905] - * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, - IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): - Added. +2005-02-23 Ulrich Drepper <drepper@redhat.com> -2007-04-19 Ulrich Drepper <drepper@redhat.com> + * Makerules (libc.so): Add AS_NEEDED line for dynamic linker. - * include/sys/mman.h: Mark madvise hidden. - * misc/madvise.c: Add libc_hidden_def. + [BZ #719] + * elf/Makefile: Run tst-tls9-static again. -2007-04-06 Jakub Jelinek <jakub@redhat.com> +2005-02-22 Ulrich Drepper <drepper@redhat.com> - * nis/nis_domain_of.c (__nis_domain_of): New function. - * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. - * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. - * nis/nis_call.c (rec_dirsearch): Likewise. - (first_shoot): Likewise. Remove search_parent_first argument. - (struct nis_server_cache): Rename search_parent_first field - to search_parent. - (nis_server_cache_search, nis_server_cache_add): Rename - search_parent_first argument to search_parent. - (__nisfind_server): Likewise. If search_parent, call - __nis_domain_of. - -2007-04-18 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/getaddrinfo.c: Remove commented-out code. - -2007-04-17 Ulrich Drepper <drepper@redhat.com> - - [BZ #4368] - * stdlib/stdlib.h: Remove obsolete part of comment for realpath. - -2007-04-16 Ulrich Drepper <drepper@redhat.com> - - [BZ #4364] - * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. - -2007-04-15 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/locarchive.c (INITIAL_NUM_NAMES, - INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate - current number of locales in SUPPORTED. - (create_archive): Initialize serial. - (enlarge_archive): Preserve aliases rather than duplicating - their locrecs. - -2007-04-13 Jakub Jelinek <jakub@redhat.com> - - * libio/genops.c (_IO_default_finish): Call _IO_lock_fini - after _IO_un_link, not before it. - - * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 - special case handling when wcp == wstartp + 1. Fix a comment typo. - * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. - -2007-03-30 Jakub Jelinek <jakub@redhat.com> - - * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, - __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, - _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): - Remove __THROW. - * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, - _IO_file_xsgetn_maybe_mmap): Likewise. - * libio/oldfileops.c (old_do_write): Likewise. - * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, - _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, - _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, - _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, - _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, - _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, - _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, - _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, - _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, - _IO_file_underflow, _IO_file_underflow_mmap, - _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, - _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, - _IO_file_sync, _IO_file_close_it, _IO_file_finish, - _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, - _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, - _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, - _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, - _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, - _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, - _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, - _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, - _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, - _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, - _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, - _IO_adjust_column_internal, _IO_default_uflow_internal, - _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, - _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, - _IO_file_setbuf_internal, _IO_file_seekoff_internal, - _IO_file_xsputn_internal, _IO_file_xsgetn_internal, - _IO_file_close_it_internal, _IO_file_underflow_internal, - _IO_file_overflow_internal, _IO_file_attach_internal, - _IO_file_fopen_internal, _IO_file_sync_internal, - _IO_file_finish_internal, _IO_wfile_xsputn_internal, - _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, - _IO_switch_to_wget_mode_internal, _IO_padn_internal, - _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, - _IO_seekpos_unlocked): Likewise. - (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, - _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. - -2007-04-16 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/locarchive.c (show_archive_content): Fix sizeof - argument in xmalloc size computation. - -2007-04-01 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use - math_opt_barrier and math_force_eval macros. - -2007-03-27 Jakub Jelinek <jakub@redhat.com> - - [BZ #3306] - * math/math_private.h (math_opt_barrier, math_force_eval): Define. - * sysdeps/i386/fpu/math_private.h: New file. - * sysdeps/x86_64/fpu/math_private.h: New file. - * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and - math_force_eval macros. Use "+m" constraint on asm rather than - "=m" and "m". - * math/s_nextafter.c (__nextafter): Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): - Likewise. - * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. - * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use - math_opt_barrier and math_force_eval macros. - * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. - * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. - * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. - (__nexttoward): Use math_opt_barrier and - math_force_eval macros. Use "+m" constraint on asm rather than - "=m" and "m". Only use asm to force double result if - FLT_EVAL_METHOD is 2. - * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. - (__nexttowardf): Use math_opt_barrier and - math_force_eval macros. Use "+m" constraint on asm rather than - "=m" and "m". Only use asm to force double result if - FLT_EVAL_METHOD is not 0. - * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. - (__nexttowardf): Use math_opt_barrier and - math_force_eval macros. If FLT_EVAL_METHOD is not 0, force - x to float using asm. - * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. - (__nldbl_nexttowardf): Use math_opt_barrier and - math_force_eval macros. If FLT_EVAL_METHOD is not 0, force - x to float using asm. - * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. - (__nexttowardf): Use math_opt_barrier and math_force_eval - macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. - * math/bug-nextafter.c (zero, inf): New variables. - (main): Add new tests. - * math/bug-nexttoward.c (zero, inf): New variables. - (main): Add new tests. - -2007-03-22 Jakub Jelinek <jakub@redhat.com> - - [BZ #3427] - * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all - exceptions both in SW and MXCSR. - * sysdeps/x86_64/fpu/feupdateenv.c: New file. - * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. - * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions - in MXCSR if SSE is available. - * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h - and ldsodefs.h. - (__feupdateenv): Query exceptions also from MXCSR if SSE is available. - Fix comment typo. - * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. - Return 0 rather than 1. - * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. - Remove incorrect part of a comment. Fix argument to feraiseexcept. - * math/test-fenv.c (feholdexcept_tests): New function. - (main): Call it. - -2007-01-05 Richard B. Kreckel <kreckel@ginac.de> - - [BZ #3427] - * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions - in SW. - -2007-04-13 Jakub Jelinek <jakub@redhat.com> - - [BZ #4344] - * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. - Reported by David Anderson <davea42@earthlink.net>. - -2007-04-07 Ulrich Drepper <drepper@redhat.com> - - * posix/sys/wait.h: Remove unnecessary forward declaration. - -2007-04-05 Jakub Jelinek <jakub@redhat.com> - - * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers - with obj->do_servers after first_shoot. - -2007-04-03 Ulrich Drepper <drepper@redhat.com> - - * posix/Makefile (routines): Add sched_cpucount. - (tests): Add tst-cpucount. - * posix/sched_cpucount.c: New file. - * posix/tst-cpucount.c: New file. - * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. - * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. - * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * posix/sched.h: Define CPU_COUNT. - -2007-03-27 Jakub Jelinek <jakub@redhat.com> - - * posix/fnmatch.c (STRUCT): Define. - (fnmatch): Pass NULL as last argument to internal_fn{,w}match. - * posix/fnmatch_loop.c (struct STRUCT): New type. - (FCT): Add ends argument. If ends != NULL and normal * is - seen in the pattern, store current pattern and string pointers - and return. Adjust recursive calls. - (EXT): Adjust FCT callers. - (STRUCT): Undef at the end of the file. - * posix/Makefile (tests): Add tst-fnmatch2. - * posix/tst-fnmatch2.c: New test. - -2007-04-01 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success - and 1 on failure. - - * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): - Change last argument to unsigned int. - -2007-03-23 Jakub Jelinek <jakub@redhat.com> - - * scripts/check-local-headers.sh: Filter out sys/capability.h. - -2007-03-22 Jakub Jelinek <jakub@redhat.com> - - * config.h.in (HAVE_LIBCAP): Add. - * nscd/selinux.h: Include sys/capability.h rather than non-existent - sys/capabilities.h. - * nscd/selinux.c (preserve_capabilities): Use cap_free instead of - free_caps. Cast away const from 4th cap_set_flag argument. - -2007-03-26 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to - GLIBC_2.6. - * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): - Add sync_file_range. - Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. - -2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/bits/atomic.h - [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. - [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. - (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. - * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: - Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". - (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. - * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: - Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". - (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. - (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. - (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. - -2007-03-20 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/powerpc/libc-start.c - (__cache_line_size): Define the variable here. Add - attribute_hidden, remove weak_extern. - (__libc_start_main): Set __cache_line_size - unconditionally. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (__cache_line_size): Define the variable here. Add - attribute_hidden, remove weak_extern. - (DL_PLATFORM_AUXV): Set __cache_line_size - unconditionally. - * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove - weak_extern, add attribute_hidden. - (__elf_machine_runtime_setup): Assume __cache_line_size is always - defined in ld.so. - * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove - definition. - * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. + [BZ #719] + * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the + slotinfo array. + (__libc_setup_tls): Initialize length of DTV based on array length. + * elf/dl-load.c: Revert last change. + * sysdeps/generic/dl-tls.c: Revert last change. -2007-03-26 Jakub Jelinek <jakub@redhat.com> + * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1, + tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2, + tst-execve1, tst-execve2, tst-execle1, and tst-execle2. + * posix/tst-execl1.c: New file. + * posix/tst-execl2.c: New file. + * posix/tst-execle1.c: New file. + * posix/tst-execle2.c: New file. + * posix/tst-execlp1.c: New file. + * posix/tst-execlp2.c: New file. + * posix/tst-execv1.c: New file. + * posix/tst-execv2.c: New file. + * posix/tst-execve1.c: New file. + * posix/tst-execve2.c: New file. + * posix/tst-execvp1.c: New file. + * posix/tst-execvp2.c: New file. - [BZ #4276] - * timezone/africa: Update from tzdata2007d. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. +2005-02-22 Roland McGrath <roland@redhat.com> - * timezone/private.h: Update from tzcode2007d. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. + * include/signal.h: Revert last change. + (__sigemptyset): Use __builtin_memset instead of memset. -2007-03-21 Jakub Jelinek <jakub@redhat.com> - - * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. - (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New - variables. - (nis_server_cache_search, nis_server_cache_add): New functions. - (__nisfind_server): Use them. Add dbp and flags argument, if - call __nisbind_create. - (__nisbind_create): Add server_used and current_ep arguments, - only call __nis_findfastest if server_used is ~0. - (__do_niscall2, __prepare_niscall): Adjust callers. - (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, - ckey_cache_euid, ckey_cache_lock): New variables. - (get_ckey): New function. - (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to - __pmap_getnisport. Save __pmap_getnisport result in - dbp->addr.sin_port if non-zero. Use get_ckey to create conversation - key. - * nis/nis_lookup.c (nis_lookup): Likewise. - * nis/nis_table.c (nis_list): Likewise. - * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust - prototypes. - - * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, - _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. - * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, - _nss_nisplus_getservbyport_r): Likewise. - * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, - _nss_nisplus_getnetbyaddr_r): Likewise. - * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. - * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, - _nss_nisplus_getntohost_r): Likewise. - * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, - _nss_nisplus_getrpcbynumber_r): Likewise. - -2007-03-20 Jakub Jelinek <jakub@redhat.com> - - * configure.in (libc_cv_gnu89_inline): Only do compile test. - * configure: Rebuilt. - - * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac - bit-fields. - * soft-fp/extended.h (_FP_UNION_E): Likewise. - -2006-06-07 Joseph Myers <joseph@codesourcery.com> - - [BZ #2831] - * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac - bit-fields. - -2007-03-18 Jakub Jelinek <jakub@redhat.com> - - * nscd/gai.c: Include alloca.h. - (__libc_use_alloca): Define. - -2007-03-16 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-open.c (dl_open_worker): Declare l in 2 different - smaller scopes. - * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. - (DL_DST_REQUIRED): Adjust user. - - * include/dlfcn.h (struct link_map): New forward decl. - - * inet/getnameinfo.c: Include stddef.h. - (getnameinfo): Use offsetof. - - * time/tst-mktime2.c (do_test): Don't rely on signed wrap. - - * stdio-common/vfprintf.c (_itoa): Undef before redefining. - - * string/strerror_l.c: Include stdlib.h. - - * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. - * config.make.in (gnu89-inline-CFLAGS): New variable. - * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with - -std=gnu99. - * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. - * argp/argp.h: Use it. - * bits/mathinline.h: Likewise. - * bits/sigset.h: Likewise. - * bits/string.h: Likewise. - * ctype/ctype.h: Likewise. - * hurd/hurd.h: Likewise. - * hurd/hurd/fd.h: Likewise. - * hurd/hurd/port.h: Likewise. - * hurd/hurd/signal.h: Likewise. - * hurd/hurd/threadvar.h: Likewise. - * hurd/hurd/userlink.h: Likewise. - * io/sys/stat.h: Likewise. - * libio/bits/stdio.h: Likewise. - * libio/bits/stdio2.h: Likewise. - * mach/lock-intern.h: Likewise. - * mach/mach/mig_support.h: Likewise. - * math/bits/cmathcalls.h: Likewise. - * posix/bits/unistd.h: Likewise. - * socket/bits/socket2.h: Likewise. - * stdlib/bits/stdlib.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/argz.h: Likewise. - * string/bits/string2.h: Likewise. - * string/bits/string3.h: Likewise. - * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. - * sysdeps/generic/inttypes.h: Likewise. - * sysdeps/generic/machine-lock.h: Likewise. - * sysdeps/generic/machine-sp.h: Likewise. - * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/i386/i486/bits/string.h: Likewise. - * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. - * sysdeps/mach/alpha/machine-lock.h: Likewise. - * sysdeps/mach/alpha/machine-sp.h: Likewise. - * sysdeps/mach/i386/machine-lock.h: Likewise. - * sysdeps/mach/powerpc/machine-lock.h: Likewise. - * sysdeps/mach/powerpc/machine-sp.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. - * sysdeps/s390/bits/string.h: Likewise. - * sysdeps/s390/fpu/bits/mathinline.h: Likewise. - * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. - * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. - * wcsmbs/bits/wchar2.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * stdlib/gmp.h: Likewise. Include <features.h> to get - __extern_inline definition. - -2007-03-15 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is - NULL. - - [BZ #3919] - * math/libm-test.inc (log_test): Test -Inf and NaN. - (log10_test, log1p_test, log2_test): Test -Inf. - * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise - FE_INVALID when argument is qNaN. - * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. - * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. - * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace - andb $1, %ah with testb $1, %ah, don't test for parity, instead - testb $4, %ah and jump if non-zero. - * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. - * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. - - [BZ #4101] - * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find - ancestors with the same depths. - Patch by Niels Moeller <nisse@lysator.liu.se>. - (filter_doc): Don't crash if argp is NULL. - * argp/Makefile (tests): Add tst-argp2. - * argp/tst-argp2.c: New test. - - [BZ #4130] - * login/utmp_file.c (setutent_file): Use O_LARGEFILE for - open_not_cancel_2. - (updwtmp_file): Likewise. - - [BZ #4181] - * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. - (inet6_opt_append): Don't check extlen is big enough if extbuf - is NULL. - (inet6_opt_finish): Likewise. - * inet/Makefile (tests): Add test-inet6_opt. - * inet/test-inet6_opt.c: New test. - - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never - reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY - NLMSG_ERR. Instead use a page sized buffer. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized - buffer. - -2007-03-14 Richard Henderson <rth@redhat.com> - - * sysdeps/alpha/fpu/s_llround.c: New file. - * sysdeps/alpha/fpu/s_llroundf.c: New file. - * sysdeps/alpha/fpu/s_lround.c: New file. - * sysdeps/alpha/fpu/s_lroundf.c: New file. - * sysdeps/alpha/fpu/s_round.c: New file. - * sysdeps/alpha/fpu/s_roundf.c: New file. - * sysdeps/alpha/fpu/s_trunc.c: New file. - * sysdeps/alpha/fpu/s_truncf.c: New file. - - * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. - * sysdeps/alpha/fpu/s_ceilf.c: Likewise. - * sysdeps/alpha/fpu/s_floor.c: Likewise. - * sysdeps/alpha/fpu/s_floorf.c: Likewise. - * sysdeps/alpha/fpu/s_rint.c: Likewise. - * sysdeps/alpha/fpu/s_rintf.c: Likewise. - - * sysdeps/alpha/fpu/s_fmax.S: New file. - * sysdeps/alpha/fpu/s_fmaxf.S: New file. - * sysdeps/alpha/fpu/s_fmin.S: New file. - * sysdeps/alpha/fpu/s_fminf.S: New file. - * sysdeps/alpha/fpu/s_isnan.c: New file. - * sysdeps/alpha/fpu/s_isnanf.c: New file. - * sysdeps/alpha/fpu/s_llrint.c: New file. - * sysdeps/alpha/fpu/s_llrintf.c: New file. - * sysdeps/alpha/fpu/s_lrint.c: New file. - * sysdeps/alpha/fpu/s_lrintf.c: New file. - * sysdeps/alpha/fpu/s_nearbyint.c: New file. - * sysdeps/alpha/fpu/s_nearbyintf.c: New file. - - * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. - (__fdimf, fdimf, __fdim, fdim): Remove. - (__signbitf, __signbit, __signbitl): Use gcc builtin if available. - (__isnanf, __isnan, __isnanl): New. - -2007-03-13 Richard Henderson <rth@redhat.com> - - * sysdeps/ieee754/ldbl-128/Makefile: New file. - -2007-03-13 Richard Henderson <rth@redhat.com> - - * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. - * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. - * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. - * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. - * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. +2005-02-22 Ulrich Drepper <drepper@redhat.com> -2007-03-13 Richard Henderson <rth@redhat.com> + * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use + non-cancelable I/O functions. - * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. - * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. - * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. - * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): - Move to dl-auxv.h; initialize instead of extern weak. - (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef - weak symbol. - * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): - Extern instead of initialized. +2005-02-22 Jakub Jelinek <jakub@redhat.com> -2007-03-13 Richard Henderson <rth@redhat.com> + [BZ #769] + * nscd/nscd-client.h: Include sys/uio.h. + (__readall, __readvall, writeall): New prototypes. + * nscd/connections.c (writeall): New function. + (handle_request): Use it. + * nscd/aicache.c (addhstaiX): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/nscd_helper.c (__readall, __readvall): New functions. + * nscd/nscd_getai.c (__nscd_getai): Use them. + * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise. + * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise. + * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise. + * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for - __sigsuspend_nocancel. +2005-02-22 Roland McGrath <roland@redhat.com> -2007-03-06 Ulrich Drepper <drepper@redhat.com> + * include/sys/socket.h: Declare __recv. + * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias. + * sysdeps/mach/hurd/recv.c: Likewise. - * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for - 172.16/12 address range. + * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for + __backtrace_* decls. -2007-03-02 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h + (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with - a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC - message. + * include/signal.h: Include <string.h> for memset decl. -2007-03-01 Jakub Jelinek <jakub@redhat.com> +2005-02-22 Andreas Schwab <schwab@suse.de> - [BZ #4069] - * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN - earlier. - * math/libm-test.inc (pow_test): Add more tests involving NaNs. + * posix/execvp.c (execvp): Fix invalid free. - * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception - for x qNaN and y either +-inf or non-integer value. - * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. - * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. - * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. +2005-02-22 Jakub Jelinek <jakub@redhat.com> -2007-02-10 Mike Frysinger <vapier@gentoo.org> + [BZ #1095] + * malloc/Makefile (CFLAGS-mcheck-init.c): Add. + * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for + librpcsvc.a objects. - * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h - from sysdep_headers. +2005-02-21 Ulrich Drepper <drepper@redhat.com> -2007-02-28 Jakub Jelinek <jakub@redhat.com> + [BZ #1107] + * iconvdata/ibm930.h: Correct Yen mapping. + * iconvdata/ibm939.h: Likewise. + * iconvdata/testdata/IBM930..UTF8: Adjust test data. + * iconvdata/testdata/IBM939..UTF8: Likewise. + Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>. - * time/tzfile.c (find_transition): Instead of a linear search try to - guess the transition index, use a linear search if the result is at - most 10 transitions away from the guess or binary search otherwise. + * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153, + IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. + (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h, + ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h, + ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h, + ibm1158.c, and ibm1158.h. + * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153, + IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. + * iconvdata/gconv-modules: Likewise. + * iconvdata/ibm1025.c: New file. + * iconvdata/ibm1025.h: New file. + * iconvdata/ibm1122.c: New file. + * iconvdata/ibm1122.h: New file. + * iconvdata/ibm1137.c: New file. + * iconvdata/ibm1137.h: New file. + * iconvdata/ibm1153.c: New file. + * iconvdata/ibm1153.h: New file. + * iconvdata/ibm1154.c: New file. + * iconvdata/ibm1154.h: New file. + * iconvdata/ibm1155.c: New file. + * iconvdata/ibm1155.h: New file. + * iconvdata/ibm1156.c: New file. + * iconvdata/ibm1156.h: New file. + * iconvdata/ibm1157.c: New file. + * iconvdata/ibm1157.h: New file. + * iconvdata/ibm1158.c: New file. + * iconvdata/ibm1158.h: New file. + * iconvdata/testdata/IBM1025: New file. + * iconvdata/testdata/IBM1025..UTF8: New file. + * iconvdata/testdata/IBM1122: New file. + * iconvdata/testdata/IBM1122..UTF8: New file. + * iconvdata/testdata/IBM1137: New file. + * iconvdata/testdata/IBM1137..UTF8: New file. + * iconvdata/testdata/IBM1153: New file. + * iconvdata/testdata/IBM1153..UTF8: New file. + * iconvdata/testdata/IBM1154: New file. + * iconvdata/testdata/IBM1154..UTF8: New file. + * iconvdata/testdata/IBM1155: New file. + * iconvdata/testdata/IBM1155..UTF8: New file. + * iconvdata/testdata/IBM1156: New file. + * iconvdata/testdata/IBM1156..UTF8: New file. + * iconvdata/testdata/IBM1157: New file. + * iconvdata/testdata/IBM1157..UTF8: New file. + * iconvdata/testdata/IBM1158: New file. + * iconvdata/testdata/IBM1158..UTF8: New file. + Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>. + +2005-02-10 Paolo Bonzini <bonzini@gnu.org> + + * posix/regcomp.c (lower_subexp): Do not optimize empty + subexpressions even with REG_NOSUB. + * posix/rxspencer/tests: Add a previously failing testcase. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + [BZ #719] + * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv + array index is within bounds. + +2005-02-21 Ulrich Drepper <drepper@redhat.com> + + [BZ #719] + * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically + linked code. + * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid. + * elf/Makefile: Remove rules to build and run tst-tls9-static. + + [BZ #719] + * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using + THREAD_DTV multiple times, this minimally reduces code size on + some archs. + +2005-02-21 Jakub Jelinek <jakub@redhat.com> + + [BZ #768] + * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to + NETDB_INTERNAL if buffer is too small. + + [BZ #768] + * nscd/hstcache.c (INCR): Remove. + (addhstbyX): Double buflen in each iteration rather than add INCR. + * nscd/grpcache.c: Likewise. + * nscd/pwdcache.c: Likewise. -2007-02-27 Jakub Jelinek <jakub@redhat.com> +2005-02-21 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix - memory reallocation. + * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory + map if requested. + * debug/chk_fail.c: Request backtrace and memory map dump. -2007-02-21 Ulrich Drepper <drepper@redhat.com> + * Versions.def: Add GLIBC_2.4 for libc. + * debug/fgets_chk.c: New file. + * debug/fgets_u_chk.c: New file. + * debug/getcwd_chk.c: New file. + * debug/getwd_chk.c: New file. + * debug/readlink_chk.c: New file. + * debug/read_chk.c: New file. + * debug/pread_chk.c: New file. + * debug/pread64_chk.c: New file. + * debug/recv_chk.c: New file. + * debug/recvfrom_chk.c: New file. + * debug/Versions: Add all new functions with version GLIBC_2.4. + * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk, + pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk, + getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions. + * debug/tst-chk1.c: Add more tests. + * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked. + * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk. + * posix/unistd.h: Include <bits/unistd.h> for fortification. + * posix/bits/unistd.h: New file. + * posix/Makefile (headers): Add bits/unistd.h. + * socket/sys/socket.h: Include <bits/socket2.h> for fortification. + * socket/bits/socket2.h: New file. + * socket/Makefile (headers): Add bits/socket2.h. + + * string/bits/string3.h: Extend memset macro to check for zero 3rd + parameter and use __memset_zero_constant_len_parameter in that case. + * sysdeps/generic/memset_chk.c: Add + __memset_zero_constant_len_parameter alias and linker warning. + * debug/Versions: Add __memset_zero_constant_len_parameter to libc + with version GLIBC_2.4. + + * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__ + in __STD_TYPE definition. + +2005-02-21 Jakub Jelinek <jakub@redhat.com> + + * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print + the error message rather than program name. - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions - and fix some typos. - Optimize use of TOLOWER. +2005-02-21 Ulrich Drepper <drepper@redhat.com> - [BZ #3325] - * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. - * sysdeps/i386/fpu/e_fmodl.c: Likewise. - * sysdeps/i386/fpu/e_fmod.S: Likewise. + [BZ #767] + * posix/unistd.h: symlink and readlink are unconditionally + available in the 2001 spec. - [BZ #3458] - * sysdeps/unix/sysv/linux/posix_madvise.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. +2005-02-16 Roland McGrath <roland@redhat.com> - [BZ #4076] - * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. - (open_dir_stream): Likewise. - * io/Makefile (tests): Add bug-ftw5. - * io/bug-ftw5.c: New file. + * intl/dcigettext.c (_nl_find_msg): Add a cast. - * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. - * nscd/servicescache.c (cache_addserv): Likewise. + * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR. + * nis/nis_clone_obj.c (nis_clone_object): Likewise. + * nis/nis_clone_res.c (nis_clone_result): Likewise. - * nscd/grpcache.c (cache_addgr): In case a record changed on - refresh, adjust key_copy. + * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char * + for END_OF_MESSAGE and CP. - [BZ #4074] - * nscd/pwdcache.c (cache_addpw): In case a record changed on - refresh, adjust key_copy. + * resolv/res_send.c (send_dg): Add else branch for case impossible + unless `poll' is buggy. - [BZ #4070] - * stdio-common/printf_fp.c (___printf_fp): Handle a few more - special cases. - * stdio-common/tfformat.c (sprint_doubles): Some more tests. + * crypt/crypt_util.c (__setkey_r): Add a cast. -2007-02-19 Ulrich Drepper <drepper@redhat.com> + * locale/programs/linereader.c (get_toplvl_escape): Use size_t for + NBYTES, and unsigned char * for BYTES. - * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor - optimization. + * locale/programs/charmap.c (charmap_new_char): Use size_t and + unsighed char * for NBYTES, BYTES parameters. - * stdio-common/vfscanf.c: Small cleanups throughout. + * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument + and cast it. + * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise. -2007-02-18 Ulrich Drepper <drepper@redhat.com> + * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES. - [BZ #3325] - * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. - * sysdeps/i386/fpu/e_fmodl.c: Likewise. - * sysdeps/i386/fpu/e_fmod.S: Likewise. - Patch by Jared Casper <jaredcasper@gmail.com>. + * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type. - * sysdeps/unix/closedir.c: Outside libc don't use locking. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/readdir.c: Likewise. + * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA. + (authdes_marshal): Don't use unsigned int for LEN. + * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2. + (xdr_u_hyper): Likewise. + (xdr_u_short): Don't use u_long for L. + * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2. - [BZ #2211] - * stdio-common/vfscanf.c: Handle localized digits etc for floating - point numbers. - Patch mostly by Hamed Malek <hamed@farsiweb.info>. + * inet/rexec.c (rexec_af): Use socklen_t. + * sunrpc/key_call.c (getkeyserv_handle): Likewise. + * sunrpc/rtime.c (rtime): Likewise. + * resolv/res_send.c (send_vc, send_dg): Likewise. + * nis/nis_callback.c (__nis_create_callback): Likewise. - * stdio-common/vfscanf.c: Fix problems in width accounting. - * stdio-common/tst-sscanf.c (double_tests): New tests. - (main): Hook them up. + * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr. - * stdio-common/vfscanf.c: Remove unused WIDTH handling. - More simplifications of floating-point reader. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local. - * stdio-common/Makefile (tests): Add tst-swscanf. - * stdio-common/tst-sscanf.c: Make tests usable for swscanf - testing. - * stdio-common/tst-swscanf.c: New file. + * libio/libio.h (_IO_BE): Add parenthesis around EXPR. -2007-02-17 Ulrich Drepper <drepper@redhat.com> + * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed. + (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF. + (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE. + * intl/bindtextdom.c (INTUSE): Macro removed. + (_nl_default_dirname): Use libc_hidden_proto. + (set_binding_values): Don't use INTUSE. + * include/libintl.h (_libc_intl_domainname_internal): Decl removed. + (_libc_intl_domainname): Use libc_hidden_proto. + * posix/regex_internal.h (gettext): Remove INTUSE on it. + * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def + rather than INTDEF. + * include/libintl.h (_): Don't use *_internal name. - [BZ #2633] - * libio/stdio.h: Define struct _IO_FILE in global namespace. - * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. - Remove using for __jmp_buf_tag. - * locale/locale.h (struct lconv): Also define in std namespace. - * wcsmbs/wchar.h: Move using declaration for tm out of namespace. + * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t, + not uint32_t. + * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments. - [BZ #3842] - * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut - using __libc_enable_secure. + * iconv/gconv_open.c (__gconv_open): Remove useless cast. - [BZ #3818] - * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. + [BZ #721] + * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside + of [RESOLVE_MAP]. + * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h + (elf_machine_rel, elf_machine_rel_relative): Removed. + * sysdeps/powerpc/powerpc64/dl-machine.h + (elf_machine_rel, elf_machine_rel_relative): Removed. - [BZ #3745] - * locale/programs/ld-collate.c (handle_ellipsis): Fix generation - of names for ellipsises. +2005-02-03 Alexandre Oliva <aoliva@redhat.com> - [BZ #3348] - * malloc/memusage.sh: Cleanups. - * debug/xtrace.sh: Quoting and trap changes. + [BZ #721] + * elf/dynamic-link.h: Don't declare nested auto functions that are + not going to be defined. -2007-02-16 Ulrich Drepper <drepper@redhat.com> +2004-07-23 Jakub Jelinek <jakub@redhat.com> - * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. + [BZ #284] + * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define + if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined. - * locale/iso-3166.def: Update entry for Serbia. - * locale/iso-4217.def: Define RSD, remove CSD. +2005-02-16 Roland McGrath <roland@redhat.com> - * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- - and 64-bit operations. + * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn + inside [! SHARED] where it's used. - [BZ #4040] - * sysdeps/i386/i486/bits/atomic.h: One more change, this time for - 16-bit operations. +2005-02-15 Ulrich Drepper <drepper@redhat.com> - * nscd/nscd.c (parse_opt): One more conversion to use send instead - of writev. + * sysdeps/generic/bits/byteswap.h: Make sure result of all the + functions and macros is unsigned. -2007-02-15 Ulrich Drepper <drepper@redhat.com> +2005-02-11 Barry deFreese <bddebian@comcast.net> - [BZ #3991] - * assert/assert.h (assert): Simplify. - (assert_perror): Likewise. - Patch by Israel G. Lugo <ilugo@bridonsecurity.com>. + [BZ #722] + * sysdeps/mach/hurd/setresgid.c: Use weak_alias. + * sysdeps/mach/hurd/setresuid.c: Likewise. - * nscd/nscd_helper.c (open_socket): Don't send padding bytes from - reqdata. +2005-02-14 GOTO Masanori <gotom@debian.or.jp> - * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic - change: don't pass NULL in place of an integer. + * misc/sys/syslog.h: Fix typo in comment. -2007-02-02 Bruno Haible <bruno@clisp.org> +2005-02-14 Roland McGrath <roland@redhat.com> - [BZ #3954] - * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): - Add mapping for U+327E. - * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. - * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable - mapping of 0xD9 0xE8. - * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable - mapping of U+327E. - Reported by Jungshik Shin <jungshik@google.com>. + [BZ #720] + * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined + if it wasn't originally. - [BZ #3955] - * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable - mapping of 0xD9 0xE6 and of 0xD9 0xE7. - Reported by Jungshik Shin <jungshik@google.com>. +2005-02-14 GOTO Masanori <gotom@debian.or.jp> -2007-02-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated + getpeername entry. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some - byte variants. +2005-02-11 Jakub Jelinek <jakub@redhat.com> - [BZ #4040] - * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some - byte variants. Patch mostly be tom@tommay.net. + * scripts/soversions.awk: Only record first WORDSIZE{32,64} + matching line. -2007-02-14 Jakub Jelinek <jakub@redhat.com> +2005-02-14 Alan Modra <amodra@bigpond.net.au> - [BZ #3996] - * posix/glob.c (attribute_hidden): Define if not defined. - (glob): Unescape dirname, filename or username when needed and not - GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename - is NULL. Handle unescaped [ in pattern without closing ]. - Don't pass GLOB_CHECK down to recursive glob for directories. - (__glob_pattern_type): New function. - (__glob_pattern_p): Implement using __glob_pattern_type. - (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta - characters and backslashes if not GLOB_NOESCAPE or unterminated [. - Remove unreachable code. - * posix/globtest.sh: Add a couple of new tests. + [BZ #721] + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define + with auto inline, and attribute always_inline. + (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. + (elf_machine_rel, elf_machine_rel_relative): Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. + (elf_machine_rel, elf_machine_rel_relative): Likewise. + (elf_machine_tprel): Likewise. -2007-02-13 Ulrich Drepper <drepper@redhat.com> +2005-02-14 Andreas Schwab <schwab@suse.de> - * po/ru.po: Update from translation team. + * manual/filesys.texi (Random Access Directory): Fix type of file + position value for telldir and seekdir. + (Attribute Meanings): Fix typo. -2007-02-12 Jakub Jelinek <jakub@redhat.com> +2005-02-14 H.J. Lu <hongjiu.lu@intel.com> - * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ - to the list of i486+ CPUs. - * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. + * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED + isn't defined. + * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini + if SHARED isn't defined. + * elf/Makefile (tests-static): Add tst-array1-static. + ($(objpfx)tst-array1-static.out): New target. + * elf/tst-array1-static.c: New file. -2007-02-12 Ulrich Drepper <drepper@redhat.com> +2005-02-11 Jakub Jelinek <jakub@redhat.com> - * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. - * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined - references. + [BZ #1100] + * debug/chk_fail.c (__chk_fail): Add a while (1) loop around + __libc_message to kill GCC warning about noreturn function returning. -2007-02-09 Ulrich Drepper <drepper@redhat.com> + * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag + before relocating ld.so again. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. + * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even + for already prelinked ld.so. - * resolv/res_init.c (res_setoptions): Recognize edns0 option. - * resolv/res_mkquery.c: Define __res_nopt. - * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set - try adding EDNS0 record. - * resolv/res_send.c (send_dg): If request failed with FORMERR and - EDNS0 record was send make sure we don't try it again. - * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. - * include/resolv.h: Declare __res_nopt. +2005-02-11 Roland McGrath <roland@redhat.com> -2007-02-08 Jakub Jelinek <jakub@redhat.com> + [BZ #715] + * Makefile (installed-stubs): New variable. + Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no, + or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise. + [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs). + ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this + rule's target. + ($(inst_includedir)/gnu/stubs.h): New target, install from ... + * include/stubs-biarch.h: New file. - [BZ #3944] - * time/strptime_l.c (__strptime_internal): Set have_mon for - %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday - have been computed from tm_yday and tm_year. Don't crash - in day_of_the_week or day_of_the_year if not have_mon - and tm_mon contains bogus value. - * time/Makefile (tests): Add tst-strptime3. - * time/tst-strptime3.c: New test. + * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64. -2007-02-05 Jakub Jelinek <jakub@redhat.com> + * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig. + Emit defn for variable `biarch'. - [BZ #3957] - * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' - bit for RE_HAT_LISTS_NOT_NEWLINE. - (build_charclass_op): Remove bogus comment. - * posix/Makefile (tests): Add bug-regex27 and bug-regex28. - * posix/bug-regex27.c: New test. - * posix/bug-regex28.c: New test. + * include/stub-tag.h: Update comment. -2007-02-03 Ulrich Drepper <drepper@redhat.com> + * scripts/soversions.awk: Fix default version set handling. - * po/sv.po: Update from translation team. +2005-02-10 Roland McGrath <roland@redhat.com> -2007-02-02 Ulrich Drepper <drepper@redhat.com> + [BZ #157] + * include/libc-symbols.h (stub_warning): Emit a marker section called + .gnu.glibc-stub.NAME. + * Makerules ($(objpfx)stubs): Depend on object files, not dep files. + Use objdump to collect those marker section names. + ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections. - * nscd/nscd_helper.c (open_socket): Minor size optimization. + * Rules (subdir_objs, subdir_stubs): New phony targets. + * Makefile (+subdir_targets): Add them. -2007-02-02 Jakub Jelinek <jakub@redhat.com> + * Makerules ($(common-objpfx)Versions.all): Grok new leading column in + soversions.i. - * include/locale.h (__uselocale): Add libc_hidden_proto. - * locale/uselocale.c (__uselocale): Add libc_hidden_def. + * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+. + Reported by H.J. Lu <hongjiu.lu@intel.com>. - * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of - gettimeofday. + * scripts/lib-names.awk: Always print WORDSIZE32 section first when + doing two. -2007-02-01 Ulrich Drepper <drepper@redhat.com> +2005-02-10 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before - returning. - (PTR_DEMANGLE): Real definition now that it's not the same as - PRT_MANGLE anymore. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/powerpc/powerpc32/bits/link.h: Removed. + * sysdeps/powerpc/powerpc64/bits/link.h: Moved to... + * sysdeps/powerpc/bits/link.h: ... here. New file. - * string/strerror_l.c: New file. - * string/Makefile (routines): Add strerror_l. - * string/string.h: Declare strerror_l. - * string/Versions: Export strerror_l for GLIBC_2.6. +2005-02-09 Jakub Jelinek <jakub@redhat.com> -2007-01-31 Ulrich Drepper <drepper@redhat.com> + [BZ #710] + * stdlib/random_r.c (__initstate_r): Save old state. + * stdlib/Makefile (tests): Add tst-random2. + * stdlib/tst-random2.c: New test. + Reported by Peter Bergner <bergner@vnet.ibm.com>. - * nscd/nscd_helper.c (open_socket): Now takes request type and key - as parameter. Construct request record. Try sending request - before the first poll use, it usually succeeds. Adjust all - callers. - * nscd/nscd-client.h: Define MAXKEYLEN. - * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. +2005-01-25 H.J. Lu <hongjiu.lu@intel.com> -2007-01-31 Jakub Jelinek <jakub@redhat.com> + * dlfcn/dlfcn.c (init): Put it in .init_array section. - * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier - from return value. - * nscd/nscd_helper.c: Include string.h. - (__nscd_cache_search): Remove const qualifier from return value. - On strict alignment architectures check hash entry and data head - alignment. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because - mmapped data during GC cycle contains garbage. If - __nscd_drop_map_ref fails, decrement mapped->counter when returning - error or if retrying with NO_MAPPING, only __nscd_unmap if counter - dropped to 0. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. - * nscd/nscd_getai.c (__nscd_getai): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. +2005-02-10 Roland McGrath <roland@redhat.com> -2007-01-30 Ulrich Drepper <drepper@redhat.com> + [BZ #632] + * scripts/soversions.awk: Expect cpu, vendor, os as separate variables + from command line. + Grok shlib-versions lines with WORDSIZE* in second column. + Add new leading column to output, DEFAULT for existing output lines. + Also emit lines with WORDSIZE* for alternate configurations. + * Makeconfig ($(common-objpfx)soversions.i): Pass those variables. + ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT. + ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead + of soversions.mk; replace inline shell script with use of ... + * scripts/lib-names.awk: New file. If input has non-DEFAULT lines, + emit multiple sets of macros under #if. + * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686. + (s390x-.*-.*): Likewise for s390. + (powerpc64-.*-.*): Likewise for powerpc. + (sparc64-.*-.*): Likewise for sparc. + (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries + for these mapping back to the above. - * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. +2005-02-08 Jakub Jelinek <jakub@redhat.com> -2007-01-26 Ulrich Drepper <drepper@redhat.com> + * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo. - * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register - names not numbers in cfi_*. +2005-02-08 Andreas Schwab <schwab@suse.de> -2007-01-26 Andreas Jaeger <aj@suse.de> + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of + RESOLVE. - * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, - ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. - Correct values of PER_HPUX and PER_OSF4. +2005-02-07 Richard Henderson <rth@redhat.com> -2007-01-24 Ulrich Drepper <drepper@redhat.com> + [BZ #721] + * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use. - * elf/dl-minimal.c: Undefine _itoa first. - * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. - * malloc/mtrace.c: Revert last change. - * posix/wordexp.c: Likewise. +2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp> -2007-01-24 Jakub Jelinek <jakub@redhat.com> + * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using + RESOLVE. - * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ - and __geode__ to the list of i486+ CPUs. - * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. +2005-02-07 Ulrich Drepper <drepper@redhat.com> -2007-01-23 Ulrich Drepper <drepper@redhat.com> + * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are + set correctly. - * stdio-common/_itoa.c: Include <limits.h>. - * stdio-common/_itowa.c: Likewise. +2005-01-07 Richard Henderson <rth@redhat.com> -2007-01-22 Ulrich Drepper <drepper@redhat.com> + [BZ #721] + * math/math_private.h (__copysign): Define as builtin for gcc 4. + (__copysignf, __copysignl): Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define + for gcc 4.0. + (copysignf, copysignl, fabsf, fabs): Likewise. + (__copysign, __copysignf, __copysignl): Remove. + (__fabs, __fabsf): Remove. - * stdio-common/_itowa.c: Don't compile _itowa for 64-bit - platforms. - * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for - 64-bit platforms. - * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if - possible. - * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa - if possible. +2005-01-07 Jakub Jelinek <jakub@redhat.com> - [BZ #3902] - * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. - * stdio-common/Makefile (tests): Add bug17. - * stdio-common/bug17.c: New file. + [BZ #738] + * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment, + avoid writing to it if none of the standard search directories exist. -2007-01-19 Ulrich Drepper <drepper@redhat.com> +2005-02-07 Steven Munroe <sjmunroe@us.ibm.com> - * iconvdata/brf.c: New file. - * iconvdata/testdata/BRF: New file. - * iconvdata/testdata/BRF..UTF8: New file. - Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. - * iconvdata/Makefile: Add rules to build BRF. - * iconvdata/TESTS: Add BRF entry. - * iconvdata/gconv-modules: Likewise. - * iconvdata/tst-tables.sh: Likewise. + [BZ #700] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S + (__novec_setcontext, __setcontext): Fix typo so CCR is restored. + Load MSR as a doubleword. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S + (__novec_swapcontext, __swapcontext): Likewise. + +2005-02-07 Ulrich Drepper <drepper@redhat.com> + + * iconv/iconv_prog.c (main): Provide more help in case on an error. + + * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define. + +2005-02-07 Jakub Jelinek <jakub@redhat.com> + + [BZ #741] + * nscd/nscd.c (termination_handler): Avoid segfault if some database + is not enabled. + + [BZ #741] + * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set + __nss_not_use_nscd_hosts and return -1. + * nscd/nscd_initgroups.c (__nscd_getgrouplist): If + initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1. + Avoid leaking sockets. + +2005-01-28 Andreas Schwab <schwab@suse.de> + H.J. Lu <hongjiu.lu@intel.com> + + [BZ #677] + * elf/dl-runtime.c (fixup): Change return type to + DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE, + DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation + values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to + store and retrieve relocation values. + (profile_fixup): Likewise. + * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for + l_reloc_result. + * sysdeps/generic/dl-fptr.h (link_map): Forward declaration. + * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New. + (DL_FIXUP_MAKE_VALUE): Likewise. + (DL_FIXUP_VALUE_CODE_ADDR): Likewise. + (DL_FIXUP_VALUE_ADDR): Likewise. + (DL_FIXUP_ADDR_VALUE): Likewise. + * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc". + (DL_FIXUP_VALUE_TYPE): New. + (DL_FIXUP_MAKE_VALUE): Likewise. + (DL_FIXUP_VALUE_CODE_ADDR): Likewise. + (DL_FIXUP_VALUE_ADDR): Likewise. + (DL_FIXUP_ADDR_VALUE): Likewise. + * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed. + (elf_machine_profile_plt): Removed. + (elf_machine_fixup_plt): Change return type and type of value + parameter to struct fdesc. + (elf_machine_plt_value): Likewise. + (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct + argument for elf_machine_fixup_plt. + +2005-02-07 Jakub Jelinek <jakub@redhat.com> + + [BZ #742] + * nscd/nscd.init (reload): Print Reloading nscd: before and a newline + after the status string printed by killproc. + +2004-11-18 Alexandre Oliva <aoliva@redhat.com> + + * manual/.cvsignore: Add dir-add.texi. + +2005-02-06 Richard Henderson <rth@redhat.com> + + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP + all the time. + +2004-11-03 Marcus Brinkmann <marcus@gnu.org> + + * configure.in (sysnames): Append sysdeps/generic for each add-on. + * configure: Regenerated. -2007-01-18 Anton Nikishaev <anton.nik@gmail.com> +2005-02-02 Alfred M. Szmidt <ams@gnu.org> + + * sysdeps/mach/hurd/tls.h: Include <stdbool.h> + (dtv_t): Change pointer type to be a struct which also contains + information whether the memory pointed to is static TLS or not. + + * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it. + + * shadow/sgetspent_r.c (FALSE): Macro renamed to ... + (FALSEP): ... this. Updated all references. + + [BZ #765] + * libio/fmemopen.c: Include <stdint.h>. + +2005-01-30 Ulrich Drepper <drepper@redhat.com> + + [BZ #1103] + * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available. + * nscd/connections.c (send_ro_fd): Likewise. + +2005-01-28 H.J. Lu <hongjiu.lu@intel.com> + + * elf/tst-auditmod1.c: Add ia64 entries. + * sysdeps/generic/ldsodefs.h (La_ia64_regs): New. + (La_ia64_retval): New. + (audit_ifaces): Add ia64 entries. + * sysdeps/ia64/bits/link.h: New file. + * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test + for dl_profile non-null. + (ARCH_LA_PLTENTER): New. + (ARCH_LA_PLTEXIT): New. + * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate + only 2 output registers. Allocate stack to save/restore + 8 incoming fp registers. Call _dl_fixup instead of fixup. + (_dl_runtime_profile): Rewrite. + +2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/s390/bits/link.h: New file. + * sysdeps/s390/s390-32/dl-trampoline.S: New file. + * sysdeps/s390/s390-64/dl-trampoline.S: New file. + * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to + dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect + relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + (elf_machine_rela): Remove code using RESOLVE. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval, + La_s390_64_regs, La_s390_64_retval): New. + * elf/tst-auditmod1.c: Add s390 entries. + + [BZ #743] + * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat, + strncat, memchr, strcmp): Add missing memory clobber. + +2005-01-27 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also + copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>. + +2005-01-27 Paolo Bonzini <bonzini@gnu.org> + + [BZ #558] + * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t. + Initialize the node sets in dfa->inveclosures. + (analyze): Initialize inveclosures only if it is needed. + Check errors from calc_inveclosure. + * posix/regex_internal.c (re_dfa_add_node): Do not initialize + the inveclosure node set. + * posix/regexec.c (re_search_internal): If nmatch includes unused + subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here. + + * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]: + Do build a SIMPLE_BRACKET token. + + * posix/regexec.c (transit_state_mb): Do not examine nodes + where ACCEPT_MB is not set. + +2005-01-27 Jakub Jelinek <jakub@redhat.com> + + * stdlib/tst-fmtmsg.c: Include stdlib.h. + * stdio-common/tst-fmemopen2.c: Include string.h. + * posix/execvp.c: Include stdbool.h. + +2004-12-13 Paolo Bonzini <bonzini@gnu.org> + + Separate parsing and creation of the NFA. Avoided recursion on + the (very unbalanced) parse tree. + [BZ #611] + * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest, + re_dfa_add_tree_node, mark_opt_subexp_iter): Removed. + (optimize_subexps, duplicate_tree, calc_first, calc_next, + mark_opt_subexp): Rewritten. + (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes, + create_token_tree, free_tree, free_token): New. + (analyze): Accept a regex_t *. Invoke the passes via the preorder and + postorder generic visitors. Do not initialize the fields in the + re_dfa_t that represent the transitions. + (free_dfa_content): Use free_token. + (re_compile_internal): Analyze before UTF-8 optimizations. Do not + include optimization of subexpressions. + (create_initial_state): Fetch the DFA node index from the first node's + bin_tree_t *. + (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION. + Return on COMPLEX_BRACKET. + (duplicate_node_closure): Fix comment. + (duplicate_node): Do not initialize the fields in the + re_dfa_t that represent the transitions. + (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP. + (create_tree): Remove final argument. All callers adjusted. Rewritten + to use create_token_tree. + (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp, + build_charclass_op): Use create_tree or create_token_tree instead + of re_dfa_add_tree_node. + (parse_dup_op): Likewise. Also free the tree using free_tree for + "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent + to "a|". Adjust invocation of mark_opt_subexp. + (parse_sub_exp): Create a single SUBEXP node. + * posix/regex_internal.c (re_dfa_add_node): Remove last parameter, + always perform as if it was 1. Do not initialize OPT_SUBEXP and + DUPLICATED, and initialize the DFA fields representing the transitions. + * posix/regex_internal.h (re_dfa_add_node): Adjust prototype. + (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens + section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP. + (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and + NEXT into pointers to trees. Remove ECLOSURE. + +2004-12-28 Paolo Bonzini <bonzini@gnu.org > + + [BZ #605] + * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes + that were already created. + * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field + in the token if needed. + (create_ci_newstate, create_cd_newstate): Set accept_mb field + from the tokens' field. + * posix/regex_internal.h (re_token_t): Add accept_mb field. + (ACCEPT_MB_NODE): Removed. + * posix/regexec.c (proceed_next_node, transit_states_mb, + build_sifted_states, check_arrival_add_next_nodes): Use + accept_mb instead of ACCEPT_MB_NODE. + +2005-01-26 Ulrich Drepper <drepper@redhat.com> + + [BZ #1100] + * debug/chk_fail.c (__chk_fail): Print program name in final message. + + * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to + MSG_NOSIGNAL being in 2.2 kernels. + +2005-01-26 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/i386/sysdep.h + (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm. + + [BZ #693] + * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to... + (WORD_DELIM_CONSTRAINT): ...this. + (NOT_WORD_DELIM_CONSTRAINT): Define. + (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM, + change WORD_DELIM to use WORD_DELIM_CONSTRAINT. + * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM + anchor instead of INSIDE_WORD. + (parse_expression): Handle NOT_WORD_DELIM constraint. + * posix/bug-regex19.c (tests): Adjust tests that relied on \B + being inside word instead of not word delim. + * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped + characters. + * posix/rxspencer/tests: Add some new tests. + +2005-01-14 GOTO Masanori <gotom@debian.or.jp> + + [BZ #1108] + * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h> + irrespective of Cflag. + + * manual/memory.texi (sbrk): Fix definition. + * manual/string.texi (strcasestr): Fix example typo. + +2005-01-25 Roland McGrath <roland@redhat.com> + + * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl. + +2005-01-23 Roland McGrath <roland@redhat.com> + + [BZ #737] + * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears + in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS. + * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD] + (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer + from %gs:0 and add to that value, rather that direct %gs:OFFSET access. + * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise. + +2005-01-25 Jakub Jelinek <jakub@redhat.com> + + [BZ #731] + * stdlib/fmtmsg.c (addseverity): Remove new_string variable. + (free_mem): Don't free string. + * stdlib/tst-fmtmsg.c: Include string.h. + (main): Add some more tests. + +2005-01-25 Andreas Schwab <schwab@suse.de> + + [BZ #736] + * timezone/asia: Update from tzdata2005c. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. - * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of - type `long long int', not `long int'. - (wcstoq): Likewise. + [BZ #736] + * timezone/private.h: Update from tzcode2005c. + * timezone/tzfile.h: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. -2007-01-18 Ulrich Drepper <drepper@redhat.com> +2005-01-25 Ulrich Drepper <drepper@redhat.com> - * scripts/gen-as-const.awk: Add cast to long to avoid int promotion - of values on 64-bit platforms which are too large. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using + RESOLVE. + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code + using RESOLVE. + * elf/rtld.c (_dl_start): Remove RESOLVE definition. -2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> - Joe Kerian <jkerian@us.us.ibm.com> +2005-01-25 Alan Modra <amodra@bigpond.net.au> - [BZ #2749] - * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include - <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. - (__copysignl): Use signbit() for comparison. - * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for - SET_LDOUBLE_WORDS64. + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test + sym_map, not sym, against zero. - [BZ #2423, #2749] - * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. - (__ceill): Remove calls to fegetround(), fesetround(). - * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. +2005-01-24 Ulrich Drepper <drepper@redhat.com> -2007-01-17 Jakub Jelinek <jakub@redhat.com> - - * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. - - * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. - -2007-01-17 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to - demangle pointer. - * csu/libc-start.c: Likewise. - -2007-01-16 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot - really work anyway. - -2007-01-15 Ulrich Drepper <drepper@redhat.com> - - * nscd/connections.c (servinfo): Renamed to reqinfo. Change all - users. - (handle_request): Remove unnecessary tests. - - * nscd/cache.c (cache_add): Record the failure to add to the cache. - -2007-01-15 Jakub Jelinek <jakub@redhat.com> - - * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear - workbits in semi-raw fraction. - - * math/test-misc.c: Add new tests. - -2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> - - * math/basic-test.c: Include test-skeleton.c. - (TEST_TRUNC): Define. - (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. - (main): Rename to ... - (do_test): ...this. Run new tests. - (TEST_FUNCTION): Define. - -2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> - Joe Kerian <jkerian@us.us.ibm.com> - - [BZ #2749] - * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow - handling for high words. - * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact - and overflow for infinity. - -2007-01-15 Ulrich Drepper <drepper@redhat.com> - - * nscd/connections.c (handle_request): Add a __builtin_expect. - - * nscd/connections.c (serv2db): Change type into structure which - also says whether this is a request for data. Renamed to - servinfo. All users changed. - (handle_request): Much simpler test whether we should search the cache. - - * nscd/connections.c (handle_request): Fix thinko in selinux test - invocation. - - * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. - * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock - it before getting dl_load_lock and then relock. - (_dl_lookup_symbol_x): Pass flags to add_dependency. - When rerunning _dl_lookup_symbol_x, compute symbol_scope again in - case we unlocked the scope. - * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to - _dl_lookup_symbol_x in case we locked the scope. - (_dl_profile_fixup): Likewise. - * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also - set DL_LOOKUP_SCOPE_LOCK. - -2007-01-13 Ulrich Drepper <drepper@redhat.com> - - * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and - CFLAGS-getsrvbynpt_r.c. - * nscd/getsrvbynm_r.c: New file. - * nscd/getsrvbypt_r.c: New file. - * nscd/nscd_getserv_r.c: New file. - * nscd/servicescache.c: New file. - * nscd/Makefile (routines): Add nscd_getserv_r. - (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. - Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and - CFLAGS-getsrvbypt_r.c. - * nscd/cache.c (prune_cache): Rewrite to get re-add function from - table. Add entries for services database. - * nscd/connections.c (serv2str): Mark as const. Add entries for - services database. - (dbs): Add .reset_res and servdb initialization. - (serv2db): Add entries for services database. - (verify_persistent_db): Accept dbnr == servdb. - (invalidate_cache): Rewrite database name recognition to use a table. - Call res_init() if .reset_res is set for database. - (handle_request): Add code to handle services database. - * nscd/gai.c: Don't define __getservbyname_r. - * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add - GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. - (serv_response_header): Define. - (struct datahead): Add serv_response_header member. - * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value - using table. - * nscd/nscd.conf: Add entries for services database. - * nscd/nscd.h: Adjust declaration of dbnames and serv2str. - Declare serv_iov_disabled. - Declare addservbyname, readdservbyname, addservbyport, and - readdservbyport. - * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. - (find_db): Fix error message. - * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, - __nscd_getservbyname_r, and __nscd_getservbyport_r. - * nscd/selinux.c (perms): Add entries for services database. - * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. - * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. - - * nscd/grpcache.c: Remove obsolete code. Cleanups. - * nscd/hstcache.c: Likewise. - * nscd/pwdcache.c: Likewise. + [BZ #671] + * misc/syslog.c: Moved to... + * sysdeps/generic/syslog.c: ...here. + [NO_SIGIPE]: Don't install SIGPIPE handler. + * sysdeps/unix/sysv/linux/syslog.c: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_MSG_NOSIGNAL. + +2005-01-22 Richard Henderson <rth@redhat.com> + + * sysdeps/alpha/dl-trampoline.S: New file. + * sysdeps/alpha/dl-machine.h: Move PLT trampolines there. + Use RESOLVE_MAP instead of RESOLVE to protect relocation code. + (elf_machine_runtime_setup): Test for dl_profile non-null. + (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. + * sysdeps/alpha/bits/link.h: New file. + * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New. + (struct audit_ifaces): Add alpha entries. + * elf/tst-auditmod1.c: Add alpha entries. + +2005-01-22 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here. + * sysdeps/ia64/dl-trampoline.S: New file. + + * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in + La_x86_64_xmm definition. + + * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame + pointer option. + * stdlib/Makefile (CFLAGS-system.os): Use this instead of + CFLAGS-system.c for frame pointer option. + +2005-01-21 Roland McGrath <roland@redhat.com> + + * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS. + * sysdeps/i386/dl-machine.h: Update decl. + +2005-01-21 Jakub Jelinek <jakub@redhat.com> + + [BZ #735] + * elf/Makefile: Add rules to build and run tst-align2. + * elf/tst-align2.c: New test. + * elf/tst-alignmod2.c: New file. + * sysdeps/powerpc/tst-stack-align.h: New file. + * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame + pointer before calling _dl_init. + * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise. + +2005-01-20 Ulrich Drepper <drepper@redhat.com> + + * posix/execl.c: Do not allocate potentially large buffers on the + stack. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. + * posix/execvp.c: Likewise. + (script_execute): Removed. + (allocate_scripts_argv): New function. Called at most once to + allocate memory, not every time a script is run. Adjust caller. + + * sysdeps/generic/wordexp.c (exec_comm): Add a few + TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to + exec_comm_child. + (exec_comm_child): Can now be inlined. + + * posix/Makefile: Add -fomit-frame-pointer for a few more files. + * stdlib/Makefile: Likewise. - * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct - computation of keylen. +2005-01-19 Roland McGrath <roland@redhat.com> - * include/string.h: Only redefine strndupa if this is really for - libc code. + [BZ #681] + * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing + argument to execlp. + Reported by Marcus Meissner <meissner@suse.de>. -2007-01-12 Ulrich Drepper <drepper@redhat.com> +2005-01-19 Jakub Jelinek <jakub@redhat.com> - * nscd/nscd_gethst_r.c: Minor cleanups. + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo + in assert. + * iconv/strtab.c (strtabfinalize): Likewise. - * nscd/connections.c (handle_request): Check selinux permissions - for all non-admin commands. + * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype. - * sysdeps/i386/i486/bits/atomic.h: Define - atomic_compare_and_exchange_val_acq, - atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add - using __sync_* built-ins for gcc >= 4.1. - * sysdeps/x86_64/bits/atomic.h: Likewise. +2005-01-17 Roland McGrath <roland@redhat.com> - [BZ #3840] - * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, - and .oS.d files. + [BZ #745] + * nscd/Makefile (LDLIBS-nscd): New variable. + ($(objpfx)nscd): Use that instead of selinux-LIBS. -2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> + * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)). + (link-extra-libs-static): Define to $(link-extra-libs). + (link-extra-libs-bounded): Likewise. - * stdlib/tst-makecontext.c: Include errno.h. Change main() - to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. - (do_test): Check errno and exit(0) if ENOSYS. +2005-01-17 Ulrich Drepper <drepper@redhat.com> -2007-01-11 Jakub Jelinek <jakub@redhat.com> + * include/link.h: Remove stray definition of pltenter. - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte - thousands separators. - * stdlib/Makefile: Add rules to build and run tst-strtod4. - * stdlib/tst-strtod4.c: New test. +2005-01-16 GOTO Masanori <gotom@debian.or.jp> - [BZ #3855] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by - hexadecimal digit should accept just the initial 0. - * stdlib/tst-strtod2.c (tests): New variable. - (do_test): Run several tests rather than just one. + [BZ #734] + * sysdeps/unix/rewinddir.c: Reset filepos. + * dirent/tst-seekdir.c: Check telldir value after calling rewinddir. -2007-01-11 Jakub Jelinek <jakub@redhat.com> +2005-01-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/soft-fp/sfp-machine.h: Remove. - * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. + * elf/tst-auditmod1.c: Reduce duplication. -2007-01-10 Ulrich Drepper <drepper@redhat.com> +2005-01-16 Andreas Schwab <schwab@suse.de> - * io/fts.c: Make sure fts_cur is always valid after return from - fts_read. - Patch by Miloslav Trmac <mitr@redhat.com>. + * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define + ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. + (elf_machine_runtime_setup): If profile != 0 does not anymore mean + GLRO(dl_profile) != NULL. + * sysdeps/m68k/dl-trampoline.S: New file. + * sysdeps/m68k/bits/link.h: New file. + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k + variants. + * elf/tst-auditmod1.c: Add m68k support. -2006-10-27 Richard Sandiford <richard@codesourcery.com> +2005-01-14 Ulrich Drepper <drepper@redhat.com> - * elf/elf.h (R_MIPS_GLOB_DAT): Define. - (R_MIPS_NUM): Bump by 1. + * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant + LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>. -2007-01-03 Jakub Jelinek <jakub@redhat.com> + [BZ #731] + * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call. + * stdlib/tst-fmtmsg.c (main): Add another addseverity test. - * posix/execvp.c: Include alloca.h. - (allocate_scripts_argv): Renamed to... - (scripts_argv): ... this. Don't allocate buffer here nor count - arguments. - (execvp): Use alloca if possible. - * posix/Makefile: Add rules to build and run tst-vfork3 test. - * posix/tst-vfork3.c: New test. +2005-01-12 Ulrich Drepper <drepper@redhat.com> -2007-01-03 Ulrich Drepper <drepper@redhat.com> + * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow + callers from libc anymore. - * string/Makefile (tst-strxfrm2-ENV): Define. - * stdlib/Makefile (tst-strtod3-ENV): Define. + * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller + to _dl_map_object_deps. + * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory + protections when loading auditing modules. -2007-01-02 Ulrich Drepper <drepper@redhat.com> + * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail. * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. + * nscd/nscd_nischeck.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. @@ -12955,2274 +12678,700 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com> * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise. -2006-12-24 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment - attempts. - -2006-12-23 Ulrich Drepper <drepper@redhat.com> +2005-01-11 Thorsten Kukuk <kukuk@suse.de> - * posix/wordexp.c: Remove some unnecessary tests. + [BZ #733] + * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN + as backlog. + * sunrpc/svc_unix.c (svcunix_create): Likewise. -2006-12-22 Gavin Romig-Koch <gavin@redhat.com> + [BZ #1099] + * grp/putgrent.c (putgrent): Don't write 0 as group + ID if groupname starts with + or -. + * pwd/putpwent.c (putpwent): Don't write 0 as user or + group ID if user name starts with + or -. - * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't - blacklist the group till after we look it up. +2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> -2006-12-21 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants. + * sysdeps/elf/tst-auditmod1.c: Add sh support. + * sysdeps/sh/bits/link.h: New. + * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define + ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments. + (RTLD_START): Define __fpscr_values. + * sysdeps/sh/dl-trampoline.S: New file. + * sysdeps/sh/sh4/dl-trampoline.S: New file. + * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values. + * sysdeps/sh/sh4/dl-machine.h: Remove. - * include/atomic.h (atomic_forced_read): New macro. +2005-01-10 Jakub Jelinek <jakub@redhat.com> -2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> + [BZ #732] + * time/tst-strptime.c (day_tests): Add 2 new tests. + (test_tm, main): Issue an error instead of segfaulting if + strptime returns NULL. - * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. +2005-01-10 H.J. Lu <hongjiu.lu@intel.com> -2006-12-19 Jakub Jelinek <jakub@redhat.com> + * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union. + * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise. - * nss/getXXbyYY_r.c: Include atomic.h. - (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, - add atomic_write_barrier () in between. +2005-01-11 Ulrich Drepper <drepper@redhat.com> - * stdlib/Makefile (tests): Add tst-makecontext. - * stdlib/tst-makecontext.c: New test. + * malloc/malloc.h: Remove no-glibc support. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S - (__makecontext): Don't realign uc_mcontext.uc_regs. - -2006-11-28 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-support.c: Include dl-procinfo.h. - * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, - PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, - PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): - Define. - (_dl_string_platform): Use PPC_PLATFORM_* macros instead of - hardcoded constants. - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use - PPC_PLATFORM_* macros for array designators. - -2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> +2005-01-12 GOTO Masanori <gotom@debian.or.jp> - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap - names to the beginning. - (_dl_powerpc_platforms): Add "power6x". - * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. - (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. - (_DL_PLATFORMS_COUNT): Increase. - (_dl_string_platform): Handle power6x case. - * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, - PPC_FEATURE_POWER6_EXT): Define. - (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. + [BZ #650] + * malloc/malloc.h: Always include features.h. -2006-12-18 Jakub Jelinek <jakub@redhat.com> +2005-01-10 Roland McGrath <roland@redhat.com> - [BZ #3747] - * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the - [-2^31 .. 2^31) range. - * stdlib/tst-rand48.c (main): Fix expected values for 64-bit - targets. - * stdlib/tst-rand48-2.c: New test. - * stdlib/Makefile (tests): Add tst-rand48-2. + * sysdeps/ia64/fpu/e_logl.c: File removed. -2006-12-14 Jakub Jelinek <jakub@redhat.com> + * dlfcn/dlfcn.c (init): Fix typo in attribute decl. - * misc/tst-pselect.c (do_test): Fix sigblock argument. +2005-01-10 Ulrich Drepper <drepper@redhat.com> -2006-12-14 Ulrich Drepper <drepper@redhat.com> - - * misc/tst-pselect.c (do_test): Make sure the helper process is - terminating when the test is aborted. - -2006-12-13 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. - * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): - Handle relatime mount option. + * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and + recognition of last entry. - [BZ #2337] - * libio/Makefile (tests): Add tst-setvbuf1. - * libio/tst-setvbuf1.c: New file. +2005-01-09 Ulrich Drepper <drepper@redhat.com> -2006-12-08 Jakub Jelinek <jakub@redhat.com> + * elf/dl-runtime.c: Include <sys/param.h>. - [BZ #2337] - * libio/genops.c (__uflow): Fix a typo. - * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat - nor set _IO_LINE_BUF bit here. Size the wide buffer based on - the narrow buffer size. + * elf/Makefile (headers): Add bits/link.h. -2006-11-24 Jakub Jelinek <jakub@redhat.com> +2005-01-09 Andreas Schwab <schwab@suse.de> - [BZ #2337] - * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. - * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set - _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit - in _flags. - * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, - _IO_wstr_finish): Likewise. - * libio/wmemstream.c (open_wmemstream): Likewise. - * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] - even for wide streams. + * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC. -2006-12-13 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include - kernel-features.h. - -2006-12-11 Ulrich Drepper <drepper@redhat.com> - - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand - separators also if no non-zero digits found. - * stdlib/Makefile (tests): Add tst-strtod3. - -2006-12-09 Ulrich Drepper <drepper@redhat.com> - - [BZ #3632] - * include/features.h: Fix comment about default value for - _POSIX_C_SOURCE. - - [BZ #3664] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize - empty parsed strings. - * stdlib/Makefile (tests): Add tst-strtod2. - * stdlib/tst-strtod2.c: New file. - - [BZ #3673] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit - computation. - * stdlib/Makefile (tests): Add tst-atof2. - * stdlib/tst-atof2.c: New file. - - [BZ #3674] - * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value - correctly if removing trailing zero of hex-float. - * stdlib/Makefile (tests): Add tst-atof1. - * stdlib/tst-atof1.c: New file. - -2006-12-09 Jakub Jelinek <jakub@redhat.com> - - * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. - Start searching for next comma at p rather than rest. - * misc/Makefile (tests): Add tst-mntent2. - * misc/tst-mntent2.c: New test. - - * misc/getusershell.c (initshells): Check for integer overflows. - Make strings buffer one bigger as fgets always succeeds when second - argument is 1. Don't use calloc for shells array. Disallow - / as shell. - -2006-12-08 Ulrich Drepper <drepper@redhat.com> - - * malloc/memusage.c: Handle realloc with new size of zero and - non-NULL pointer correctly. - (me): Really write first record twice. - (struct entry): Make format bi-arch safe. - (dest): Write out more realloc statistics. - * malloc/memusagestat.c (struct entry): Make format bi-arch safe. - -2006-12-05 Jakub Jelinek <jakub@redhat.com> - - * nis/nis_subr.c (nis_getnames): Revert last change. - -2006-12-04 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. - (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. - * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. - (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to - ENOTTY. - * io/Makefile: Add rules to build and run tst-ttyname_r test. - * io/tst-ttyname_r.c: New test. - -2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. - -2006-11-30 H.J. Lu <hongjiu.lu@intel.com> - - * sysdeps/i386/i686/memcmp.S: Use jump table as the base of - jump table entries. - -2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> - - * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost - `clone' function to ensure proper unwinding stop of gdb. - * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. - -2006-12-01 Ulrich Drepper <drepper@redhat.com> - - * nscd/nscd.init: Remove obsolete and commented-out -S option - handling. - -2006-11-23 Jakub Jelinek <jakub@redhat.com> - - [BZ #3514] - * manual/string.texi (strncmp): Fix pastos from wcscmp description. - - [BZ #3515] - * manual/string.texi (strtok): Remove duplicate paragraph. - -2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> - - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with - libgcc not supporting `rflags' unwinding (register # >= 17). - -2006-11-30 Jakub Jelinek <jakub@redhat.com> - - * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc - succeeded. - -2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> - Jakub Jelinek <jakub@redhat.com> - Jan Kratochvil <jan.kratochvil@redhat.com> +2005-01-09 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct - unwind information. - * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for - 'restore_rt' even in the 'signal' directory. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. - -2006-11-27 Jakub Jelinek <jakub@redhat.com> - - [BZ #3559] - * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if - malloc crashed. Don't allocate memory unnecessarily in each - loop. - -2006-10-21 Jakub Jelinek <jakub@redhat.com> - - * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. - -2006-11-20 Ulrich Drepper <drepper@redhat.com> - - * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. - -2006-11-18 Bruno Haible <bruno@clisp.org> - - * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke - __sysconf only after having tried to call getgroups32. - -2006-11-19 Ulrich Drepper <drepper@redhat.com> - - * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style - addresses for IPv4 queries if they can be mapped. - -2006-11-16 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. - * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. - (signmask): Add .size directive. - (othermask): Add .type directive. - -2006-11-14 Ulrich Drepper <drepper@redhat.com> - - * po/nl.po: Update from translation team. - - * timezone/zdump.c: Redo fix for BZ #3137. - -2006-11-14 Jakub Jelinek <jakub@redhat.com> - - * nss/nss_files/files-alias.c (get_next_alias): Set line back - to first_unused after parsing :include: file. - -2006-11-10 Ulrich Drepper <drepper@redhat.com> - - * timezone/africa: Update from tzdata2006o. - * timezone/antarctica: Likewise. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. - - * time/tzfile.c (__tzfile_read): Extend to handle new file format - on machines with 64-bit time_t. - - * timezone/checktab.awk: Update from tzcode2006o. - * timezone/ialloc.c: Likewise. - * timezone/private.h: Likewise. - * timezone/scheck.c: Likewise. - * timezone/tzfile.h: Likewise. - * timezone/tzselect.ksh: Likewise. - * timezone/zdump.c: Likewise. - * timezone/zic.c: Likewise. - - [BZ #3483] - * elf/ldconfig.c (main): Call setlocale and textdomain. - Patch mostly by Benno Schulenberg <bensberg@justemail.net>. - - [BZ #3480] - * manual/argp.texi: Fix typos. - * manual/charset.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/filesys.texi: Likewise. - * manual/lang.texi: Likewise. - * manual/maint.texi: Likewise. - * manual/memory.texi: Likewise. - * manual/message.texi: Likewise. - * manual/resource.texi: Likewise. - * manual/search.texi: Likewise. - * manual/signal.texi: Likewise. - * manual/startup.texi: Likewise. - * manual/stdio.texi: Likewise. - * manual/sysinfo.texi: Likewise. - * manual/syslog.texi: Likewise. - * manual/time.texi: Likewise. - Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. - - [BZ #3465] - * sunrpc/clnt_raw.c: Minimal message improvements. - * sunrpc/pm_getmaps.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. - * nis/nis_print_group_entry.c: Likewise. - * locale/programs/repertoire.c: Likewise. - * locale/programs/charmap.c: Likewise. - * malloc/memusage.sh: Likewise. - * elf/dl-deps.c: Likewise. - * locale/programs/ld-collate.c: Likewise. - * libio/vswprintf.c: Likewise. - * malloc/memusagestat.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * nscd/cache.c: Likewise. - * locale/programs/repertoire.c: Unify output messages. - * locale/programs/charmap.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * elf/ldconfig.c: Likewise. - * nscd/selinux.c: Likewise. - * elf/cache.c: Likewise. - Patch mostly by Benno Schulenberg <bensberg@justemail.net>. - - [BZ #3451] - * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode - change atomic. - (ceil): Likewise. - -2006-11-10 Jakub Jelinek <jakub@redhat.com> - - * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization - if N is one bigger than return value. - * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 - and l1 last arguments, if buf is defined, verify the return value - equals to strlen (buf) and verify no byte beyond passed length - is modified. - -2006-11-10 Ulrich Drepper <drepper@redhat.com> - - * po/sv.po: Update from translation team. - -2006-11-09 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add - noinline attribute. - -2006-11-10 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add - noinline attribute. - - * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): - Use __new_sys_siglist instead of _sys_siglist_internal as - second macro argument. - (_old_sys_siglist): Use declare_symbol_alias macro instead of - strong_alias. - -2006-11-09 Ulrich Drepper <drepper@redhat.com> - - [BZ #3493] - * posix/unistd.h (sysconf): Remove const attribute. - - * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for - temporary or deprecated addresses. - Patch by Sridhar Samudrala <sri@us.ibm.com>. - - * string/Makefile (tests): Add tst-strxfrm2. - * string/tst-strxfrm2.c: New file. - -2006-10-09 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 - rather than r->r_brk. - -2006-11-08 Jakub Jelinek <jakub@redhat.com> - - * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal - optimization even if needed > n. - - * elf/dl-load.c (decompose_rpath): Return bool rather than void. - If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and - return false, otherwise return true. - (cache_rpath): Return decompose_rpath return value. - -2006-11-07 Jakub Jelinek <jakub@redhat.com> - - * include/libc-symbols.h (declare_symbol): Rename to... - (declare_symbol_alias): ... this. Add ORIGINAL argument, imply - strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes - .size directive. - * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias - changes. - * sysdeps/gnu/siglist.c: Likewise. - -2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/fpu/bits/mathinline.h - [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... - * sysdeps/powerpc/fpu/math_private.h: ...here. New file. - -2006-11-05 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): - Update handling of cache descriptor 0x49 for new models. - * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): - Likewise. - -2006-11-02 Jakub Jelinek <jakub@redhat.com> - - * malloc/memusage.c (dest): Reset not_me back to false after - printing statistics. - -2006-11-02 Ulrich Drepper <drepper@redhat.com> - - * configure.in: Work around ld --help change and avoid -z relro - test completely if the architecture doesn't care about security. - -2006-11-01 Ulrich Drepper <drepper@redhat.com> - - * po/sv.po: Update from translation team. - -2006-10-31 Ulrich Drepper <drepper@redhat.com> - - * stdlib/atexit.c (atexit): Don't mark as hidden when used to - generate compatibility version. - -2006-10-29 Ulrich Drepper <drepper@redhat.com> - - * configure.in: Relax -z relro requirement a bit. - - * po/sv.po: Update from translation team. - -2006-10-29 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. - * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. - * elf/dl-close.c (_dl_close_worker): Likewise. - * elf/dl-open.c (_dl_open_worker): Likewise. - * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. + [BZ #732] + * time/strptime_l.c (__strptime_internal): Add braces to avoid + warning. -2006-10-27 Ulrich Drepper <drepper@redhat.com> + * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0. + + * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS. + +2005-01-08 Jakub Jelinek <jakub@redhat.com> + + * elf/Makefile (generated): Add tst-pie1{,.out,.o}. + +2005-01-09 Ulrich Drepper <drepper@redhat.com> + + * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after + those of all the regular objects. + + * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and + use it to select the r_debug structure for that namespace. + * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * elf/dl-open.c (_dl_open): Likewise. + * elf/rtld.c (dl_main): Likewise. + * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug + member. + (_dl_debug_initialize): Add new parameter in declaration. + + * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not + called for the auditing objects themselves. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + +2005-01-07 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/powerpc/powerpc64/dl-machine.h + (elf_machine_runtime_setup): If profile != 0 does not anymore mean + GLRO(dl_profile) != NULL. + * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add + padding. + * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve): + Extend _dl_prof_resolve to add pass extra parameters to + _dl_profile_fixup and set up structure with register content. + + * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup): + If profile != 0 does not anymore mean GLRO(dl_profile) != NULL. + * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve): + Extend _dl_prof_resolve to add pass extra parameters to + _dl_profile_fixup and set up structure with register content. + * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in + the register and result structures. + * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields + in the 32-bit register and result structures. + + * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names. + + * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file. + * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here. + Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants. + * elf/tst-auditmod1.c: Add ppc32 support. + * sysdeps/powerpc/powerpc32/bits/link.h: New file. + * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions. + + * malloc/malloc.c (malloc_printerr): Print program name as part of + error message. - * configure.in: Require assembler support for visibility, compiler - support for visibility and aliases, linker support for various -z - options. - * Makeconfig: Remove conditional code which now is unnecessary. - * config.h.in: Likewise. - * config.make.in: Likewise. - * dlfcn/Makefile: Likewise. - * elf/Makefile: Likewise. + * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define. + * stdlib/stdlib.h: Make realloc with + __attribute_warn_unused_result__ instead of __wur. + * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__ + markers as in <stdlib.h>. + + * libio/stdio.h: Remove __wur from rename and remove. + * posix/unistd.h: Remove __wur from dup2. + +2005-01-03 Andreas Jaeger <aj@suse.de> + + * elf/Makefile (tests): Revert patch from 2005-01-03. + +2005-01-07 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't + make __libc_init_first hidden. + + * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize + l_relocated of rtld map. + * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file. + * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here. + Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. + * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants. + * elf/tst-auditmod1.c: Add ppc64 support. + * sysdeps/powerpc/powerpc64/bits/link.h: New file. + +2005-01-06 Roland McGrath <roland@redhat.com> + + [BZ #633] + * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values + indicating file-name lookup errors, and return ENOSYS or EBADF instead. + +2005-01-06 Ulrich Drepper <drepper@redhat.com> + + * csu/elf-init.c (__libc_csu_fini): Don't do anything here. + * sysdeps/generic/libc-start.c: Don't register program destructor here. + + * dlfcn/Makefile: Add rules to build dlfcn.c. + (LDFLAGS-dl.so): Removed. + * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer + table. + * dlfcn/dlmopen.c: Likewise for _dl_open. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlopenold.c: Likewise. + * elf/dl-libc.c: Likewise for _dl_open and _dl_close. + * elf/Makefile (routines): Remove dl-open and dl-close. + (dl-routines): Add dl-open, dl-close, and dl-trampoline. + Add rules to build and run tst-audit1. + * elf/tst-audit1.c: New file. + * elf/tst-auditmod1.c: New file. + * elf/Versions [libc]: Remove _dl_open and _dl_close. + * elf/dl-close.c: Change for use inside ld.so instead of libc.so. + * elf/dl-open.c: Likewise. + * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization, + signaled by nonzero parameter. + * elf/dl-init.c: Fix use of r_state. * elf/dl-load.c: Likewise. - * elf/rtld.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/stdio.h: Likewise. - * io/Makefile: Likewise. - * io/fstat.c: Likewise. - * io/fstat64.c: Likewise. - * io/fstatat.c: Likewise. - * io/fstatat64.c: Likewise. - * io/lstat.c: Likewise. - * io/lstat64.c: Likewise. - * io/mknod.c: Likewise. - * io/mknodat.c: Likewise. - * io/stat.c: Likewise. - * io/stat64.c: Likewise. - * libio/stdio.c: Likewise. - * nscd/Makefile: Likewise. - * stdlib/Makefile: Likewise. - * stdlib/atexit.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/i386/sysdep.h: Likewise. - * sysdeps/i386/i686/memcmp.S: Likewise. - * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - * Makerules: USE_TLS support is now default. - * tls.make.c: Likewise. - * csu/Versions: Likewise. - * csu/libc-start.c: Likewise. - * csu/libc-tls.c: Likewise. - * csu/version.c: Likewise. - * dlfcn/dlinfo.c: Likewise. - * elf/dl-addr.c: Likewise. - * elf/dl-cache.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-object.c: Likewise. + * elf/dl-close.c: Add auditing checkpoints. * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-support.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-load.c: Likewise. * elf/dl-sym.c: Likewise. - * elf/dl-sysdep.c: Likewise. - * elf/dl-tls.c: Likewise. - * elf/ldconfig.c: Likewise. - * elf/rtld.c: Likewise. - * elf/tst-tls-dlinfo.c: Likewise. - * elf/tst-tls1.c: Likewise. - * elf/tst-tls10.h: Likewise. - * elf/tst-tls14.c: Likewise. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. - * elf/tst-tls4.c: Likewise. - * elf/tst-tls5.c: Likewise. - * elf/tst-tls6.c: Likewise. - * elf/tst-tls7.c: Likewise. - * elf/tst-tls8.c: Likewise. - * elf/tst-tls9.c: Likewise. - * elf/tst-tlsmod1.c: Likewise. - * elf/tst-tlsmod13.c: Likewise. - * elf/tst-tlsmod13a.c: Likewise. - * elf/tst-tlsmod14a.c: Likewise. - * elf/tst-tlsmod2.c: Likewise. - * elf/tst-tlsmod3.c: Likewise. - * elf/tst-tlsmod4.c: Likewise. - * elf/tst-tlsmod5.c: Likewise. - * elf/tst-tlsmod6.c: Likewise. - * include/errno.h: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * elf/dl-object.c: Allocate memory for auditing information. + * elf/dl-reloc.c: Remove RESOLV. We now always need the map. + Correctly initialize slotinfo. + * elf/dynamic-link.h: Adjust after removal of RESOLV. + * sysdeps/hppa/dl-lookupcfg.h: Likewise. + * sysdeps/ia64/dl-lookupcfg.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed. + * elf/dl-runtime.c (_dl_fixup): Little cleanup. + (_dl_profile_fixup): New parameters to point to register struct and + variable for frame size. + Add auditing checkpoints. + (_dl_call_pltexit): New function. + Don't define trampoline code here. + * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup. + Remove all the functions from _rtld_global_ro which only _dl_open + and _dl_close needed. + Add auditing checkpoints. + * elf/link.h: Define symbols for auditing interfaces. * include/link.h: Likewise. - * include/tls.h: Likewise. - * locale/global-locale.c: Likewise. - * locale/localeinfo.h: Likewise. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.c: Likewise. - * resolv/Versions: Likewise. - * sysdeps/alpha/dl-machine.h: Likewise. - * sysdeps/alpha/libc-tls.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/tls.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/ia64/libc-tls.c: Likewise. - * sysdeps/mach/hurd/fork.c: Likewise. - * sysdeps/mach/hurd/i386/tls.h: Likewise. - * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. - * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. - * sysdeps/s390/libc-tls.c: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + * include/dlfcn.h: Define __RTLD_AUDIT. + Remove prototypes for _dl_open and _dl_close. + Adjust access to argc and argv in libdl. + * dlfcn/dlfcn.c: New file. + * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE + is gone. + * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces. + * sysdeps/generic/unsecvars.h: Add LD_AUDIT. + * sysdeps/i386/dl-machine.h: Remove trampoline code here. + Adjust for removal of RESOLVE. * sysdeps/x86_64/dl-machine.h: Likewise. + * sysdeps/generic/dl-trampoline.c: New file. + * sysdeps/i386/dl-trampoline.c: New file. + * sysdeps/x86_64/dl-trampoline.c: New file. + + * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change. + Fix updating of DTV. + * sysdeps/generic/libc-tls.c: Likewise. + + * sysdeps/arm/bits/link.h: Renamed to ... + * sysdeps/arm/bits/linkmap.h: ...this. + * sysdeps/generic/bits/link.h: Renamed to... + * sysdeps/generic/bits/linkmap.h: ...this. + * sysdeps/hppa/bits/link.h: Renamed to... + * sysdeps/hppa/bits/linkmap.h: ...this. + * sysdeps/i386/bits/link.h: Renamed to... + * sysdeps/i386/bits/linkmap.h: ...this. + * sysdeps/ia64/bits/link.h: Renamed to... + * sysdeps/ia64/bits/linkmap.h: ...this. + * sysdeps/s390/bits/link.h: Renamed to... + * sysdeps/s390/bits/linkmap.h: ...this. + * sysdeps/sh/bits/link.h: Renamed to... + * sysdeps/sh/bits/linkmap.h: ...this. + * sysdeps/x86_64/bits/link.h: Renamed to... + * sysdeps/x86_64/bits/linkmap.h: ...this. + + * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640] + +2004-12-22 Steven Munroe <sjmunroe@us.ibm.com> + + [BZ #602] + * math/libm-test.inc (rint_test_tonearest): New test. + (rint_test_towardzero): New test. + (rint_test_downward): New test. + (rint_test_upward): New test. + * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case. + Remove redundant const values. + * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case. + Remove redundant const values. Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case. + * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case. + Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case. + Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case. + Remove redundant const values. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case. + Remove redundant const values. Use float const. + * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case. + Remove redundant const values. + * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case. + Remove redundant const values. Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. + * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + Use float const. + * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. + * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword + alignment. Fix -0.0 case. Remove redundant const values. + Use float const. + +2005-01-06 Ulrich Drepper <drepper@redhat.com> + + * misc/sys/cdefs.h: Define __wur. + * libio/stdio.h: Use __wur for a number of interfaces. + * posix/unistd.h: Likewise. + * stdlib/stdlib.h: Likewise. - * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and - split out locking and parameter checking. - (_dl_close): Call _dl_close_worker after locking and checking. - * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of - _dl_close. - * elf/Makefile: Add rules to build and run tst-thrlock. - * elf/tst-thrlock.c: New file. - - [BZ #3426] - * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to - reality. - - [BZ #3429] - * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until - we are sure we do not need it anymore for _dl_close. Also move - the asserts inside the lock region. - Patch mostly by Suzuki <suzuki@in.ibm.com>. - -2006-10-27 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope - argument. - (_dl_lookup_symbol_x): Adjust caller. - - * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove - _ns_global_scope. - * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. - - * elf/dl-libc.c: Revert l_scope name changes. - * elf/dl-load.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/rtld.c: Likewise. - * elf/dl-close.c (_dl_close): Likewise. - * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, - always use __rtld_mrlock_{change,done}. Always free old scope list - here if not l_scope_mem. - * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name - change. Never free scope list here. Just __rtld_mrlock_lock before - the lookup and __rtld_mrlock_unlock it after the lookup. - * elf/dl-sym.c: Likewise. - * include/link.h (struct r_scoperec): Remove. - (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem - with l_scope_mem and l_scoperec_lock with l_scope_lock. - -2006-10-25 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. - -2006-10-18 Ulrich Drepper <drepper@redhat.com> - - * configure.in: Disable building profile libraries by default. - -2006-10-17 Jakub Jelinek <jakub@redhat.com> - - * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses - as signed longs, check for x_base + pos overflow. - * sunrpc/Makefile (tests): Add tst-xdrmem2. - * sunrpc/tst-xdrmem2.c: New test. - -2006-10-18 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to - _dl_lookup_symbol_x code. - -2006-10-17 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-runtime.c: Include sysdep-cancel.h. - (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and - scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* - instead of catomic_* macros. - * elf/dl-sym.c: Include sysdep-cancel.h. - (do_sym): Use __rtld_mrlock_* and scoperec->nusers only - if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. - * elf/dl-close.c: Include sysdep-cancel.h. - (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only - if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. - * elf/dl-open.c: Include sysdep-cancel.h. - (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only - if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. - -2006-10-17 Jakub Jelinek <jakub@redhat.com> - - [BZ #3313] - * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last - fastbin rather than end of fastbin array. - -2006-10-18 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct - body macro. - * sysdeps/x86_64/bits/atomic.h - (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. - (catomic_decrement): Use correct body macro. - -2006-10-17 Jakub Jelinek <jakub@redhat.com> - - * include/atomic.h: Add a unique prefix to all local variables - in macros. - * csu/tst-atomic.c (do_test): Test also catomic_* macros. - -2006-10-16 Ulrich Drepper <drepper@redhat.com> - - [BZ #3369] - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 - and 7. - -2006-10-14 Ulrich Drepper <drepper@redhat.com> - - * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. - -2006-10-13 Ulrich Drepper <drepper@redhat.com> - - [BZ #3313] - * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to - determine highest fast bin to consolidate, always look into all of - them. - (do_check_malloc_state): Only require for empty bins for large - sizes in main arena. - - * libio/stdio.h: Add more __wur attributes. - - * elf/dl-minimal.c (realloc): Optimize last patch. - -2006-10-12 Richard Sandiford <richard@codesourcery.com> - - [BZ #3352] - * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, - and use memcpy() if it does. - -2006-11-12 Andreas Jaeger <aj@suse.de> - - [BZ #2510] - * manual/search.texi (Hash Search Function): Clarify. - (Array Search Function): Clarify. - -2006-11-12 Joseph Myers <joseph@codesourcery.com> - - [BZ #2830] - * math/atest-exp.c (main): Cast hex value to mp_limb_t before - shifting. - * math/atest-exp2.c (read_mpn_hex): Likewise. - * math/atest-sincos.c (main): Likewise. - -2006-10-11 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. - * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. - * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for - version GLIBC_2.6. - * Versions.def: Add GLIBC_2.6 for libc. - - * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. - - * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. - -2006-10-11 Jakub Jelinek <jakub@redhat.com> - - * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. - - * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. - - * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. - * sysdeps/generic/unsecvars.h: Add NIS_PATH. - -2006-10-11 Ulrich Drepper <drepper@redhat.com> - - * include/atomic.c: Define catomic_* operations. - * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. - * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. - * malloc/memusage.c: Likewise. - * gmon/mcount.c: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-fptr.c: Likewise. - * resolv/res_libc.c: Likewise. - -2006-10-10 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH - components which lack them. - - * nis/nis_subr.c (nis_getnames): Make sure that we always return - at least one entry consisting of the parameter concatenated with - the domain. - -2006-10-10 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. - * sysdeps/mach/hurd/futimes.c: Likewise. - * sysdeps/mach/hurd/lutimes.c: Likewise. - -2006-10-09 Ulrich Drepper <drepper@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - Implement reference counting of scope records. - * elf/dl-close.c (_dl_close): Remove all scopes from removed objects - from the list in objects which remain. Always allocate new scope - record. - * elf/dl-open.c (dl_open_worker): When growing array for scopes, - don't resize, allocate a new one. - * elf/dl-runtime.c: Update reference counters before using a scope - array. - * elf/dl-sym.c: Likewise. - * elf/dl-libc.c: Adjust for l_scope name change. - * elf/dl-load.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/rtld.c: Likewise. - * include/link.h: Include <rtld-lowlevel.h>. Define struct - r_scoperec. Replace r_scope with pointer to r_scoperec structure. - Add l_scoperec_lock. - * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. - * sysdeps/generic/rtld-lowlevel.h: New file. - - * include/atomic.h: Rename atomic_and to atomic_and_val and - atomic_or to atomic_or_val. Define new macros atomic_and and - atomic_or which do not return values. - * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. - Various cleanups. - * sysdeps/i386/i486/bits/atomic.h: Likewise. - - * po/sv.po: Update from translation team. - -2006-10-07 Ulrich Drepper <drepper@redhat.com> - - * Versions.def: Add GLIBC_2.6 to libpthread. - - * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. - (versioned_symbol): Likewise. - (compat_symbol): Likewise. - - * po/tr.po: Update from translation team. - -2006-10-06 Ulrich Drepper <drepper@redhat.com> - - * nis/Banner: Removed. It's been integral part forever and the - author info is incomplete anyway. - * libio/Banner: Likewise. - - * nis/nis_table.c (nis_list): If __follow_path fails in the new - code, make sure the nis_freeresult call doesn't crash and that the - result is reported correctly. - -2006-09-27 Jakub Jelinek <jakub@redhat.com> - - * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS - when callback is NULL. - - * nis/Versions (libnss_nisplus): Add - _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. - * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. - * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, - _nss_create_tablename): Rename to... - (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): - ... these. No longer static. - (internal_setgrent): Adjust users. - (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. - Don't use locking around _nss_grp_create_tablename call. - * nis/nss_nisplus/nisplus-initgroups.c: New file. - -2006-10-06 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump to 2.5.90 for new development tree. - -2006-10-06 Andreas Jaeger <aj@suse.de> - - * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. - -2006-10-06 Ulrich Drepper <drepper@redhat.com> - - * po/pl.po: Update from translation team. - - * nscd/nscd.c (main): Fix typo in message. - Patch by Jakub Bogsz <qboosh@pld-linux.org>. - -2006-10-02 Jakub Jelinek <jakub@redhat.com> - - [BZ #3291] - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include - errno.h, signal.h, unistd.h and sysdep-cancel.h. - (__sigprocmask): Define. - -2006-10-02 Ulrich Drepper <drepper@redhat.com> - - * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is - used. - -2006-10-02 Jakub Jelinek <jakub@redhat.com> - - * nscd/mem.c (mempool_alloc): Round array size to 16 bytes - in oldtotal and newtotal calculation. - * nscd/nscd-client.h (struct mapped_database): Add datasize - field. - * nscd/nscd_helper.c (get_mapping): Initialize datasize field. - (__nscd_get_map_ref): Get a new mapping even if mapping's data_size - increased. - (__nscd_cache_search): Add checks to make sure we never reference - data beyond the current mapping. - -2006-10-02 Dmitry V. Levin <ldv@altlinux.org> - - * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val - variables const to avoid compiler warnings. - - * io/fts.c (fts_close): Remove redundant checks. - (fts_build): Likewise. - (fts_palloc): Likewise. - - * manual/message.texi (Advanced gettext functions, - Using gettextized software): Fix typos. - -2006-09-30 Ulrich Drepper <drepper@redhat.com> - - * posix/glob.c (glob_in_dir): Add some comments and asserts to - explain why there are no leaks. - -2006-09-29 Ulrich Drepper <drepper@redhat.com> - - * libio/wmemstream.c: Include <wchar.h>. - * libio/bug-wmemstream1.c: Likewise. - * libio/tst-wmemstream1.c: Likewise. - * libio/tst-wmemstream2.c: Likewise. - - * version.h (RELEASE): Bump to 2.5. - * README: Regenerated. - - * locale/iso-3166.def: Add Aaland Islands and Montenegro. - - [BZ #3273] - * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have - found no group members. - Patch by Petr Baudis. - -2006-09-29 Jakub Jelinek <jakub@redhat.com> - - * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't - assert bootstrap_map.l_tls_modid is zero. - (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 - if USE___THREAD. - -2006-09-27 Ulrich Drepper <drepper@redhat.com> - - * libio/stdio.h: Move open_wmemstream prototype to ... - * wcsmbs/wchar.h: ... here. - -2006-09-25 Jakub Jelinek <jakub@redhat.com> - - [BZ #3252] - * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only - fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call - __{,l}chown to handle the rest. - * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only - fchownat syscall and __ASSUME_32BITUIDS case inline, call - __{,l}chown to handle the rest. - * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include - i386/fchownat.c. - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. - * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. - - [BZ #3253] - * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a - time, rather allocate increasingly bigger arrays of pointers, if - possible with alloca, if too large with malloc. - -2006-09-24 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/powerpc/fpu/libm-test-ulps: Updated. - - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. - -2006-09-24 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, - home addresses. - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize - IFA_F_HOMEADDRESS flag for interfaces. - * include/ifaddrs.h (struct in6addrinfo): Define - in6ai_homeaddress. - -2006-09-21 Jakub Jelinek <jakub@redhat.com> - - [BZ #3225] - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, - PTR_DEMANGLE3): Define. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, - PTR_DEMANGLE3): Likewise. - * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): - Likewise. - * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. - -2006-09-20 Jakub Jelinek <jakub@redhat.com> - - * po/libc.pot: Regenerated. - * po/be.po: Updated. - * po/ca.po: Likewise. - * po/cs.po: Likewise. - * po/da.po: Likewise. - * po/de.po: Likewise. - * po/el.po: Likewise. - * po/en_GB.po: Likewise. - * po/es.po: Likewise. - * po/fi.po: Likewise. - * po/fr.po: Likewise. - * po/gl.po: Likewise. - * po/hr.po: Likewise. - * po/hu.po: Likewise. - * po/ja.po: Likewise. - * po/ko.po: Likewise. - * po/nb.po: Likewise. - * po/nl.po: Likewise. - * po/pl.po: Likewise. - * po/pt_BR.po: Likewise. - * po/ru.po: Likewise. - * po/rw.po: Likewise. - * po/sk.po: Likewise. - * po/sv.po: Likewise. - * po/tr.po: Likewise. - * po/zh_CN.po: Likewise. - * po/zh_TW.po: Likewise. - - [BZ #3137] - * iconv/iconv_prog.c (main): Fix spelling in error message. - * iconv/iconvconfig.c (main): Likewise. - * locale/programs/ld-collate.c (handle_ellipsis): Likewise. - * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. - * locale/programs/localedef.c (main): Likewise. - * locale/programs/repertoire.c (repertoire_read): Likewise. - * timezone/zdump.c (main): Likewise. - * nscd/connections.c (handle_request): Fix spelling in log message. - Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. - -2006-09-20 Ulrich Drepper <drepper@redhat.com> - - * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 - interfaces. - -2006-09-20 Andreas Jaeger <aj@suse.de> - - * math/libm-test.inc (lrint_test_upward): Fix typo. - -2006-06-17 Joseph S. Myers <joseph@codesourcery.com> - - [BZ #2592] - * math/libm-test.inc (lrint_test_tonearest): New function. - (lrint_test_towardzero): New function. - (lrint_test_downward): New function. - (lrint_test_upward): New function. - (main): Run these new tests. - * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding - of values near to 0. - (two52): Use double not long double. - * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. - * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. - (two23): Use float not double. - * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. - (two23): Use float not double. - * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. - * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. - * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. - * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. - -2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): - Cast sp to unsigned long to avoid compiler warning. - Use __makecontext_ret function instead of a trampoline on the stack. - (__makecontext_ret): New function. - * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. - -2006-09-19 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but - platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM - bits. - -2006-09-19 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-close.c (_dl_close): If dependency is not unloaded make - sure no reference to the unloaded map's search list remains in the - dependency's scope. - -2006-09-16 Jakub Jelinek <jakub@redhat.com> - - * elf/Makefile: Add rules to build and run unload7 test. - * elf/unload7.c: New test. - * elf/unload7mod1.c: New file. - * elf/unload7mod2.c: New file. - -2006-09-18 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. - * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG): Likewise. - (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent - values. - -2006-09-17 Mike Frysinger <vapier@gentoo.org> - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, - PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. - -2006-09-16 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't - write '\0' to the fd. - * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. - * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. - Change regs to unsigned long pointer from unsigned int, fix fscr - offset. - -2006-09-14 Jakub Jelinek <jakub@redhat.com> - - * io/Makefile (CFLAGS-fstatat.c): Set. - (CFLAGS-fstatat64.c): Likewise. - (CFLAGS-mknodat.c): Likewise. - - * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. - * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. - * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. - -2006-09-14 Jakub Jelinek <jakub@redhat.com> - Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap - names to the beginning. Rename "cell" to "cellbe". - (_dl_powerpc_platforms): New. - * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. - (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. - (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. - (_DL_HWCAP_PLATFORM): Define to new mask. - (_dl_platform_string, _dl_string_platform): New functions. - * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, - PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. - -2006-09-12 Jakub Jelinek <jakub@redhat.com> - - [BZ #2526] - * README.libm: Fix a thinko in sqrt algorithm description. - - [BZ #3143] - * manual/string.texi (argz_delete): Fix prototype. - Patch by <alpt@freaknet.org>. - -2006-08-26 Joseph Myers <joseph@codesourcery.com> - - [BZ #3138] - * io/test-lfs.c (do_prepare): Give name_len type size_t. - * io/tst-fcntl.c (do_prepare): Likewise. - * posix/tst-exec.c (do_prepare): Likewise. - * posix/tst-preadwrite.c (do_prepare): Likewise. - * posix/tst-spawn.c (do_prepare): Likewise. - * posix/tst-truncate.c (do_prepare): Likewise. - * rt/tst-aio.c (do_prepare): Likewise. - * rt/tst-aio64.c (do_prepare): Likewise. - * stdlib/test-canon2.c (do_prepare): Give test_dir_len type - size_t. - -2006-09-09 Ulrich Drepper <drepper@redhat.com> - - [BZ #2821] - * time/mktime.c (guess_time_tm): Fix overflow detection. - * time/Makefile (tests): Add bug-mktime1. - * time/bug-mktime1.c: New file. - - [BZ #3189, #3188] - * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. - (mremap): Likewise. - -2006-09-07 Jakub Jelinek <jakub@redhat.com> - - [BZ #1006] - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): - Ensure relocation doesn't clobber any bits outside of the - immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, - R_SPARC_HI22 and R_SPARC_H44. - - [BZ #2775] - * malloc/malloc.c (sYSMALLOc): Only call grow_heap if - (long) (MINSIZE + nb - old_size) is positive. - - * malloc/arena.c (grow_heap): When growing bail even if new_size - is negative. - - [BZ #3155] - * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access - stack below r1. - -2006-09-06 Jakub Jelinek <jakub@redhat.com> - - * posix/regex_internal.c (re_string_reconstruct): Handle - offset < pstr->valid_raw_len && pstr->offsets_needed case. - Ensure no bytes read before raw_mbs array. Pass a saved copy of - pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to - re_string_context_at. - * posix/Makefile: Add rules to build and run bug-regex26 test. - * posix/bug-regex26.c: New test. - - * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free - rather than col_sym_free. Move seqp declaration earlier. - - * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. - -2006-09-05 Jakub Jelinek <jakub@redhat.com> - - * nscd/initgrcache.c (addinitgroupsX): Move any_success - decl before first goto out. - -2006-09-04 Jakub Jelinek <jakub@redhat.com> - - * Makerules (shlib.lds): If have-hash-style, put .hash section - at the end of the RO segment. - -2006-09-04 Ulrich Drepper <drepper@redhat.com> - - * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new - style hash table format is used. - -2006-09-04 Jakub Jelinek <jakub@redhat.com> - - * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after - randomization rather than before. - * resolv/res_init.c (res_randomid): Don't call gettimeofday here. - -2006-08-31 Jakub Jelinek <jakub@redhat.com> - - * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. - - * malloc/malloc.c (_int_malloc): Use full list insert and not - shortcut which assumes the list is empty for large requests - too. - - * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". - -2006-08-30 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin - and offout arguments to the prototype. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. - * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. - -2006-08-28 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (_dl_init_paths): Expand DSTs. - - * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in - dlopen parameters. - -2006-08-28 Jakub Jelinek <jakub@redhat.com> - - * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno - only if herrno is NETDB_INTERNAL. Handle errors other than - ERANGE outside of the loops, handle TRY_AGAIN. - - * locale/programs/ld-ctype.c (translit_flatten): Issue error - if other's ctype category was missing. - * locale/programs/ld-collate.c (collate_read): Return if - copy_locale's collate category is missing. - -2006-08-27 Ulrich Drepper <drepper@redhat.com> - - [BZ #2684] - * malloc/malloc.c (public_rEALLOc): Try harder by using other - arenas if allocation failed. - Patch mostly by Jan Edler <jan.edler@indexengines.com>. - -2006-08-26 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (bin_at): Rewrite to be more clear and to not - waste bins[0..1]. - (malloc_state): Reduce bins size by 2. - (_int_malloc): Fix test for large enough buffer for early termination. - When no unsorted block matches perfectly and an exiting block has - to be split, use full list insert and not shortcut which assumes - the list is empty. - - * locale/programs/ld-ctype.c (ctype_read): Better patch for read - failure. - -2006-08-24 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't - do anything. - - * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined - symbol require exact match (these are PLTs). - * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h - (_dl_ppc64_addr_sym_match): Likewise. - - [BZ #2683] - * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. - If symbol has a value use it. - * elf/tst-dladdr1.c: New file. - * elf/Makefile: Add rules to build and run tst-addr1. - -2006-08-24 Jakub Jelinek <jakub@redhat.com> - - * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP - keeps failing and heap growth or new heap creation isn't - successful either. - * malloc/tst-malloc.c (main): Add new tests. - -2006-08-24 Ulrich Drepper <drepper@redhat.com> - - [BZ #2734] - * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions - as in the x86-64 code to use bswap. - -2006-05-21 Joseph S. Myers <joseph@codesourcery.com> - - [BZ #2680] - * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not - __USE_UNIX98. - * posix/bits/unistd.h: Likewise. - -2006-05-15 Mike Frysinger <vapier@gentoo.org> - - [BZ #2751] - * string/strchr.c: Add cast to avoid warning. - -2006-08-21 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit - platforms define as 512K. For 64-bit platforms as 32MB. The lower - limit is needed to avoid the exploding of the address space - requirement for secondary heaps. - * malloc/arena.c (HEAP_MAX_SIZE): Define using - DEFAULT_MMAP_THRESHOLD_MAX if it is defined. - -2006-07-30 Joseph S. Myers <joseph@codesourcery.com> - - [BZ #3018] - * Makerules (depfiles): Handle extra-test-objs the same as - extra-objs. - (common-mostlyclean): Likewise. - * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs - instead. - * elf/Makefile (extra-objs): Likewise. - * stdlib/Makefile (extra-objs): Likewise. - -2006-08-14 Eric Blake <ebb9@byu.net> - - [BZ #3044] - * misc/error.h: Assume C89 or better. - * misc/error.c: Likewise. - -2006-08-21 Ulrich Drepper <drepper@redhat.com> - - [BZ #3040] - * sysdeps/unix/sysv/linux/openat.c: Fix compilation if - __ASSUME_ATFCTS is defined. - -2006-08-19 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks - to sort in each call. - - * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map - is empty simply return and use next service. - * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. - - * locale/programs/charmap.c (charmap_read): Add new parameter. It - tells us when not finding a charmap file is an error. - * locale/programs/charmap.h: Adjust charmap_read prototype. - * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we - cannot find a charmap. - * locale/programs/localedef.c (main): Adjust charmap_read call. - -2006-08-15 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use - sysdeps/posix/pause.c implementation instead. - -2006-08-09 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority - to EPERM. - -2006-08-13 Andreas Schwab <schwab@suse.de> - - * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): - Don't clobber caller's LRSAVE. - (_dl_prof_resolve): Likewise. - -2006-08-14 Ulrich Drepper <drepper@redhat.com> - - [BZ #1996] - * libio/memstream.c (open_memstream): Allocate initial buffer with - calloc. - * libio/wmemstream.c (open_wmemstream): Likewise. - * libio/strops.c: Pretty printing. - (_IO_str_overflow): Clear uninitialized part of the new buffer. - (enlarge_userbuf): New function. - (_IO_str_seekoff): Call it if seek position is larger than current - buffer. - * libio/wstrops.c: Likewise. - * libio/vasprintf.c: Add comment as to why we do not have to use - calloc instead of malloc to allocate initial buffer. - * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. - * libio/bug-memstream1.c: New file. - * libio/bug-wmemstream1.c: New file. - -2006-08-13 Ulrich Drepper <drepper@redhat.com> - - * libio/wstrops.c: Remove dead macro definitions and comments. - * libio/strops.c: Likewise. - - [BZ #2764] - * login/utmpname.c (__utmpname): Remove unnecessary test. - -2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> - - [BZ #2832] - * math/gen-libm-test.pl (clean_up_number): Do not remove trailing - 0s from integers. - -2006-08-13 Ulrich Drepper <drepper@redhat.com> - - [BZ #2987] - * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall - for CPU clocks. - * sysdeps/unix/clock_settime.c: Add support for platform-specific - setting of CPU clocks. - -2006-06-23 Paul Eggert <eggert@cs.ucla.edu> - - [BZ #2841] - * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', - since C99 requires the result to promote to 'int' when uint_least8_t - and uint_least16_t promote to 'int'. - -2006-08-12 Ulrich Drepper <drepper@redhat.com> - - [BZ #3013] - * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix - lenght of one output field, correct bitmask creation. - * locale/programs/ld-time.c: Add alignment. - - [BZ #2997] - * misc/error.c: Add space between program name and message if file - name is missing. - -2006-08-03 Eric Blake <ebb9@byu.net> - - [BZ #2998] - * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. - -2006-08-09 Ulrich Drepper <drepper@redhat.com> - - * malloc/memusagestat.c: Silence warnings. - - * malloc/malloc.c: Dynamically size mmap treshold if the program - frees mmaped blocks. - Patch by Valerie Henson and Arjan van de Ven. - -2006-08-08 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with - __USE_GNU. - - * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, - __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. - (DEF): Don't put the var into .gnu.linkonce.r.* section. - Only provide var definitions in strtol_l (or for *ull* - in strtoll_l). - - * stdio-common/bug16.c (tests): New array. - (do_tests): Allow the first hexadecimal digit - to be 1, 2, 4 or 8. Do 3 additional tests. - - * sysdeps/s390/fpu/libm-test-ulps: Update. - - * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use - fchownat syscall if available. - * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. - * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. - -2006-08-07 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_xdr.c: Avoid some function calls. - -2006-08-07 Jakub Jelinek <jakub@redhat.com> - Ulrich Drepper <drepper@redhat.com> - - * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take - short cut if only one name component is stripped away. - -2006-08-07 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_call.c: Minor cleanups throughout. - (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. - (first_shoot): Add search_parent_first parameter. Only if it is set - search parent server first. - If directory for table found through cold start cache is not the same - as referenced in the cache, don't use it. - (__nisfind_server): Take additional parameter. Pass it on to - first_shoot. - (__prepare_niscall): Adjust __nisfind_server call. - * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. - * nis/nis_table.c: Adjust __nisfind_server call. - * nis/nis_lookup.c: Likewise. - (nis_lookup): Don't loop endlessly if name is reduced to ".". - -2006-08-03 Ulrich Drepper <drepper@redhat.com> - - [BZ #2182] - * math/s_cacosh.c: Return values from positive branch. - * math/s_cacoshf.c: Likewise. - * math/s_cacoshl.c: Likewise. - - [BZ #2883] - * sysvipc/sys/msg.h: Change return value to ssize_t. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysvipc/msgrcv.c: Likewise. - * include/sys/msg.h: Likewise. - - * grp/initgroups.c (internal_getgrouplist): Remove unnecessary - test introduced in patch for bz #661. - (getgrouplist): Simplify code a bit. Don't allocate one additional - element for NEWGROUPS. - - [BZ #2908] - * stdio-common/printf_fphex.c (__printf_fphex): When rounding up - 'f', use '1' as leading digit not '\1'. - * stdio-common/Makefile (tests): Add bug16. - * stdio-common/bug16.c: New file. - - [BZ #2914] - * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE - and don't try to open it. The patch introducing the macro - contained a bug and used the same file name as the new file - instead of using /var/adm/hostid. Nobody complaint so I'm taking - this out completely. - - [BZ #2926] - * assert/assert.h: Move cast to void inside ?: to quiet gcc. - Patch by Jerry James <Jerry.James@usu.edu>. - - * rt/Makefile (tests): Add tst-clock2. - * rt/tst-clock2.c: New file. - - [BZ #2978] - * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread - function and its parameters and pass it to new thread. - (__gai_notify): Add support for alternative waiting for completion. - * resolv/gai_suspend.c (gai_suspend): Add support for alternative - waiting for completion. - * resolv/getaddrinfo_a.c: Likewise. - * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative - waiting for completion is used. - * resolv/gai_misc.c: Allow overwriting code to start helper thread. - * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". - * resolv/gai_error.c: Likewise. - * resolv/gai_sigqueue.c: Likewise. - -2006-08-02 Thomas Schwinge <tschwinge@gnu.org> - - * hurd/getdport.c (__getdport): Don't return EBADF; instead set - errno to EBADF and return MACH_PORT_NULL. - -2006-06-23 Joseph Myers <joseph@codesourcery.com> - - [BZ #2980] - * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. - -2006-08-02 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, - walk them instead of the symbol table. - -2006-08-01 Ulrich Drepper <drepper@redhat.com> - - [BZ #2098] - * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by - status of NSS calls, not the number of returned entries. - - * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, - request_key, keyctl. - -2006-07-31 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. - -2006-07-16 Jeff Bailey <jbailey@ubuntu.com> - - * elf/tst-auditmod1.c: Fix typo in #error. - -2006-07-31 Ulrich Drepper <drepper@redhat.com> - - * elf/tst-auditmod1.c: Remove code for unsupported architectures. - - * iconvdata/run-iconv-test.sh: Run cmp in C locale. - -2006-07-20 Adam Nemet <anemet@caviumnetworks.com> - - * stdlib/test-canon.c (do_test): Close fd before unlinking file so - that the directory is empty even on non-POSIX filesystems. - -2006-07-31 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-open.c (dl_open_worker): Add branch prediction. - - * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into - the backend NSS module. If backend setgrent call failed, don't have - internal_setgrent fail. Just remember this until it is needed. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - -2006-07-30 Roland McGrath <roland@redhat.com> - - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. - * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. - - * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. - (nanosleep_not_cancel): New macro. - (sigsuspend_not_cancel): new macro. - * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] - (do_sigsuspend): Define as inline. - (__sigsuspend): Always use do_sigsuspend. - [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. - * include/signal.h: Declare __sigsuspend_nocancel. - * sysdeps/posix/pause.c - [! NO_CANCELLATION] (__pause_nocancel): New function. - - * include/unistd.h (__pause_nocancel): Add attribute_hidden. - * include/time.h (__nanosleep_nocancel): Likewise. - -2006-07-30 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/localedef.c (add_to_readlist): Rename local - variables to avoid confusion. - - * locale/programs/charmap.c (charmap_read): Emit error message if - charmap couldn't be found or read. - -2006-07-28 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_FUTEX_LOCK_PI. - * include/time.h: Declare __nanosleep_nocancel. - * include/unistd.h: Declare __pause_nocancel. - - * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of - LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we - get the __stack_chk_fail_local definition when it's needed. - -2006-07-26 Ulrich Drepper <drepper@redhat.com> - - * dlfcn/Makefile: Add rules to build and run bug-atexit3. - * dlfcn/bug-atexit3.c: New file. - * dlfcn/bug-atexit3-lib.cc: New file. - - * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be - used when the namespace is not the base namespace. - -2006-07-26 Gavin Romig-Koch <gavin@redhat.com> - - * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. - (__new_exitfn): Bump it in every successful call. - * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered - more exit handlers, call them right away. - * stdlib/exit.h: Declare __new_exitfn_called. - -2006-07-25 Ulrich Drepper <drepper@redhat.com> - - * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when - calling registered handler. - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - -2006-07-10 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-lookup.c (dl_new_hash): New functions. - (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute - value here. Compute new-style hash value. Pass new hash value - and reference to variable with the old value to do_lookup_x. - (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not - old-style hash table. - (_dl_debug_bindings): Pass new hash value and reference to variable - with the old value to do_lookup_x. - * elf/do-lookup.h (do_lookup_x): Accept additional parameter with - new-style hash value and change old-style hash value parameter to - be a reference. Reoganize functions to determine whether - new-style hash table is available. Only fall back on old-style - table. If old-style hash value is needed, compute it here. - * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH - entry. - * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, - DT_TLSDEC_GOT. Adjust DT_ADDRNUM. - * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, - l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. - * Makeconfig: If linker supports --hash-style option add it to all - linker command lines to build DSOs. - * config.make.in: Define have-hash-style. - * configure.in: Test whether linker supports --hash-style option. - - * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. - * sysdeps/generic/ldsodefs.h: Adjust prototype. - -2006-06-27 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (open_path): Fix test to determine whether DSO is - auditing. - - * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at - RPATH of main map twice. - -2006-06-22 Ulrich Drepper <drepper@redhat.com> - - * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't - look further, return original strings. - (_nl_find_msg): Do not return found translation if the conversion - failed. Either signal the string is unusable or that something went - wrong and the original should be used. - -2006-06-21 Ulrich Drepper <drepper@redhat.com> - - * string/_strerror.c (__strerror_r): Add __builtin_expect. - -2006-06-14 Jakub Jelinek <jakub@redhat.com> - - [BZ #2766] - * misc/insremque.c (insque): Handle prev == NULL. - * misc/Makefile (tests): Add tst-insremque. - * misc/tst-insremque.c: New test. - -2006-06-17 Ulrich Drepper <drepper@redhat.com> - - [BZ #2792] - * elf/dl-deps.c (expand_dst): Rename __cnt variable to not - conflict with DL_DST_REQUIRED. - -2006-06-16 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_subr.c (nis_getnames): Fix the implementation to better - match what Solaris does. - -2006-06-04 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and - local_setegid instead of seteuid and setegid. - * sysdeps/generic/local-setxid.h: New file. - * sysdeps/unix/sysv/linux/local-setxid.h: New file. - - * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. - - * string/Makefile (tests): Add bug-envz1. - * string/bug-envz1.c: New file. - -2006-06-02 Jakub Jelinek <jakub@redhat.com> - - * posix/regex_internal.c (re_string_skip_chars): If no character has - been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc - to the byte which couldn't be converted. - (re_string_reconstruct): Don't clear valid_raw_len before calling - re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set - tip_context using re_string_context_at. - * posix/Makefile: Add rules to build and run bug-regex25 test. - * posix/bug-regex25.c: New test. - -2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> - - [BZ #2703] - * string/envz.c (envz_strip): Correct erroneously reversed src - and dest parameters to memmove() invocation. - -2006-05-30 Jakub Jelinek <jakub@redhat.com> - - * nscd/nscd.h (prune_cache): Add fd argument to prototype. - * nscd/nscd.c (parse_opt): Read response from INVALIDATE request - to make sure the database has been already invalidated. - * nscd/cache.c (prune_cache): Add fd argument. Write response to fd - after the cache has been invalidated. Use pthread_mutex_lock rather - than pthread_mutex_trylock if fd != -1. - * nscd/connections.c (invalidate_cache): Add fd argument, write - response to fd if not calling prune_cache, pass fd to prune_cache. - (handle_request): Adjust invalidate_cache caller. - (nscd_run): Pass -1 as fd to prune_cache. - -2006-05-30 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in - the correct place. - -2006-05-29 Ulrich Drepper <drepper@redhat.com> - - * nscd/nscd.h (struct database_dyn): Add prunelock field. - * nscd/cache.c (prune_cache): Take prunelock before starting the - work. Just return in case it is already taken. - * nscd/connections.c (dbs): Initialize .prunelock. - -2006-05-25 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_removemember.c (nis_removemember): Avoid unnecessary - copying. No need to allocate new array for group members. Just - move the pointers and update the size. - - * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. - Avoid memory leak in case realloc fails. Simplification for - better code generation. - - Avoid deprecation warning because of libc_hidden_proto for - inet6_option_alloc. - * inet/inet6_option.c (option_alloc): Renamed from - inet6_option_alloc. Made static. - (inet6_option_alloc): Now a simple wrapper around option_alloc. - (inet6_option_append): Call option_alloc. - * include/netinet/in.h: Remove libc_hidden_proto for - inet6_option_alloc. - - * nis/nis_callback.c (__nis_create_callback): Always call xdr_free - for cleanup when cb!=NULL [Coverity CID 233]. - -2006-05-24 Ulrich Drepper <drepper@redhat.com> - - [BZ #2693] - * inet/Makefile (routines): Add inet6_opt and inet6_rth. - * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, - inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, - inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, - inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, - and inet6_rth_getaddr. - * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible - array. - * inet/netinet/in.h (struct ip6_mtuinfo): Define. - Mark inet6_option_* interfaces as deprecated. - Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, - inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, - inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, - inet6_rth_segments, and inet6_rth_getaddr. - * inet/inet6_opt.c: New file. - * inet/inet6_rth.c: New file. - - * inet/netinet/icmp6.h: Pretty printing. - - [BZ #2683] - * elf/dl-addr.c (_dl_addr): Don't match undefined references. - -2006-05-23 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of - doing it all here. When server does not know the answer do not - fail immediate, try parent first. - - * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer - overflow test. - -2006-05-20 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_call.c (__prepare_niscall): New function. Split out - from __do_niscall. - * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request - and exported. - (__follow_path): New function. Split out from nis_list. - * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and - _xdr_nis_result. - * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and - _xdr_nis_result. - * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, - and __follow_path. - * nis/Versions: Export __prepare_niscall, __create_ib_request, - __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result - from libnsl for version GLIBC_PRIVATE. - * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. - Remove entry parameter from _nss_nisplus_parse_pwent and - _nss_nisplus_parse_grent. - * nis/nss_nisplus/nisplus-parser.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ - again. Rewrite getpwent handling to not use nis_first_entry and - nis_next_entry. Roll out own niscall handling. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - - * sunrpc/xdr_rec.c: Fix typo in comment. - -2006-05-19 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_call.c (__do_niscall3): Avoid code duplication in error - handling. - - * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc - to allocate memory for my_pollfd. Better initialization of - cb_is_running. Use TEMP_FAILURE_RETRY. - - * malloc/memusage.sh (memusageso): Add quotes. - (memusagestat): Likewise. - * debug/xtrace.sh (pcprofileso): Likewise. - (pcprofiledump): Likewise. - * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR - replacement. - * malloc/Makefile ($(objpfx)memusage): Likewise. - - * nis/nis_callback.c (__nis_create_callback): Calls to - svcudp_bufcreate and svctcp_create can fail. Free ->xprt if - asprintf call fails. - - * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure - no uninitialized memory is passed to sendto. - -2006-05-18 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_callback.c (__nis_create_callback): Use asprinf instead - of snprintf+strdup. Handle OOM. - * nis/nis_callback.c (__nis_create_callback): Allocate cb and - cb->serv together. Remove now obsolete free calls. - (__nis_destroy_callback): Remove now obsolete free call. - -2006-05-18 David Woodhouse <dwmw2@redhat.com> - - * sysdeps/posix/getaddrinfo.c: Add unique labels to the default - RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local - and ULA respectively). Set precedence for IPv4 address to 10 as - defined in RFC3484 for preferring IPv6. - * posix/gai.conf: Update to match the new default tables. - -2006-05-18 Jakub Jelinek <jakub@redhat.com> - - * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent - returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. - * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. - * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. - - * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): - Removed. - (init_nss_interface): Remove initialization of these variables. - -2006-05-18 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_call.c (rec_dirsearch): Little optimization: pull - nis_free_directory forward to avoid duplication. - -2006-05-17 Ulrich Drepper <drepper@redhat.com> - - * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and - rec_dirsearch returning NULL. - (first_shoot): Handle __nis_finddirectory returning NULL. - (__nisfind_server): Fix leak when rec_dirsearch returns NULL. - - * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, - IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. - -2006-05-17 Jakub Jelinek <jakub@redhat.com> - - * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if - pid changed. - -2006-05-15 Ulrich Drepper <drepper@redhat.com> - - * include/rpc/pmap_prot.h: Mark all functions as hidden. - - * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. - * nscd/nscd_getgr_r.c: Likewise. - - * include/rpc/pmap_rmt.h: Mark all functions as hidden. - - * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. - * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. - - * stdlib/longlong.h (__clz_tab): Mark as hidden. - - * iconv/gconv_int.h: Mark __gconv_lock as hidden. - - * include/rpc/key_prot.h: Mark all _internal functions as hidden. - - * include/rpc/auth.h: Mark xdr_des_block_internal and - xdr_opaque_auth_internal as hidden. - - * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as - hidden. - - * include/rpc/xdr.h: Mark all _internal functions as hidden. - - * misc/getusershell.c (okshells): Don't use static initializers, - do it dynamically. - - * stdlib/fmtmsg.c (keywords): Change type of len element to - uint32_t to not waste space on 64bit machines. - - * locale/setlocale.c: Change _nl_category_names into a string. - Add new _nl_category_name_idxs. Change all users. - * locale/localeinfo.h: Adjust declaration of _nl_category_names. - Declare _nl_category_name_idxs. - * locale/findlocale.c: Adjust for _nl_category_names change. - * locale/loadlocale.c: Likewise. - * locale/newlocale.c: Likewise. - * intl/dcigettext.c: Likewise. - - * iconv/gconv_conf.c (add_alias): Move actual alias handling to... - (add_alias2): ...here. New function. - (__gconv_read_conf): Simplify builtin alias handling. - (builtin_aliases): Convert to string to avoid relocations. - * iconv/gconv_builtin.h: Add comment about correct formatting. - -2006-05-15 Jakub Jelinek <jakub@redhat.com> - - * resolv/res_debug.c (loc_ntoa): Make error const. - -2006-05-14 Andreas Schwab <schwab@suse.de> - - * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. - -2006-05-12 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. - (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than - sizeof (cpu_set_t). - -2006-05-11 Ulrich Drepper <drepper@redhat.com> - - * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. - - * include/arpa/nameser.h: Declare _ns_flagdata as hidden. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. - - * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. - * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for - xdr_cback_data. - - * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. - * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for - xdr_ypupdate_args. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. - - * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. - * include/rpcsvc/nis_callback.h: New file. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. - - * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. - * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. - - * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. - * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for - xdr_ypdelete_args. - - * nis/nis_xdr.h: Mark all functions as hidden. Remove - __BEGIN_DECLS and __END_DECLS, the header is not installed. - - * nis/nis_error.c: Remove table of strings. Use position - independent mechanism. - * nis/nis_error.h: New file. - -2006-05-11 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/ld-time.c (time_finish): If wide era name or - format aren't provided, set both wname and wformat to L"". - -2006-05-10 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store - results if the call was succesful. - - * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. - - * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count - as hidden. - -2006-05-10 Jakub Jelinek <jakub@redhat.com> - - * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. - -2006-05-10 Ulrich Drepper <drepper@redhat.com> - - * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the - caller makes sure this is not the case. - (wordexp): Simplify ifs_white creation. [Coverity CID 231] - -2006-05-09 Ulrich Drepper <drepper@redhat.com> - - * posix/wordexp.c: Remove numerous NULL pointer tests before FREE - calls. - - * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. - [Coverity CID 229, 230] - - * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and - DGETTEXT calls. - (hol_help): Likewise. [Coverity CID 226, 227] - - * string/argz-replace.c (__argz_replace): Unconditionally call - free on SRC. [Coverity CID 225] - - * nis/nis_creategroup.c (nis_creategroup): No need to duplicate - the return value of __nis_default_owner and __nis_default_group, - it has been especially allocated. [Coverity CID 224] - - * nis/nis_defaults.c (searchXYX): New functions. Used by both - searchgroup and searchowner. Significantly simplified. - (__nis_default_owner): Remove duplication. Do not locally copy the - string before duplicating it. - (__nis_default_group): Likewise. - - * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, - we must clear the variable before calling __nisfind_server. - - * nis/nis_lookup.c (nis_lookup): Always free memory allocated with - nis_getnames. [Coverity CID 223] - - * locale/programs/locfile.c (locfile_read): Use alloca instead of - xmalloc to allocate local repertoire name. [Coverity CID 222] - - * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically - allocate memory for the input to add_bytes. [Coverity CID 221] - - * posix/wordexp.c (w_addword): Free word if realloc fails and it - was allocated here. [Coverity CID 219, 220] - - * posix/getconf.c (print_all): Free confstr data after printing. - [Coverity CID 218] - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if - list allocation fails. [Coverity CID 215] - - * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. - [Coverity CID 213] - - * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if - string is NULL. [Coverity CID 212] - * argp/Makefile: Add rules to build and run bug-argp1. - * argp/bug-argp1.c: New file. - - * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find - end of string. - * stdlib/canonicalize.c (__realpath): Likewise. - - * locale/programs/ld-time.c (time_finish): Don't dereference NULL - pointer. [Coverity CID 206] - - * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map - in statically linked code. - * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in - statically built code, be prepared to have no link map. - [Coverity CID 205] - - * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in - dgettext calls. [Coverity CID 204] - - * argp/argp-help.c (struct uparams): Remove valid member. Change - the one user. - (uparam_names): Reduce size. Avoid relative relocations. - Moved to read-only segment. - (fill_in_uparams): Update for new layout. - - * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be - assumed to always be != NULL. [Coverity CID 202] - - * argp/argp-help.c (hol_entry_help): Remove some dead code - [Coverity CID 200]. - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize - away a few more unconditional yperr2nss calls. - (_nss_nis_getservbyname_r): Likewise. - -2006-05-06 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/ldsodefs.h: Remove support for non-core - architectures. - - * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure - that unused memory passed to sendto is nevertheless initialized. - - [BZ #2499] - * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid - possibly unaligned memory accesses. - - * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. - * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort - and __putlong respectively. Correct buffer overflow check for - NS_NOTIFY_OP. - - * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. - - * resolv/res_send.c (res_queriesmatch): Fix typo in comment. - (send_dg): Rewrite error handling to be more compact and avoid - double recomputation of timeouts. Pass MSG_NOSIGNAL to send. - - * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. - - * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly - instead of ns_get16. - (res_queriesmatch): Likewise. Minor optimization. - - [BZ #2499] - * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, - __libc_res_nsend might reallocate the buffer for the answer. In - this case we have to reload the HP pointer. - -2006-05-05 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfscanf.c (memory_error): Remove definition. Add - some branch prediction hints. - - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - -2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation - by a GOT relocation to make Scrt1.o position independent. - * sysdeps/s390/s390-64/elf/start.S: Likewise. - - * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for - six system call parameters. - * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. - -2006-05-05 Ulrich Drepper <drepper@redhat.com> - - * sunrpc/svcauth_des.c (cache_init): Use calloc instead of - malloc&bzero. - - * sunrpc/svc_udp.c (BZERO): Remove definition. - (CALLOC): Define. - (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. - - * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. - (des_SPtrans): Use uint32_t type. - (des_skb): Likewise. - - * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. - -2006-05-05 Jakub Jelinek <jakub@redhat.com> - - [BZ #2509] - * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even - on 32-bit arches. +2004-12-29 Jakub Jelinek <jakub@redhat.com> + + [BZ #592] + * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use + libc_hidden_proto instead of HIDDEN_PROTO. + * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove. + (__libm_error_support): If ASSEMBLER and in libc, define to + HIDDEN_JUMPTARGET(__libm_error_support). + +2004-12-28 David Mosberger <davidm@hpl.hp.com> + + [BZ #592] + * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro. + (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l} + with $(duplicated-routines). + (libm-sysdep_routines): Likewise, but substitute "s_" prefix for + "m_" prefix. + +2004-12-27 David Mosberger <davidm@hpl.hp.com> + + [BZ #592] + * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and + undefine "ret" macro. Add __libm_error_support hidden definitions. + + [BZ #592] + * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add + missing portion of copyright statement. + * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add + missing portion of copyright statement. + (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias. + (__ieee754_gamma): Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + +2004-12-09 H.J. Lu <hjl@lucon.org> + + [BZ #592] + * sysdeps/ia64/fpu/s_nextafterl.c: Remove. + * sysdeps/ia64/fpu/s_nexttoward.c: Likewise. + * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise. + * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c). + * sysdeps/ia64/fpu/e_expl.S: Likewise. + * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S). + +2004-11-18 David Mosberger <davidm@hpl.hp.com> + + [BZ #592] + * sysdeps/ia64/fpu/README: New file. + * sysdeps/ia64/fpu/gen_import_file_list: New file. + * sysdeps/ia64/fpu/import_check: Likewise. + * sysdeps/ia64/fpu/import_diffs: Likewise. + * sysdeps/ia64/fpu/import_file.awk: Likewise. + * sysdeps/ia64/fpu/import_intel_libm: Likewise. + * sysdeps/ia64/fpu/libm-symbols.h: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+. + * sysdeps/ia64/fpu/e_acosf.S: Likewise. + * sysdeps/ia64/fpu/e_acosl.S: Likewise. + * sysdeps/ia64/fpu/e_asin.S: Likewise. + * sysdeps/ia64/fpu/e_asinf.S: Likewise. + * sysdeps/ia64/fpu/e_asinl.S: Likewise. + * sysdeps/ia64/fpu/e_atan2.S: Likewise. + * sysdeps/ia64/fpu/e_atan2f.S: Likewise. + * sysdeps/ia64/fpu/e_cosh.S: Likewise. + * sysdeps/ia64/fpu/e_coshf.S: Likewise. + * sysdeps/ia64/fpu/e_coshl.S: Likewise. + * sysdeps/ia64/fpu/e_exp.S: Likewise. + * sysdeps/ia64/fpu/e_expf.S: Likewise. + * sysdeps/ia64/fpu/e_fmod.S: Likewise. + * sysdeps/ia64/fpu/e_fmodf.S: Likewise. + * sysdeps/ia64/fpu/e_fmodl.S: Likewise. + * sysdeps/ia64/fpu/e_hypot.S: Likewise. + * sysdeps/ia64/fpu/e_hypotf.S: Likewise. + * sysdeps/ia64/fpu/e_hypotl.S: Likewise. + * sysdeps/ia64/fpu/e_log.S: Likewise. + * sysdeps/ia64/fpu/e_log2.S: Likewise. + * sysdeps/ia64/fpu/e_log2f.S: Likewise. + * sysdeps/ia64/fpu/e_log2l.S: Likewise. + * sysdeps/ia64/fpu/e_logf.S: Likewise. + * sysdeps/ia64/fpu/e_pow.S: Likewise. + * sysdeps/ia64/fpu/e_powf.S: Likewise. + * sysdeps/ia64/fpu/e_powl.S: Likewise. + * sysdeps/ia64/fpu/e_remainder.S: Likewise. + * sysdeps/ia64/fpu/e_remainderf.S: Likewise. + * sysdeps/ia64/fpu/e_remainderl.S: Likewise. + * sysdeps/ia64/fpu/e_scalb.S: Likewise. + * sysdeps/ia64/fpu/e_scalbf.S: Likewise. + * sysdeps/ia64/fpu/e_scalbl.S: Likewise. + * sysdeps/ia64/fpu/e_sinh.S: Likewise. + * sysdeps/ia64/fpu/e_sinhf.S: Likewise. + * sysdeps/ia64/fpu/e_sinhl.S: Likewise. + * sysdeps/ia64/fpu/e_sqrt.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtf.S: Likewise. + * sysdeps/ia64/fpu/e_sqrtl.S: Likewise. + * sysdeps/ia64/fpu/libm_error.c: Likewise. + * sysdeps/ia64/fpu/libm_reduce.c: Likewise. + * sysdeps/ia64/fpu/libm_support.h: Likewise. + * sysdeps/ia64/fpu/s_atan.S: Likewise. + * sysdeps/ia64/fpu/s_atanf.S: Likewise. + * sysdeps/ia64/fpu/s_atanl.S: Likewise. + * sysdeps/ia64/fpu/s_cbrt.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtf.S: Likewise. + * sysdeps/ia64/fpu/s_cbrtl.S: Likewise. + * sysdeps/ia64/fpu/s_ceil.S: Likewise. + * sysdeps/ia64/fpu/s_ceilf.S: Likewise. + * sysdeps/ia64/fpu/s_ceill.S: Likewise. + * sysdeps/ia64/fpu/s_cos.S: Likewise. + * sysdeps/ia64/fpu/s_cosf.S: Likewise. + * sysdeps/ia64/fpu/s_cosl.S: Likewise. + * sysdeps/ia64/fpu/s_expm1.S: Likewise. + * sysdeps/ia64/fpu/s_expm1f.S: Likewise. + * sysdeps/ia64/fpu/s_expm1l.S: Likewise. + * sysdeps/ia64/fpu/s_fabs.S: Likewise. + * sysdeps/ia64/fpu/s_fabsf.S: Likewise. + * sysdeps/ia64/fpu/s_fabsl.S: Likewise. + * sysdeps/ia64/fpu/s_floor.S: Likewise. + * sysdeps/ia64/fpu/s_floorf.S: Likewise. + * sysdeps/ia64/fpu/s_floorl.S: Likewise. + * sysdeps/ia64/fpu/s_frexp.c: Likewise. + * sysdeps/ia64/fpu/s_frexpf.c: Likewise. + * sysdeps/ia64/fpu/s_frexpl.c: Likewise. + * sysdeps/ia64/fpu/s_ilogb.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbf.S: Likewise. + * sysdeps/ia64/fpu/s_ilogbl.S: Likewise. + * sysdeps/ia64/fpu/s_log1p.S: Likewise. + * sysdeps/ia64/fpu/s_log1pf.S: Likewise. + * sysdeps/ia64/fpu/s_log1pl.S: Likewise. + * sysdeps/ia64/fpu/s_logb.S: Likewise. + * sysdeps/ia64/fpu/s_logbf.S: Likewise. + * sysdeps/ia64/fpu/s_logbl.S: Likewise. + * sysdeps/ia64/fpu/s_modf.S: Likewise. + * sysdeps/ia64/fpu/s_modff.S: Likewise. + * sysdeps/ia64/fpu/s_modfl.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyint.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise. + * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise. + * sysdeps/ia64/fpu/s_rint.S: Likewise. + * sysdeps/ia64/fpu/s_rintf.S: Likewise. + * sysdeps/ia64/fpu/s_rintl.S: Likewise. + * sysdeps/ia64/fpu/s_round.S: Likewise. + * sysdeps/ia64/fpu/s_roundf.S: Likewise. + * sysdeps/ia64/fpu/s_roundl.S: Likewise. + * sysdeps/ia64/fpu/s_significand.S: Likewise. + * sysdeps/ia64/fpu/s_significandf.S: Likewise. + * sysdeps/ia64/fpu/s_significandl.S: Likewise. + * sysdeps/ia64/fpu/s_tan.S: Likewise. + * sysdeps/ia64/fpu/s_tanf.S: Likewise. + * sysdeps/ia64/fpu/s_tanl.S: Likewise. + * sysdeps/ia64/fpu/s_trunc.S: Likewise. + * sysdeps/ia64/fpu/s_truncf.S: Likewise. + * sysdeps/ia64/fpu/s_truncl.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+. + * sysdeps/ia64/fpu/e_acoshf.S: Likewise. + * sysdeps/ia64/fpu/e_acoshl.S: Likewise. + * sysdeps/ia64/fpu/e_atanh.S: Likewise. + * sysdeps/ia64/fpu/e_atanhf.S: Likewise. + * sysdeps/ia64/fpu/e_atanhl.S: Likewise. + * sysdeps/ia64/fpu/e_exp10.S: Likewise. + * sysdeps/ia64/fpu/e_exp10f.S: Likewise. + * sysdeps/ia64/fpu/e_exp10l.S: Likewise. + * sysdeps/ia64/fpu/e_exp2.S: Likewise. + * sysdeps/ia64/fpu/e_exp2f.S: Likewise. + * sysdeps/ia64/fpu/e_exp2l.S: Likewise. + * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise. + * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise. + * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise. + * sysdeps/ia64/fpu/e_logl.S: Likewise. + * sysdeps/ia64/fpu/libm_frexp.S: Likewise. + * sysdeps/ia64/fpu/libm_frexpf.S: Likewise. + * sysdeps/ia64/fpu/libm_frexpl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise. + * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise. + * sysdeps/ia64/fpu/libm_lgamma.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise. + * sysdeps/ia64/fpu/libm_lgammal.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos.S: Likewise. + * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosf.S: Likewise. + * sysdeps/ia64/fpu/libm_sincosl.S: Likewise. + * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise. + * sysdeps/ia64/fpu/s_asinh.S: Likewise. + * sysdeps/ia64/fpu/s_asinhf.S: Likewise. + * sysdeps/ia64/fpu/s_asinhl.S: Likewise. + * sysdeps/ia64/fpu/s_erf.S: Likewise. + * sysdeps/ia64/fpu/s_erfc.S: Likewise. + * sysdeps/ia64/fpu/s_erfcf.S: Likewise. + * sysdeps/ia64/fpu/s_erfcl.S: Likewise. + * sysdeps/ia64/fpu/s_erff.S: Likewise. + * sysdeps/ia64/fpu/s_erfl.S: Likewise. + * sysdeps/ia64/fpu/s_fdim.S: Likewise. + * sysdeps/ia64/fpu/s_fdimf.S: Likewise. + * sysdeps/ia64/fpu/s_fdiml.S: Likewise. + * sysdeps/ia64/fpu/s_fma.S: Likewise. + * sysdeps/ia64/fpu/s_fmaf.S: Likewise. + * sysdeps/ia64/fpu/s_fmal.S: Likewise. + * sysdeps/ia64/fpu/s_fmax.S: Likewise. + * sysdeps/ia64/fpu/s_fmaxf.S: Likewise. + * sysdeps/ia64/fpu/s_fmaxl.S: Likewise. + * sysdeps/ia64/fpu/s_ldexp.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpf.c: Likewise. + * sysdeps/ia64/fpu/s_ldexpl.c: Likewise. + * sysdeps/ia64/fpu/s_nextafter.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterf.S: Likewise. + * sysdeps/ia64/fpu/s_nextafterl.S: Likewise. + * sysdeps/ia64/fpu/s_nexttoward.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise. + * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise. + * sysdeps/ia64/fpu/s_tanh.S: Likewise. + * sysdeps/ia64/fpu/s_tanhf.S: Likewise. + * sysdeps/ia64/fpu/s_tanhl.S: Likewise. + * sysdeps/ia64/fpu/s_scalblnf.c: Likewise. + * sysdeps/ia64/fpu/w_lgamma.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal.c: Likewise. + * sysdeps/ia64/fpu/w_tgamma.S: Likewise. + * sysdeps/ia64/fpu/w_tgammaf.S: Likewise. + * sysdeps/ia64/fpu/w_tgammal.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file. + * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise. + * sysdeps/ia64/fpu/e_gammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_acosh.c: Likewise. + * sysdeps/ia64/fpu/w_acoshf.c: Likewise. + * sysdeps/ia64/fpu/w_acoshl.c: Likewise. + * sysdeps/ia64/fpu/w_atanh.c: Likewise. + * sysdeps/ia64/fpu/w_atanhf.c: Likewise. + * sysdeps/ia64/fpu/w_atanhl.c: Likewise. + * sysdeps/ia64/fpu/w_exp10.c: Likewise. + * sysdeps/ia64/fpu/w_exp10f.c: Likewise. + * sysdeps/ia64/fpu/w_exp10l.c: Likewise. + * sysdeps/ia64/fpu/w_exp2.c: Likewise. + * sysdeps/ia64/fpu/w_exp2f.c: Likewise. + * sysdeps/ia64/fpu/w_exp2l.c: Likewise. + * sysdeps/ia64/fpu/w_expl.c: Likewise. + * sysdeps/ia64/fpu/e_expl.S: Likewise. + * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise. + * sysdeps/ia64/fpu/w_log2.c: Likewise. + * sysdeps/ia64/fpu/w_log2f.c: Likewise. + * sysdeps/ia64/fpu/w_log2l.c: Likewise. + * sysdeps/ia64/fpu/w_sinh.c: Likewise. + * sysdeps/ia64/fpu/w_sinhf.c: Likewise. + * sysdeps/ia64/fpu/w_sinhl.c: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove. + * sysdeps/ia64/fpu/s_ldexp.S: Likewise. + * sysdeps/ia64/fpu/s_ldexpf.S: Likewise. + * sysdeps/ia64/fpu/s_ldexpl.S: Likewise. + * sysdeps/ia64/fpu/s_scalbn.S: Likewise. + * sysdeps/ia64/fpu/s_scalbnf.S: Likewise. + * sysdeps/ia64/fpu/s_scalbnl.S: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file. + * sysdeps/ia64/fpu/s_sincosf.c: Likewise. + * sysdeps/ia64/fpu/s_sincosl.c: Likewise. + + [BZ #592] + * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment. + + [BZ #592] + * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l} + alias for use by libm_error.c + + [BZ #592] + * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove + libm_atan2_reg, libm_tan, libm_frexp4{f,l}. + Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l}, + libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l}, + libm_scalbn{,f,l}, libm_scalblnf. + (sysdep_routines): Remove libm_frexp4{,f,l}. + Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}. + (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__, + _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and + -DSIZE_LONG_LONG_INT_64. + +2005-01-05 Steven Munroe <sjmunroe@us.ibm.com> + + [BZ #729] + * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and + l_text_end are set for a VDSO with a single PT_LOAD entry. + +2005-01-05 Ulrich Drepper <drepper@redhat.com> + + [BZ #730] + * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as + invalid to disable optimizations in fileops which won't work here. + (_IO_cookie_jumps): Use it. + (_IO_old_cookie_jumps): Likewise. + * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P, + not the return value. + * stdio-common/Makefile (tests): Add tst-fmemopen2. + * stdio-common/tst-fmemopen2.c: New file. + + * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD. + +2005-01-05 Roland McGrath <roland@redhat.com> + + * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ... + * sysdeps/i386/configure.in: ... here. New file. + +2005-01-03 Ulrich Drepper <drepper@redhat.com> + + [BZ #727] + * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't + initialize __environ again. + * stdlib/Makefile: Add rules to build and run tst-putenv. + * stdlib/tst-putenv.c: New file. + * stdlib/tst-putenvmod.c: New file. + + * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't + define unnecessary wrappers or aliases of static functions. + +2005-01-03 Andreas Jaeger <aj@suse.de> + + * csu/Makefile (generated): Add start.os and start.ob. + + * elf/Makefile (tests): Change rule for tst-pie1 so that make + clean works. + +2004-12-29 Roland McGrath <roland@redhat.com> + + [BZ #626] + * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather + than always up; when nearest is zero, round up to one. + +2004-12-28 Ulrich Drepper <drepper@redhat.com> + + * po/es.po: Update from translation team. + + [BZ #726] + * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo. -2006-05-05 Ulrich Drepper <drepper@redhat.com> +2004-12-27 Ulrich Drepper <drepper@redhat.com> - * locale/programs/ld-address.c (address_finish): Fix one more - place where the iso639 array might be accessed beyond the limits. + [BZ #744] + * include/signal.h: Define __sigemptyset. -2006-05-04 Ulrich Drepper <drepper@redhat.com> +2004-04-27 Paolo Bonzini <bonzini@gnu.org> - * nis/nis_table.c (nis_list): Avoid clearing res twice before - filling it for the first time. + * posix/regex_internal.h (struct re_dfastate_t): Make + word_trtable a pointer to the 512-item transition table. + * posix/regexec.c (build_trtable): Fill in either state->trtable + or state->word_trtable. Return a boolean indicating success. + (transit_state): Expect state->trtable to be a 256-item + transition table. Reorganize code to have less tests in + the common case, and to save an indentation level. + * posix/regex_internal.c (free_state): Free word_trtable. - * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. - Adjust all callers. - Free res object content before returning. +2004-12-21 Jakub Jelinek <jakub@redhat.com> - * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. + [BZ #723] + * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when + calling fn is 16 byte aligned. + * sysdeps/i386/tst-stack-align.h: New file. - * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free - client->cl_auth. + [BZ #725] + * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. + (ecvt_r): Special case denormals. + * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. + * misc/tst-efgcvt.c: Include float.h. + (ecvt_tests): Add 2 new tests. - * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire - cleanup for initial thread, just the free call on TVP. +2004-12-20 Roland McGrath <roland@frob.com> - * nscd/gai.c (__getline): Define. + * version.h (RELEASE, VERSION): development, 2.3.90 + * include/features.h (__GLIBC_MINOR__): Now 4. -See ChangeLog.16 for earlier changes. +See ChangeLog.15 for earlier changes. |