kopensolaris-gnu/glibc.git
17 years ago2002-11-24 Roland McGrath <roland@redhat.com>
roland [Sun, 24 Nov 2002 23:11:14 +0000 (23:11 +0000)]
2002-11-24  Roland McGrath  <roland@redhat.com>

* configure.in: Skip AUTOCONF check under --without-cvs.
* configure: Regenerated.

17 years ago.
schwab [Sun, 24 Nov 2002 19:41:50 +0000 (19:41 +0000)]
.

17 years agoSupport inline syscall with six arguments.
schwab [Sun, 24 Nov 2002 19:41:42 +0000 (19:41 +0000)]
Support inline syscall with six arguments.

17 years agoUpdate.
drepper [Sun, 24 Nov 2002 18:41:22 +0000 (18:41 +0000)]
Update.

17 years ago(__mon_yday) [!_LIBC]: Declare as `static'.
drepper [Sun, 24 Nov 2002 18:39:35 +0000 (18:39 +0000)]
(__mon_yday) [!_LIBC]: Declare as `static'.

17 years ago(__mon_yday, __mktime_internal) [!_LIBC]: Declare as `static'.
drepper [Sun, 24 Nov 2002 18:37:56 +0000 (18:37 +0000)]
(__mon_yday, __mktime_internal) [!_LIBC]: Declare as `static'.

17 years agoRegenerated: autoconf sysdeps/generic/configure.in
schwab [Sun, 24 Nov 2002 17:39:51 +0000 (17:39 +0000)]
Regenerated: autoconf  sysdeps/generic/configure.in

17 years agoRegenerated: autoconf sysdeps/unix/configure.in
schwab [Sun, 24 Nov 2002 17:39:46 +0000 (17:39 +0000)]
Regenerated: autoconf  sysdeps/unix/configure.in

17 years ago.
roland [Sun, 24 Nov 2002 01:54:06 +0000 (01:54 +0000)]
.

17 years ago2002-11-23 Roland McGrath <roland@redhat.com>
roland [Sun, 24 Nov 2002 01:53:58 +0000 (01:53 +0000)]
2002-11-23  Roland McGrath  <roland@redhat.com>

* scripts/abilist.awk: Avoid strtonum function, not there in mawk.
Just produce hex output for datum sizes.

17 years ago.
roland [Sat, 23 Nov 2002 21:34:23 +0000 (21:34 +0000)]
.

17 years ago2002-11-23 Roland McGrath <roland@redhat.com>
roland [Sat, 23 Nov 2002 21:34:16 +0000 (21:34 +0000)]
2002-11-23  Roland McGrath  <roland@redhat.com>

* elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
Reported by Luca Barbieri <ldb@ldb.ods.org>.

17 years ago.
schwab [Fri, 22 Nov 2002 16:16:26 +0000 (16:16 +0000)]
.

17 years ago.
roland [Fri, 22 Nov 2002 05:23:51 +0000 (05:23 +0000)]
.

17 years ago2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
roland [Fri, 22 Nov 2002 05:23:44 +0000 (05:23 +0000)]
2002-11-20  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
and __unused3 fields.
* sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1
and __unused2 fields.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
__unused3,\ 3and __unused4 fields.

17 years ago.
roland [Fri, 22 Nov 2002 05:05:02 +0000 (05:05 +0000)]
.

17 years ago2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
roland [Fri, 22 Nov 2002 05:04:56 +0000 (05:04 +0000)]
2002-11-20  Steven Munroe  <sjmunroe@us.ibm.com>

* csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
obtain lowest address for profiling in __monstartup call.

17 years ago2002-11-21 Roland McGrath <roland@redhat.com>
roland [Fri, 22 Nov 2002 05:04:52 +0000 (05:04 +0000)]
2002-11-21  Roland McGrath  <roland@redhat.com>

* sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
$(calls) $(calls:=f) $(long-c-$(long-double-fcts)).

17 years ago.
roland [Fri, 22 Nov 2002 04:23:05 +0000 (04:23 +0000)]
.

17 years ago2002-11-21 Roland McGrath <roland@frob.com>
roland [Fri, 22 Nov 2002 04:22:57 +0000 (04:22 +0000)]
2002-11-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
__libc_multiple_libcs here.  Call __setfpucw.

17 years ago2002-11-21 Roland McGrath <roland@redhat.com>
roland [Fri, 22 Nov 2002 04:22:49 +0000 (04:22 +0000)]
2002-11-21  Roland McGrath  <roland@redhat.com>

* locale/localeinfo.h (struct locale_data): Revert last change.

