platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Fri, 7 Apr 2000 06:50:46 +0000 (06:50 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Apr 2000 02:38:44 +0000 (02:38 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Apr 2000 20:10:19 +0000 (20:10 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Apr 2000 20:06:57 +0000 (20:06 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Apr 2000 07:42:24 +0000 (07:42 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Apr 2000 05:04:50 +0000 (05:04 +0000)]
Update.

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>.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Apr 2000 04:58:34 +0000 (04:58 +0000)]
Update.

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>.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Apr 2000 16:17:33 +0000 (16:17 +0000)]
Update.

* nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.

2000-04-05  Andreas Schwab  <schwab@suse.de>

24 years ago($(objpfx)makedb): Move $(libdl) after db-open.o.
Ulrich Drepper [Wed, 5 Apr 2000 16:02:55 +0000 (16:02 +0000)]
($(objpfx)makedb): Move $(libdl) after db-open.o.

24 years ago* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
Andreas Schwab [Wed, 5 Apr 2000 11:01:37 +0000 (11:01 +0000)]
* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user

entry point, used on Hurd.

24 years ago* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
Andreas Schwab [Wed, 5 Apr 2000 11:01:20 +0000 (11:01 +0000)]
* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user

entry point, used on Hurd.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Apr 2000 07:40:59 +0000 (07:40 +0000)]
Update.

2000-04-04  Andreas Jaeger  <aj@suse.de>

* intl/Makefile: Only run the gettext test with shared libraries.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Apr 2000 04:41:54 +0000 (04:41 +0000)]
Update.

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 *'.

24 years ago(prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
Ulrich Drepper [Wed, 5 Apr 2000 04:38:31 +0000 (04:38 +0000)]
(prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.

24 years ago* Makeconfig: Undo last change.
Roland McGrath [Wed, 5 Apr 2000 04:04:08 +0000 (04:04 +0000)]
* Makeconfig: Undo last change.

* 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.

24 years ago* Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
Roland McGrath [Wed, 5 Apr 2000 00:48:08 +0000 (00:48 +0000)]
* Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.

24 years ago2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Wed, 5 Apr 2000 00:44:59 +0000 (00:44 +0000)]
2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>

* Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Apr 2000 00:29:26 +0000 (00:29 +0000)]
Update.

2000-04-04  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Apr 2000 23:23:40 +0000 (23:23 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Apr 2000 21:16:13 +0000 (21:16 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Apr 2000 20:57:44 +0000 (20:57 +0000)]
Update.

* 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>

24 years ago(BODY): Fix typo.
Ulrich Drepper [Tue, 4 Apr 2000 20:53:38 +0000 (20:53 +0000)]
(BODY): Fix typo.

24 years ago* sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
Andreas Schwab [Tue, 4 Apr 2000 12:09:19 +0000 (12:09 +0000)]
* sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init

function interface.  Remove unused _dl_start_user entry point.

24 years ago* sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
Andreas Schwab [Tue, 4 Apr 2000 12:08:40 +0000 (12:08 +0000)]
* sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init

function interface.  Remove unused _dl_start_user entry point.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Apr 2000 06:38:32 +0000 (06:38 +0000)]
Update.

2000-04-03  Andreas Jaeger  <aj@suse.de>

* include/arpa/inet.h (__inet_aton): Add protoype.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Apr 2000 06:03:48 +0000 (06:03 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Apr 2000 22:25:08 +0000 (22:25 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Apr 2000 18:20:23 +0000 (18:20 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Apr 2000 18:08:40 +0000 (18:08 +0000)]
Update.

2000-04-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/arm/atomicity.h: New file.
Contributed by Jesper Skov <jskov@redhat.com>.

24 years agoAtomic operations for Arm.
Ulrich Drepper [Mon, 3 Apr 2000 18:06:38 +0000 (18:06 +0000)]
Atomic operations for Arm.

24 years ago* Makeconfig (preprocess-versions): Undo last change.
Roland McGrath [Mon, 3 Apr 2000 18:01:18 +0000 (18:01 +0000)]
* Makeconfig (preprocess-versions): Undo last change.

Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).

24 years ago* sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
Roland McGrath [Mon, 3 Apr 2000 17:13:51 +0000 (17:13 +0000)]
* 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.

* 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.

24 years ago2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 3 Apr 2000 17:13:21 +0000 (17:13 +0000)]
2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>

