kopensolaris-gnu/glibc.git
17 years ago * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
rth [Thu, 11 Mar 2004 02:58:43 +0000 (02:58 +0000)]
    * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
        (glibc21_stat): New.
        * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/xstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add
        code for _STAT_VER_GLIBC2_3_4.
        (__libc_missing_axp_stat64): New.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.
        * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.
        (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.
        (struct stat, struct stat64): Update to new format.
        (_STATBUF_ST_NSEC): New.

17 years agoUpdate.
drepper [Thu, 11 Mar 2004 01:34:46 +0000 (01:34 +0000)]
Update.

17 years ago(__vfork): Use DO_CALL instead of DO_CALL_VIA_BREAK. Work around a gas
drepper [Thu, 11 Mar 2004 01:34:13 +0000 (01:34 +0000)]
(__vfork): Use DO_CALL instead of DO_CALL_VIA_BREAK.  Work around a gas
problem.

17 years agoInclude tcb-offsets.h.
drepper [Thu, 11 Mar 2004 01:33:53 +0000 (01:33 +0000)]
Include tcb-offsets.h.

17 years ago(__vfork): Add libc_hidden_def.
drepper [Thu, 11 Mar 2004 01:33:35 +0000 (01:33 +0000)]
(__vfork): Add libc_hidden_def.

17 years agoUpdate.
drepper [Thu, 11 Mar 2004 01:32:45 +0000 (01:32 +0000)]
Update.

17 years ago(__novec_swapcontext): Branch to novec_* labels.
drepper [Thu, 11 Mar 2004 01:30:56 +0000 (01:30 +0000)]
(__novec_swapcontext): Branch to novec_* labels.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 23:14:28 +0000 (23:14 +0000)]
Update.

17 years ago(_): Don't define here for glibc.
drepper [Wed, 10 Mar 2004 23:13:26 +0000 (23:13 +0000)]
(_): Don't define here for glibc.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 23:05:32 +0000 (23:05 +0000)]
Update.

17 years agovfork in libpthread for linux/ppc64 with nptl
drepper [Wed, 10 Mar 2004 23:05:11 +0000 (23:05 +0000)]
vfork in libpthread for linux/ppc64 with nptl

17 years agovfork for linux/ppc32 with nptl.
drepper [Wed, 10 Mar 2004 23:04:51 +0000 (23:04 +0000)]
vfork for linux/ppc32 with nptl.

17 years agovfork in libpthread for linux/ppc64.
drepper [Wed, 10 Mar 2004 23:04:34 +0000 (23:04 +0000)]
vfork in libpthread for linux/ppc64.

17 years agovfork for linux/ppc64 with nptl.
drepper [Wed, 10 Mar 2004 23:04:19 +0000 (23:04 +0000)]
vfork for linux/ppc64 with nptl.

17 years agoThere are now 32 and 64 specific versions.
drepper [Wed, 10 Mar 2004 23:03:23 +0000 (23:03 +0000)]
There are now 32 and 64 specific versions.

17 years agoAdd PID.
drepper [Wed, 10 Mar 2004 23:02:50 +0000 (23:02 +0000)]
Add PID.

17 years ago(__vfork): Don't use a local register for saving old PID. Negate PID
drepper [Wed, 10 Mar 2004 23:01:40 +0000 (23:01 +0000)]
(__vfork): Don't use a local register for saving old PID.  Negate PID
in parent upon exit.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 19:28:58 +0000 (19:28 +0000)]
Update.

17 years ago(_hurd_proc_init_compat_20): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:27:53 +0000 (19:27 +0000)]
(_hurd_proc_init_compat_20): Add attribute_compat_text_section.

17 years ago(__old_shmctl): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:27:26 +0000 (19:27 +0000)]
(__old_shmctl): Add attribute_compat_text_section.

17 years ago(__posix_fadvise64_l32): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:27:05 +0000 (19:27 +0000)]
(__posix_fadvise64_l32): Add attribute_compat_text_section.

17 years ago(__old_semctl): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:26:42 +0000 (19:26 +0000)]
(__old_semctl): Add attribute_compat_text_section.

17 years ago(__old_semctl): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:26:23 +0000 (19:26 +0000)]
(__old_semctl): Add attribute_compat_text_section.

17 years ago(__posix_fadvise64_l32): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:25:55 +0000 (19:25 +0000)]
(__posix_fadvise64_l32): Add attribute_compat_text_section.

