kopensolaris-gnu/glibc.git
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.

20 years ago(internal_ucs4_loop_unaligned): New function.
drepper [Fri, 31 Mar 2000 20:44:36 +0000 (20:44 +0000)]
(internal_ucs4_loop_unaligned): New function.
(internal_ucs4le_loop_unaligned): New function.

20 years agoDefine access macros with u suffix.
drepper [Fri, 31 Mar 2000 20:43:42 +0000 (20:43 +0000)]
Define access macros with u suffix.
Adjust #if expression for use of unaligned function to the one used in
the definition of these functions.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 17:09:42 +0000 (17:09 +0000)]
Update.

20 years agoFix typo in comment.
drepper [Fri, 31 Mar 2000 17:09:10 +0000 (17:09 +0000)]
Fix typo in comment.

20 years agoMain program for constructor/destructor ordering test.
drepper [Fri, 31 Mar 2000 17:08:48 +0000 (17:08 +0000)]
Main program for constructor/destructor ordering test.

20 years agoTest module for constructor/destructor ordering test.
drepper [Fri, 31 Mar 2000 17:08:12 +0000 (17:08 +0000)]
Test module for constructor/destructor ordering test.

20 years ago(distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
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.

20 years agoUpdate.
aj [Fri, 31 Mar 2000 12:35:44 +0000 (12:35 +0000)]
Update.

20 years ago2000-03-31 Andreas Jaeger <aj@suse.de>
aj [Fri, 31 Mar 2000 12:35:12 +0000 (12:35 +0000)]
2000-03-31  Andreas Jaeger  <aj@suse.de>

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

20 years agoUpdate.
aj [Fri, 31 Mar 2000 11:11:25 +0000 (11:11 +0000)]
Update.

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

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

20 years agoUpdate.
aj [Fri, 31 Mar 2000 10:47:17 +0000 (10:47 +0000)]
Update.

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

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

20 years agoUpdate.
aj [Fri, 31 Mar 2000 10:22:07 +0000 (10:22 +0000)]
Update.

20 years ago2000-03-31 Andreas Jaeger <aj@suse.de>
aj [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.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 08:21:01 +0000 (08:21 +0000)]
Update.

20 years ago(RTLD_START): Optimize for i686.
drepper [Fri, 31 Mar 2000 08:19:17 +0000 (08:19 +0000)]
(RTLD_START): Optimize for i686.

20 years agoDefine _dl_starting_up.
drepper [Fri, 31 Mar 2000 08:18:44 +0000 (08:18 +0000)]
Define _dl_starting_up.

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

20 years agoRemove code to clar _dl_starting_up.
drepper [Fri, 31 Mar 2000 07:23:44 +0000 (07:23 +0000)]
Remove code to clar _dl_starting_up.

20 years ago(_dl_init): Clear _dl_starting_up at end of function.
drepper [Fri, 31 Mar 2000 07:22:37 +0000 (07:22 +0000)]
(_dl_init): Clear _dl_starting_up at end of function.

20 years agoFix typo in last patch.
drepper [Fri, 31 Mar 2000 07:19:43 +0000 (07:19 +0000)]
Fix typo in last patch.

20 years agoDon't allow gcc in traditional mode to be used.
drepper [Fri, 31 Mar 2000 07:18:04 +0000 (07:18 +0000)]
Don't allow gcc in traditional mode to be used.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 07:15:47 +0000 (07:15 +0000)]
Update.

20 years ago(RTLD_START): Remove call to _dl_preinit.
drepper [Fri, 31 Mar 2000 07:15:26 +0000 (07:15 +0000)]
(RTLD_START): Remove call to _dl_preinit.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 07:14:42 +0000 (07:14 +0000)]
Update.

20 years agoAdd code from former dl-preinit.c.
drepper [Fri, 31 Mar 2000 07:14:21 +0000 (07:14 +0000)]
Add code from former dl-preinit.c.

20 years agoRemove _dl_preinit.
drepper [Fri, 31 Mar 2000 07:12:59 +0000 (07:12 +0000)]
Remove _dl_preinit.

20 years ago(dl-routines): Remove preinit.
drepper [Fri, 31 Mar 2000 07:12:28 +0000 (07:12 +0000)]
(dl-routines): Remove preinit.

20 years agoFolded into dl-init.c.
drepper [Fri, 31 Mar 2000 07:11:32 +0000 (07:11 +0000)]
Folded into dl-init.c.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 07:03:48 +0000 (07:03 +0000)]
Update.

20 years ago(struct shmid_ds): Correct names of elements.
drepper [Fri, 31 Mar 2000 07:03:27 +0000 (07:03 +0000)]
(struct shmid_ds): Correct names of elements.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 06:57:36 +0000 (06:57 +0000)]
Update.

20 years agoChanges corresponding to the two sets of fixes made to stdlib/strfmon.c.
drepper [Fri, 31 Mar 2000 06:57:15 +0000 (06:57 +0000)]
Changes corresponding to the two sets of fixes made to stdlib/strfmon.c.

20 years agoCorrected problems with the code that
drepper [Fri, 31 Mar 2000 06:56:56 +0000 (06:56 +0000)]
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.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 05:50:02 +0000 (05:50 +0000)]
Update.

20 years agoDeclare bit flags UL so that they will not default to int size when
drepper [Fri, 31 Mar 2000 05:49:10 +0000 (05:49 +0000)]
Declare bit flags UL so that they will not default to int size when
being inverted.

20 years agoUse SHARED instead of PIC.
drepper [Fri, 31 Mar 2000 05:44:25 +0000 (05:44 +0000)]
Use SHARED instead of PIC.

20 years agoIntroduce new variable SHARED to mark code used in the shared library.
drepper [Fri, 31 Mar 2000 05:41:20 +0000 (05:41 +0000)]
Introduce new variable SHARED to mark code used in the shared library.

20 years agoUse shlib-compat macros.
drepper [Fri, 31 Mar 2000 05:39:18 +0000 (05:39 +0000)]
Use shlib-compat macros.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 05:16:38 +0000 (05:16 +0000)]
Update.

20 years agoUse D_PTR to access relocated entries in l_info.
drepper [Fri, 31 Mar 2000 05:16:18 +0000 (05:16 +0000)]
Use D_PTR to access relocated entries in l_info.

20 years agoUse shlib-compat macros.
drepper [Fri, 31 Mar 2000 05:14:28 +0000 (05:14 +0000)]
Use shlib-compat macros.

20 years agoUpdate.
drepper [Fri, 31 Mar 2000 05:03:53 +0000 (05:03 +0000)]
Update.

20 years ago(_getopt_internal): Return -1 if argc < 1.
drepper [Fri, 31 Mar 2000 05:02:54 +0000 (05:02 +0000)]
(_getopt_internal): Return -1 if argc < 1.