kopensolaris-gnu/glibc.git
17 years agoconfigure file for SPARC32/ELF.
drepper [Tue, 28 Jan 2003 05:18:21 +0000 (05:18 +0000)]
configure file for SPARC32/ELF.

17 years agoUpdate.
drepper [Tue, 28 Jan 2003 00:50:31 +0000 (00:50 +0000)]
Update.

17 years ago(CHECK_STATIC_TLS): Improve error message.
drepper [Tue, 28 Jan 2003 00:49:15 +0000 (00:49 +0000)]
(CHECK_STATIC_TLS): Improve error message.

17 years ago(_dl_tls_static_size): Bump to 2048.
drepper [Tue, 28 Jan 2003 00:48:44 +0000 (00:48 +0000)]
(_dl_tls_static_size): Bump to 2048.

17 years agoUpdate.
drepper [Mon, 27 Jan 2003 22:08:50 +0000 (22:08 +0000)]
Update.

17 years ago(allocate_static_tls): Avoid arithmetic wrap-around in test.
drepper [Mon, 27 Jan 2003 22:07:50 +0000 (22:07 +0000)]
(allocate_static_tls): Avoid arithmetic wrap-around in test.

17 years agoUpdate.
drepper [Mon, 27 Jan 2003 21:03:22 +0000 (21:03 +0000)]
Update.

17 years agoRemove divdi3.c.
drepper [Mon, 27 Jan 2003 21:02:11 +0000 (21:02 +0000)]
Remove divdi3.c.

17 years ago(CPPFLAGS-divdi3.c): Don't define.
drepper [Mon, 27 Jan 2003 21:02:01 +0000 (21:02 +0000)]
(CPPFLAGS-divdi3.c): Don't define.

17 years agoDon't use __divdi3_internal.
drepper [Mon, 27 Jan 2003 21:01:40 +0000 (21:01 +0000)]
Don't use __divdi3_internal.

17 years agoExport the functions only as compatibility symbols. Remove INTDEF for __divdi3.
drepper [Mon, 27 Jan 2003 21:01:24 +0000 (21:01 +0000)]
Export the functions only as compatibility symbols.  Remove INTDEF for __divdi3.

17 years agoNot needed anymore.
drepper [Mon, 27 Jan 2003 21:01:04 +0000 (21:01 +0000)]
Not needed anymore.

17 years agoUse %g6 instead of %g7.
drepper [Mon, 27 Jan 2003 20:55:28 +0000 (20:55 +0000)]
Use %g6 instead of %g7.

17 years agoAdd cancellation support.
drepper [Mon, 27 Jan 2003 20:51:53 +0000 (20:51 +0000)]
Add cancellation support.

17 years agoTLS definitions for dynamic linker on SPARC.
drepper [Mon, 27 Jan 2003 20:51:32 +0000 (20:51 +0000)]
TLS definitions for dynamic linker on SPARC.

