kopensolaris-gnu/glibc.git
14 years agoAdd fortified stpncpy definitions.
drepper [Fri, 15 Jul 2005 10:12:04 +0000 (10:12 +0000)]
Add fortified stpncpy definitions.

14 years agoFortified strpncpy variant.
drepper [Fri, 15 Jul 2005 10:11:27 +0000 (10:11 +0000)]
Fortified strpncpy variant.

14 years agoAdd __wcsncpy alias.
drepper [Fri, 15 Jul 2005 10:09:35 +0000 (10:09 +0000)]
Add __wcsncpy alias.

14 years agoInclude <bits/wchar2.h> if fortification is requested.
drepper [Fri, 15 Jul 2005 10:08:27 +0000 (10:08 +0000)]
Include <bits/wchar2.h> if fortification is requested.

14 years agoFortified versions of wchar.h functions.
drepper [Fri, 15 Jul 2005 10:07:46 +0000 (10:07 +0000)]
Fortified versions of wchar.h functions.

14 years ago.
drepper [Thu, 14 Jul 2005 02:53:33 +0000 (02:53 +0000)]
.

14 years agoAdd a few __builtin_expect.
drepper [Thu, 14 Jul 2005 02:52:54 +0000 (02:52 +0000)]
Add a few __builtin_expect.

14 years ago.
drepper [Thu, 14 Jul 2005 02:17:58 +0000 (02:17 +0000)]
.

14 years ago(send_ro_fd): Make sure BUF is aligned correctly.
drepper [Thu, 14 Jul 2005 02:17:17 +0000 (02:17 +0000)]
(send_ro_fd): Make sure BUF is aligned correctly.

14 years ago.
drepper [Wed, 13 Jul 2005 22:47:24 +0000 (22:47 +0000)]
.

14 years ago(wait_on_socket): New function.
drepper [Wed, 13 Jul 2005 22:46:31 +0000 (22:46 +0000)]
(wait_on_socket): New function.
(get_mapping): Use wait_on_socket instead of poll.  The former handles
EINTR of poll correctly.
(__nscd_open_socket): Likewise.
(get_mapping): Make sure BUF is aligned correctly.
(get_mapping): Use munmap on correct pointer.

14 years ago.
drepper [Wed, 13 Jul 2005 06:26:17 +0000 (06:26 +0000)]
.

14 years agoAdd librt_hidden_def.
drepper [Wed, 13 Jul 2005 06:25:07 +0000 (06:25 +0000)]
Add librt_hidden_def.

14 years agoAdd librt_hidden_def.
drepper [Wed, 13 Jul 2005 06:24:27 +0000 (06:24 +0000)]
Add librt_hidden_def.

14 years agoAdd ilbrt_hidden_proto definition for clock_gettime.
drepper [Wed, 13 Jul 2005 06:22:24 +0000 (06:22 +0000)]
Add ilbrt_hidden_proto definition for clock_gettime.

14 years agoDefine macros fro librt hidden symbols.
drepper [Wed, 13 Jul 2005 06:21:07 +0000 (06:21 +0000)]
Define macros fro librt hidden symbols.

14 years ago.
drepper [Wed, 13 Jul 2005 06:09:58 +0000 (06:09 +0000)]
.

14 years ago(routines): Add ptsname_r_chk, realpath_chk, and wctomb_chk.
drepper [Wed, 13 Jul 2005 06:09:13 +0000 (06:09 +0000)]
(routines): Add ptsname_r_chk, realpath_chk, and wctomb_chk.

14 years agoAdd tests for __ptsname_r_chk, __realpath_chk, and __wctomb_chk.
drepper [Wed, 13 Jul 2005 06:08:26 +0000 (06:08 +0000)]
Add tests for __ptsname_r_chk, __realpath_chk, and __wctomb_chk.

14 years agoExport __ptsname_r_chk, __realpath_chk, and __wctomb_chk.
drepper [Wed, 13 Jul 2005 06:07:31 +0000 (06:07 +0000)]
Export __ptsname_r_chk, __realpath_chk, and __wctomb_chk.