17 years ago.
roland [Fri, 22 Nov 2002 01:27:01 +0000 (01:27 +0000)]
.

17 years ago2002-11-21 Roland McGrath <roland@redhat.com>
roland [Fri, 22 Nov 2002 01:26:55 +0000 (01:26 +0000)]
2002-11-21  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
__NR_pread64 if not defined.
(__NR_pwrite): Define to __NR_pwrite64 if not defined.
From Ian Wienand <ianw@gelato.unsw.edu.au>.

17 years ago2002-11-21 Roland McGrath <roland@redhat.com>
roland [Fri, 22 Nov 2002 01:26:53 +0000 (01:26 +0000)]
2002-11-21  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
From Ian Wienand <ianw@gelato.unsw.edu.au>.

17 years agoUpdate.
drepper [Fri, 22 Nov 2002 00:41:16 +0000 (00:41 +0000)]
Update.

17 years ago(tests): Don't add test-arrayX tests for now.
drepper [Fri, 22 Nov 2002 00:35:50 +0000 (00:35 +0000)]
(tests): Don't add test-arrayX tests for now.

17 years agoUpdate.
drepper [Fri, 22 Nov 2002 00:09:11 +0000 (00:09 +0000)]
Update.

17 years agoAdd new clone values.
drepper [Fri, 22 Nov 2002 00:08:22 +0000 (00:08 +0000)]
Add new clone values.

17 years agoAdd support for CLONE_CHILD_*TID flags.
drepper [Fri, 22 Nov 2002 00:01:03 +0000 (00:01 +0000)]
Add support for CLONE_CHILD_*TID flags.

17 years ago.
aj [Thu, 21 Nov 2002 11:09:39 +0000 (11:09 +0000)]
.

17 years ago * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
aj [Thu, 21 Nov 2002 11:09:28 +0000 (11:09 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
We pass struct ucontext on x86-64.
(GET_PC): Adjust.
(GET_FRAME): Adjust.
(GET_STACK): Adjust.

17 years agoImprove error message.
drepper [Thu, 21 Nov 2002 04:41:14 +0000 (04:41 +0000)]
Improve error message.

17 years ago.
roland [Thu, 21 Nov 2002 04:10:59 +0000 (04:10 +0000)]
.

17 years ago2002-11-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Nov 2002 04:10:53 +0000 (04:10 +0000)]
2002-11-20  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
conditionalize [! DO_VERSIONING] #error.

17 years ago.
roland [Thu, 21 Nov 2002 03:41:31 +0000 (03:41 +0000)]
.

17 years ago2002-11-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Nov 2002 03:41:21 +0000 (03:41 +0000)]
2002-11-20  Roland McGrath  <roland@redhat.com>

* posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES
value.

17 years ago2002-11-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Nov 2002 03:41:20 +0000 (03:41 +0000)]
2002-11-20  Roland McGrath  <roland@redhat.com>

