kopensolaris-gnu/glibc.git
16 years agoUpdate.
drepper [Wed, 24 Sep 2003 05:05:38 +0000 (05:05 +0000)]
Update.

16 years ago[libc] (GLIBC_2.3.3): Add major, minor, makedev.
drepper [Wed, 24 Sep 2003 05:05:00 +0000 (05:05 +0000)]
[libc] (GLIBC_2.3.3): Add major, minor, makedev.

16 years agoAdd makedev.c.
drepper [Wed, 24 Sep 2003 05:04:29 +0000 (05:04 +0000)]
Add makedev.c.

16 years ago[subdir=misc] (sysdep_routines): Add makedev.
drepper [Wed, 24 Sep 2003 05:04:10 +0000 (05:04 +0000)]
[subdir=misc] (sysdep_routines): Add makedev.

16 years agoAdjust for larger kernel dev_t size.
drepper [Wed, 24 Sep 2003 05:03:37 +0000 (05:03 +0000)]
Adjust for larger kernel dev_t size.

16 years agoDefinition of makedev, major, minor.
drepper [Wed, 24 Sep 2003 05:03:20 +0000 (05:03 +0000)]
Definition of makedev, major, minor.

16 years agoUpdate.
drepper [Wed, 24 Sep 2003 03:22:56 +0000 (03:22 +0000)]
Update.

16 years agoAdjust for ucontext_t change. Add compatibility code.
drepper [Wed, 24 Sep 2003 03:21:29 +0000 (03:21 +0000)]
Adjust for ucontext_t change.  Add compatibility code.

16 years agoAdjust offsets for ucontext_t change.
drepper [Wed, 24 Sep 2003 03:21:12 +0000 (03:21 +0000)]
Adjust offsets for ucontext_t change.

16 years agoCorrect change for include Altivec support for PPC32. It was not compatible.
drepper [Wed, 24 Sep 2003 03:20:55 +0000 (03:20 +0000)]
Correct change for include Altivec support for PPC32.  It was not compatible.