17 years agoAdd dl_machine_h guards
drepper [Mon, 27 Jan 2003 20:50:57 +0000 (20:50 +0000)]
Add dl_machine_h guards
for the first half of the header.  Include tls.h.
(elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs too.
(elf_machine_rela): Handle TLS relocs.

17 years agoExtra configure tests for SPARC32.
drepper [Mon, 27 Jan 2003 20:50:34 +0000 (20:50 +0000)]
Extra configure tests for SPARC32.

17 years agoAdd SPARC 32-bit definitions.
drepper [Mon, 27 Jan 2003 20:49:48 +0000 (20:49 +0000)]
Add SPARC 32-bit definitions.

17 years agoUpdate.
drepper [Mon, 27 Jan 2003 20:49:28 +0000 (20:49 +0000)]
Update.

17 years agoUse %g7 instead of %g6 for thread pointer.
drepper [Mon, 27 Jan 2003 20:48:41 +0000 (20:48 +0000)]
Use %g7 instead of %g6 for thread pointer.

17 years ago[HAVE_TLS_SUPPORT] (USE_TLS, TLS_INIT_TCB_SIZE,
drepper [Mon, 27 Jan 2003 20:47:36 +0000 (20:47 +0000)]
[HAVE_TLS_SUPPORT] (USE_TLS, TLS_INIT_TCB_SIZE,
TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE, TLS_TCB_ALIGN, TLS_TCB_AT_TP,
INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV, TLS_INIT_TP, THREAD_DTV): Define.
[HAVE_TLS_SUPPORT]: Include descr.h and sysdep.h.

17 years ago(__thread_self): Change to %g7, as required by TLS ABI.
drepper [Mon, 27 Jan 2003 20:47:07 +0000 (20:47 +0000)]
(__thread_self): Change to %g7, as required by TLS ABI.

17 years agoTest for fini array handling.
drepper [Mon, 27 Jan 2003 20:44:06 +0000 (20:44 +0000)]
Test for fini array handling.

17 years ago($(objpfx)tst-array4): New target.
drepper [Mon, 27 Jan 2003 20:43:28 +0000 (20:43 +0000)]
($(objpfx)tst-array4): New target.
($(objpfx)tst-array4.out): Likewise.
(tests) [$(have-initfini-array) = yes]: Add tst-array4.

17 years ago(_dl_close): Don't relocate DT_FINI_ARRAY elements, and process them backwards.
drepper [Mon, 27 Jan 2003 20:43:09 +0000 (20:43 +0000)]
(_dl_close): Don't relocate DT_FINI_ARRAY elements, and process them backwards.

17 years ago(SYSCALL_ERROR_LABEL): Define.
drepper [Mon, 27 Jan 2003 20:15:03 +0000 (20:15 +0000)]
(SYSCALL_ERROR_LABEL): Define.

17 years agoProcedure definition for FE_NOMASK_ENV for Linux/ppc64.
drepper [Mon, 27 Jan 2003 19:18:10 +0000 (19:18 +0000)]
Procedure definition for FE_NOMASK_ENV for Linux/ppc64.

17 years agoDon't set errno in the _LIBC_REENTRANT case, use register names consistently.
drepper [Mon, 27 Jan 2003 19:01:25 +0000 (19:01 +0000)]
Don't set errno in the _LIBC_REENTRANT case, use register names consistently.

17 years agoAdd support for cancellation handling and handle both __NR_pwrite64 and
drepper [Mon, 27 Jan 2003 19:01:03 +0000 (19:01 +0000)]
Add support for cancellation handling and handle both __NR_pwrite64 and
__NR_pwrite.

17 years agoAdd support for cancellation handling and handle both __NR_pread64 and
drepper [Mon, 27 Jan 2003 19:00:40 +0000 (19:00 +0000)]
Add support for cancellation handling and handle both __NR_pread64 and
__NR_pread.

17 years agoUpdate.
drepper [Mon, 27 Jan 2003 18:58:29 +0000 (18:58 +0000)]
Update.

17 years agoMakefile for Linux/MIPS.
drepper [Mon, 27 Jan 2003 18:57:22 +0000 (18:57 +0000)]
Makefile for Linux/MIPS.

17 years agoCancellation support for MIPS system calls.
drepper [Mon, 27 Jan 2003 18:56:29 +0000 (18:56 +0000)]
Cancellation support for MIPS system calls.

17 years ago(mem2chunk_check): Check alignment of mem pointer, not of the computed chunk.
drepper [Mon, 27 Jan 2003 18:32:36 +0000 (18:32 +0000)]
(mem2chunk_check): Check alignment of mem pointer, not of the computed chunk.

17 years ago.
schwab [Sat, 25 Jan 2003 23:07:37 +0000 (23:07 +0000)]
.

17 years ago(_dl_start_user): Use pc-relative addressing to save GOT entries.
schwab [Sat, 25 Jan 2003 23:07:04 +0000 (23:07 +0000)]
(_dl_start_user): Use pc-relative addressing to save GOT entries.

17 years agoadd item about pgrp
roland [Wed, 22 Jan 2003 11:30:53 +0000 (11:30 +0000)]
add item about pgrp

17 years ago.
roland [Wed, 22 Jan 2003 02:08:22 +0000 (02:08 +0000)]
.

17 years ago2003-01-21 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 22 Jan 2003 02:07:54 +0000 (02:07 +0000)]
2003-01-21  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/alpha/sysdep.h (inline_syscall0,
inline_syscall1, inline_syscall2, inline_syscall3,
inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
__attribute__((unused)) to ChEcK.

17 years agoUpdate.
drepper [Tue, 21 Jan 2003 05:45:26 +0000 (05:45 +0000)]
Update.

17 years agoUpdate.
drepper [Mon, 20 Jan 2003 18:59:08 +0000 (18:59 +0000)]
Update.

17 years ago(INTERNAL_SYSCALL): Fix inline assembler constraints.
drepper [Mon, 20 Jan 2003 18:57:12 +0000 (18:57 +0000)]
(INTERNAL_SYSCALL): Fix inline assembler constraints.

17 years ago(pic-ccflag): Use -fpic instead of -fPIC.
drepper [Mon, 20 Jan 2003 18:55:28 +0000 (18:55 +0000)]
(pic-ccflag): Use -fpic instead of -fPIC.

17 years agoUpdate.
drepper [Mon, 20 Jan 2003 18:54:29 +0000 (18:54 +0000)]
Update.

17 years agoAvoid non pc relative reference to __fork.
drepper [Mon, 20 Jan 2003 18:53:07 +0000 (18:53 +0000)]
Avoid non pc relative reference to __fork.

17 years ago.
roland [Mon, 20 Jan 2003 05:25:38 +0000 (05:25 +0000)]
.

17 years ago2003-01-20 Segher Boessenkool <segher@koffie.nl>
roland [Mon, 20 Jan 2003 05:25:30 +0000 (05:25 +0000)]
2003-01-20  Segher Boessenkool  <segher@koffie.nl>

* sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
compute the cosine, not the sine, even if x > 0.8.

17 years agoUpdate.
drepper [Sun, 19 Jan 2003 19:22:02 +0000 (19:22 +0000)]
Update.

17 years agoMake _nss_nis_endspent an alias of _nss_nis_setspent. Work around the
drepper [Sun, 19 Jan 2003 19:20:34 +0000 (19:20 +0000)]
Make _nss_nis_endspent an alias of _nss_nis_setspent.  Work around the
different prototypes.

17 years ago(internal_nis_setrpcent): Use internal_nis_endrpcent.
drepper [Sun, 19 Jan 2003 19:16:56 +0000 (19:16 +0000)]
(internal_nis_setrpcent): Use internal_nis_endrpcent.
(internal_nis_endrpcent): Change return type to void.  Change callers.

17 years agoMake _nss_nis_endpwent an alias of _nss_nis_setpwent. Work around the
drepper [Sun, 19 Jan 2003 19:09:10 +0000 (19:09 +0000)]
Make _nss_nis_endpwent an alias of _nss_nis_setpwent.  Work around the
different prototypes.

17 years agoFix comment.
drepper [Sun, 19 Jan 2003 19:06:49 +0000 (19:06 +0000)]
Fix comment.

17 years agoFix comment.
drepper [Sun, 19 Jan 2003 19:06:07 +0000 (19:06 +0000)]
Fix comment.

17 years ago(_nss_nis_endprotoent): Split out body of the function to...
drepper [Sun, 19 Jan 2003 19:02:01 +0000 (19:02 +0000)]
(_nss_nis_endprotoent): Split out body of the function to...
(internal_nis_endprotoent): ... here.  New function.
(internal_nis_setprotoent): Use internal_nis_endprotoent.

17 years agoMake _nss_nis_endnetent an alias of _nss_nis_setnetent. Work around the
drepper [Sun, 19 Jan 2003 18:54:38 +0000 (18:54 +0000)]
Make _nss_nis_endnetent an alias of _nss_nis_setnetent.  Work around the
different prototypes.

17 years ago(_nss_nis_endnetgrent): Split out body of the function to...
drepper [Sun, 19 Jan 2003 18:49:28 +0000 (18:49 +0000)]
(_nss_nis_endnetgrent): Split out body of the function to...
(internal_nis_endnetgrent): ... here.  New function.
(_nss_nis_setnetgrent): Use internal_nis_endnetgrent.

17 years agoUpdate.
drepper [Sun, 19 Jan 2003 18:39:38 +0000 (18:39 +0000)]
Update.

17 years ago(widen): Merge nearly-identical definitions.
drepper [Sun, 19 Jan 2003 18:37:32 +0000 (18:37 +0000)]
(widen): Merge nearly-identical definitions.
(nl_get_alt_digit) [! defined my_strftime]: Define.
(my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
_nl_get_alt_digit and _nl_get_walt_digit.

17 years agoUpdate.
drepper [Sun, 19 Jan 2003 10:05:55 +0000 (10:05 +0000)]
Update.

17 years agoTest for strftime.
drepper [Sun, 19 Jan 2003 10:04:23 +0000 (10:04 +0000)]
Test for strftime.

17 years ago(tests): Add tst-strftime.
drepper [Sun, 19 Jan 2003 10:03:57 +0000 (10:03 +0000)]
(tests): Add tst-strftime.

17 years ago(my_strftime): Handle very large width specifications for numeric
drepper [Sun, 19 Jan 2003 10:02:50 +0000 (10:02 +0000)]
(my_strftime): Handle very large width specifications for numeric
values correctly.  Improve checks for overflow.

17 years agoUpdate.
drepper [Sat, 18 Jan 2003 10:42:51 +0000 (10:42 +0000)]
Update.

17 years agoMake _nss_nis_endhostent an alias of _nss_nis_sethostent. Work around the
drepper [Sat, 18 Jan 2003 10:41:04 +0000 (10:41 +0000)]
Make _nss_nis_endhostent an alias of _nss_nis_sethostent.  Work around the
different prototypes.

17 years agoMake _nss_nis_endgrent an alias of _nss_nis_setgrent. Work around the
drepper [Sat, 18 Jan 2003 10:36:38 +0000 (10:36 +0000)]
Make _nss_nis_endgrent an alias of _nss_nis_setgrent.  Work around the
different prototypes.

17 years ago(internal_nis_endetherent): New function. Split out from _nss_nis_endetherent.
drepper [Sat, 18 Jan 2003 10:27:51 +0000 (10:27 +0000)]
(internal_nis_endetherent): New function.  Split out from _nss_nis_endetherent.
(internal_nis_setetherent): Use internal_nis_endetherent instead of duplicating
the code.

17 years agoMake _nss_nss_nis_endaliasent an alias of _nss_nis_setaliasent.
drepper [Sat, 18 Jan 2003 10:22:04 +0000 (10:22 +0000)]
Make _nss_nss_nis_endaliasent an alias of _nss_nis_setaliasent.

17 years ago(internal_nis_setservent): Reuse internal_nis_endservent code, don't
drepper [Sat, 18 Jan 2003 10:18:41 +0000 (10:18 +0000)]
(internal_nis_setservent): Reuse internal_nis_endservent code, don't
duplicate it.

17 years agoUpdate.
drepper [Sat, 18 Jan 2003 10:12:37 +0000 (10:12 +0000)]
Update.

17 years ago(rexec_af): Protect socket operations with TEMP_FAILURE_RETRY. Use
drepper [Sat, 18 Jan 2003 10:07:42 +0000 (10:07 +0000)]
(rexec_af): Protect socket operations with TEMP_FAILURE_RETRY.  Use
writev instead of multiple write.

17 years ago(rcmd_af): Protect socket operations with TEMP_FAILURE_RETRY. Use
drepper [Sat, 18 Jan 2003 10:07:01 +0000 (10:07 +0000)]
(rcmd_af): Protect socket operations with TEMP_FAILURE_RETRY.  Use
writev instead of multiple write.

17 years ago.
roland [Sat, 18 Jan 2003 01:50:46 +0000 (01:50 +0000)]
.

17 years ago2003-01-17 Roland McGrath <roland@redhat.com>
roland [Sat, 18 Jan 2003 01:50:39 +0000 (01:50 +0000)]
2003-01-17  Roland McGrath  <roland@redhat.com>

* math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
Add test of value 0.80190127184058835.

17 years ago.
roland [Fri, 17 Jan 2003 21:37:06 +0000 (21:37 +0000)]
.

17 years ago2003-01-17 Roland McGrath <roland@redhat.com>
roland [Fri, 17 Jan 2003 21:37:00 +0000 (21:37 +0000)]
2003-01-17  Roland McGrath  <roland@redhat.com>

* elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.

17 years agoUpdate.
drepper [Fri, 17 Jan 2003 19:57:05 +0000 (19:57 +0000)]
Update.

17 years ago(EPILOGUE, GPSAVEREG): New.
drepper [Fri, 17 Jan 2003 19:19:55 +0000 (19:19 +0000)]
(EPILOGUE, GPSAVEREG): New.
(LOADGP) [!PIC]: Rewrite to preserve caller's gp.

17 years agoHelper code for TLS setup in static libc.
drepper [Fri, 17 Jan 2003 19:19:37 +0000 (19:19 +0000)]
Helper code for TLS setup in static libc.

17 years ago(elf_machine_type_class): Add TLS relocs for class PLT.
drepper [Fri, 17 Jan 2003 19:18:51 +0000 (19:18 +0000)]
(elf_machine_type_class): Add TLS relocs for class PLT.

17 years agoUpdate.
drepper [Fri, 17 Jan 2003 19:18:18 +0000 (19:18 +0000)]
Update.

17 years agoDon't tail-call to __fork if !SHARED.
drepper [Fri, 17 Jan 2003 19:17:36 +0000 (19:17 +0000)]
Don't tail-call to __fork if !SHARED.

17 years ago(tcbhead_t): Clarify second member.
drepper [Fri, 17 Jan 2003 19:17:02 +0000 (19:17 +0000)]
(tcbhead_t): Clarify second member.
(TLS_TCB_SIZE, TLS_TCB_ALIGN): Set for tcbhead_t.
(TLS_PRE_TCB_SIZE): New.
(TLS_INIT_TP, THREAD_SELF, INIT_THREAD_SELF): Update for
new ia64-style thread pointer layout.
(THREAD_GETMEM, THREAD_GETMEM_NC): New.
(THREAD_SETMEM, THREAD_SETMEM_NC): New.

17 years ago(_dl_static_init): Use __libc_lock_{,un}lock_recursive instead of
drepper [Fri, 17 Jan 2003 19:14:38 +0000 (19:14 +0000)]
(_dl_static_init): Use __libc_lock_{,un}lock_recursive instead of
__libc_lock_{,un}lock on _dl_static_lock.

17 years agoUpdate.
aj [Fri, 17 Jan 2003 11:58:21 +0000 (11:58 +0000)]
Update.

17 years agoInclude stdlib.h for exit prototype.
aj [Fri, 17 Jan 2003 11:58:12 +0000 (11:58 +0000)]
Include stdlib.h for exit prototype.

17 years agoUpdate.
drepper [Fri, 17 Jan 2003 10:07:21 +0000 (10:07 +0000)]
Update.

17 years ago(headers): Add bits/semaphore.h.
drepper [Fri, 17 Jan 2003 10:07:01 +0000 (10:07 +0000)]
(headers): Add bits/semaphore.h.

17 years agoLinux/PPC64 internal ucontext definitions.
drepper [Fri, 17 Jan 2003 03:26:27 +0000 (03:26 +0000)]
Linux/PPC64 internal ucontext definitions.

17 years agoUpdate.
drepper [Fri, 17 Jan 2003 01:02:24 +0000 (01:02 +0000)]
Update.

17 years agoswapcontext implementation for Linux/PPC64.
drepper [Fri, 17 Jan 2003 01:01:28 +0000 (01:01 +0000)]
swapcontext implementation for Linux/PPC64.

17 years agosetcontext implementation for Linux/PPC64.
drepper [Fri, 17 Jan 2003 01:01:16 +0000 (01:01 +0000)]
setcontext implementation for Linux/PPC64.

17 years agomakecontext implementation for Linux/PPC64.
drepper [Fri, 17 Jan 2003 01:01:11 +0000 (01:01 +0000)]
makecontext implementation for Linux/PPC64.

17 years agogetcontext implementation for Linux/PPC64.
drepper [Fri, 17 Jan 2003 01:01:03 +0000 (01:01 +0000)]
getcontext implementation for Linux/PPC64.

17 years agoucontext definition for PPC/Linux.
drepper [Fri, 17 Jan 2003 01:00:06 +0000 (01:00 +0000)]
ucontext definition for PPC/Linux.

17 years agoMinimum kernel for PPC64 is 2.4.21.
drepper [Fri, 17 Jan 2003 00:59:02 +0000 (00:59 +0000)]
Minimum kernel for PPC64 is 2.4.21.

17 years ago(glob): Assume sysconf() always returns values != -1 for _LIBC.
drepper [Fri, 17 Jan 2003 00:42:16 +0000 (00:42 +0000)]
(glob): Assume sysconf() always returns values != -1 for _LIBC.
Use extend_alloca to reallocate alloca'ed buffers.

17 years agoUnconditionally implement _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
drepper [Fri, 17 Jan 2003 00:03:24 +0000 (00:03 +0000)]
Unconditionally implement _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.

17 years agoUpdate.
drepper [Thu, 16 Jan 2003 19:20:36 +0000 (19:20 +0000)]
Update.

17 years agoTest for error handling.
drepper [Thu, 16 Jan 2003 19:19:43 +0000 (19:19 +0000)]
Test for error handling.

17 years agotests): Add bug-regex16.
drepper [Thu, 16 Jan 2003 19:16:58 +0000 (19:16 +0000)]
tests): Add bug-regex16.