kopensolaris-gnu/glibc.git
20 years agoUse shlib-compat macros.
drepper [Wed, 5 Apr 2000 00:28:47 +0000 (00:28 +0000)]
Use shlib-compat macros.

20 years agoUpdate.
drepper [Tue, 4 Apr 2000 23:23:40 +0000 (23:23 +0000)]
Update.

20 years ago(fixup): Correct handling of symbols marked STV_HIDDEN and STV_INTERNAL
drepper [Tue, 4 Apr 2000 23:23:14 +0000 (23:23 +0000)]
(fixup): Correct handling of symbols marked STV_HIDDEN and STV_INTERNAL
during lookup.
(profile_fixup): Likewise.

20 years ago(RESOLVE): Correct handling of symbols marked STV_HIDDEN and STV_INTERNAL
drepper [Tue, 4 Apr 2000 23:22:32 +0000 (23:22 +0000)]
(RESOLVE): Correct handling of symbols marked STV_HIDDEN and STV_INTERNAL
during lookup.

20 years agoUpdate.
drepper [Tue, 4 Apr 2000 21:16:13 +0000 (21:16 +0000)]
Update.

20 years ago(FUNCTION_NAME): Reorder initialization of unaligned so that it compiles for
drepper [Tue, 4 Apr 2000 21:14:59 +0000 (21:14 +0000)]
(FUNCTION_NAME): Reorder initialization of unaligned so that it compiles for
system which need unaligned access handling.

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

20 years ago(print_entry): Only look at the type field when printing the type.
drepper [Tue, 4 Apr 2000 20:54:43 +0000 (20:54 +0000)]
(print_entry): Only look at the type field when printing the type.

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

20 years ago.
schwab [Tue, 4 Apr 2000 12:09:19 +0000 (12:09 +0000)]
.

20 years ago * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
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.

20 years agoUpdate.
drepper [Tue, 4 Apr 2000 06:38:32 +0000 (06:38 +0000)]
Update.

20 years ago(__inet_aton): Add protoype.
drepper [Tue, 4 Apr 2000 06:37:01 +0000 (06:37 +0000)]
(__inet_aton): Add protoype.

20 years agoUpdate.
drepper [Tue, 4 Apr 2000 06:03:48 +0000 (06:03 +0000)]
Update.

20 years agoUse shlib-compat macros.
drepper [Tue, 4 Apr 2000 06:03:27 +0000 (06:03 +0000)]
Use shlib-compat macros.

20 years agoUse __PIC__ instead of PIC.
drepper [Tue, 4 Apr 2000 06:02:00 +0000 (06:02 +0000)]
Use __PIC__ instead of PIC.

20 years agoUse SHARED instead of PIC.
drepper [Tue, 4 Apr 2000 06:01:18 +0000 (06:01 +0000)]
Use SHARED instead of PIC.

20 years agoUpdate.
drepper [Tue, 4 Apr 2000 06:00:45 +0000 (06:00 +0000)]
Update.

20 years agoUse shlib-compat macros.
drepper [Tue, 4 Apr 2000 06:00:24 +0000 (06:00 +0000)]
Use shlib-compat macros.

20 years ago(FLAG_IA64_LIB64): New. Defined.
drepper [Tue, 4 Apr 2000 05:27:55 +0000 (05:27 +0000)]
(FLAG_IA64_LIB64): New. Defined.

20 years agoUpdate.
drepper [Mon, 3 Apr 2000 22:25:08 +0000 (22:25 +0000)]
Update.

20 years ago(_dl_dst_substitute): Pretty print comment.
drepper [Mon, 3 Apr 2000 22:24:36 +0000 (22:24 +0000)]
(_dl_dst_substitute): Pretty print comment.
(add_name_to_object): Add cast in malloc call.
(fillin_rpath): Optimize loop to initialize ->status a bit.

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

20 years ago(RTLD_START_SPECIAL_INIT): Restore %edx register after call here.
drepper [Mon, 3 Apr 2000 18:19:55 +0000 (18:19 +0000)]
(RTLD_START_SPECIAL_INIT): Restore %edx register after call here.