16 years ago[libc] (GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and makecontext.
drepper [Wed, 24 Sep 2003 03:20:36 +0000 (03:20 +0000)]
[libc] (GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and makecontext.

16 years ago[GLIBC_2.2]: Add __clz_tab.
drepper [Wed, 24 Sep 2003 03:14:27 +0000 (03:14 +0000)]
[GLIBC_2.2]: Add __clz_tab.

16 years agoAdd libgcc-compat.c.
drepper [Wed, 24 Sep 2003 03:14:14 +0000 (03:14 +0000)]
Add libgcc-compat.c.

16 years agolibgcc compatibility code.
drepper [Wed, 24 Sep 2003 03:13:56 +0000 (03:13 +0000)]
libgcc compatibility code.

16 years agoInclude compat code in build.
drepper [Wed, 24 Sep 2003 03:13:28 +0000 (03:13 +0000)]
Include compat code in build.

16 years agoUpdate.
drepper [Wed, 24 Sep 2003 03:09:03 +0000 (03:09 +0000)]
Update.

16 years ago(__pthread_initialize_minimal_internal): Set GL(dl_make_stack_executable_hook)
drepper [Wed, 24 Sep 2003 03:08:19 +0000 (03:08 +0000)]
(__pthread_initialize_minimal_internal): Set GL(dl_make_stack_executable_hook)
to that.

16 years agoDeclare __make_stacks_executable.
drepper [Wed, 24 Sep 2003 03:08:02 +0000 (03:08 +0000)]
Declare __make_stacks_executable.

16 years ago(allocate_stack): Use GL(dl_stack_flags) to decide whether to use PROT_EXEC for
drepper [Wed, 24 Sep 2003 03:07:48 +0000 (03:07 +0000)]
(allocate_stack): Use GL(dl_stack_flags) to decide whether to use PROT_EXEC for
stack mmap.
(__make_stacks_executable): New function.

16 years ago(tests): Add it.
drepper [Wed, 24 Sep 2003 03:07:29 +0000 (03:07 +0000)]
(tests): Add it.
($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets.
(LDFLAGS-tst-execstack): New variable.

16 years agoTest for changing stack exec permission.
drepper [Wed, 24 Sep 2003 03:07:10 +0000 (03:07 +0000)]
Test for changing stack exec permission.

16 years ago.
roland [Wed, 24 Sep 2003 01:56:08 +0000 (01:56 +0000)]
.

16 years ago2003-09-23 Roland McGrath <roland@redhat.com>
roland [Wed, 24 Sep 2003 01:55:51 +0000 (01:55 +0000)]
2003-09-23  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (dl_main): In rtld_is_main case, reinitialize
GL(dl_stack_flags) according to rtld's own PT_GNU_STACK.
Move GL(dl_make_stack_executable_hook) initialization up.
* elf/tst-execstack-prog.c: New file.
* elf/Makefile (tests-execstack-yes): Add it.
(LDFLAGS-tst-execstack-prog): New variable.

16 years ago.
roland [Tue, 23 Sep 2003 21:31:54 +0000 (21:31 +0000)]
.

16 years ago2003-09-23 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 23 Sep 2003 21:31:40 +0000 (21:31 +0000)]
2003-09-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/x86_64/dl-machine.h (RTLD_START): Set __libc_stack_end
before calling _dl_start, using %rip relative access.
Use %rip relative access to _dl_skip_args, _rtld_local._dl_loaded
and _dl_fini.

16 years ago.
roland [Tue, 23 Sep 2003 12:07:26 +0000 (12:07 +0000)]
.

16 years ago2003-09-23 Roland McGrath <roland@redhat.com>
roland [Tue, 23 Sep 2003 12:07:00 +0000 (12:07 +0000)]
2003-09-23  Roland McGrath  <roland@redhat.com>

* configure.in (libc_cv_z_execstack): New check.
* configure: Regenerated.
* config.make.in (have-z-execstack): New variable set by it.
* elf/tst-execstack.c: New file.
* elf/tst-execstack-mod.c: New file.
* elf/tst-execstack-needed.c: New file.
* elf/Makefile (tests-execstack-yes, modules-execstack-yes): New
variables.
(tests, modules-names): Conditionally include them.
(distribute): Add tst-execstack-mod.c here.
($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets.
(LDFLAGS-tst-execstack, LDFLAGS-tst-execstack-mod): New variables.
($(objpfx)tst-execstack-needed): New target.
(LDFLAGS-tst-execstack-needed): New variable.

16 years ago2003-09-23 Roland McGrath <roland@redhat.com>
roland [Tue, 23 Sep 2003 12:06:53 +0000 (12:06 +0000)]
2003-09-23  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before
calling _dl_start, using GOTOFF access.

16 years ago2003-09-23 Roland McGrath <roland@redhat.com>
roland [Tue, 23 Sep 2003 12:06:50 +0000 (12:06 +0000)]
2003-09-23  Roland McGrath  <roland@redhat.com>

* configure.in (libc_cv_z_execstack): New check.
* configure: Regenerated.
* config.make.in (have-z-execstack): New variable set by it.
* elf/tst-execstack.c: New file.
* elf/tst-execstack-mod.c: New file.
* elf/tst-execstack-needed.c: New file.
* elf/Makefile (tests-execstack-yes, modules-execstack-yes): New
variables.
(tests, modules-names): Conditionally include them.
(distribute): Add tst-execstack-mod.c here.
($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets.
(LDFLAGS-tst-execstack, LDFLAGS-tst-execstack-mod): New variables.
($(objpfx)tst-execstack-needed): New target.
(LDFLAGS-tst-execstack-needed): New variable.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags
and _dl_make_stack_executable_hook.  Declare _dl_make_stack_executable.
* elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags.
(dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr.
Initialize _dl_make_stack_executable_hook.
* elf/dl-support.c: Define those new variables.
(_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK.
(_dl_phdr): Fix type.
* elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and
enable execute permission for the stack if necessary.
* sysdeps/generic/dl-execstack.c: New file.
* elf/Makefile (dl-routines): Add it.
* elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable.
* sysdeps/unix/sysv/linux/dl-execstack.c: New file.

16 years ago2003-09-23 Roland McGrath <roland@redhat.com>
roland [Tue, 23 Sep 2003 12:06:46 +0000 (12:06 +0000)]
2003-09-23  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags
and _dl_make_stack_executable_hook.  Declare _dl_make_stack_executable.
* elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags.
(dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr.
Initialize _dl_make_stack_executable_hook.
* elf/dl-support.c: Define those new variables.
(_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK.
(_dl_phdr): Fix type.
* elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and
enable execute permission for the stack if necessary.
* sysdeps/generic/dl-execstack.c: New file.
* elf/Makefile (dl-routines): Add it.
* elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable.
* sysdeps/unix/sysv/linux/dl-execstack.c: New file.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 07:24:22 +0000 (07:24 +0000)]
Update.

16 years ago(pc_to_index): Remove inline marker.
drepper [Tue, 23 Sep 2003 07:23:31 +0000 (07:23 +0000)]
(pc_to_index): Remove inline marker.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 06:13:18 +0000 (06:13 +0000)]
Update.

16 years ago(__pthread_attr_init_2_1): Double __guardsize size if
drepper [Tue, 23 Sep 2003 06:12:59 +0000 (06:12 +0000)]
(__pthread_attr_init_2_1): Double __guardsize size if
NEED_SEPARATE_REGISTER_STACK is defined.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 05:50:42 +0000 (05:50 +0000)]
Update.

16 years ago(setutent_file, LOCK_FILE, UNLOCK_FILE, setutent_file): Use fcntl_not_cancel
drepper [Tue, 23 Sep 2003 05:49:53 +0000 (05:49 +0000)]
(setutent_file, LOCK_FILE, UNLOCK_FILE, setutent_file): Use fcntl_not_cancel
instead of __fcntl_nocancel.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 05:47:54 +0000 (05:47 +0000)]
Update.

16 years agoInclude <stdint.h>.
drepper [Tue, 23 Sep 2003 05:46:59 +0000 (05:46 +0000)]
Include <stdint.h>.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 05:43:03 +0000 (05:43 +0000)]
Update.

16 years ago(re_token_type_t): Add OP_SPACE and OP_NOTSPACE.
drepper [Tue, 23 Sep 2003 05:42:26 +0000 (05:42 +0000)]
(re_token_type_t): Add OP_SPACE and OP_NOTSPACE.

16 years ago(build_word_op): Rename like...
drepper [Tue, 23 Sep 2003 05:42:07 +0000 (05:42 +0000)]
(build_word_op): Rename like...
(build_charclass_op): ...this.  Accept two extra parameters,
CLASS_NAME and EXTRA.  Add EXTRA to the result, not only _.
(peek_token): accept \s and \S as OP_SPACE and OP_NOTSPACE.
(parse_expression): replace build_word_op with
build_charclass_op, add new arguments, accept OP_SPACE
and OP_NOTSPACE.

16 years agoUpate.
drepper [Tue, 23 Sep 2003 05:33:43 +0000 (05:33 +0000)]
Upate.

16 years agoDefine __attribute.
drepper [Tue, 23 Sep 2003 05:30:56 +0000 (05:30 +0000)]
Define __attribute.

16 years agoCheck out of bounds value before shifting.
drepper [Tue, 23 Sep 2003 05:30:23 +0000 (05:30 +0000)]
Check out of bounds value before shifting.

16 years agoDefine RE_CARET_ANCHORS_HERE.
drepper [Tue, 23 Sep 2003 05:29:52 +0000 (05:29 +0000)]
Define RE_CARET_ANCHORS_HERE.

16 years ago(peek_token): Don't look back for ( or |
drepper [Tue, 23 Sep 2003 05:29:43 +0000 (05:29 +0000)]
(peek_token): Don't look back for ( or |
to check whether to treat a caret as special.  It fails
for the (extended) regex \(^.
(parse, parse_reg_exp): Pass RE_CARET_ANCHORS_HERE to fetch_token.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 05:09:03 +0000 (05:09 +0000)]
Update.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 04:41:29 +0000 (04:41 +0000)]
Update.

16 years agoFix int_frac_digits and frac_digits values.
drepper [Tue, 23 Sep 2003 04:41:11 +0000 (04:41 +0000)]
Fix int_frac_digits and frac_digits values.

16 years agoFix mon_grouping, int_frac_digits and frac_digits values.
drepper [Tue, 23 Sep 2003 04:40:48 +0000 (04:40 +0000)]
Fix mon_grouping, int_frac_digits and frac_digits values.

16 years agoUpdate.
drepper [Tue, 23 Sep 2003 04:39:42 +0000 (04:39 +0000)]
Update.

16 years ago(__libc_cleanup_push): Use __libc_maybe_call.
drepper [Tue, 23 Sep 2003 04:33:20 +0000 (04:33 +0000)]
(__libc_cleanup_push): Use __libc_maybe_call.
(__libc_cleanup_pop): Likewise.

16 years ago(__pthread_elements): Initialise these new elements.
drepper [Tue, 23 Sep 2003 04:33:01 +0000 (04:33 +0000)]
(__pthread_elements): Initialise these new elements.

16 years ago(struct pthread_functions): Add _pthread_cleanup_push, _pthread_cleanup_pop.
drepper [Tue, 23 Sep 2003 04:32:01 +0000 (04:32 +0000)]
(struct pthread_functions): Add _pthread_cleanup_push, _pthread_cleanup_pop.

16 years agoAdd _pthread_cleanup_push, _pthread_cleanup_pop.
drepper [Tue, 23 Sep 2003 04:31:36 +0000 (04:31 +0000)]
Add _pthread_cleanup_push, _pthread_cleanup_pop.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 22:13:36 +0000 (22:13 +0000)]
Update.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 21:47:04 +0000 (21:47 +0000)]
Update.

