aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-04-07Update.Ulrich Drepper
2000-04-07 Ulrich Drepper <drepper@redhat.com> * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value element a union to allow byte access. * iconvdata/iso-2022-cn.c: Adjust for change of element name in mbstate_t. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise.
2000-04-07Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux kernel does not allow relative seeks on descriptors associated with directories. Go back to get the position in the directory every time we enter the function. Return -1 and set errno if one entry could be read from the kernel but does not fit into the buffer passed in by the user.
2000-04-07Update.Ulrich Drepper
2000-04-06 Ulrich Drepper <drepper@redhat.com> * locale/programs/charmap.c (charmap_new_char): Add parameter step. Support ..(2).. ellipsis. (parse_charmap): Recognize ..(2).. etc and pass step down. Correctly generate names for UCS4 characters. * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step. (ctype_finish): We know the wide character value for <SP>, don't search. (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis. (charclass_ucs4_ellipsis): Likewise. (read_translit_ignore_entry): Store ellipsis step. (ctype_read): Recognize ..(2).. etc and pass step down. * locale/programs/linereader.c (lr_token): When seeing comment character ignore only rest of line in sources but stop at escaped newline. Recognize ..(2).. and ....(2)..... * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2 and tok_ellipsis4_2.
2000-04-06Update.Ulrich Drepper
2000-04-06 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been removed, remove it here also. * sysdeps/unix/sysv/linux/arm/Dist: Likewise. * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. 2000-04-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't include bits/sigcontext.h. * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2000-04-06Update.Ulrich Drepper
* locale/programs/ld-collate.c (collate_read): Handle ellipsis in collation symbol definition. Value in quivalence definition must be defined, don't check that it is not.
2000-04-06Update.Ulrich Drepper
2000-04-06 Ulrich Drepper <drepper@redhat.com> * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx> values as character names. * locale/programs/ld-ctype.c (get_character): Handle missing repertoire map correctly.
2000-04-06Update.Ulrich Drepper
2000-04-05 Cristian Gafton <gafton@redhat.com> * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ because it is used in generic code. * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. * wcsmbs/wcwidth.h: Declare __ctype32_b. * intl/gettext.c: Include <locale.h>. * intl/ngettext.c: Likewise. 2000-04-05 Jakub Jelinek <jakub@redhat.com> * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use socklen_t type for size. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new init function interface. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include sys/ucontext.h. (__jmp_buf): Declare the whole type structure here, don't use ucontext. * iconv/skeleton.c (put16u): Fix typo. Reported by Bruno Haible <haible@ilog.fr>.
2000-04-06Update.Ulrich Drepper
2000-04-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore. * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise. * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid. * Makefile (distribute): Add abi-versions.awk and firstversions.awk. Patches by Torsten Duwe <duwe@caldera.de>.
2000-04-05Update.Ulrich Drepper
* nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o. 2000-04-05 Andreas Schwab <schwab@suse.de>
2000-04-05($(objpfx)makedb): Move $(libdl) after db-open.o.Ulrich Drepper
2000-04-05* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_userAndreas Schwab
entry point, used on Hurd.
2000-04-05* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user Andreas Schwab
entry point, used on Hurd.
2000-04-05Update.Ulrich Drepper
2000-04-04 Andreas Jaeger <aj@suse.de> * intl/Makefile: Only run the gettext test with shared libraries.
2000-04-05Update.Ulrich Drepper
2000-03-16 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. 2000-03-16 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
2000-04-05(prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.Ulrich Drepper
2000-04-05* Makeconfig: Undo last change.Roland McGrath
* configure.in: If --disable-shared was given, don't set VERSIONING, don't define DO_VERSIONING, and don't give scare warning for no versioning. * configure: Regenerated.
2000-04-05* Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.Roland McGrath
2000-04-052000-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
2000-04-05Update.Ulrich Drepper
2000-04-04 Andreas Jaeger <aj@suse.de> * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
2000-04-04Update.Ulrich Drepper
* elf/dl-runtime.c (fixup): Correct handling of symbols marked STV_HIDDEN and STV_INTERNAL during lookup. (profile_fixup): Likewise. * elf/dl-reloc.c (RESOLVE): Likewise.
2000-04-04Update.Ulrich Drepper
2000-04-04 Ulrich Drepper <drepper@redhat.com> * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of unaligned so that it compiles for system which need unaligned access handling.
2000-04-04Update.Ulrich Drepper
* elf/cache.c (print_entry): Only look at the type field when printing the type. 2000-04-04 Andreas Schwab <schwab@suse.de> * iconvdata/big5.c (BODY): Fix typo. 2000-04-04 Andreas Schwab <schwab@suse.de>
2000-04-04(BODY): Fix typo.Ulrich Drepper
2000-04-04* sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new initAndreas Schwab
function interface. Remove unused _dl_start_user entry point.
2000-04-04* sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init Andreas Schwab
function interface. Remove unused _dl_start_user entry point.
2000-04-04Update.Ulrich Drepper
2000-04-03 Andreas Jaeger <aj@suse.de> * include/arpa/inet.h (__inet_aton): Add protoype.
2000-04-04Update.Ulrich Drepper
2000-04-01 Andreas Jaeger <aj@suse.de> * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. * sysdeps/mach/mips/thread_state.h: Likewise. * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. * sysdeps/generic/fegetenv.c: Likewise. * sysdeps/generic/fesetenv.c: Likewise. * sysdeps/generic/feupdateenv.c: Likewise. * sysdeps/generic/fraiseexcpt.c: Likewise. * sysdeps/generic/fsetexcptflg.c: Likewise. * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. * sysdeps/unix/sysv/linux/errlist.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. 2000-04-02 H.J. Lu <hjl@gnu.org> * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
2000-04-03Update.Ulrich Drepper
* elf/dl-load.c (_dl_dst_substitute): Pretty print comment. (add_name_to_object): Add cast in malloc call. (fillin_rpath): Optimize loop to initialize ->status a bit.
2000-04-03Update.Ulrich Drepper
* sysdeps/i386/dl-machine.h: Undo last change. * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT): Restore %edx register after call here.
2000-04-03Update.Ulrich Drepper
2000-04-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/arm/atomicity.h: New file. Contributed by Jesper Skov <jskov@redhat.com>.
2000-04-03Atomic operations for Arm.Ulrich Drepper
2000-04-03* Makeconfig (preprocess-versions): Undo last change.Roland McGrath
Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
2000-04-03* sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environRoland McGrath
here, before we might move the stack. (posixland_init): Set __libc_argc, __libc_argc, and __environ here. (init1): And not here. * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last change, to restore argc value in call-clobbered register after RTLD_START_SPECIAL_INIT, which will contain a call. * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for allocating and initializing L->l_initfini. * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
2000-04-032000-04-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ here, before we might move the stack. (posixland_init): Set __libc_argc, __libc_argc, and __environ here. (init1): And not here.
2000-04-03Update.Ulrich Drepper
2000-04-03 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing RUNPATH, RPATH, and LD_LIBRARY_PATH. (open_path): Change type of fourth parameter. Make pointer to array of pointers. Create variable dirs with original type. Track whether any directory for the object exists and if not, change *DIRSP to (void*) -1 to signal there is no such search path. (_dl_map_object): Change all calls of open_path. Rewrite decompose_rpath calls.
2000-04-03Update.Ulrich Drepper
2000-03-31 Andreas Schwab <schwab@suse.de> * string/strfry.c: Declare STATE as array of char instead of int and do not initialize it (done by initstate_r). Pass correct size. * sysdeps/generic/ldsodefs.h: Fix typo in comment.
2000-04-03Update.Ulrich Drepper
2000-04-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more instruction out of the code.
2000-04-03Update.Ulrich Drepper
2000-04-02 Ulrich Drepper <drepper@redhat.com> * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in element at this position. * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock. * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and l_reldeps elements. * elf/dl-lookup.c (add_dependency): New function. (_dl_lookup_symbol): Use it whenever symbol was found in a global, dynamically loaded object. (_dl_lookup_symbol_skip): Likewise. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_versioned_symbol_skip): Likewise. * elf/dl-open.c: Don't define _dl_load_lock here... * elf/rtld.c: ...but here... * elf/dl-support.c: ...and here. * elf/dl-close.c (_dl_close): Close also dependent objects introduce through relocation. * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through relocations. * dlfcn/Makefile (glrefmain.out): Test is not expected to fail anymore. * dlfcn/glrefmain.c: Add one more debug message. * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler command line. * Makerules (sysd-versions): Use ( ) instead of { }. * elf/dl-load.c: Use __builtin_expect to signal that compiler should optimize for the non-debugging case. * elf/dl-lookup.c: Likewise. * sysdeps/generic/libc-start.c: Likewise.
2000-04-03(glrefmain.out): Test is not expected to fail anymore.Ulrich Drepper
2000-04-02* sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.Roland McGrath
(init1): Don't initialize __environ here, since init already does it. (first_init): New function, broken out of _init. (_hurd_stack_setup): Use it. [SHARED] (_dl_init_first): New function, renamed from old _init. (init1) [SHARED]: Don't call posixland_init here. (posixland_init): Take ENVP arg, so signature is usual for initializer. [SHARED] (_init): Define as alias for posixland_init. [! SHARED] (__libc_first_init): Define as alias for posixland_init. * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro RTLD_START_SPECIAL_INIT before calling initializers. (RTLD_START_SPECIAL_INIT): Define to empty if undefined. * sysdeps/mach/hurd/i386/dl-machine.h: New file. * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function. * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
2000-04-02* stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,Roland McGrath
since we define the function with the name `tmpfile'. * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h. * hurd/Versions: Likewise. * elf/dl-runtime.c (fixup): Fix typo in comment. * resolv/netdb.h (getnameinfo): All length parameters are of type * elf/dl-init.c: Fix typo in comment. anymore, update comment.
2000-04-022000-04-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h. * hurd/Versions: Likewise.
2000-04-02Update.Ulrich Drepper
* elf/dl-runtime.c (ElfW): Fxi typo in comment.
2000-04-02Update.Ulrich Drepper
2000-04-02 Ulrich Drepper <drepper@redhat.com> * resolv/netdb.h (getnameinfo): All lenght parameters are of type socklen_t. * inet/getnameinfo.c: Likewise.
2000-04-02Update.Ulrich Drepper
* posix/unistd.h (socklen_t): Define if it has not yet happened. (gethostname): Change type of second parameter to socklen_t. * include/unistd.h (__gethostname): Change type of second parameter to socklen_t. * sysdeps/generic/gethostname.c (__gethostname): Likewise. * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise. * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname): Likewise. * sysdeps/unix/sysv/linux/gethostname.c: Removed. * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t. Allow definition elsewhere. * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. * sysdeps/generic/bits/types.h: Define __socklen_t. * sysdeps/unix/sysv/aix/bits/types.h: Likewise. * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2000-04-02Update.Ulrich Drepper
* inet/arpa/inet.h (inet_addr): Change return type to in_addr_t. (inet_lnaof): Likewise. (inet_netof): Likewise. (inet_network): Likewise. (inet_aton): Likewise. (inet_makeaddr): Change parameter types to in_addr_t. (inet_neta): Likewise. (inet_ntop): Change type of last parameter to socklen_t. (inet_aton): Only make available if __USE_MISC. (inet_neta): Likewise. (inet_net_ntop): Likewise. (inet_net_pton): Likewise. (inet_nsap_ntoa): Likewise. * inet/in.h: Define in_port_t type. Define in_addr_t type. (struct in_addr): Use in_addr_t in definition. (IN_CLASSA): Use cast to in_addr_t. (IN_CLASSB): Likewise. (IN_CLASSC): Likewise. (IN_CLASSD): Likewise. (IN_EXPERIMENTAL): Likewise. (IN_BADCLASS): Likewise. (INADDR_ANY): Likewise. (INADDR_BROADCAST): Likewise. (INADDR_NONE): Likewise. (INADDR_LOOPBACK): Likewise. (INADDR_UNSPEC_GROUP): Likewise. (INADDR_ALLHOSTS_GROUP): Likewise. (INADDR_ALLRTRS_GROUP): Likewise. (INADDR_MAX_LOCAL_GROUP): Likewise. (struct sockaddr_in): Use in_port_t for sin_port element. (struct sockaddr_in6): Use in_port_t for sin6_port element. Use uint8_t instead of u_int8_t. * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t. Call __inet_aton instead of inet_aton. (__inet_aton): Renamed from inet_aton. Add weak alias under old name. * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC. (innetgr): Likewise. (struct addrinfo): Use socklen_t for ai_addrlen element. * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU, IPV6_RECVERR): New defines.
2000-04-01Update.Ulrich Drepper
* include/netdb.h: Change type of first parameter of __getnetbyaddr_r. * inet/getnetbyad.c: Likewise. * inet/getnetbyad_r.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nssplus_nis/nisplus-network.c: Likewise. * nss/nss_files/files-network.c: Likewise. * resolv/netdb.h: Define uint32_t if not already happened. Include bits/netdb.h. Remove definition of struct netent. Change type of first parameter of getnetbyaddr_r and getnetbyaddr. * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere. * sysdeps/generic/bits/netdb.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
2000-04-01Update.Ulrich Drepper
* dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c. (tests): Add glrefmain. Add rules to build modules and run tests. Ignore result of glrefmain for now since it fails. * dlfcn/glrefmain.c: New file. * dlfcn/glreflib1.c: New file. * dlfcn/glreflib2.c: New file. * test-skeleton.c: Include <string.h> for strsignal prototype.
2000-04-01Update.Ulrich Drepper
* locale/programs/ld-collate.c (check_duplicate): Allow repertoire to be missing.
2000-04-01Update.Ulrich Drepper
2000-04-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/init-first.c (init): Add code from former init-first.h. Initialize __libc_multiple_libcs.