* locale/localeinfo.h (struct locale_data: union locale_data_value):
Use uintptr_t instead of unsigned int for `word' member.
(_NL_CURRENT_WORD): Cast to uint32_t.

17 years ago2002-11-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Nov 2002 03:41:18 +0000 (03:41 +0000)]
2002-11-20  Roland McGrath  <roland@redhat.com>

* scripts/abilist.awk: Grok function descriptor symbols.

17 years ago2002-11-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Nov 2002 03:41:17 +0000 (03:41 +0000)]
2002-11-20  Roland McGrath  <roland@redhat.com>

* intl/tst-gettext.c (main): Check return values from setlocale.
Add necessary unsetenv's to make LANG=existing-locale check work.

17 years ago2002-11-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Nov 2002 03:41:16 +0000 (03:41 +0000)]
2002-11-20  Roland McGrath  <roland@redhat.com>

* intl/tst-gettext.sh: Use mkdir -p.  Copy test files unconditionally,
so aborted prior runs don't confuse things.

17 years agoUpdate.
drepper [Thu, 21 Nov 2002 03:06:21 +0000 (03:06 +0000)]
Update.

17 years agoAdd IA-64 definitions.
drepper [Thu, 21 Nov 2002 03:02:41 +0000 (03:02 +0000)]
Add IA-64 definitions.

17 years agoUpdate.
drepper [Thu, 21 Nov 2002 00:23:18 +0000 (00:23 +0000)]
Update.

17 years ago(tests): Add tst-iconv4.
drepper [Thu, 21 Nov 2002 00:22:20 +0000 (00:22 +0000)]
(tests): Add tst-iconv4.

17 years agoTest handling of incomplete input.
drepper [Thu, 21 Nov 2002 00:21:47 +0000 (00:21 +0000)]
Test handling of incomplete input.

17 years agoUpdate.
drepper [Wed, 20 Nov 2002 23:42:04 +0000 (23:42 +0000)]
Update.

17 years ago(PREPARE_LOOP): Return __GCONV_EMPTY_INPUT only if input is really
drepper [Wed, 20 Nov 2002 23:40:45 +0000 (23:40 +0000)]
(PREPARE_LOOP): Return __GCONV_EMPTY_INPUT only if input is really
empty.  Otherwise __GCONV_INCOMPLETE_INPUT.

17 years ago(LOOPFCT): First test for empty input then for full output buffer.
drepper [Wed, 20 Nov 2002 23:38:39 +0000 (23:38 +0000)]
(LOOPFCT): First test for empty input then for full output buffer.

17 years ago(internal_ucs4le_loop_unaligned): Return __GCONV_EMPTY_INPUT only if
drepper [Wed, 20 Nov 2002 23:37:02 +0000 (23:37 +0000)]
(internal_ucs4le_loop_unaligned): Return __GCONV_EMPTY_INPUT only if
input is really empty.  Otherwise __GCONV_INCOMPLETE_INPUT.
(ucs4le_internal_loop): Likewise.
(ucs4le_internal_loop_unaligned): Likewise.

17 years ago(gethosts): Pretty printing.
drepper [Wed, 20 Nov 2002 19:50:48 +0000 (19:50 +0000)]
(gethosts): Pretty printing.

17 years agoUpdate.
drepper [Wed, 20 Nov 2002 19:48:07 +0000 (19:48 +0000)]
Update.

17 years ago(gaih_inet): If AF_UNSPEC is set, use the same service for AF_INET and
drepper [Wed, 20 Nov 2002 19:44:20 +0000 (19:44 +0000)]
(gaih_inet): If AF_UNSPEC is set, use the same service for AF_INET and
AF_INET6.

17 years ago(getnameinfo): Use extend_alloca where appropriate.
drepper [Wed, 20 Nov 2002 19:43:17 +0000 (19:43 +0000)]
(getnameinfo): Use extend_alloca where appropriate.

17 years ago(extend_alloca): New define. Based on stack direction it'll try to
drepper [Wed, 20 Nov 2002 19:42:37 +0000 (19:42 +0000)]
(extend_alloca): New define.  Based on stack direction it'll try to
append to the previouls allocated buffer.

17 years ago.
roland [Wed, 20 Nov 2002 09:41:01 +0000 (09:41 +0000)]
.

17 years ago2002-11-18 Wolfram Gloger <wg@malloc.de>
roland [Wed, 20 Nov 2002 09:40:55 +0000 (09:40 +0000)]
2002-11-18  Wolfram Gloger  <wg@malloc.de>

* malloc/arena.c
(ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
nothing if not initialized.  Bug report from Marcus Brinkmann
<Marcus.Brinkmann@ruhr-uni-bochum.de>.

17 years ago(read_alias_file): Use only about 400 bytes of stack space instead of 16k.
drepper [Wed, 20 Nov 2002 04:19:45 +0000 (04:19 +0000)]
(read_alias_file): Use only about 400 bytes of stack space instead of 16k.

17 years agoUpdate.
drepper [Wed, 20 Nov 2002 01:25:19 +0000 (01:25 +0000)]
Update.

17 years ago(libc:GLIBC_2.0): Remove names of functions which are not defined in libc.
drepper [Wed, 20 Nov 2002 01:24:15 +0000 (01:24 +0000)]
(libc:GLIBC_2.0): Remove names of functions which are not defined in libc.

17 years ago(shared-only-routines): Add weaks.
drepper [Wed, 20 Nov 2002 01:23:28 +0000 (01:23 +0000)]
(shared-only-routines): Add weaks.

17 years agoRemove functions which are not exported from libc.so.
drepper [Wed, 20 Nov 2002 01:22:19 +0000 (01:22 +0000)]
Remove functions which are not exported from libc.so.

17 years ago.
roland [Wed, 20 Nov 2002 01:05:35 +0000 (01:05 +0000)]
.

17 years ago2002-11-19 Roland McGrath <roland@redhat.com>
roland [Wed, 20 Nov 2002 01:05:30 +0000 (01:05 +0000)]
2002-11-19  Roland McGrath  <roland@redhat.com>

* posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
sched_setaffinity.

17 years ago.
roland [Tue, 19 Nov 2002 22:15:00 +0000 (22:15 +0000)]
.

17 years ago2002-11-19 Roland McGrath <roland@redhat.com>
roland [Tue, 19 Nov 2002 22:14:47 +0000 (22:14 +0000)]
2002-11-19  Roland McGrath  <roland@redhat.com>

* configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
`-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
* configure: Regenerated.