16 years agoInclude <stdlib.h>.
drepper [Mon, 22 Sep 2003 21:46:41 +0000 (21:46 +0000)]
Include <stdlib.h>.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 21:43:13 +0000 (21:43 +0000)]
Update.

16 years agoAdjust for latest recommendation from AMD re avoidance of lock prefix.
drepper [Mon, 22 Sep 2003 21:42:50 +0000 (21:42 +0000)]
Adjust for latest recommendation from AMD re avoidance of lock prefix.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 21:30:25 +0000 (21:30 +0000)]
Update.

16 years agoNot needed anymore.
drepper [Mon, 22 Sep 2003 21:29:59 +0000 (21:29 +0000)]
Not needed anymore.

16 years agoNot needed anymore.
drepper [Mon, 22 Sep 2003 21:29:29 +0000 (21:29 +0000)]
Not needed anymore.

16 years agoNot needed anymore.
drepper [Mon, 22 Sep 2003 21:28:50 +0000 (21:28 +0000)]
Not needed anymore.

16 years ago(__lll_lock_wait, __lll_lock_timedwait): Fix prototypes.
drepper [Mon, 22 Sep 2003 21:27:36 +0000 (21:27 +0000)]
(__lll_lock_wait, __lll_lock_timedwait): Fix prototypes.