17 years ago(__getcontext, __novec_getcontext): Use END instead of PSEUDO_END.
drepper [Wed, 10 Mar 2004 19:24:59 +0000 (19:24 +0000)]
(__getcontext, __novec_getcontext): Use END instead of PSEUDO_END.
(__novec_getcontext, __getcontext_stub): Add compat_text_section.

17 years ago(__setcontext): Use END instead of PSEUDO_END.
drepper [Wed, 10 Mar 2004 19:24:38 +0000 (19:24 +0000)]
(__setcontext): Use END instead of PSEUDO_END.
(__novec_setcontext): Add compat_text_section.  Use END instead of
PSEUDO_END, fix the name in END () to match function name.

17 years ago(__makecontext_stub): Add compat_text_section.
drepper [Wed, 10 Mar 2004 19:24:11 +0000 (19:24 +0000)]
(__makecontext_stub): Add compat_text_section.
(__novec_makecontext): Add compat_text_section.  Fix name in END () to
match function name.

17 years ago(__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END.
drepper [Wed, 10 Mar 2004 19:23:27 +0000 (19:23 +0000)]
(__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END.
(__novec_swapcontext, __swapcontext_stub): Add compat_text_section.

17 years ago(__old_msgctl): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:22:54 +0000 (19:22 +0000)]
(__old_msgctl): Add attribute_compat_text_section.

17 years ago(__posix_fadvise64_l32): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:22:28 +0000 (19:22 +0000)]
(__posix_fadvise64_l32): Add attribute_compat_text_section.

17 years ago(__chown_is_lchown): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:22:04 +0000 (19:22 +0000)]
(__chown_is_lchown): Add attribute_compat_text_section.

17 years ago(__old_glob, __old_globfree): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:21:39 +0000 (19:21 +0000)]
(__old_glob, __old_globfree): Add attribute_compat_text_section.

17 years ago(__old_wordexp): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:21:18 +0000 (19:21 +0000)]
(__old_wordexp): Add attribute_compat_text_section.

17 years ago(ADJTIME): Add attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 19:20:11 +0000 (19:20 +0000)]
(ADJTIME): Add attribute_compat_text_section.

17 years ago[__ASSEMBLY__] (compat_text_section, compat_data_section): Define.
drepper [Wed, 10 Mar 2004 19:19:47 +0000 (19:19 +0000)]
[__ASSEMBLY__] (compat_text_section, compat_data_section): Define.

17 years agoDon't use GL macro if not appropriate.
drepper [Wed, 10 Mar 2004 19:06:13 +0000 (19:06 +0000)]
Don't use GL macro if not appropriate.
(COPY_UNALIGNED_WORD): Remove cast used as lvalue.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 19:03:46 +0000 (19:03 +0000)]
Update.

17 years agovfork for nptl on Linux/sparc64.
drepper [Wed, 10 Mar 2004 19:03:17 +0000 (19:03 +0000)]
vfork for nptl on Linux/sparc64.

17 years agovfork for nptl on linux/sparc32.
drepper [Wed, 10 Mar 2004 19:02:47 +0000 (19:02 +0000)]
vfork for nptl on linux/sparc32.

17 years agoReplaced by separate versions for sparc{32,64}.
drepper [Wed, 10 Mar 2004 19:00:18 +0000 (19:00 +0000)]
Replaced by separate versions for sparc{32,64}.

17 years agoAdd PID.
drepper [Wed, 10 Mar 2004 18:59:29 +0000 (18:59 +0000)]
Add PID.

17 years agoInclude tcb-offsets.h.
drepper [Wed, 10 Mar 2004 18:59:05 +0000 (18:59 +0000)]
Include tcb-offsets.h.
(__vfork): Negate PID if non-zero and set to INT_MIN if zero
before syscall, set to the old value in the parent afterwards.

17 years agovfork for linux/sparc64 with nptl.
drepper [Wed, 10 Mar 2004 18:58:07 +0000 (18:58 +0000)]
vfork for linux/sparc64 with nptl.

17 years agovfork for linux/sparc32 with nptl.
drepper [Wed, 10 Mar 2004 18:56:05 +0000 (18:56 +0000)]
vfork for linux/sparc32 with nptl.

17 years agovfork for linux/s390-64 with nptl.
drepper [Wed, 10 Mar 2004 18:55:47 +0000 (18:55 +0000)]
vfork for linux/s390-64 with nptl.

17 years agovfork for Linux/s390-32 with nptl.
drepper [Wed, 10 Mar 2004 18:55:28 +0000 (18:55 +0000)]
vfork for Linux/s390-32 with nptl.

