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

16 years ago(DL_STACK_END): Define.
drepper [Wed, 24 Sep 2003 21:09:01 +0000 (21:09 +0000)]
(DL_STACK_END): Define.
(RTLD_START): Remove setting of __libc_stack_end.

16 years ago(RTLD_START): Remove setting of __libc_stack_end.
drepper [Wed, 24 Sep 2003 21:08:29 +0000 (21:08 +0000)]
(RTLD_START): Remove setting of __libc_stack_end.

16 years ago(DL_STACK_END): Define if not defined.
drepper [Wed, 24 Sep 2003 21:06:41 +0000 (21:06 +0000)]
(DL_STACK_END): Define if not defined.
(_dl_sysdep_start): Set __libc_stack_end here.

16 years ago(ld): Export __libc_stack_end@GLIBC_2.1 instead of
drepper [Wed, 24 Sep 2003 21:05:28 +0000 (21:05 +0000)]
(ld): Export __libc_stack_end@GLIBC_2.1 instead of
__libc_stack_end@GLIBC_PRIVATE.

16 years agoAdd gnu_dev_ prefix to major, minor, makedev name.
drepper [Wed, 24 Sep 2003 20:26:11 +0000 (20:26 +0000)]
Add gnu_dev_ prefix to major, minor, makedev name.

16 years agoAdd gnu_dev_ prefix to major, minor, makedev name.
drepper [Wed, 24 Sep 2003 20:25:55 +0000 (20:25 +0000)]
Add gnu_dev_ prefix to major, minor, makedev name.

16 years ago(major, minor, makedev): Add __THROW.
drepper [Wed, 24 Sep 2003 20:25:15 +0000 (20:25 +0000)]
(major, minor, makedev): Add __THROW.
Add gnu_dev_ prefix to function definitions.
Adjust macro expansions accordingly.

16 years agoUpdate.
drepper [Wed, 24 Sep 2003 17:38:32 +0000 (17:38 +0000)]
Update.

16 years ago(others): Add nscd before including ../Rules.
drepper [Wed, 24 Sep 2003 17:37:40 +0000 (17:37 +0000)]
(others): Add nscd before including ../Rules.

16 years agoRegenerated.
drepper [Wed, 24 Sep 2003 17:36:05 +0000 (17:36 +0000)]
Regenerated.

16 years agoUpdate.
drepper [Wed, 24 Sep 2003 08:33:01 +0000 (08:33 +0000)]
Update.

16 years agoBuild tst-execstack-mod locally.
drepper [Wed, 24 Sep 2003 08:32:30 +0000 (08:32 +0000)]
Build tst-execstack-mod locally.

16 years agoModule for stack permission in loaded module.
drepper [Wed, 24 Sep 2003 08:31:27 +0000 (08:31 +0000)]
Module for stack permission in loaded module.

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

16 years ago(have-fpie): Define.
drepper [Wed, 24 Sep 2003 07:53:53 +0000 (07:53 +0000)]
(have-fpie): Define.

16 years agoCheck for -fpie and -pie compiler options.
drepper [Wed, 24 Sep 2003 07:53:15 +0000 (07:53 +0000)]
Check for -fpie and -pie compiler options.

16 years agoUpdate.
drepper [Wed, 24 Sep 2003 06:12:33 +0000 (06:12 +0000)]
Update.

16 years agoAdd rules to build nscd as a PIE.
drepper [Wed, 24 Sep 2003 06:11:37 +0000 (06:11 +0000)]
Add rules to build nscd as a PIE.

16 years agoNot needed anymore.
drepper [Wed, 24 Sep 2003 05:36:39 +0000 (05:36 +0000)]
Not needed anymore.

16 years agoNot needed anymore.
drepper [Wed, 24 Sep 2003 05:36:14 +0000 (05:36 +0000)]
Not needed anymore.

16 years agoNot needed anymore.
drepper [Wed, 24 Sep 2003 05:32:40 +0000 (05:32 +0000)]
Not needed anymore.

16 years agoNot needed anymore.
drepper [Wed, 24 Sep 2003 05:31:43 +0000 (05:31 +0000)]
Not needed anymore.

16 years ago(__xmknod): Adjust for 32-bit kernel dev_t.
drepper [Wed, 24 Sep 2003 05:27:12 +0000 (05:27 +0000)]
(__xmknod): Adjust for 32-bit kernel dev_t.

16 years ago(ustat): Adjust for 32-bit kernel dev_t.
drepper [Wed, 24 Sep 2003 05:26:42 +0000 (05:26 +0000)]
(ustat): Adjust for 32-bit kernel dev_t.

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.