kopensolaris-gnu/glibc.git
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.

17 years agoDon't define lock as static. Rename to __gconv_lock and export from the file.
drepper [Tue, 9 Mar 2004 10:03:46 +0000 (10:03 +0000)]
Don't define lock as static.  Rename to __gconv_lock and export from the file.

17 years agoDeclare __gconv_lock.
drepper [Tue, 9 Mar 2004 10:02:50 +0000 (10:02 +0000)]
Declare __gconv_lock.

17 years ago[_LIBC] (_IO_new_fclose): Lock gconv lock before __gconv_release_step calls.
drepper [Tue, 9 Mar 2004 10:02:15 +0000 (10:02 +0000)]
[_LIBC] (_IO_new_fclose): Lock gconv lock before __gconv_release_step calls.

17 years ago(internal_ucs4_loop): Fix typo in last change.
drepper [Tue, 9 Mar 2004 10:00:31 +0000 (10:00 +0000)]
(internal_ucs4_loop): Fix typo in last change.

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

17 years ago(tests): Add tst-vfork1.
drepper [Tue, 9 Mar 2004 08:49:22 +0000 (08:49 +0000)]
(tests): Add tst-vfork1.

17 years agoTest for vfork and getpid interaction.
drepper [Tue, 9 Mar 2004 08:49:09 +0000 (08:49 +0000)]
Test for vfork and getpid interaction.

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

17 years agoIf ARCH_FIXUP_ATTRIBUTE is not defined, provide dummy definition.
drepper [Tue, 9 Mar 2004 07:42:59 +0000 (07:42 +0000)]
If ARCH_FIXUP_ATTRIBUTE is not defined, provide dummy definition.
Use macro in fixup function definitions.

17 years agoDefine ARCH_FIXUP_ATTRIBUTE and use it in the fixup function declarations.
drepper [Tue, 9 Mar 2004 07:42:29 +0000 (07:42 +0000)]
Define ARCH_FIXUP_ATTRIBUTE and use it in the fixup function declarations.

17 years agoUpdate.
drepper [Tue, 9 Mar 2004 06:32:58 +0000 (06:32 +0000)]
Update.

17 years agoUpdate.
drepper [Tue, 9 Mar 2004 06:29:59 +0000 (06:29 +0000)]
Update.

17 years agoIf SAVE_PID and RESTORE_PID are defined, use it.
drepper [Tue, 9 Mar 2004 06:29:00 +0000 (06:29 +0000)]
If SAVE_PID and RESTORE_PID are defined, use it.

17 years agox86-64 vfork for nptl.
drepper [Tue, 9 Mar 2004 06:28:23 +0000 (06:28 +0000)]
x86-64 vfork for nptl.

17 years agoAdd PID.
drepper [Tue, 9 Mar 2004 06:26:54 +0000 (06:26 +0000)]
Add PID.

17 years agoOnly define SAVE_PID and RESTORE_PID and use the real implementation.
drepper [Tue, 9 Mar 2004 06:14:20 +0000 (06:14 +0000)]
Only define SAVE_PID and RESTORE_PID and use the real implementation.

17 years agoIf SAVE_PID and RESTORE_PID are defined, use it.
drepper [Tue, 9 Mar 2004 06:13:52 +0000 (06:13 +0000)]
If SAVE_PID and RESTORE_PID are defined, use it.

17 years agoUpdate.
drepper [Tue, 9 Mar 2004 05:45:44 +0000 (05:45 +0000)]
Update.

17 years agovfork implementation for i386 with nptl.
drepper [Tue, 9 Mar 2004 05:44:18 +0000 (05:44 +0000)]
vfork implementation for i386 with nptl.

17 years agoAdd PID.
drepper [Tue, 9 Mar 2004 05:43:23 +0000 (05:43 +0000)]
Add PID.

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

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 22:23:43 +0000 (22:23 +0000)]
Update.

17 years agoAdd error string for EAI_IDN_ENCODE.
drepper [Mon, 8 Mar 2004 22:21:13 +0000 (22:21 +0000)]
Add error string for EAI_IDN_ENCODE.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 21:43:46 +0000 (21:43 +0000)]
Update.

17 years ago(distribute): Add extra-modules.mk.
drepper [Mon, 8 Mar 2004 21:42:39 +0000 (21:42 +0000)]
(distribute): Add extra-modules.mk.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 21:31:23 +0000 (21:31 +0000)]
Update.

17 years agoInclude <symbol-hacks.h>.
drepper [Mon, 8 Mar 2004 21:30:17 +0000 (21:30 +0000)]
Include <symbol-hacks.h>.

