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

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

20 years agoRemove K&R support.
drepper [Fri, 31 Mar 2000 04:17:23 +0000 (04:17 +0000)]
Remove K&R support.

20 years agoFix syntax error.
drepper [Fri, 31 Mar 2000 04:11:44 +0000 (04:11 +0000)]
Fix syntax error.

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

20 years agoAvoid compiling unaligned versions in some more cases.
drepper [Fri, 31 Mar 2000 04:10:01 +0000 (04:10 +0000)]
Avoid compiling unaligned versions in some more cases.

20 years agoAvoid compiling unaligned versions in some more cases.
drepper [Fri, 31 Mar 2000 04:09:45 +0000 (04:09 +0000)]
Avoid compiling unaligned versions in some more cases.

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

20 years ago(put16): Remove __const. Fix access index.
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.

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

20 years ago.
roland [Thu, 30 Mar 2000 19:26:59 +0000 (19:26 +0000)]
.

20 years ago2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
roland [Thu, 30 Mar 2000 19:26:34 +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.

20 years agoUpdate.
drepper [Thu, 30 Mar 2000 17:59:33 +0000 (17:59 +0000)]
Update.

20 years ago(_dl_init): We don't need to call constructors recursively. Fold
drepper [Thu, 30 Mar 2000 17:59:07 +0000 (17:59 +0000)]
(_dl_init): We don't need to call constructors recursively.  Fold
_dl_init_rec in _dl_init and optimize a bit more.

20 years agoUpdate.
drepper [Thu, 30 Mar 2000 16:30:49 +0000 (16:30 +0000)]
Update.

20 years ago[PIC]: Don't use SYSDEP_CALL_INIT. Make _init a strong alias of init.
drepper [Thu, 30 Mar 2000 16:30:26 +0000 (16:30 +0000)]
[PIC]: Don't use SYSDEP_CALL_INIT.  Make _init a strong alias of init.
The calling conventions now match.

20 years agoRemove init-first.h.
drepper [Thu, 30 Mar 2000 16:29:24 +0000 (16:29 +0000)]
Remove init-first.h.

20 years agoNot needed anymore.
drepper [Thu, 30 Mar 2000 16:28:49 +0000 (16:28 +0000)]
Not needed anymore.

20 years ago(RTLD_START): Rewrite to match new init function interface.
drepper [Thu, 30 Mar 2000 16:28:37 +0000 (16:28 +0000)]
(RTLD_START): Rewrite to match new init function interface.

20 years agoCalling __libc_init_first has no effect for shared objects. Don't
drepper [Thu, 30 Mar 2000 16:27:19 +0000 (16:27 +0000)]
Calling __libc_init_first has no effect for shared objects.  Don't
emit message and call only for static library.

20 years agoReplace _dl_init_next prototype with one for _dl_init.
drepper [Thu, 30 Mar 2000 16:26:15 +0000 (16:26 +0000)]
Replace _dl_init_next prototype with one for _dl_init.

20 years ago(struct link_map): Add l_ldnum member.
drepper [Thu, 30 Mar 2000 16:25:27 +0000 (16:25 +0000)]
(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.

20 years agoDon't relocate DT_FINI_ARRAY entry. Don't precompute l_initcount and
drepper [Thu, 30 Mar 2000 16:24:03 +0000 (16:24 +0000)]
Don't relocate DT_FINI_ARRAY entry.  Don't precompute l_initcount and
l_preinitcount.

20 years ago(_dl_preinit): Renamed from _dl_preinit_next.
drepper [Thu, 30 Mar 2000 16:23:03 +0000 (16:23 +0000)]
(_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.

20 years ago(dl_open_worker): Only call _dl_init instead of _dl_init_next and
drepper [Thu, 30 Mar 2000 16:19:25 +0000 (16:19 +0000)]
(dl_open_worker): Only call _dl_init instead of _dl_init_next and
calling constructors ourself.

20 years ago(_dl_map_object_from_fd): Initialize l_ldnum member with size of
drepper [Thu, 30 Mar 2000 16:18:13 +0000 (16:18 +0000)]
(_dl_map_object_from_fd): Initialize l_ldnum member with size of
dynamic section.

20 years agoGet list of objects for which to run constructors from l_initfini
drepper [Thu, 30 Mar 2000 16:17:07 +0000 (16:17 +0000)]
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.

20 years agoBefore running the destructors sort the topologically.
drepper [Thu, 30 Mar 2000 16:15:11 +0000 (16:15 +0000)]
Before running the destructors sort the topologically.

20 years agoIf a searchlist has to be allocated, put all in one
drepper [Thu, 30 Mar 2000 16:14:22 +0000 (16:14 +0000)]
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.

20 years agoAlso call all destructors in FINI_ARRAY. r_duplist is not anymore
drepper [Thu, 30 Mar 2000 16:12:11 +0000 (16:12 +0000)]
Also call all destructors in FINI_ARRAY.  r_duplist is not anymore
allocated separately.  l_initfini is and therefore free it if
necessary.

20 years ago[ld.so] (GLIBC_2.0): Remove _dl_init_next.
drepper [Thu, 30 Mar 2000 16:10:24 +0000 (16:10 +0000)]
[ld.so] (GLIBC_2.0): Remove _dl_init_next.
(GLIBC_2.2): Add _dl_init.

20 years agoUpdate.
drepper [Wed, 29 Mar 2000 16:06:35 +0000 (16:06 +0000)]
Update.

20 years agoTest data for conversion from CSA_Z243.4-1985-1 to UCS-2BE.
drepper [Wed, 29 Mar 2000 16:04:33 +0000 (16:04 +0000)]
Test data for conversion from CSA_Z243.4-1985-1 to UCS-2BE.

20 years agoTest data for conversion from ISO-8859-10 to UCS-2BE.
drepper [Wed, 29 Mar 2000 16:04:10 +0000 (16:04 +0000)]
Test data for conversion from ISO-8859-10 to UCS-2BE.

20 years agoRenamed to ISO-8859-10..UCS-2BE.
drepper [Wed, 29 Mar 2000 16:03:27 +0000 (16:03 +0000)]
Renamed to ISO-8859-10..UCS-2BE.