17 years agoInclude tcb-offsets.h.
drepper [Wed, 10 Mar 2004 18:54:28 +0000 (18:54 +0000)]
Include tcb-offsets.h.
(__vfork): Negate PID if non-zero and set to INT_MIN if zero
before syscall, set to the old value in the parent afterwards.

17 years agovfork for linux/ia64 with nptl.
drepper [Wed, 10 Mar 2004 18:43:34 +0000 (18:43 +0000)]
vfork for linux/ia64 with nptl.

17 years agoProperly handle PID cache.
drepper [Wed, 10 Mar 2004 18:43:03 +0000 (18:43 +0000)]
Properly handle PID cache.

17 years agoAdd PID.
drepper [Wed, 10 Mar 2004 18:42:48 +0000 (18:42 +0000)]
Add PID.

17 years ago(HWCAP_IMPORTANT): Remove mmx, add sse2.
drepper [Wed, 10 Mar 2004 18:29:31 +0000 (18:29 +0000)]
(HWCAP_IMPORTANT): Remove mmx, add sse2.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 10:04:19 +0000 (10:04 +0000)]
Update.

17 years agoOnly prototypes for _LIBC without _LIBC_DEFINITIONS.
drepper [Wed, 10 Mar 2004 10:02:49 +0000 (10:02 +0000)]
Only prototypes for _LIBC without _LIBC_DEFINITIONS.

17 years agoUnwinder support from gcc.
drepper [Wed, 10 Mar 2004 10:02:31 +0000 (10:02 +0000)]
Unwinder support from gcc.

17 years ago(elf/shared): Add unwind-pe.
drepper [Wed, 10 Mar 2004 10:02:11 +0000 (10:02 +0000)]
(elf/shared): Add unwind-pe.

17 years agoDisable versioning for rtld.
drepper [Wed, 10 Mar 2004 09:57:43 +0000 (09:57 +0000)]
Disable versioning for rtld.

17 years ago(__compat_regexec): Use attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 09:48:04 +0000 (09:48 +0000)]
(__compat_regexec): Use attribute_compat_text_section.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 09:29:17 +0000 (09:29 +0000)]
Update.

17 years agoMark compat code with attribute_compat_text_section.
drepper [Wed, 10 Mar 2004 09:28:24 +0000 (09:28 +0000)]
Mark compat code with attribute_compat_text_section.

17 years agoDefine attribute_compat_text_section and attribute_compat_data_section.
drepper [Wed, 10 Mar 2004 09:25:48 +0000 (09:25 +0000)]
Define attribute_compat_text_section and attribute_compat_data_section.

17 years agovm86@@GLIBC_2.3.4 should be the default symbol. Having none misses the point.
drepper [Wed, 10 Mar 2004 08:38:15 +0000 (08:38 +0000)]
vm86@@GLIBC_2.3.4 should be the default symbol. Having none misses the point.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 06:46:51 +0000 (06:46 +0000)]
Update.

17 years ago(_quicksort): Initialize first stack element.
drepper [Wed, 10 Mar 2004 06:44:42 +0000 (06:44 +0000)]
(_quicksort): Initialize first stack element.

17 years ago(libc): Add regexec@GLIBC_2.3.4.
drepper [Wed, 10 Mar 2004 06:42:08 +0000 (06:42 +0000)]
(libc): Add regexec@GLIBC_2.3.4.

17 years ago(regexec): Return with error on unknown eflags.
drepper [Wed, 10 Mar 2004 06:41:57 +0000 (06:41 +0000)]
(regexec): Return with error on unknown eflags.
Replace weak_alias with versioned_symbol.
(__compat_regexec): New.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 06:06:19 +0000 (06:06 +0000)]
Update.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 06:05:14 +0000 (06:05 +0000)]
Update.

17 years agoClear in_sh_body first.
drepper [Wed, 10 Mar 2004 06:03:06 +0000 (06:03 +0000)]
Clear in_sh_body first.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 05:59:39 +0000 (05:59 +0000)]
Update.

17 years ago(isgreater, isgreaterequal, isless, islessequal, islessgreater): Remove;
drepper [Wed, 10 Mar 2004 05:58:46 +0000 (05:58 +0000)]
(isgreater, isgreaterequal, isless, islessequal, islessgreater): Remove;
use default.
(isunordered): Convert inputs to double.

