kopensolaris-gnu/glibc.git
17 years ago2002-08-22 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 23:47:18 +0000 (23:47 +0000)]
2002-08-22  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT]
conditional.
(INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA.
(DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE
macro.  That chooses whether to reuse %gs value or let kernel set it.
[USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1.
[!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is
not constant 0.

17 years ago2002-08-22 Steven Munroe <sjmunroe@us.ibm.com>
geoffk [Thu, 22 Aug 2002 19:07:45 +0000 (19:07 +0000)]
2002-08-22  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/elf/libc-start.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(__libc_start_main): Change type of `auxvec' parameter to
`ElfW(auxv_t) *'.  Correct walking of aux vector.  Call
__aux_init_cache.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(DL_PLATFORM_INIT): Define.
* sysdeps/powerpc/memset.S: Define __cache_line_size and use its
value to select the correct stride for dcbz.

17 years agoUpdate.
aj [Thu, 22 Aug 2002 11:07:05 +0000 (11:07 +0000)]
Update.

17 years agoFix arguments of shmat.
aj [Thu, 22 Aug 2002 11:06:53 +0000 (11:06 +0000)]
Fix arguments of shmat.

17 years ago.
roland [Thu, 22 Aug 2002 08:11:48 +0000 (08:11 +0000)]
.

17 years ago2002-08-22 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 08:10:41 +0000 (08:10 +0000)]
2002-08-22  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Check max file
position indicated by locrectab against file bounds before rounding to
page size.  In mapping loop, always set TO before breaking out of
contiguous range coalescing loop.
* locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE
(or MAP_COPY if available) instead of MAP_SHARED.

17 years ago.
roland [Thu, 22 Aug 2002 07:22:03 +0000 (07:22 +0000)]
.

17 years ago2002-08-22 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 07:21:49 +0000 (07:21 +0000)]
2002-08-22  Roland McGrath  <roland@redhat.com>

* scripts/firstversions.awk: When encountering a version newer than
the specified earliest version, be sure to emit the specified earliest
version first if any renaming of an older version to that has been.

17 years ago.
roland [Thu, 22 Aug 2002 00:13:04 +0000 (00:13 +0000)]
.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:12:49 +0000 (00:12 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* td_thr_tls_get_addr.c (td_thr_tls_get_addr): __attribute_used__ ->
__attribute__ ((unused)) for arguments.

17 years ago.
roland [Thu, 22 Aug 2002 00:11:48 +0000 (00:11 +0000)]
.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:11:24 +0000 (00:11 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* configure.in: Make GCC version check require 3.[2-9]* and no others.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.
* INSTALL: Regenerated.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:09:34 +0000 (00:09 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* configure.in: Make GCC version check require 3.[2-9]* and no others.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:09:29 +0000 (00:09 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* configure.in: Make GCC version check require 3.[2-9]* and no others.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.
* manual/install.texi (Configuring and compiling, Installation,
Running make install, Linux): Linux -> GNU/Linux where appropriate.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:09:26 +0000 (00:09 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can
be inlined.  Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP]
and with noinline otherwise.  Remove hack alloca use to prevent
inlining, we can ask for it explicitly nowadays.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 23:28:24 +0000 (23:28 +0000)]
Update.

17 years ago.
roland [Wed, 21 Aug 2002 23:04:01 +0000 (23:04 +0000)]
.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Wed, 21 Aug 2002 23:03:46 +0000 (23:03 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* dlfcn/bug-dlsym1.c: New file.
* dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files.
* dlfcn/Makefile (distribute): Add them.
(tests): Add bug-dlsym1 here.
(modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here.
($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets.
($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 23:01:40 +0000 (23:01 +0000)]
Update.

17 years ago(start_time): New global variable. Moved from _dl_start.
drepper [Wed, 21 Aug 2002 23:00:30 +0000 (23:00 +0000)]
(start_time): New global variable.  Moved from _dl_start.
(DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols
before relocation.
(_dl_start): Don't use local bootstrap_map variable if
DONT_USE_BOOTSTRAP_MAP is defined.  Use GL(dl_rtld_map).  Don't
pass bootstrap_map to _dl_start_final in this case either.  Don't
pass start_time to _dl_start_final ever.
(_dl_start_final): Don't copy bootstrap_map of DONT_USE_BOOTSTRAP_MAP.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 22:53:06 +0000 (22:53 +0000)]
Update.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 22:48:22 +0000 (22:48 +0000)]
Update.

17 years ago(_dl_map_object_deps): Revert patch from 2002-05-28. This cripples
drepper [Wed, 21 Aug 2002 22:36:32 +0000 (22:36 +0000)]
(_dl_map_object_deps): Revert patch from 2002-05-28.  This cripples
the scope lists necessary to search for symbols in dependencies which
are not in the global scope.

17 years agoUpdate.
aj [Wed, 21 Aug 2002 12:44:11 +0000 (12:44 +0000)]
Update.

17 years agoFix assembler
aj [Wed, 21 Aug 2002 12:38:20 +0000 (12:38 +0000)]
Fix assembler

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 11:04:22 +0000 (11:04 +0000)]
Update.

17 years ago(TLS_SETUP_GS_SEGMENT): Add new parameter also to the third definition
drepper [Wed, 21 Aug 2002 11:02:31 +0000 (11:02 +0000)]
(TLS_SETUP_GS_SEGMENT): Add new parameter also to the third definition
of this macro.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 08:14:07 +0000 (08:14 +0000)]
Update.

17 years agoUpdate.
aj [Wed, 21 Aug 2002 08:09:34 +0000 (08:09 +0000)]
Update.

17 years ago(CFLAGS-pt-initfini.s): Set it.
aj [Wed, 21 Aug 2002 08:09:19 +0000 (08:09 +0000)]
(CFLAGS-pt-initfini.s): Set it.

17 years ago(__libc_longjmp): Add declaration.
drepper [Wed, 21 Aug 2002 08:08:03 +0000 (08:08 +0000)]
(__libc_longjmp): Add declaration.

17 years agoGenerate bits/syscall.h with biarch support.
aj [Wed, 21 Aug 2002 08:06:35 +0000 (08:06 +0000)]
Generate bits/syscall.h with biarch support.

17 years agoUpdate.
aj [Wed, 21 Aug 2002 07:57:48 +0000 (07:57 +0000)]
Update.

17 years ago(sysdep_routines): Add _mcount.
aj [Wed, 21 Aug 2002 07:54:22 +0000 (07:54 +0000)]
(sysdep_routines): Add _mcount.

17 years ago(CALL_MCOUNT): Fix it.
aj [Wed, 21 Aug 2002 07:54:15 +0000 (07:54 +0000)]
(CALL_MCOUNT): Fix it.

17 years agox86-64 mcount implementation
aj [Wed, 21 Aug 2002 07:52:27 +0000 (07:52 +0000)]
x86-64 mcount implementation

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 02:35:30 +0000 (02:35 +0000)]
Update.

17 years agoGo back to using 16-bit instructions when loading/reading segment
drepper [Wed, 21 Aug 2002 02:32:59 +0000 (02:32 +0000)]
Go back to using 16-bit instructions when loading/reading segment
registers.  Some old hardware doesn't handle the 32-bit instructions
as expected.

17 years agoGo back to using 16-bit instructions when loading/reading segment
drepper [Wed, 21 Aug 2002 02:32:18 +0000 (02:32 +0000)]
Go back to using 16-bit instructions when loading/reading segment
registers.  Some old hardware doesn't handle the 32-bit instructions
as expected.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 00:17:09 +0000 (00:17 +0000)]
Update.

17 years ago(__libc_setup_tls): Pass 0 to TL_INIT_TP.
drepper [Wed, 21 Aug 2002 00:15:30 +0000 (00:15 +0000)]
(__libc_setup_tls): Pass 0 to TL_INIT_TP.

17 years ago(struct link_map): Add l_tls_tp_initialized.
drepper [Wed, 21 Aug 2002 00:14:38 +0000 (00:14 +0000)]
(struct link_map): Add l_tls_tp_initialized.

17 years ago(_dl_start): Pass zero to TLS_INIT_TP. Set
drepper [Wed, 21 Aug 2002 00:10:19 +0000 (00:10 +0000)]
(_dl_start): Pass zero to TLS_INIT_TP.  Set
bootstrap_map.l_tls_tp_initialized to 1 if TLS_INIT_TP was called.
(_dl_start_final): Copy l_tls_tp_initialized to GL(dl_rtld_map).
(dl_main): If HAVE___THREAD is not defined pass l_tls_tp_initialized
to TL_INIT_TP.  Otherwise pass 1.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 23:56:06 +0000 (23:56 +0000)]
Update.

17 years ago(TLS_INIT_TP): Second parameter is renamed to secondcall.
drepper [Tue, 20 Aug 2002 23:55:09 +0000 (23:55 +0000)]
(TLS_INIT_TP): Second parameter is renamed to secondcall.

17 years ago(TLS_DO_SET_THREAD_AREA): Second parameter is renamed to secondcall
drepper [Tue, 20 Aug 2002 23:54:49 +0000 (23:54 +0000)]
(TLS_DO_SET_THREAD_AREA): Second parameter is renamed to secondcall
and use is negated.
(TLS_SETUP_GS_SEGMENT): Likewise.
(TLS_INIT_TP): Likewise.

17 years ago.
roland [Tue, 20 Aug 2002 23:10:33 +0000 (23:10 +0000)]
.

17 years ago2002-08-15 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 20 Aug 2002 23:10:07 +0000 (23:10 +0000)]
2002-08-15  Jakub Jelinek  <jakub@redhat.com>

* charmaps/BIG5-HKSCS (WIDTH): Change <UE000> to <UE003> at start of
range.

17 years ago2002-08-15 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 20 Aug 2002 23:09:38 +0000 (23:09 +0000)]
2002-08-15  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locarchive.c (enlarge_archive): If quiet, don't
print any messages about enlarging archive.

17 years ago2002-08-15 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 20 Aug 2002 23:09:36 +0000 (23:09 +0000)]
2002-08-15  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/localedef.c (add_to_readlist): Error about
circular dependencies only if the locale in question hasn't
been finished.
* locale/programs/linereader.c (get_string): Pass LC_CTYPE not
CTYPE_LOCALE to load_locale.
* locale/programs/locfile.c (locfile_read): Don't include
unneeded but available locales in locale_mask.