17 years agoDefine *_internal aliases for __divdi3, __moddi3, __udivdi3, and __umoddi3.
drepper [Mon, 8 Mar 2004 21:29:07 +0000 (21:29 +0000)]
Define *_internal aliases for __divdi3, __moddi3, __udivdi3, and __umoddi3.

17 years ago($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to compiler.
drepper [Mon, 8 Mar 2004 21:28:15 +0000 (21:28 +0000)]
($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to compiler.

17 years ago(CFLAGS-interp.c): Add -DNOT_IN_libc=1.
drepper [Mon, 8 Mar 2004 21:26:55 +0000 (21:26 +0000)]
(CFLAGS-interp.c): Add -DNOT_IN_libc=1.

17 years ago(CPPFLAGS-modcxaatexit.c): Removed.
drepper [Mon, 8 Mar 2004 21:25:56 +0000 (21:25 +0000)]
(CPPFLAGS-modcxaatexit.c): Removed.

17 years ago(distribute): Add symbol-hacks.h.
drepper [Mon, 8 Mar 2004 21:24:47 +0000 (21:24 +0000)]
(distribute): Add symbol-hacks.h.

17 years agoUse extra-modules.mk if modules-names is defined.
drepper [Mon, 8 Mar 2004 21:24:20 +0000 (21:24 +0000)]
Use extra-modules.mk if modules-names is defined.

17 years agoMakefile fragment allowing to add definitions and rules for test modules.
drepper [Mon, 8 Mar 2004 21:23:37 +0000 (21:23 +0000)]
Makefile fragment allowing to add definitions and rules for test modules.

17 years agoHacks for symbol treatment. wordsize-32 version.
drepper [Mon, 8 Mar 2004 20:59:34 +0000 (20:59 +0000)]
Hacks for symbol treatment.  wordsize-32 version.

17 years agoHacks for symbol treatment. Generic version.
drepper [Mon, 8 Mar 2004 20:58:29 +0000 (20:58 +0000)]
Hacks for symbol treatment.  Generic version.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 20:53:19 +0000 (20:53 +0000)]
Update.

17 years agoUpdate to latest libidn version.
drepper [Mon, 8 Mar 2004 20:52:56 +0000 (20:52 +0000)]
Update to latest libidn version.

17 years ago.
roland [Mon, 8 Mar 2004 20:38:37 +0000 (20:38 +0000)]
.

17 years ago2004-03-08 Jeroen Dekkers <jeroen@dekkers.cx>
roland [Mon, 8 Mar 2004 20:38:15 +0000 (20:38 +0000)]
2004-03-08  Jeroen Dekkers  <jeroen@dekkers.cx>

* elf/rtld.c (_rtld_global_ro) [MAP_COPY]: Don't set _dl_unload_cache.

17 years ago2004-03-08 Jeroen Dekkers <jeroen@dekkers.cx>
roland [Mon, 8 Mar 2004 20:38:11 +0000 (20:38 +0000)]
2004-03-08  Jeroen Dekkers  <jeroen@dekkers.cx>

* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps):
Don't use INTUSE with _dl_signal_error.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 19:37:32 +0000 (19:37 +0000)]
Update.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 19:35:36 +0000 (19:35 +0000)]
Update.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 18:44:49 +0000 (18:44 +0000)]
Update.

17 years agoRemove leading tabs.
drepper [Mon, 8 Mar 2004 18:44:15 +0000 (18:44 +0000)]
Remove leading tabs.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 18:42:35 +0000 (18:42 +0000)]
Update.

17 years ago(INIT_SYSINFO): _dl_sysinfo is now in _rtld_global_ro.
drepper [Mon, 8 Mar 2004 18:41:36 +0000 (18:41 +0000)]
(INIT_SYSINFO): _dl_sysinfo is now in _rtld_global_ro.

17 years ago(_dl_reloc_overflow): Don't use INTUSE with _dl_signal_error.
drepper [Mon, 8 Mar 2004 18:36:06 +0000 (18:36 +0000)]
(_dl_reloc_overflow): Don't use INTUSE with _dl_signal_error.

17 years agoUpdate.
drepper [Mon, 8 Mar 2004 18:31:04 +0000 (18:31 +0000)]
Update.

17 years agoNot needed anymore.
drepper [Mon, 8 Mar 2004 18:30:47 +0000 (18:30 +0000)]
Not needed anymore.

17 years agoDon't include idn-int.h in glibc.
drepper [Mon, 8 Mar 2004 18:29:34 +0000 (18:29 +0000)]
Don't include idn-int.h in glibc.

17 years ago * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo
rth [Mon, 8 Mar 2004 12:34:15 +0000 (12:34 +0000)]
    * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo
        in name.

17 years ago * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK):
aj [Mon, 8 Mar 2004 09:53:49 +0000 (09:53 +0000)]
* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK):
dl_osversion is readonly.