17 years agoDon't define via builtins.
drepper [Wed, 10 Mar 2004 05:58:17 +0000 (05:58 +0000)]
Don't define via builtins.

17 years ago(isgreater, isgreaterequal, isless, islessequal, islessgreater,
drepper [Wed, 10 Mar 2004 05:57:45 +0000 (05:57 +0000)]
(isgreater, isgreaterequal, isless, islessequal, islessgreater,
isunordered): Use builtins if available.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 05:25:48 +0000 (05:25 +0000)]
Update.

17 years ago(tests): Add tst-vfork1, tst-vfork2, tst-vfork1x and tst-vfork2x.
drepper [Wed, 10 Mar 2004 05:24:54 +0000 (05:24 +0000)]
(tests): Add tst-vfork1, tst-vfork2, tst-vfork1x and tst-vfork2x.
(tests-reverse): Add tst-vfork1x and tst-vfork2x.

17 years agoTest for vfork.
drepper [Wed, 10 Mar 2004 05:24:02 +0000 (05:24 +0000)]
Test for vfork.

17 years agoInclude limits.h.
drepper [Wed, 10 Mar 2004 05:23:26 +0000 (05:23 +0000)]
Include limits.h.
(raise): Handle THREAD_SELF->pid INT_MIN the same as 0.

17 years agoInclude tcb-offsets.h.
drepper [Wed, 10 Mar 2004 05:22:53 +0000 (05:22 +0000)]
Include tcb-offsets.h.
Use relative path to avoid including NPTL i386/vfork.S.
(SAVE_PID, RESTORE_PID): Define.

17 years agoInclude tcb-offsets.h.
drepper [Wed, 10 Mar 2004 05:22:25 +0000 (05:22 +0000)]
Include tcb-offsets.h.
(SAVE_PID, RESTORE_PID): Define.
(__vfork): Use it.

17 years ago(SAVE_PID): Negate PID if non-zero and set to INT_MIN if zero.
drepper [Wed, 10 Mar 2004 05:22:09 +0000 (05:22 +0000)]
(SAVE_PID): Negate PID if non-zero and set to INT_MIN if zero.

17 years ago(SAVE_PID): Negate PID if non-zero and set to INT_MIN if zero.
drepper [Wed, 10 Mar 2004 05:21:56 +0000 (05:21 +0000)]
(SAVE_PID): Negate PID if non-zero and set to INT_MIN if zero.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 05:21:30 +0000 (05:21 +0000)]
Update.

17 years ago(tests): Add tst-vfork2.
drepper [Wed, 10 Mar 2004 05:20:26 +0000 (05:20 +0000)]
(tests): Add tst-vfork2.

17 years agoTest for vfork.
drepper [Wed, 10 Mar 2004 05:20:15 +0000 (05:20 +0000)]
Test for vfork.

17 years ago(do_test): Fix comment.
drepper [Wed, 10 Mar 2004 05:19:48 +0000 (05:19 +0000)]
(do_test): Fix comment.

17 years agoUpdate.
drepper [Wed, 10 Mar 2004 00:08:55 +0000 (00:08 +0000)]
Update.

17 years ago(_dl_lookup_symbol_x): Fix possible NULL pointer derefernce in error
drepper [Wed, 10 Mar 2004 00:07:33 +0000 (00:07 +0000)]
(_dl_lookup_symbol_x): Fix possible NULL pointer derefernce in error
message.  Pretty printing.

17 years agoUpdate.
drepper [Tue, 9 Mar 2004 20:57:20 +0000 (20:57 +0000)]
Update.

17 years agoUpdate from translation team.
drepper [Tue, 9 Mar 2004 20:56:12 +0000 (20:56 +0000)]
Update from translation team.

17 years agoUpdate.
drepper [Tue, 9 Mar 2004 10:43:31 +0000 (10:43 +0000)]
Update.

17 years ago(_dl_sysdep_start): Don't truncate sysinfo pointer value.
drepper [Tue, 9 Mar 2004 10:42:28 +0000 (10:42 +0000)]
(_dl_sysdep_start): Don't truncate sysinfo pointer value.

17 years agoUpdate.
drepper [Tue, 9 Mar 2004 10:36:53 +0000 (10:36 +0000)]
Update.

17 years agoInclude "getopt_int.h". Remove
drepper [Tue, 9 Mar 2004 10:35:37 +0000 (10:35 +0000)]
Include "getopt_int.h".  Remove
libc_hidden_def for getopt_long and getopt_long_only.
(_getopt_long_r, _getopt_long_only_r): New functions.