14 years agoCheck version of wctomb.
drepper [Wed, 13 Jul 2005 06:06:35 +0000 (06:06 +0000)]
Check version of wctomb.

14 years agoCheck version of realpath.
drepper [Wed, 13 Jul 2005 06:06:07 +0000 (06:06 +0000)]
Check version of realpath.

14 years agoCheck version of ptsname_r.
drepper [Wed, 13 Jul 2005 06:05:43 +0000 (06:05 +0000)]
Check version of ptsname_r.

14 years agoDependencies of debug subdir.
drepper [Wed, 13 Jul 2005 06:02:34 +0000 (06:02 +0000)]
Dependencies of debug subdir.

14 years agoWrapper around stdlib/bits/stdlib.h.
drepper [Wed, 13 Jul 2005 06:01:33 +0000 (06:01 +0000)]
Wrapper around stdlib/bits/stdlib.h.

14 years ago(headers): Add bits/stdlib.h.
drepper [Wed, 13 Jul 2005 06:00:44 +0000 (06:00 +0000)]
(headers): Add bits/stdlib.h.

14 years agoInclude <bits/stdlib.h> if foriticatio is requested.
drepper [Wed, 13 Jul 2005 06:00:17 +0000 (06:00 +0000)]
Include <bits/stdlib.h> if foriticatio is requested.

14 years agoFortification support for functions in <stdlib.h>.
drepper [Wed, 13 Jul 2005 05:59:18 +0000 (05:59 +0000)]
Fortification support for functions in <stdlib.h>.

14 years ago.
drepper [Tue, 12 Jul 2005 21:38:07 +0000 (21:38 +0000)]
.