16 years ago(__lll_lock_wait, __lll_lock_timedwait): Fix prototypes.
drepper [Mon, 22 Sep 2003 21:27:26 +0000 (21:27 +0000)]
(__lll_lock_wait, __lll_lock_timedwait): Fix prototypes.

16 years agoInclude atomic.h.
drepper [Mon, 22 Sep 2003 21:27:10 +0000 (21:27 +0000)]
Include atomic.h.
Completely revamp the locking macros.  No distinction between
normal and mutex locking anymore.

16 years agoNot needed anymore.
drepper [Mon, 22 Sep 2003 21:26:56 +0000 (21:26 +0000)]
Not needed anymore.

16 years agoInclude atomic.h.
drepper [Mon, 22 Sep 2003 21:26:42 +0000 (21:26 +0000)]
Include atomic.h.
Completely revamp the locking macros.  No distinction between
normal and mutex locking anymore.

16 years ago(__lll_timedlock_wait): Use lll_futex_timed_wait instead of lll_futex_wait.
drepper [Mon, 22 Sep 2003 21:25:15 +0000 (21:25 +0000)]
(__lll_timedlock_wait): Use lll_futex_timed_wait instead of lll_futex_wait.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 21:15:12 +0000 (21:15 +0000)]
Update.

16 years ago(atomic_compare_and_exchange_val_rel, atomic_compare_and_exchange_bool_rel):
drepper [Mon, 22 Sep 2003 21:14:27 +0000 (21:14 +0000)]
(atomic_compare_and_exchange_val_rel, atomic_compare_and_exchange_bool_rel):
Swap oldval/newval arguments to avoid confusion.

16 years agoInclude string.h.
drepper [Mon, 22 Sep 2003 21:14:11 +0000 (21:14 +0000)]
Include string.h.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 19:51:38 +0000 (19:51 +0000)]
Update.

16 years agoUpdate from tzdata2003c.
drepper [Mon, 22 Sep 2003 19:50:51 +0000 (19:50 +0000)]
Update from tzdata2003c.

16 years agoUpdate from tzcode2003c.
drepper [Mon, 22 Sep 2003 19:50:15 +0000 (19:50 +0000)]
Update from tzcode2003c.