20 years agoUndo last change.
drepper [Mon, 3 Apr 2000 18:19:37 +0000 (18:19 +0000)]
Undo last change.

20 years agoUpdate.
drepper [Mon, 3 Apr 2000 18:08:40 +0000 (18:08 +0000)]
Update.

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

20 years ago.
roland [Mon, 3 Apr 2000 18:01:18 +0000 (18:01 +0000)]
.

20 years ago2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
roland [Mon, 3 Apr 2000 18:01:08 +0000 (18:01 +0000)]
2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>

* Makeconfig (preprocess-versions): Undo last change.
Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).

20 years ago.
roland [Mon, 3 Apr 2000 17:13:51 +0000 (17:13 +0000)]
.

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

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

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

* resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.

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

* elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
allocating and initializing L->l_initfini.

20 years ago2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
roland [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.

20 years agoUpdate.
drepper [Mon, 3 Apr 2000 10:44:36 +0000 (10:44 +0000)]
Update.

20 years ago(_dl_init_paths): Use (void*) -1 to signal non-existing
drepper [Mon, 3 Apr 2000 10:44:15 +0000 (10:44 +0000)]
(_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.

20 years agoUpdate.
drepper [Mon, 3 Apr 2000 07:15:10 +0000 (07:15 +0000)]
Update.

20 years agoDeclare STATE as array of char instead of int and do not initialize it (done
drepper [Mon, 3 Apr 2000 07:14:41 +0000 (07:14 +0000)]
Declare STATE as array of char instead of int and do not initialize it (done
by initstate_r).  Pass correct size.

20 years agoFix typo in comment.
drepper [Mon, 3 Apr 2000 07:12:48 +0000 (07:12 +0000)]
Fix typo in comment.

20 years agoUpdate.
drepper [Mon, 3 Apr 2000 07:05:57 +0000 (07:05 +0000)]
Update.

20 years ago(RTLD_START): Squeeze one more instruction out of the code.
drepper [Mon, 3 Apr 2000 07:05:35 +0000 (07:05 +0000)]
(RTLD_START): Squeeze one more instruction out of the code.

20 years agoUpdate.
drepper [Mon, 3 Apr 2000 03:51:04 +0000 (03:51 +0000)]
Update.

20 years agoUse __builtin_expect to signal that compiler should optimize for the
drepper [Mon, 3 Apr 2000 03:50:41 +0000 (03:50 +0000)]
Use __builtin_expect to signal that compiler should optimize for the
non-debugging case.

20 years ago(struct link_map): Add l_reldepsmax, l_reldepsact, and l_reldeps elements.
drepper [Mon, 3 Apr 2000 03:50:10 +0000 (03:50 +0000)]
(struct link_map): Add l_reldepsmax, l_reldepsact, and l_reldeps elements.

20 years agoDefine _dl_load_lock here.
drepper [Mon, 3 Apr 2000 03:49:17 +0000 (03:49 +0000)]
Define _dl_load_lock here.

20 years agoDon't define _dl_load_lock here.
drepper [Mon, 3 Apr 2000 03:48:20 +0000 (03:48 +0000)]
Don't define _dl_load_lock here.

20 years ago(add_dependency): New function.
drepper [Mon, 3 Apr 2000 03:47:43 +0000 (03:47 +0000)]
(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.
Use __builtin_expect to signal that compiler should optimize for the
non-debugging case.

20 years agoUse __builtin_expect to signal that compiler should optimize for the
drepper [Mon, 3 Apr 2000 03:44:47 +0000 (03:44 +0000)]
Use __builtin_expect to signal that compiler should optimize for the
non-debugging case.

20 years ago(_dl_fini): Increment j counter after swapping in element at this
drepper [Mon, 3 Apr 2000 03:43:36 +0000 (03:43 +0000)]
(_dl_fini): Increment j counter after swapping in element at this
position.
(_dl_fini): Also take dependencies introduced through relocations.

20 years ago(_dl_close): Close also dependent objects introduce through relocation.
drepper [Mon, 3 Apr 2000 03:41:07 +0000 (03:41 +0000)]
(_dl_close): Close also dependent objects introduce through relocation.

20 years ago[ld.so] (GLIBC_2.2): Export _dl_load_lock.
drepper [Mon, 3 Apr 2000 03:39:50 +0000 (03:39 +0000)]
[ld.so] (GLIBC_2.2): Export _dl_load_lock.

20 years agoAdd one more debug message.
drepper [Mon, 3 Apr 2000 03:38:59 +0000 (03:38 +0000)]
Add one more debug message.

20 years ago(sysd-versions): Use ( ) instead of { }.
drepper [Mon, 3 Apr 2000 03:38:11 +0000 (03:38 +0000)]
(sysd-versions): Use ( ) instead of { }.

20 years ago(preprocess-versions): Don't add $(CPPFLAGS) to compiler command line.
drepper [Mon, 3 Apr 2000 03:37:18 +0000 (03:37 +0000)]
(preprocess-versions): Don't add $(CPPFLAGS) to compiler command line.

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

20 years ago.
roland [Sun, 2 Apr 2000 22:01:23 +0000 (22:01 +0000)]
.

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

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

20 years ago.
roland [Sun, 2 Apr 2000 20:15:54 +0000 (20:15 +0000)]
.

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

* stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
since we define the function with the name `tmpfile'.

20 years ago2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
roland [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.

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

20 years ago(ElfW): Fxi typo in comment.
drepper [Sun, 2 Apr 2000 16:21:00 +0000 (16:21 +0000)]
(ElfW): Fxi typo in comment.

20 years agoUpdate.
drepper [Sun, 2 Apr 2000 08:26:29 +0000 (08:26 +0000)]
Update.

20 years agoAll lenght parameters are of type socklen_t.
drepper [Sun, 2 Apr 2000 08:25:58 +0000 (08:25 +0000)]
All lenght parameters are of type socklen_t.

20 years agoAll lenght parameters are of type socklen_t.
drepper [Sun, 2 Apr 2000 08:25:34 +0000 (08:25 +0000)]
All lenght parameters are of type socklen_t.

20 years agoUpdate.
drepper [Sun, 2 Apr 2000 08:05:36 +0000 (08:05 +0000)]
Update.

20 years agoDefine __socklen_t.
drepper [Sun, 2 Apr 2000 08:04:38 +0000 (08:04 +0000)]
Define __socklen_t.

20 years agoUse __socklen_t to define socklen_t. Allow definition elsewhere.
drepper [Sun, 2 Apr 2000 08:01:10 +0000 (08:01 +0000)]
Use __socklen_t to define socklen_t.  Allow definition elsewhere.

20 years ago(__gethostname): Change type of second parameter to socklen_t.
drepper [Sun, 2 Apr 2000 07:59:23 +0000 (07:59 +0000)]
(__gethostname): Change type of second parameter to socklen_t.

20 years ago(__gethostname): Change type of second parameter to socklen_t.
drepper [Sun, 2 Apr 2000 07:59:11 +0000 (07:59 +0000)]
(__gethostname): Change type of second parameter to socklen_t.

20 years ago(__gethostname): Change type of second parameter to socklen_t.
drepper [Sun, 2 Apr 2000 07:58:30 +0000 (07:58 +0000)]
(__gethostname): Change type of second parameter to socklen_t.

20 years ago(socklen_t): Define if it has not yet happened.
drepper [Sun, 2 Apr 2000 07:57:13 +0000 (07:57 +0000)]
(socklen_t): Define if it has not yet happened.
(gethostname): Change type of second parameter to socklen_t.

20 years agoMore generic version can be used.
drepper [Sun, 2 Apr 2000 07:53:03 +0000 (07:53 +0000)]
More generic version can be used.

20 years agoUpdate.
drepper [Sun, 2 Apr 2000 03:09:41 +0000 (03:09 +0000)]
Update.

20 years ago(IPV6_MTU_DISCOVER, IPV6_MTU, IPV6_RECVERR): New defines.
drepper [Sun, 2 Apr 2000 03:09:19 +0000 (03:09 +0000)]
(IPV6_MTU_DISCOVER, IPV6_MTU, IPV6_RECVERR): New defines.

20 years ago(gethostbyname2): Define only is __USE_MISC.
drepper [Sun, 2 Apr 2000 03:08:29 +0000 (03:08 +0000)]
(gethostbyname2): Define only is __USE_MISC.
(innetgr): Likewise.
(struct addrinfo): Use socklen_t for ai_addrlen element.

20 years ago(inet_addr): Change return type to in_addr_t.
drepper [Sun, 2 Apr 2000 03:07:12 +0000 (03:07 +0000)]
(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.

20 years agoDefine in_port_t type.
drepper [Sun, 2 Apr 2000 03:05:37 +0000 (03:05 +0000)]
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.

20 years ago(inet_addr): Change return type to in_addr_t.
drepper [Sun, 2 Apr 2000 03:01:02 +0000 (03:01 +0000)]
(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.

20 years agoUpdate.
drepper [Sat, 1 Apr 2000 22:30:22 +0000 (22:30 +0000)]
Update.

20 years agoLinux/Alpha specific definitions for <netdb.h>.
drepper [Sat, 1 Apr 2000 22:29:26 +0000 (22:29 +0000)]
Linux/Alpha specific definitions for <netdb.h>.

20 years agoGeneric definitions for <netdb.h>.
drepper [Sat, 1 Apr 2000 22:29:15 +0000 (22:29 +0000)]
Generic definitions for <netdb.h>.

20 years agoAllow definition of uint32_t elsewhere.
drepper [Sat, 1 Apr 2000 22:28:44 +0000 (22:28 +0000)]
Allow definition of uint32_t elsewhere.

20 years agoDefine uint32_t if not already happened.
drepper [Sat, 1 Apr 2000 22:28:09 +0000 (22:28 +0000)]
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.

20 years agoChange type of first parameter of __getnetbyaddr_r.
drepper [Sat, 1 Apr 2000 22:26:38 +0000 (22:26 +0000)]
Change type of first parameter of __getnetbyaddr_r.

20 years agoChange type of first parameter of __getnetbyaddr_r.
drepper [Sat, 1 Apr 2000 22:26:20 +0000 (22:26 +0000)]
Change type of first parameter of __getnetbyaddr_r.

20 years agoChange type of first parameter of __getnetbyaddr_r.
drepper [Sat, 1 Apr 2000 22:25:37 +0000 (22:25 +0000)]
Change type of first parameter of __getnetbyaddr_r.

20 years agoChange type of first parameter of __getnetbyaddr_r.
drepper [Sat, 1 Apr 2000 22:25:02 +0000 (22:25 +0000)]
Change type of first parameter of __getnetbyaddr_r.

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

20 years ago(distribute): Add glreflib1.c and glreflib2.c.
drepper [Sat, 1 Apr 2000 21:48:51 +0000 (21:48 +0000)]
(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.

20 years agoTest object for glrefmain test case.
drepper [Sat, 1 Apr 2000 21:47:21 +0000 (21:47 +0000)]
Test object for glrefmain test case.

20 years agoTest case for dynamic loading code. Relocations must be regarded as
drepper [Sat, 1 Apr 2000 21:46:33 +0000 (21:46 +0000)]
Test case for dynamic loading code.  Relocations must be regarded as
dependencies to avoid unloading.

20 years agoInclude <string.h> for strsignal prototype.
drepper [Sat, 1 Apr 2000 21:43:49 +0000 (21:43 +0000)]
Include <string.h> for strsignal prototype.

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

20 years ago(check_duplicate): Allow repertoire to be missing.
drepper [Sat, 1 Apr 2000 17:52:40 +0000 (17:52 +0000)]
(check_duplicate): Allow repertoire to be missing.

20 years agoUpdate.
drepper [Sat, 1 Apr 2000 17:43:53 +0000 (17:43 +0000)]
Update.

20 years ago(init): Add code from former init-first.h. Initialize __libc_multiple_libcs.
drepper [Sat, 1 Apr 2000 17:43:30 +0000 (17:43 +0000)]
(init): Add code from former init-first.h.  Initialize __libc_multiple_libcs.

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

20 years agoUndefined `unaligned' before recursive inclusion.
drepper [Fri, 31 Mar 2000 20:49:31 +0000 (20:49 +0000)]
Undefined `unaligned' before recursive inclusion.

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