14 years agoInclude not-cancel.h.
drepper [Tue, 12 Jul 2005 21:36:56 +0000 (21:36 +0000)]
Include not-cancel.h.
(has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
instead of read and close_not_cancel_no_status instead of close.

14 years ago.
drepper [Tue, 12 Jul 2005 21:22:37 +0000 (21:22 +0000)]
.

14 years ago(__bcopy): Use HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
drepper [Tue, 12 Jul 2005 21:21:32 +0000 (21:21 +0000)]
(__bcopy): Use HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.

14 years ago.
drepper [Mon, 11 Jul 2005 16:41:29 +0000 (16:41 +0000)]
.

14 years ago(tests): Add tst-initializers1.
drepper [Mon, 11 Jul 2005 16:40:21 +0000 (16:40 +0000)]
(tests): Add tst-initializers1.
(CFLAGS-tst-initializers1.c): Set.

14 years agoCheck that gcc likes the initializers of the various objects.
drepper [Mon, 11 Jul 2005 16:39:25 +0000 (16:39 +0000)]
Check that gcc likes the initializers of the various objects.

14 years ago(PTHREAD_MUTEX_INITIALIZER, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP,
drepper [Mon, 11 Jul 2005 16:38:01 +0000 (16:38 +0000)]
(PTHREAD_MUTEX_INITIALIZER, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP,
PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, PTHREAD_MUTEX_ADAPTIVE_NP,
PTHREAD_RWLOCK_INITIALIZER,
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP,
PTHREAD_COND_INITIALIZER): Supply zeros for all fields
in the structure.

14 years ago.
drepper [Mon, 11 Jul 2005 15:49:23 +0000 (15:49 +0000)]
.

14 years ago(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
drepper [Mon, 11 Jul 2005 15:48:29 +0000 (15:48 +0000)]
(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
start of the structure.

14 years ago.
drepper [Sun, 10 Jul 2005 22:06:09 +0000 (22:06 +0000)]
.

14 years ago.
drepper [Sun, 10 Jul 2005 22:02:15 +0000 (22:02 +0000)]
.

14 years ago(re_compile_internal): Call __libc_lock_init after init_dfa.
drepper [Sun, 10 Jul 2005 22:01:14 +0000 (22:01 +0000)]
(re_compile_internal): Call __libc_lock_init after init_dfa.

14 years ago.
drepper [Fri, 8 Jul 2005 22:26:24 +0000 (22:26 +0000)]
.

14 years agosincos implementation for x86-64.
drepper [Fri, 8 Jul 2005 22:25:41 +0000 (22:25 +0000)]
sincos implementation for x86-64.

14 years agoUse retq not ret. Remove alignment.
drepper [Fri, 8 Jul 2005 22:24:38 +0000 (22:24 +0000)]
Use retq not ret.  Remove alignment.

14 years ago.
drepper [Fri, 8 Jul 2005 18:54:49 +0000 (18:54 +0000)]
.

14 years agoAdd libm_hidden_def.
drepper [Fri, 8 Jul 2005 18:52:45 +0000 (18:52 +0000)]
Add libm_hidden_def.

14 years agoAdd libm_hidden_proto for fesetround and feholdexcept.
drepper [Fri, 8 Jul 2005 18:45:36 +0000 (18:45 +0000)]
Add libm_hidden_proto for fesetround and feholdexcept.

14 years ago(__significand): Use __ilogb not ilogb.
drepper [Fri, 8 Jul 2005 18:11:49 +0000 (18:11 +0000)]
(__significand): Use __ilogb not ilogb.

14 years ago(__significandf): Use __ilogbf not ilogbf.
drepper [Fri, 8 Jul 2005 18:10:27 +0000 (18:10 +0000)]
(__significandf): Use __ilogbf not ilogbf.

14 years ago.
drepper [Fri, 8 Jul 2005 17:59:03 +0000 (17:59 +0000)]
.

14 years ago(__sincos): Use __sin and __cos, not sin and cos.
drepper [Fri, 8 Jul 2005 17:57:21 +0000 (17:57 +0000)]
(__sincos): Use __sin and __cos, not sin and cos.

14 years ago.
drepper [Fri, 8 Jul 2005 16:20:37 +0000 (16:20 +0000)]
.

14 years agoUpdate.
drepper [Fri, 8 Jul 2005 16:19:07 +0000 (16:19 +0000)]
Update.

14 years ago. fedora-glibc-20050708T0811
drepper [Fri, 8 Jul 2005 06:50:06 +0000 (06:50 +0000)]
.

14 years ago(send_dg): Recognize referral results and treat them as server errors.
drepper [Fri, 8 Jul 2005 06:49:08 +0000 (06:49 +0000)]
(send_dg): Recognize referral results and treat them as server errors.

14 years ago.
roland [Fri, 8 Jul 2005 06:11:29 +0000 (06:11 +0000)]
.

14 years ago2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
roland [Fri, 8 Jul 2005 06:11:21 +0000 (06:11 +0000)]
2005-07-08  Carlos O'Donell <carlos@systemhalted.org>

* sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.

14 years ago.
roland [Fri, 8 Jul 2005 06:10:39 +0000 (06:10 +0000)]
.

14 years ago2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
roland [Fri, 8 Jul 2005 06:10:13 +0000 (06:10 +0000)]
2005-07-08  Carlos O'Donell <carlos@systemhalted.org>

* sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
* sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
* sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
* sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
* sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
* sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.

14 years ago.
drepper [Thu, 7 Jul 2005 23:46:51 +0000 (23:46 +0000)]
.

14 years ago(__ctan): Handle case of zero den better.
drepper [Thu, 7 Jul 2005 23:45:45 +0000 (23:45 +0000)]
(__ctan): Handle case of zero den better.

14 years ago(__ctanf): Handle case of zero den better.
drepper [Thu, 7 Jul 2005 23:45:15 +0000 (23:45 +0000)]
(__ctanf): Handle case of zero den better.

14 years ago(__ctanl): Handle case of zero den better.
drepper [Thu, 7 Jul 2005 23:44:29 +0000 (23:44 +0000)]
(__ctanl): Handle case of zero den better.

14 years ago.
drepper [Thu, 7 Jul 2005 23:31:46 +0000 (23:31 +0000)]
.

14 years ago(__ctanh): Handle case of zero den better.
drepper [Thu, 7 Jul 2005 23:30:47 +0000 (23:30 +0000)]
(__ctanh): Handle case of zero den better.

14 years ago(__ctanhf): Handle case of zero den better.
drepper [Thu, 7 Jul 2005 23:30:05 +0000 (23:30 +0000)]
(__ctanhf): Handle case of zero den better.

14 years ago(__ctanhl): Handle case of zero den better.
drepper [Thu, 7 Jul 2005 23:29:00 +0000 (23:29 +0000)]
(__ctanhl): Handle case of zero den better.

14 years ago.
roland [Thu, 7 Jul 2005 23:20:03 +0000 (23:20 +0000)]
.

14 years ago2005-07-02 Roland McGrath <roland@redhat.com>
roland [Thu, 7 Jul 2005 23:19:57 +0000 (23:19 +0000)]
2005-07-02  Roland McGrath  <roland@redhat.com>

* Makeconfig: Comment fix.

14 years ago.
drepper [Thu, 7 Jul 2005 23:00:02 +0000 (23:00 +0000)]
.

14 years ago(distribute): Add tst-array5.c tst-array5-static.c
drepper [Thu, 7 Jul 2005 22:59:14 +0000 (22:59 +0000)]
(distribute): Add tst-array5.c tst-array5-static.c
tst-array5dep.c tst-array5.exp
(tests): Add tst-array5.
(tests-static): Add tst-array5-static.
($(objpfx)tst-array5): New target.
($(objpfx)tst-array5.out): Likewise.
($(objpfx)tst-array5-static.out): Likewise.

14 years agoTest of init_array initializers in executable.
drepper [Thu, 7 Jul 2005 22:58:31 +0000 (22:58 +0000)]
Test of init_array initializers in executable.

14 years ago(INIT_MAIN_ARGS): Removed.
drepper [Thu, 7 Jul 2005 22:57:33 +0000 (22:57 +0000)]
(INIT_MAIN_ARGS): Removed.

14 years ago(LIBC_START_MAIN): Remove INIT_MAIN_ARGS.
drepper [Thu, 7 Jul 2005 22:57:06 +0000 (22:57 +0000)]
(LIBC_START_MAIN): Remove INIT_MAIN_ARGS.

14 years ago(__preinit_array_start): Take int, char **, char **.
drepper [Thu, 7 Jul 2005 22:56:11 +0000 (22:56 +0000)]
(__preinit_array_start): Take int, char **, char **.
(__preinit_array_end): Likewise.
(__init_array_start): Likewise.
(__init_array_end): Likewise.
(__libc_csu_init): Take int argc, char **argv, char **envp.
Call preinit_array and init_array with argc, argv, envp.

14 years ago.
drepper [Thu, 7 Jul 2005 21:15:50 +0000 (21:15 +0000)]
.

14 years agoAdjust clone prototype.
drepper [Thu, 7 Jul 2005 21:14:33 +0000 (21:14 +0000)]
Adjust clone prototype.

14 years ago.
drepper [Thu, 7 Jul 2005 06:10:18 +0000 (06:10 +0000)]
.

14 years ago(TLS_VALUE): Don't assume TLS_PRE_TCB_SIZE is sizeof (struct pthread).
drepper [Thu, 7 Jul 2005 06:09:15 +0000 (06:09 +0000)]
(TLS_VALUE): Don't assume TLS_PRE_TCB_SIZE is sizeof (struct pthread).

14 years ago(PID, TID, MULTIPLE_THREADS_OFFSET): Use TLS_PRE_TCB_SIZE instead of
drepper [Thu, 7 Jul 2005 06:08:49 +0000 (06:08 +0000)]
(PID, TID, MULTIPLE_THREADS_OFFSET): Use TLS_PRE_TCB_SIZE instead of
sizeof (struct pthread).

14 years ago(TLS_PRE_TCB_SIZE): If PTHREAD_STRUCT_END_PADDING
drepper [Thu, 7 Jul 2005 06:08:07 +0000 (06:08 +0000)]
(TLS_PRE_TCB_SIZE): If PTHREAD_STRUCT_END_PADDING
is smaller than 8 bytes, increase TLS_PRE_TCB_SIZE by 16 bytes.
(THREAD_SYSINFO, THREAD_SELF, DB_THREAD_SELF): Don't assume
TLS_PRE_TCB_SIZE is sizeof (struct pthread).
(THREAD_SET_STACK_GUARD, THREAD_COPY_STACK_GUARD): Define.

14 years ago(PTHREAD_STRUCT_END_PADDING): Define.
drepper [Thu, 7 Jul 2005 06:07:13 +0000 (06:07 +0000)]
(PTHREAD_STRUCT_END_PADDING): Define.

14 years ago.
drepper [Thu, 7 Jul 2005 06:05:58 +0000 (06:05 +0000)]
.

14 years ago(STACK_CHK_GUARD): Fix s390/s390x definition.
drepper [Thu, 7 Jul 2005 06:04:47 +0000 (06:04 +0000)]
(STACK_CHK_GUARD): Fix s390/s390x definition.
(STACK_CHK_GUARD): Add ia64 definition.

14 years ago.
drepper [Thu, 7 Jul 2005 06:02:07 +0000 (06:02 +0000)]
.

14 years ago(_dl_signal_error): When testing for executable being relocated, take
drepper [Thu, 7 Jul 2005 06:01:24 +0000 (06:01 +0000)]
(_dl_signal_error): When testing for executable being relocated, take
into account that nothing might even be loaded.

14 years ago.
drepper [Thu, 7 Jul 2005 02:39:45 +0000 (02:39 +0000)]
.

14 years ago[PROF] (_dl_runtime_profile): Don't compile.
drepper [Thu, 7 Jul 2005 02:38:01 +0000 (02:38 +0000)]
[PROF] (_dl_runtime_profile): Don't compile.

14 years ago[PROF] (_dl_runtime_profile): Don't compile.
drepper [Thu, 7 Jul 2005 02:37:15 +0000 (02:37 +0000)]
[PROF] (_dl_runtime_profile): Don't compile.

14 years ago[PROF] (_dl_profile_resolve): Don't compile.
drepper [Thu, 7 Jul 2005 02:35:57 +0000 (02:35 +0000)]
[PROF] (_dl_profile_resolve): Don't compile.

14 years ago[PROF] (_dl_profile_resolve): Don't compile.
drepper [Thu, 7 Jul 2005 02:34:56 +0000 (02:34 +0000)]
[PROF] (_dl_profile_resolve): Don't compile.

14 years ago[PROF] (_dl_runtime_profile): Don't compile.
drepper [Thu, 7 Jul 2005 02:33:41 +0000 (02:33 +0000)]
[PROF] (_dl_runtime_profile): Don't compile.

14 years ago[PROF] (_dl_runtime_profile): Don't compile.
drepper [Thu, 7 Jul 2005 02:32:18 +0000 (02:32 +0000)]
[PROF] (_dl_runtime_profile): Don't compile.

14 years ago[PROF] (_dl_relocate_object): Define consider_profiling always to
drepper [Thu, 7 Jul 2005 02:24:54 +0000 (02:24 +0000)]
[PROF] (_dl_relocate_object): Define consider_profiling always to
zero.  Don't count of compiler to remove unreached if block.

14 years ago[PROF] (_dl_runtime_profile): Don't compile.
drepper [Thu, 7 Jul 2005 02:20:36 +0000 (02:20 +0000)]
[PROF] (_dl_runtime_profile): Don't compile.

14 years agoAdd rules to build and run tst-profile-static.
drepper [Thu, 7 Jul 2005 02:19:34 +0000 (02:19 +0000)]
Add rules to build and run tst-profile-static.

14 years agoTest for linking profiling code.
drepper [Thu, 7 Jul 2005 02:18:33 +0000 (02:18 +0000)]
Test for linking profiling code.

14 years ago(+link-static): Allow passing program-specific flags.
drepper [Thu, 7 Jul 2005 02:15:23 +0000 (02:15 +0000)]
(+link-static): Allow passing program-specific flags.

14 years ago.
drepper [Wed, 6 Jul 2005 21:06:29 +0000 (21:06 +0000)]
.

14 years ago(internal_getgrgid_r): Check if NSS module provides getgrgid_r.
drepper [Wed, 6 Jul 2005 21:04:53 +0000 (21:04 +0000)]
(internal_getgrgid_r): Check if NSS module provides getgrgid_r.
(getgrnam_plusgroup): Preserve original return value.