17 years ago.
roland [Tue, 20 Aug 2002 21:51:55 +0000 (21:51 +0000)]
.

17 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:50:05 +0000 (21:50 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a
        new one modelled on the modern BSD license, per recent letter
        of permission from CMU.
        * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.

17 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:50:03 +0000 (21:50 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and
        copying permission notice (Lesser GPL), per recent IBM Software Letter.
        * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/root.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

17 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:34 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder
        from IBM to FSF, per the recent Software Letter.  Changed the
        distribution terms from GPL to LGPL.

17 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:33 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying
permission notice to say Lesser GPL instead of GPL in warranty
disclaimer paragraph.
        * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowpow.c:  Likewise.

17 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:29 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder
from IBM to FSF, per the recent Software Letter.  Corrected the
text of the copying permission notice to say Lesser GPL instead
of GPL in warranty disclaimer paragraph.
        * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
        * sysdeps/ieee754/dbl-64/branred.h: Likewise.
        * sysdeps/ieee754/dbl-64/dla.h: Likewise.
        * sysdeps/ieee754/dbl-64/doasin.h: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
        * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
        * sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
        * sysdeps/ieee754/dbl-64/upow.h: Likewise.
        * sysdeps/ieee754/dbl-64/urem.h: Likewise.
        * sysdeps/ieee754/dbl-64/uroot.h: Likewise.
        * sysdeps/ieee754/dbl-64/usncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/utan.h: Likewise.

17 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:26 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * manual/contrib.texi: Removed licenses, added acknowledgements
        for contributions by Intel, IBM, Craig Metz.
        * LICENSES: New file, contains the text of all non-FSF licenses in the
distribution that require putting the notice in the accompanying
documentation.
* README.template, README: Mention LICENSES.

17 years ago.
roland [Tue, 20 Aug 2002 21:27:26 +0000 (21:27 +0000)]
.

17 years ago2002-08-20 Roland McGrath <roland@redhat.com>
roland [Tue, 20 Aug 2002 21:26:56 +0000 (21:26 +0000)]
2002-08-20  Roland McGrath  <roland@redhat.com>

Fix ABI compatibility with libc compiled with old tools on powerpc.
Changes contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
and Jack Howarth <howarth@bromo.med.uc.edu>.
* sysdeps/powerpc/Makefile [$(have-protected) = yes]
(CPPFLAGS-divdi3.c, CPPFLAGS-libgcc-compat.S): New variables,
pass -DHAVE_DOT_HIDDEN for these files.
* sysdeps/powerpc/Versions (libc: GLIBC_2.0): Added __floatdidf,
__floatdisf.
* sysdeps/powerpc/divdi3.c: New file.
* sysdeps/powerpc/libgcc-compat.S: New file, replacement for ...
* sysdeps/powerpc/libgcc-compat.c: ... this, file removed.

17 years ago.
roland [Tue, 20 Aug 2002 19:40:17 +0000 (19:40 +0000)]
.

17 years ago2002-08-20 Roland McGrath <roland@redhat.com>
roland [Tue, 20 Aug 2002 19:40:00 +0000 (19:40 +0000)]
2002-08-20  Roland McGrath  <roland@redhat.com>

* elf/Makefile ($(objpfx)ld.so): Separate commands in rule so errors
can be detected by make.  Reported by H.J. Lu <hjl@gnu.org>.

17 years ago2002-08-20 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 20 Aug 2002 19:39:58 +0000 (19:39 +0000)]
2002-08-20  Jakub Jelinek  <jakub@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Handle
partially overlapping mappings.  Remove unneeded (char *) casts.
Never allow duplication of ranges in mapped areas.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 11:10:37 +0000 (11:10 +0000)]
Update.