(getopt_long, _getopt_long_r, getopt_long_only, _getopt_long_only_r,
main): Use prototypes, not old-style definitions.

17 years agoInclude "getopt_int.h".
drepper [Tue, 9 Mar 2004 10:34:58 +0000 (10:34 +0000)]
Include "getopt_int.h".
(__getopt_initialized): Variable removed.
(nextchar, ordering, posixly_correct, first_nonopt, last_nonopt):
Static variables removed.
(nonoption_flags_max_len, nonoption_flags_len) [_LIBC &&
USE_NONOPTION_FLAGS]: Static variables removed.
(getopt_data): New static variable.
(SWAP_FLAGS): Use d->__nonoption_flags_len instead
nonoption_flags_len.
(exchange): Add new argument D of type struct getopt_data *.
Replace optind with d->optind, optarg with d->optarg, opterr with
d->opterr, optopt with d->optopt, nextchar with d->__nextchar,
first_nonopt with d->__first_nonopt, last_nonopt with
d->__last_nonopt, d->ordering with d->__ordering,
d->posixly_correct with d->__posixly_correct (which is now an
int instead a string, so fix users), nonoption_flags_len
with d->__nonoption_flags_len, nonoption_flags_max_len with
d->__nonoption_flags_max_len.
(_getopt_initialize): Likewise.
(_getopt_internal): Rename to ...
(_getopt_internal_r): ... this.  Also add new argument D of type
struct getopt_data * and use of members of D rather than global or
static variables as described for exchange() above.  Add new argument
to invocations of _getopt_initialize and exchange.
(_getopt_internal): Reimplement in terms of _getopt_internal_r.

(const): Remove.
(exchange, _getopt_initialize, _getopt_internal_r, _getopt_internal,
getopt, main): Use prototypes, not old-style definitions.
!defined VMS || !HAVE_STRING_H]:
Include <string.h> regardless.  No need for <strings.h>.
[!defined _LIBC]: Include "gettext.h" rather than rolling it ourselves.
(_): Define to gettext always.
(my_index): Remove: all uses changed to strchr.
(strlen): Remove decl.

17 years ago(_getopt_internal): Move to getopt_int.h.
drepper [Tue, 9 Mar 2004 10:33:29 +0000 (10:33 +0000)]
(_getopt_internal): Move to getopt_int.h.

(getopt, getopt_long, getopt_long_only): Use prototypes, not old-style
definitions.
(struct option.name): Always const char *.

17 years agoRemove libc_hidden_proto for getopt_long and getopt_long_only.
drepper [Tue, 9 Mar 2004 10:31:49 +0000 (10:31 +0000)]
Remove libc_hidden_proto for getopt_long and getopt_long_only.

17 years agoInternal definitions for getopt.
drepper [Tue, 9 Mar 2004 10:31:19 +0000 (10:31 +0000)]
Internal definitions for getopt.

17 years agoWrapper around real getopt_int.h header.
drepper [Tue, 9 Mar 2004 10:29:58 +0000 (10:29 +0000)]
Wrapper around real getopt_int.h header.

17 years agoInclude <getopt_int.h>.
drepper [Tue, 9 Mar 2004 10:28:13 +0000 (10:28 +0000)]
Include <getopt_int.h>.
[_LIBC]: Do not include <bits/libc-lock.h>.
[!_LIBC && HAVE_CTHREADS_H]: Do not include <cthreads.h>.
[!_LIBC] (_argp_hang): Make static.
(getopt_lock, LOCK_GETOPT, UNLOCK_GETOPT): Remove.
(_argp_unlock_xxx): Remove.
(parser_init): Do not use LOCK_GETOPT.
(parser_finalize): Do not use UNLOCK_GETOPT.
(struct parser): New member OPT_DATA.
(parser_init): Initialize parser->opt_data.  Use
parser->opt_data.opterr instead of opterr.
(parser_parse_opt): Use parser->opt_data.optarg instead optarg.
(parser_parse_next): Likewise.  Use parser->opt_data.optind
instead optind.  Use parser->opt_data.optopt instead of optopt.
Call _getopt_long_only_r and _getopt_long_r instead of
getopt_long_only and getopt_long, and pass the extra argument.

17 years agoTypo.
drepper [Tue, 9 Mar 2004 10:12:30 +0000 (10:12 +0000)]
Typo.

17 years agoUpdate.
drepper [Tue, 9 Mar 2004 10:04:55 +0000 (10:04 +0000)]
Update.