* 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.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Apr 2000 10:44:36 +0000 (10:44 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Apr 2000 07:15:10 +0000 (07:15 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Apr 2000 07:05:57 +0000 (07:05 +0000)]
Update.

2000-04-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
instruction out of the code.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Apr 2000 03:51:04 +0000 (03:51 +0000)]
Update.

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.

24 years ago(glrefmain.out): Test is not expected to fail anymore.
Ulrich Drepper [Mon, 3 Apr 2000 03:36:11 +0000 (03:36 +0000)]
(glrefmain.out): Test is not expected to fail anymore.

24 years ago* sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
Roland McGrath [Sun, 2 Apr 2000 22:01:23 +0000 (22:01 +0000)]
* sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.

(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.

24 years ago* stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
Roland McGrath [Sun, 2 Apr 2000 20:15:54 +0000 (20:15 +0000)]
* stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,

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.

24 years ago2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 2 Apr 2000 20:15:08 +0000 (20:15 +0000)]
2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>

* mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
* hurd/Versions: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Apr 2000 16:21:24 +0000 (16:21 +0000)]
Update.

* elf/dl-runtime.c (ElfW): Fxi typo in comment.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Apr 2000 08:26:29 +0000 (08:26 +0000)]
Update.

2000-04-02  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h (getnameinfo): All lenght parameters are of type
socklen_t.
* inet/getnameinfo.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Apr 2000 08:05:36 +0000 (08:05 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Apr 2000 03:09:41 +0000 (03:09 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Apr 2000 22:30:22 +0000 (22:30 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Apr 2000 21:49:24 +0000 (21:49 +0000)]
Update.

* 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.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Apr 2000 17:53:24 +0000 (17:53 +0000)]
Update.

* locale/programs/ld-collate.c (check_duplicate): Allow repertoire
to be missing.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Apr 2000 17:43:53 +0000 (17:43 +0000)]
Update.

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.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 20:49:41 +0000 (20:49 +0000)]
Update.