16 years agoUpdate from tzcode2003c.
drepper [Mon, 22 Sep 2003 19:50:02 +0000 (19:50 +0000)]
Update from tzcode2003c.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 18:55:48 +0000 (18:55 +0000)]
Update.

16 years ago(__lll_mutex_lock_wait): Minor optimization to avoid one atomic
drepper [Mon, 22 Sep 2003 18:55:03 +0000 (18:55 +0000)]
(__lll_mutex_lock_wait): Minor optimization to avoid one atomic
operation if possible.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 16:47:50 +0000 (16:47 +0000)]
Update.

16 years agoDon't play tricks like jumping over the lock prefix.
drepper [Mon, 22 Sep 2003 16:47:09 +0000 (16:47 +0000)]
Don't play tricks like jumping over the lock prefix.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 05:45:50 +0000 (05:45 +0000)]
Update.

16 years agoCompletely revamp the locking macros. No distinction between normal
drepper [Mon, 22 Sep 2003 05:45:27 +0000 (05:45 +0000)]
Completely revamp the locking macros.  No distinction between normal
and mutex locking anymore.

16 years agoRewrite mutex locking. Merge bits from lowlevelmutex.S we still need.
drepper [Mon, 22 Sep 2003 05:45:02 +0000 (05:45 +0000)]
Rewrite mutex locking.  Merge bits from lowlevelmutex.S we still need.

16 years agoDon't use requeue.
drepper [Mon, 22 Sep 2003 05:44:27 +0000 (05:44 +0000)]
Don't use requeue.

16 years agoUpdate.
drepper [Mon, 22 Sep 2003 04:41:12 +0000 (04:41 +0000)]
Update.

16 years agoAdjust for new mutex implementation.
drepper [Mon, 22 Sep 2003 04:40:52 +0000 (04:40 +0000)]
Adjust for new mutex implementation.

16 years agoAdjust for new mutex implementation.
drepper [Mon, 22 Sep 2003 04:40:38 +0000 (04:40 +0000)]
Adjust for new mutex implementation.
Don't use requeue.

16 years agoCompletely revamp the locking macros. No distinction between normal
drepper [Mon, 22 Sep 2003 04:40:22 +0000 (04:40 +0000)]
Completely revamp the locking macros.  No distinction between normal
and mutex locking anymore.

16 years agoRewrite mutex locking. Merge bits from lowlevelmutex.S we still need.
drepper [Mon, 22 Sep 2003 04:40:06 +0000 (04:40 +0000)]
Rewrite mutex locking.  Merge bits from lowlevelmutex.S we still need.

16 years agoNot needed anymore.
drepper [Mon, 22 Sep 2003 04:35:39 +0000 (04:35 +0000)]
Not needed anymore.

16 years agoDrop completely useless test instructions.
drepper [Sun, 21 Sep 2003 17:40:25 +0000 (17:40 +0000)]
Drop completely useless test instructions.

16 years ago(routines): Remove libc-lowlevelmutex.
drepper [Sun, 21 Sep 2003 07:40:45 +0000 (07:40 +0000)]
(routines): Remove libc-lowlevelmutex.
(libpthread-rountines): Remove lowlevelmutex.

16 years agoUpdate.
drepper [Sun, 21 Sep 2003 07:40:24 +0000 (07:40 +0000)]
Update.

16 years agoAdjust for new mutex implementation.
drepper [Sun, 21 Sep 2003 07:39:22 +0000 (07:39 +0000)]
Adjust for new mutex implementation.
Don't use requeue.

16 years agoAdjust for new mutex implementation.
drepper [Sun, 21 Sep 2003 07:39:08 +0000 (07:39 +0000)]
Adjust for new mutex implementation.

16 years agoNot needed anymore.
drepper [Sun, 21 Sep 2003 07:35:37 +0000 (07:35 +0000)]
Not needed anymore.

16 years agoRewrite mutex locking. Merge bits from lowlevelmutex.S we still need.
drepper [Sun, 21 Sep 2003 07:33:09 +0000 (07:33 +0000)]
Rewrite mutex locking.  Merge bits from lowlevelmutex.S we still need.

16 years agoCompletely revamp the locking macros. No distinction between normal
drepper [Sun, 21 Sep 2003 07:29:24 +0000 (07:29 +0000)]
Completely revamp the locking macros.  No distinction between normal
and mutex locking anymore.

16 years agoUpdate.
drepper [Sat, 20 Sep 2003 08:10:41 +0000 (08:10 +0000)]
Update.