17 years agoUse 32-bit operations when handling segment registers.
drepper [Tue, 20 Aug 2002 11:09:19 +0000 (11:09 +0000)]
Use 32-bit operations when handling segment registers.
No need to mask upper 16 bits in this case.
(DO_SET_THREAD_AREA): We have to load %gs again even if the value
is the same since the GDT content changed.

17 years agoUse 32-bit operations when handling segment registers.
drepper [Tue, 20 Aug 2002 11:07:33 +0000 (11:07 +0000)]
Use 32-bit operations when handling segment registers.
No need to mask upper 16 bits in this case.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 10:18:23 +0000 (10:18 +0000)]
Update.

17 years agoDon't hide _exit.
drepper [Tue, 20 Aug 2002 10:15:39 +0000 (10:15 +0000)]
Don't hide _exit.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 10:14:15 +0000 (10:14 +0000)]
Update.

17 years ago(TLS_INIT_TP): Add new parameter and simply ignore it.
drepper [Tue, 20 Aug 2002 10:13:19 +0000 (10:13 +0000)]
(TLS_INIT_TP): Add new parameter and simply ignore it.

17 years ago(TLS_INIT_TP): Add new parameter and pass it on to TLS_SETUP_GS_SEGMENT.
drepper [Tue, 20 Aug 2002 10:10:48 +0000 (10:10 +0000)]
(TLS_INIT_TP): Add new parameter and pass it on to TLS_SETUP_GS_SEGMENT.
(TLS_SETUP_GS_SEGMENT): Add new parameter and pass it on to
TLS_DO_SET_THREAD_AREA.
(TLS_DO_SET_THREAD_AREA): If new parameter is zero determine
entry number from %gs value.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 10:05:36 +0000 (10:05 +0000)]
Update.