17 years agoUpdate.
drepper [Tue, 19 Nov 2002 19:30:55 +0000 (19:30 +0000)]
Update.

17 years ago(__libc_dlopen_mode): Renamed from __libc_dlopen. Add
drepper [Tue, 19 Nov 2002 19:29:45 +0000 (19:29 +0000)]
(__libc_dlopen_mode): Renamed from __libc_dlopen.  Add
new parameter.  Store new parameter in mode field of structure passed
to do_dlopen.
(struct do_dlopen_args): Add new field mode.
(do_dlopen): Pass mode from parameter structure to _dl_open.

17 years ago__libc_dlopen is now a macro calling __libc_dlopen_mode with the extra
drepper [Tue, 19 Nov 2002 19:27:17 +0000 (19:27 +0000)]
__libc_dlopen is now a macro calling __libc_dlopen_mode with the extra
parameter RTLD_LAZY.
(__libc_dlopen_mode): New prototype.

17 years ago.
roland [Tue, 19 Nov 2002 09:27:04 +0000 (09:27 +0000)]
.

17 years ago2002-11-11 Randolf Chung <tausq@debian.org>
roland [Tue, 19 Nov 2002 09:26:54 +0000 (09:26 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.

17 years ago.
roland [Tue, 19 Nov 2002 06:41:14 +0000 (06:41 +0000)]
.

17 years ago2002-11-11 Randolf Chung <tausq@debian.org>
roland [Tue, 19 Nov 2002 06:41:05 +0000 (06:41 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
Set -mdisable-fpregs for this file.

17 years ago2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Tue, 19 Nov 2002 06:41:02 +0000 (06:41 +0000)]
2002-11-11  Carlos O'Donell  <carlos@baldric.uwo.ca>

        * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
        Define mcontext_t as a sigcontext.

17 years ago2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Tue, 19 Nov 2002 06:41:00 +0000 (06:41 +0000)]
2002-11-11  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/configure.in:
Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
from gcc-3.0 era for backwards compatibility.
* sysdeps/unix/sysv/linux/configure: Regenerate.

17 years ago2002-11-11 Randolf Chung <tausq@debian.org>
roland [Tue, 19 Nov 2002 06:40:57 +0000 (06:40 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/fpu/libm-test-ulps: New file (generated).

17 years ago2002-11-18 Roland McGrath <roland@redhat.com>
roland [Tue, 19 Nov 2002 06:40:17 +0000 (06:40 +0000)]
2002-11-18  Roland McGrath  <roland@redhat.com>

* dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
Free memory in `last_result' if it was used.

17 years ago2002-11-18 Roland McGrath <roland@redhat.com>
roland [Tue, 19 Nov 2002 06:40:16 +0000 (06:40 +0000)]
2002-11-18  Roland McGrath  <roland@redhat.com>

* resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
Do the parsing inline instead of copying strings and calling
inet_network, and properly skip all alias names not matching the form.

17 years ago.
roland [Mon, 18 Nov 2002 20:33:23 +0000 (20:33 +0000)]
.

17 years ago2002-11-18 Roland McGrath <roland@redhat.com>
roland [Mon, 18 Nov 2002 20:31:41 +0000 (20:31 +0000)]
2002-11-18  Roland McGrath  <roland@redhat.com>

* manual/pattern.texi (Variable Substitution): Fix # and ## examples.

17 years ago(Wordexp Example): Fix three bugs in the example code, all related to
drepper [Mon, 18 Nov 2002 20:25:07 +0000 (20:25 +0000)]
(Wordexp Example): Fix three bugs in the example code, all related to
the options parameter.

17 years agoUpdate.
drepper [Mon, 18 Nov 2002 07:41:51 +0000 (07:41 +0000)]
Update.

17 years agoInitialize word in the childs stack which will be loaded into the %esi
drepper [Mon, 18 Nov 2002 07:41:00 +0000 (07:41 +0000)]
Initialize word in the childs stack which will be loaded into the %esi
register.

17 years ago.
roland [Mon, 18 Nov 2002 04:10:15 +0000 (04:10 +0000)]
.

17 years ago2002-11-14 Paul Eggert <eggert@twionsun.com>
roland [Mon, 18 Nov 2002 04:10:08 +0000 (04:10 +0000)]
2002-11-14  Paul Eggert  <eggert@twionsun.com>

        * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
        overflow when skipping the question part and when unpacking
        aliases.

17 years ago.
roland [Fri, 15 Nov 2002 23:50:05 +0000 (23:50 +0000)]
.

17 years ago2002-11-15 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 23:49:59 +0000 (23:49 +0000)]
2002-11-15  Roland McGrath  <roland@redhat.com>

* math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
Instead add $(calls:s_%=m_%) to get m_* versions of them all.

17 years ago.
roland [Fri, 15 Nov 2002 22:51:30 +0000 (22:51 +0000)]
.

17 years ago2002-11-15 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 15 Nov 2002 22:51:19 +0000 (22:51 +0000)]
2002-11-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.

17 years ago2002-11-15 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 22:47:41 +0000 (22:47 +0000)]
2002-11-15  Roland McGrath  <roland@redhat.com>

* math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
(+make-include-of-dep): New canned sequence.

17 years ago2002-11-15 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 22:47:38 +0000 (22:47 +0000)]
2002-11-15  Roland McGrath  <roland@redhat.com>

* stdlib/canonicalize.c (__realpath): Check for malloc failure.
From Dmitry V. Levin <ldv@altlinux.org>.

17 years ago.
roland [Fri, 15 Nov 2002 03:37:21 +0000 (03:37 +0000)]
.

17 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:37:09 +0000 (03:37 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* libc-tsd.c: New file.
* Makefile (distribute): Add it.
(libc-link.so): New variable.
($(objpfx)libpthread.so): Depend on that instead of libc.so file name.
(libc-ok-for-link): New variable.
[$(versioning) = yes]: Include $(common-objpfx)tls.make and define
libc-ok-for-link to $(use-thread).
[$(libc-ok-for-link) = no]
(libc-link.so): Set to $(objpfx)libc.so, not $(common-objpfx)libc.so.
($(objpfx)libc_pic_lite.a,$(objpfx)libc_pic_lite.os, $(objpfx)libc.so):
New targets.
(generated): Append them.
(extra-objs): Append libc-tsd.os.
* libc-tls-loc.c: New file.
* Makefile (libpthread-routines): Add it.

17 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:37:07 +0000 (03:37 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* libc-tsd.c: New file.
* Makefile (distribute): Add it.
(libc-link.so): New variable.
($(objpfx)libpthread.so): Depend on that instead of libc.so file name.
(libc-ok-for-link): New variable.
[$(versioning) = yes]: Include $(common-objpfx)tls.make and define
libc-ok-for-link to $(use-thread).
[$(libc-ok-for-link) = no]
(libc-link.so): Set to $(objpfx)libc.so, not $(common-objpfx)libc.so.
($(objpfx)libc_pic_lite.a,$(objpfx)libc_pic_lite.os, $(objpfx)libc.so):
New targets.
(generated): Append them.
(extra-objs): Append libc-tsd.os.

17 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:37:05 +0000 (03:37 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* libc-tls-loc.c: New file.
* Makefile (libpthread-routines): Add it.

17 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:36:54 +0000 (03:36 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)%.make): New pattern rule.
* tls.make.c: New file.
* Makefile (distribute): Add it.

17 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:36:50 +0000 (03:36 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/errno.c (__libc_errno): Remove alias.
* inet/herrno.c (__libc_h_errno): Likewise.
* resolv/res_libc.c (__libc_res): Likewise.
[USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
(__res_state) [! USE___THREAD]: Don't define as weak.
* csu/Versions: Revert last change.
* resolv/Versions: Revert last change.

17 years agoRegenerated: autoconf sysdeps/unix/common/configure.in
drepper [Fri, 15 Nov 2002 00:01:53 +0000 (00:01 +0000)]
Regenerated: autoconf  sysdeps/unix/common/configure.in

17 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
drepper [Fri, 15 Nov 2002 00:01:40 +0000 (00:01 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

17 years ago.
roland [Thu, 14 Nov 2002 21:23:12 +0000 (21:23 +0000)]
.

17 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 21:22:48 +0000 (21:22 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/errno.c [! USE___THREAD]
[HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
with compat_symbol so they are not link-time visible.
[! USE___THREAD] (__libc_errno): New alias for errno.
* csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
Add __libc_errno here.
* inet/herrno.c [USE___THREAD]: Use this conditional
in place of [USE_TLS && HAVE___THREAD].
[! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
(h_errno, _h_errno): Declare these with compat_symbol so they are not
link-time visible.
[! USE___THREAD] (__libc_h_errno): New alias for h_errno.
* resolv/res_libc.c [! USE___THREAD]
[HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
(_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
(__libc_res): Define as alias for _res.
* resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
Add __libc_h_errno and __libc_res here.