* iconv/loop.c: Undefined `unaligned' before recursive inclusion.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 20:44:49 +0000 (20:44 +0000)]
Update.

* iconv/skeleton.c: Define access macros with u suffix.  Adjust
#if expression for use of unaligned function to the one used in
the definition of these functions.
* iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
(internal_ucs4le_loop_unaligned): New function.

    Ralf Baechle <ralf@uni-koblenz.de>

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 17:09:42 +0000 (17:09 +0000)]
Update.

2000-03-31  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
(tests): Add order.
(module-names): Add dep1, dep2, dep3, and dep4.
Add dependencies for dep* modules and order.
Define rule for order.out which checks the result.
* elf/dep1.c: New file.
* elf/dep2.c: New file.
* elf/dep3.c: New file.
* elf/dep4.c: New file.
* elf/order.c: New file.

* elf/dl-init.c: Fix type in comment.

24 years ago(distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c. (tests): Add order. (module...
Ulrich Drepper [Fri, 31 Mar 2000 17:07:47 +0000 (17:07 +0000)]
(distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c. (tests): Add order. (module-names): Add dep1, dep2, dep3, and dep4. Add dependencies for dep* modules and order. Define rule for order.out which checks the result.

24 years agoUpdate.
Andreas Jaeger [Fri, 31 Mar 2000 12:35:44 +0000 (12:35 +0000)]
Update.

* sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
init function interface.
* sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.

2000-03-31  Andreas Jaeger  <aj@suse.de>

24 years agoUpdate.
Andreas Jaeger [Fri, 31 Mar 2000 11:11:25 +0000 (11:11 +0000)]
Update.

* sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
* sysdeps/mips/fpu/fegetenv.c: Likewise.
* sysdeps/mips/fpu/feupdateenv.c: Likewise.
* sysdeps/mips/fpu/fclrexcpt.c: Likewise.
* sysdeps/mips/fpu/fesetenv.c: Likewise.

24 years agoUpdate.
Andreas Jaeger [Fri, 31 Mar 2000 10:47:17 +0000 (10:47 +0000)]
Update.

* sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
  anymore, update comment.

24 years agoUpdate.
Andreas Jaeger [Fri, 31 Mar 2000 10:22:07 +0000 (10:22 +0000)]
Update.

2000-03-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/shmctl.c: Likewise.

* sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
SHLIB_COMPAT - the struct is always needed.

24 years ago2000-03-31 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 31 Mar 2000 10:21:40 +0000 (10:21 +0000)]
2000-03-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/shmctl.c: Likewise.

* sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
SHLIB_COMPAT - the struct is always needed.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 08:21:01 +0000 (08:21 +0000)]
Update.

2000-03-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
* elf/dl-support.c: Define _dl_starting_up.

* elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
* misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
elements.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 07:24:09 +0000 (07:24 +0000)]
Update.

* elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of
with size of dynamic sectionfunction.
* sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.

* misc/sys/cdefs.h: Don't allow gcc in traditional mode to be
with size of dynamic sectionused.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 07:15:47 +0000 (07:15 +0000)]
Update.

* sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 07:14:42 +0000 (07:14 +0000)]
Update.

* elf/Makefile (dl-routines): Remove preinit.
* elf/Versions: Remove _dl_preinit.
* elf/dl-preinit.c: Removed.  Move content into...
* elf/dl-init.c: ...here.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 07:03:48 +0000 (07:03 +0000)]
Update.

2000-03-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
with size of dynamic sectionelements.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 06:57:36 +0000 (06:57 +0000)]
Update.

2000-03-29  Geoff Clare  <gwc@unisoft.com>

* stdlib/strfmon.c: Corrected problems with the code that
sets default values for [np]_sep_by_space and
[np]_sign_posn; also the new positive/negative alignment
code from the previous patch was not quite right for
[np]_sign_posn = 0.

* localedata/tst-fmon.data: Changes corresponding to the
two sets of fixes made to stdlib/strfmon.c.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 05:50:02 +0000 (05:50 +0000)]
Update.

2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>

* malloc/malloc.c: Declare bit flags UL so that they will not
default to int size when being inverted.

2000-03-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
* sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.

2000-03-29  Andreas Jaeger  <aj@suse.de>,
            Ralf Baechle <ralf@uni-koblenz.de>

* Makeconfig: Introduce new variable SHARED to mark code used in
the shared library.
* elf/dl-close.c: Use it instead of PIC.
* elf/dl-load.c: Likewise.
* elf/dl-open.c: Likewise.
* hurd/geteuids.c: Likewise.
* include/libc-symbols.h: Likewise.
* include/shlib-compat.h: Likewise.
* libio/freopen.c: Likewise.
* linuxthreads/cancel.c: Likewise.
* linuxthreads/pthread.c: Likewise.
* linuxthreads/wrapsyscall.c: Likewise.
* nss/nsswitch.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* sysdeps/arm/init-first.c: Likewise.
* sysdeps/i386/init-first.c: Likewise
* sysdeps/generic/init-first.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* sysdeps/mips/init-first.c: Likewise.
* sysdeps/powerpc/elf/libc-start.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.
* sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
* sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.

* sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 05:16:38 +0000 (05:16 +0000)]
Update.

2000-03-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
Use D_PTR to access relocated entries in l_info.
(elf_machine_rela): Likewise.

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
Likewise.
(elf_machine_rela): Likewise.

* sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
Likewise.
(__elf_machine_fixup_plt): Likewise.
(__process_machine_rela): Likewise.

* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
(elf_machine_rela): Likewise.

* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
(elf_machine_rel): Likewise.

* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
(elf_machine_fixup_plt): Likewise.
(elf_machine_rela): Likewise.

2000-03-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
* sysdeps/unix/sysv/linux/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.

* sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
macros, remove K&R prototypes.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 05:03:53 +0000 (05:03 +0000)]
Update.

2000-03-30  Ulrich Drepper  <drepper@redhat.com>

* posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
(PR libc/1677).

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 04:17:54 +0000 (04:17 +0000)]
Update.

2000-03-30  Andreas Jaeger  <aj@suse.de>

* misc/sys/cdefs.h: Remove K&R support.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 04:10:36 +0000 (04:10 +0000)]
Update.

2000-03-30  Ulrich Drepper  <drepper@redhat.com>

* iconv/skeleton.c: Avoid compiling unaligned versions in some
with size of dynamic sectionmore cases.
* iconv/loop.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Mar 2000 03:44:44 +0000 (03:44 +0000)]
Update.

2000-03-29  Bruno Haible  <haible@clisp.cons.org>

* iconv/loop.c (put16): Remove __const. Fix access index.
(put32): Remove __const. Use uint32_t instead of uint16_t.
* iconv/skeleton.c: Likewise.

24 years ago(put16): Remove __const. Fix access index. (put32): Remove __const. Use uint32_t...
Ulrich Drepper [Fri, 31 Mar 2000 03:43:13 +0000 (03:43 +0000)]
(put16): Remove __const. Fix access index. (put32): Remove __const. Use uint32_t instead of uint16_t.

24 years ago* mach/Versions (libc: GLIBC_2.0)
Roland McGrath [Thu, 30 Mar 2000 19:26:59 +0000 (19:26 +0000)]
* mach/Versions (libc: GLIBC_2.0)

[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
__vm_allocate on this.
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
mutex- and spinlock-related symbols on this.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set.  Lock-related symbols go here instead in this case.
* sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
_cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* hurd/Versions
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
Put them here instead.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set.  Those cthreads symbols go here instead in this case.
* Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.

24 years ago2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 30 Mar 2000 19:26:35 +0000 (19:26 +0000)]
2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>

* mach/Versions (libc: GLIBC_2.0)
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
__vm_allocate on this.
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
mutex- and spinlock-related symbols on this.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set.  Lock-related symbols go here instead in this case.
* sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
_cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* hurd/Versions
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
Put them here instead.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set.  Those cthreads symbols go here instead in this case.
* Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.

24 years agoUpdate.
Ulrich Drepper [Thu, 30 Mar 2000 17:59:33 +0000 (17:59 +0000)]
Update.

* elf/dl-init.c (_dl_init): We don't need to call constructors
recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.

24 years agoUpdate.
Ulrich Drepper [Thu, 30 Mar 2000 16:30:49 +0000 (16:30 +0000)]
Update.

2000-03-30  Ulrich Drepper  <drepper@redhat.com>

Implement dynamic determination of constructor/destructor order in
the dynamic linker.
* elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
(GLIBC_2.2): Add _dl_init.
* elf/dl-close.c: Also call all destructors in FINI_ARRAY.
r_duplist is not anymore allocated separately.  l_initfini is and
therefore free it if necessary.
* elf/dl-deps.c: If a searchlist has to be allocated, put all in one
malloc block.  Otherwise allocate l_initfini list only.
Put dependencies for the object in l_initfini list.
Sort dependencies for the object to be loaded topologically.
* elf/dl-fini.c: Before running the destructors sort the topologically.
* elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
call constructors instead of iterating over the pointers.  Get list of
objects for which to run constructors from l_initfini element. Accept
argc, argv, and env as parameters and pass them to the constructors.
* elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
with size of dynamic section.
* elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
_dl_init_next and calling constructors ourself.
* elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
Take argc, argv, and env as parameters and pass them to the
constructors.  Rewrite to call all constructors and not iterate over
the pointers.
* elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
precompute l_initcount and l_preinitcount.
* elf/link.h (struct link_map): Add l_ldnum member.
Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
l_initcount, and l_preinitcount.  Add l_initfini.
* sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
one for _dl_init.
* sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
function interface.
* sysdeps/unix/sysv/linux/init-first.h: Removed.
* sysdeps/unix/sysv/linux/Dist: Delete file here as well.
* sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
conventions now match.

* sysdeps/generic/libc-start.c: Calling __libc_init_first has no
effect for shared objects.  Don't emit message and call only for
static library.

24 years agoUpdate.
Ulrich Drepper [Wed, 29 Mar 2000 16:06:35 +0000 (16:06 +0000)]
Update.

2000-03-29  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
CSA_Z243.4-1985-1..UCS2.
* iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
ISO-8859-10..UCS2.

24 years agoRenamed to CSA_Z243.4-1985-1..UCS-2BE.
Ulrich Drepper [Wed, 29 Mar 2000 16:03:05 +0000 (16:03 +0000)]
Renamed to CSA_Z243.4-1985-1..UCS-2BE.

24 years agoRemove wildcards from entry for sysdeps/i386/fpu/bits/mathinline.h.
Andreas Jaeger [Wed, 29 Mar 2000 14:18:16 +0000 (14:18 +0000)]
Remove wildcards from entry for sysdeps/i386/fpu/bits/mathinline.h.

(__inline_mathcodeNP): New macro without prototype
(__inline_mathcodeNP2): Likewise.
(__inline_mathcodeNP3): Likewise.
(__inline_mathcodeNP_): Likewise.
(__inline_mathcodeNP2_): Likewise.
(__inline_mathcodeNP3_): Likewise.
(__inline_mathopNP): Likewise.
(__inline_mathop_declNP): Likewise.
(__inline_mathop_declNP_): Likewise.
(fabsf): Likewise.
(fabsl): Likewise.
(__fabsl): Likewise.

24 years agoUpdate.
Andreas Jaeger [Wed, 29 Mar 2000 13:07:51 +0000 (13:07 +0000)]
Update.

* include/unistd.h: Remove duplicate entry for __rmdir.
Remove declaration of __mkdir since __mkdir is declared in
sys/stat.h.

24 years agoUpdate.
Andreas Jaeger [Wed, 29 Mar 2000 12:54:35 +0000 (12:54 +0000)]
Update.

* manual/creature.texi (Feature Test Macros): Fix typo, reported
by Michael Deutschmann <michael@talamasca.ocis.net>.

24 years agoUpdate.
Andreas Jaeger [Wed, 29 Mar 2000 11:19:06 +0000 (11:19 +0000)]
Update.

2000-03-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
* sysdeps/mips/fpu/fegetenv.c: Likewise.
* sysdeps/mips/fpu/fesetenv.c: Likewise.
* sysdeps/mips/fpu/feupdateenv.c: Likewise.
* sysdeps/mips/fpu/fgetexcptflg.c: Likewise.

24 years ago2000-03-29 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Wed, 29 Mar 2000 11:18:48 +0000 (11:18 +0000)]
2000-03-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
* sysdeps/mips/fpu/fegetenv.c: Likewise.
* sysdeps/mips/fpu/fesetenv.c: Likewise.
* sysdeps/mips/fpu/feupdateenv.c: Likewise.
* sysdeps/mips/fpu/fgetexcptflg.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 29 Mar 2000 03:46:07 +0000 (03:46 +0000)]
Update.

2000-03-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
declaration, the prototype is defined via bits/mathcalls.h.
(__sincosf): Likewise.
(__sincosl): Likewise.
(ldexp): Likewise.
(ldexpf): Likewise.
(ldexpl): Likewise.
(__finite): Likewise.
(__inline_mathcode*NP*): New macros without prototype
declarations.
(__inline_mathop*NP*): Likewise.
(__inline_mathcode_): Use __inline_mathcodeNP_.
(__inline_mathcode2_): Use __inline_mathcodeNP2_.
(__inline_mathcode3_): Use __inline_mathcodeNP3_.
(__inline_mathop_decl_): Use __inline_mathop_declNP__.
(__expm1l): Don't define prototype, the prototype is defined via
bits/mathcalls.h.
(exp): Likewise.
(__expl): Likewise.
(tan): Likewise.
(atan2): Likewise.
(__atan2l): Likewise.
(fmod): Likewise.
(pow): Likewise.
(*fabs*): Likewise.
(asin): Likewise.
(acos): Likewise.
(sinh): Likewise.
(cosh): Likewise.
(tanh): Likewise.
(floor): Likewise.
(ceil): Likewise.
(expm1): Likewise.
(log1p): Likewise.
(asinh): Likewise.
(acosh): Likewise.
(atanh): Likewise.
(hypot): Likewise.
(logb): Likewise.
(fma): Likewise.
(drem): Likewise.
(sqrt): Likewise.
(__sqrtl): Likewise.
(sin): Likewise.
(cos): Likewise.
(atan): Likewise.
(log): Likewise.
(log10): Likewise.
(asinh): Likewise.
(log2): Likewise.
(rint): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 29 Mar 2000 01:29:24 +0000 (01:29 +0000)]
Update.

* Makerules: If make variable md5 is defined to yes after
generating dependencies generate MD5 sum for the object.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Mar 2000 17:54:26 +0000 (17:54 +0000)]
Update.

* iconv/gconv_builtin.h: Fix length in transformation definition
for UNICODEBIG.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Mar 2000 17:33:37 +0000 (17:33 +0000)]
Update.

2000-03-28  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/TESTS: Use UCS-2BE instead of UCS2.

* iconv/loop.c: Define get16, get32, put16, and put32 macros to
allow as well reading from/writing to unaligned addresses on machines
which don't support this in hardware.  Use FCTNAME macro to define
function name.  Include the file a second time for platforms which
need special unaligned handling.
* iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
to access potentially unaligned addresses.  These macros are intended
to be used only outside the loops.
(unaligned): New definition.  In case the machine can handle unaligned
access define as zero.  Otherwise as a variable which is initialized
as nonzero in case the buffer passed in at runtime is unaligned with
respect to the character set encoding involved.
Call aligned or unaligned looop functions according to unaligned
variable.
* iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
of direct casting pointer to potentially handle unaligned memory
accesses.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/euc-tw.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.

* locale/programs/simple-hash.c: Little optimizations.  Remove K&R
prototypes.

* malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
* malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
public.
* malloc/mcheck.h (mcheck_check_all): Declare.

* stdio-common/Makefile (tests): Add tst-obprintf.

24 years agoDefine get16, get32, put16, and put32 macros to allow as well reading from/writing...
Ulrich Drepper [Tue, 28 Mar 2000 17:18:18 +0000 (17:18 +0000)]
Define get16, get32, put16, and put32 macros to allow as well reading from/writing to unaligned addresses on machines which don't support this in hardware.  Use FCTNAME macro to define function name.  Include the file a second time for platforms which need special unaligned handling.

24 years ago* sysdeps/generic/bits/sigthread.h: Clean up conditionals.
Roland McGrath [Tue, 28 Mar 2000 07:06:08 +0000 (07:06 +0000)]
* sysdeps/generic/bits/sigthread.h: Clean up conditionals.

Declare pthread_sigmask.

* csu/version.c: Add 2000 to copyright years.
Remove Emacs local variables section.

24 years ago2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 28 Mar 2000 07:05:51 +0000 (07:05 +0000)]
2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>

* csu/version.c: Add 2000 to copyright years.
Remove Emacs local variables section.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Mar 2000 05:05:42 +0000 (05:05 +0000)]
Update.

2000-03-23  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
__gconv_transform_internal_ucs2little): Remove declarations.
* iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
__gconv_transform_internal_ucs2): Never need to bswap_16.
(__gconv_transform_ucs2reverse_internal,
__gconv_transform_internal_ucs2reverse): Always need to bswap_16.

24 years agoRecognize ia64 platform. Recognize SGI's compiler.
Ulrich Drepper [Tue, 28 Mar 2000 00:58:22 +0000 (00:58 +0000)]
Recognize ia64 platform. Recognize SGI's compiler.

24 years ago* include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
Roland McGrath [Mon, 27 Mar 2000 23:57:43 +0000 (23:57 +0000)]
* include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the

obsoleting version not being defined at all, in which case the
result is always true.

24 years ago* Makeconfig (preprocess-versions): New canned sequence for running
Roland McGrath [Mon, 27 Mar 2000 19:43:54 +0000 (19:43 +0000)]
* Makeconfig (preprocess-versions): New canned sequence for running

cpp on shlib-versions and the like.
(soversions.i): Use it.
* Makerules (Versions.all, sysd-versions): Use it to preprocess the
Versions.def and Versions files.

24 years ago2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 27 Mar 2000 19:42:09 +0000 (19:42 +0000)]
2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>

* Makeconfig (preprocess-versions): New canned sequence for running
cpp on shlib-versions and the like.
(soversions.i): Use it.
* Makerules (Versions.all, sysd-versions): Use it to preprocess the
Versions.def and Versions files.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Mar 2000 18:36:21 +0000 (18:36 +0000)]
Update.

* stdio-common/tst-obprintf.c (main): Add another check to see
obstack_printf handling all possible beginnings of the block
inside an obstack chunk.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Mar 2000 18:06:35 +0000 (18:06 +0000)]
Update.

2000-03-27  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/localedef.c: Use __malloc_initialize_hook to
install mcheck handler.

* libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
handling problem.

24 years ago(_IO_obstack_vprintf): Fix one more memory handling problem.
Ulrich Drepper [Mon, 27 Mar 2000 18:03:07 +0000 (18:03 +0000)]
(_IO_obstack_vprintf): Fix one more memory handling problem.

24 years ago* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
Roland McGrath [Mon, 27 Mar 2000 16:51:19 +0000 (16:51 +0000)]
* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.

24 years ago* include/shlib-compat.h: Conditionalize <abi-versions.h> include
Roland McGrath [Mon, 27 Mar 2000 15:08:19 +0000 (15:08 +0000)]
* include/shlib-compat.h: Conditionalize <abi-versions.h> include

on [HAVE_ELF && DO_VERSIONING].

24 years ago2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 27 Mar 2000 15:07:53 +0000 (15:07 +0000)]
2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>

* include/shlib-compat.h: Conditionalize <abi-versions.h> include
on [HAVE_ELF && DO_VERSIONING].