17 years ago(TLS_INIT_TP): Describe new parameter.
drepper [Tue, 20 Aug 2002 10:03:26 +0000 (10:03 +0000)]
(TLS_INIT_TP): Describe new parameter.

17 years ago(__libc_setup_tls): Pass extra argument 1 to TLS_INIT_TP.
drepper [Tue, 20 Aug 2002 10:02:58 +0000 (10:02 +0000)]
(__libc_setup_tls): Pass extra argument 1 to TLS_INIT_TP.

17 years ago(_dl_start): Pass extra argument 1 to TLS_INIT_TP.
drepper [Tue, 20 Aug 2002 10:02:13 +0000 (10:02 +0000)]
(_dl_start): Pass extra argument 1 to TLS_INIT_TP.
(dl_main): Padd extra argument 0 to TLS_INIT_TP.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 08:12:32 +0000 (08:12 +0000)]
Update.

17 years ago(allocate_dtv): Optimize a bit.
drepper [Tue, 20 Aug 2002 08:10:28 +0000 (08:10 +0000)]
(allocate_dtv): Optimize a bit.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 07:27:36 +0000 (07:27 +0000)]
Update.

17 years agoPass NULL to _dl_allocate_tls. Pass true to _dl_deallocate_tls.
drepper [Tue, 20 Aug 2002 07:25:00 +0000 (07:25 +0000)]
Pass NULL to _dl_allocate_tls. Pass true to _dl_deallocate_tls.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 07:22:11 +0000 (07:22 +0000)]
Update.

17 years agoAdjust prototypes of _dl_allocate_tls and _dl_deallocate_tls. Add
drepper [Tue, 20 Aug 2002 07:18:24 +0000 (07:18 +0000)]
Adjust prototypes of _dl_allocate_tls and _dl_deallocate_tls.  Add
prototype for _dl_get_tls_static_info.

17 years ago(_dl_allocate_tls_storage): Move dtv memory allocation to...
drepper [Tue, 20 Aug 2002 07:16:51 +0000 (07:16 +0000)]
(_dl_allocate_tls_storage): Move dtv memory allocation to...
(allocate_dtv): ...here.  New function.
(_dl_allocate_tls): Change to take parameter.  If parameter is non-NULL
call allocate_dtv instead of _dl_allocate_tls_storage.
(_dl_deallocate_tls): New parameter.  Deallocate TCB only if true.
(_dl_get_tls_static_info): New function.

17 years ago[ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.
drepper [Tue, 20 Aug 2002 07:12:38 +0000 (07:12 +0000)]
[ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.

17 years agoUpdate.
drepper [Tue, 20 Aug 2002 00:23:31 +0000 (00:23 +0000)]
Update.

17 years ago(_dl_allocate_tls_init): Return immediately if result == NULL.
drepper [Tue, 20 Aug 2002 00:19:42 +0000 (00:19 +0000)]
(_dl_allocate_tls_init): Return immediately if result == NULL.

17 years agoUpdate.
drepper [Mon, 19 Aug 2002 22:22:47 +0000 (22:22 +0000)]
Update.

17 years ago(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.
drepper [Mon, 19 Aug 2002 22:21:32 +0000 (22:21 +0000)]
(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.

17 years agoUpdate.
aj [Mon, 19 Aug 2002 07:42:11 +0000 (07:42 +0000)]
Update.

17 years agoRegenerate.
aj [Mon, 19 Aug 2002 07:41:58 +0000 (07:41 +0000)]
Regenerate.

17 years ago.
roland [Sun, 18 Aug 2002 20:37:12 +0000 (20:37 +0000)]
.

17 years ago2002-08-18 Roland McGrath <roland@frob.com>
roland [Sun, 18 Aug 2002 20:36:41 +0000 (20:36 +0000)]
2002-08-18  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split
instead of __file_name_split.
* sysdeps/mach/hurd/unlink.c (__unlink): Likewise.

17 years ago.
roland [Sun, 18 Aug 2002 19:56:27 +0000 (19:56 +0000)]
.

17 years ago2002-08-18 Roland McGrath <roland@frob.com>
roland [Sun, 18 Aug 2002 19:56:15 +0000 (19:56 +0000)]
2002-08-18  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-sysdep.c
[HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable.
[HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW.

17 years ago.
roland [Sat, 17 Aug 2002 06:54:04 +0000 (06:54 +0000)]
.

17 years ago2002-08-16 Roland McGrath <roland@redhat.com>
roland [Sat, 17 Aug 2002 06:53:55 +0000 (06:53 +0000)]
2002-08-16  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_SET_THREAD_AREA): Calculate segment
register value from entry number properly.

17 years ago.
roland [Fri, 16 Aug 2002 20:16:38 +0000 (20:16 +0000)]
.

17 years ago2002-08-16 Roland McGrath <roland@redhat.com>
roland [Fri, 16 Aug 2002 20:16:24 +0000 (20:16 +0000)]
2002-08-16  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx
optimally conditional on [__PIC__].
(TLS_DO_SET_THREAD_AREA): New macro, implement inline syscall
without touching errno, and use latest modify_ldt-like interface.
(TLS_SETUP_GS_SEGMENT): Use that instead of INLINE_SYSCALL.
* sysdeps/i386/useldt.h (DO_MODIFY_LDT): Set %gs in this macro.
(DO_SET_THREAD_AREA): New macro, uses current syscall interface with
existing %gs value as the segment to set.
(INIT_THREAD_SELF): Rewritten using those.  Use set_thread_area only
under [HAVE_TLS_SUPPORT] so we can rely on the initialization done
by the first thread's early TLS setup.
2002-08-15  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_INIT_TP): Use statement expression and
return a value as callers now expect.

17 years ago2002-08-16 Roland McGrath <roland@redhat.com>
roland [Fri, 16 Aug 2002 20:16:22 +0000 (20:16 +0000)]
2002-08-16  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx
optimally conditional on [__PIC__].
(TLS_DO_SET_THREAD_AREA): New macro, implement inline syscall
without touching errno, and use latest modify_ldt-like interface.
(TLS_SETUP_GS_SEGMENT): Use that instead of INLINE_SYSCALL.
* sysdeps/i386/useldt.h (DO_MODIFY_LDT): Set %gs in this macro.
(DO_SET_THREAD_AREA): New macro, uses current syscall interface with
existing %gs value as the segment to set.
(INIT_THREAD_SELF): Rewritten using those.  Use set_thread_area only
under [HAVE_TLS_SUPPORT] so we can rely on the initialization done
by the first thread's early TLS setup.

17 years ago.
roland [Fri, 16 Aug 2002 00:08:47 +0000 (00:08 +0000)]
.

17 years ago2002-08-16 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 16 Aug 2002 00:08:35 +0000 (00:08 +0000)]
2002-08-16  Jakub Jelinek  <jakub@redhat.com>

        * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
in change before last: MAX -> MIN.

17 years ago.
roland [Fri, 16 Aug 2002 00:06:09 +0000 (00:06 +0000)]
.