]> sourceware.org Git - glibc.git/log
glibc.git
20 years ago* sysdeps/mach/hurd/bits/libc-lock.h
Roland McGrath [Thu, 25 Sep 2003 03:55:10 +0000 (03:55 +0000)]
* sysdeps/mach/hurd/bits/libc-lock.h

(__libc_cleanup_push, __libc_cleanup_pop): New macros.

2003-08-01  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/i386/dl-procinfo.h: New file, contents taken from ...
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here.
#include_next dl-procinfo.h to get them.
(_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h.
(_DL_PLATFORMS_COUNT): Likewise.
(_DL_FIRST_PLATFORM): Likewise.
(_DL_HWCAP_PLATFORM): Likewise.
(HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE,
HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE,
HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR,
HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV,
HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR,
HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D,
HWCAP_IMPORTANT): Likewise.
(_DL_PROCINFO_H_): Likewise.
(_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise.
(_dl_string_platform): Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ...
* sysdeps/i386/dl-procinfo.c: ... here, new file.

20 years ago2003-09-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 25 Sep 2003 03:50:45 +0000 (03:50 +0000)]
2003-09-24  Roland McGrath  <roland@redhat.com>

* allocatestack.c (__make_stacks_executable): Don't ignore return
value from _dl_make_stack_executable.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 03:31:59 +0000 (03:31 +0000)]
Update.

* sysdeps/unix/sysv/linux/dl-execstack.c
(_dl_make_stack_executable): Remember that we changed the permission.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 03:16:53 +0000 (03:16 +0000)]
Update.

* allocatestack.c (change_stack_perm): Split out from
__make_stacks_executable.
(allocate_stack): If the required permission changed between the time
we started preparing the stack and queueing it, change the permission.
(__make_stacks_executable): Call change_stack_perm.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 21:13:55 +0000 (21:13 +0000)]
Update.

2003-09-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/dl-machine.h (RTLD_START): Remove setting of
__libc_stack_end.  Patch by David Mosberger.

2003-09-24  Jakub Jelinek  <jakub@redhat.com>

* elf/Versions (ld): Export __libc_stack_end@GLIBC_2.1 instead of
__libc_stack_end@GLIBC_PRIVATE.

* sysdeps/generic/dl-sysdep.c (DL_STACK_END): Define if not defined.
(_dl_sysdep_start): Set __libc_stack_end here.
* sysdeps/alpha/dl-machine.h (RTLD_START): Remove setting of
__libc_stack_end.
* sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
* sysdeps/cris/dl-machine.h (RTLD_START): Likewise.
* sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
* sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
* sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
* sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
* sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/ia64/dl-machine.h (DL_STACK_END): Define.
* sysdeps/sparc/sparc32/dl-machine.h (DL_STACK_END): Define.
(RTLD_START): Remove setting of __libc_stack_end.
* sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Define.
(RTLD_START): Remove setting of __libc_stack_end.

2003-09-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Add gnu_dev_ prefix to
function definitions.  Adjust macro expansions accordingly.
* sysdeps/unix/sysv/linux/Versions: Add gnu_dev_ prefix to major,
minor, makedev name.
* sysdeps/unix/sysv/linux/makedev.c: Likewise.

2003-09-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev):
Add __THROW.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 17:38:32 +0000 (17:38 +0000)]
Update.

2003-09-24  Jakub Jelinek  <jakub@redhat.com>

* nscd/Makefile (others): Add nscd before including ../Rules.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 08:33:01 +0000 (08:33 +0000)]
Update.

2003-09-24  Ulrich Drepper  <drepper@redhat.com>
* configure.in: Check for -fpie and -pie compiler options.
* config.make.in (have-fpie): Define.
* sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: Removed.
* sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: Removed.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 06:12:33 +0000 (06:12 +0000)]
Update.

* nscd/Makefile: Add rules to build nscd as a PIE.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/alpha/sysmacros.h: Removed.
* sysdeps/unix/sysv/linux/sys/sparc/sysmacros.h: Removed.
* sysdeps/unix/sysv/linux/ustat.c (ustat): Adjust for 32-bit
kernel dev_t.
* sysdeps/unix/sysv/linux/alpha/ustat.c: Removed.
* sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
* sysdeps/unix/sysv/linux/alpha/xmknod.c: Removed.
Code by Alexander Viro <aviro@redhat.com>.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 05:05:38 +0000 (05:05 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Adjust for larger
kernel dev_t size.
* sysdeps/unix/sysv/linux/makedev.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add makedev.c.
* sysdeps/unix/sysv/linux/Makefile [subdir=misc]
(sysdep_routines): Add makedev.
* sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.3.3): Add
major, minor, makedev.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 03:22:56 +0000 (03:22 +0000)]
Update.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions [libc]
(GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and
makecontext.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct change
for include Altivec support for PPC32.  It was not compatible.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: Adjust
offsets for ucontext_t change.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Adjust
for ucontext_t change.  Add compatibility code.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
Patch by Paul Mackerras <paulus@samba.org>.

2003-02-25  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/Makefile: Include compat code in build.
* sysdeps/hppa/libgcc-compat.c: New file.
* sysdeps/hppa/Dist: Add libgcc-compat.c.
* sysdeps/hppa/Versions [GLIBC_2.2]: Add __clz_tab.

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

20 years ago* elf/rtld.c (dl_main): In rtld_is_main case, reinitialize
Roland McGrath [Wed, 24 Sep 2003 01:56:08 +0000 (01:56 +0000)]
* 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.

20 years ago* sysdeps/x86_64/dl-machine.h (RTLD_START): Set __libc_stack_end
Roland McGrath [Tue, 23 Sep 2003 21:31:54 +0000 (21:31 +0000)]
* 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.

20 years ago* sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before
Roland McGrath [Tue, 23 Sep 2003 12:07:26 +0000 (12:07 +0000)]
* sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before

calling _dl_start, using GOTOFF access.

* 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.

20 years ago2003-09-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 23 Sep 2003 12:06:48 +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.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 07:24:22 +0000 (07:24 +0000)]
Update.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sprofil.c (pc_to_index): Remove inline marker.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 06:13:18 +0000 (06:13 +0000)]
Update.

2003-09-20  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/generic/utmp_file.c (setutent_file, LOCK_FILE,
UNLOCK_FILE, setutent_file): Use fcntl_not_cancel instead of
__fcntl_nocancel.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 05:47:54 +0000 (05:47 +0000)]
Update.

2003-09-22  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c: Include <stdint.h>.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 05:43:03 +0000 (05:43 +0000)]
Update.

* posix/regcomp.c (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.
* posix/regex_internal.h (re_token_type_t): Add OP_SPACE
and OP_NOTSPACE.

20 years agoUpate.
Ulrich Drepper [Tue, 23 Sep 2003 05:33:43 +0000 (05:33 +0000)]
Upate.

2003-09-20  Paolo Bonzini  <bonzini@gnu.org>

* posix/regcomp.c (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.
* posix/regex.h: Define RE_CARET_ANCHORS_HERE.

* posix/regexec.c: Check out of bounds value before shifting.

* posix/regex_internal.h: Define __attribute for non-gcc.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 04:41:29 +0000 (04:41 +0000)]
Update.

2003-09-22  Philip Blundell  <philb@gnu.org>

* forward.c: Add _pthread_cleanup_push, _pthread_cleanup_pop.
* sysdeps/pthread/pthread-functions.h (struct pthread_functions):
Likewise.
* pthread.c (__pthread_elements): Initialise these new elements.
* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_push): Use
__libc_maybe_call.
(__libc_cleanup_pop): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Sep 2003 22:13:36 +0000 (22:13 +0000)]
Update.

2003-09-22  Jakub Jelinek  <jakub@redhat.com>

* include/atomic.h (atomic_compare_and_exchange_val_rel,
atomic_compare_and_exchange_bool_rel): Swap oldval/newval arguments
to avoid confusion.

* sysdeps/unix/opendir.c: Include string.h.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Sep 2003 21:30:25 +0000 (21:30 +0000)]
Update.

2003-09-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_timedlock_wait): Use
lll_futex_timed_wait instead of lll_futex_wait.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c: Removed.
* sysdeps/unix/sysv/linux/s390/lowlevelmutex.c: Removed.
* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c: Removed.
* sysdeps/unix/sysv/linux/s390/libc-lowlevelmutex.c: Removed.
* sysdeps/unix/sysv/linux/s390/sem_trywait.c: Removed.
* sysdeps/unix/sysv/linux/s390/sem_wait.c: Removed.
* sysdeps/unix/sysv/linux/s390/sem_post.c: Removed.
* sysdeps/unix/sysv/linux/s390/sem_timedwait.c: Removed.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include atomic.h.
Completely revamp the locking macros.  No distinction between
normal and mutex locking anymore.
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_lock_wait,
__lll_lock_timedwait): Fix prototypes.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_lock_wait,
__lll_lock_timedwait): Likewise.
(lll_mutex_lock, lll_mutex_cond_lock): Use _val instead of _bool
macros, add __builtin_expect.
(lll_mutex_timedlock): Likewise.  Fix return value.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Removed.
* sysdeps/unix/sysv/linux/i386/i586/libc-lowlevelmutex.S: Removed.
* sysdeps/unix/sysv/linux/i386/i586/lowlevelmutex.S: Removed.
* sysdeps/unix/sysv/linux/i386/i686/libc-lowlevelmutex.S: Removed.
* sysdeps/unix/sysv/linux/i386/i686/lowlevelmutex.S: Removed.
* sysdeps/unix/sysv/linux/x86_64/libc-lowlevelmutex.S: Removed.
* sysdeps/unix/sysv/linux/lowlevelmutex.c: Removed.
* sysdeps/unix/sysv/linux/libc-lowlevelmutex.c: Removed.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Sep 2003 19:51:38 +0000 (19:51 +0000)]
Update.

2003-09-22  Ulrich Drepper  <drepper@redhat.com>

* timezone/zdump.c: Update from tzcode2003c.
* timezone/zic.c: Likewise.
* timezone/leapseconds: Update from tzdata2003c.

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

2003-09-22  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't play tricks
like jumping over the lock prefix.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Sep 2003 05:45:50 +0000 (05:45 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/lowlevellock.c: Likewise.
* sysdeps/pthread/pthread_cond_signal.c: Don't use requeue.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Sep 2003 04:41:12 +0000 (04:41 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: Removed.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Adjust
for new mutex implementation.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Likewise
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
Don't use requeue.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 21 Sep 2003 07:40:24 +0000 (07:40 +0000)]
Update.

2003-09-21  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Completely revamp the
locking macros.  No distinction between normal and mutex locking
anymore.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Rewrite mutex
locking.  Merge bits from lowlevelmutex.S we still need.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Removed.
* Makefile (routines): Remove libc-lowlevelmutex.
(libpthread-rountines): Remove lowlevelmutex.
* pthread_barrier_wait.S: Adjust for new mutex implementation.
* pthread_cond_broadcast.S: Likewise.
* pthread_cond_timedwait.S: Likewise.
* pthread_cond_wait.S: Likewise.
* pthread_rwlock_rdlock.S: Likewise.
* pthread_rwlock_timedrdlock.S: Likewise.
* pthread_rwlock_timedwrlock.S: Likewise.
* pthread_rwlock_unlock.S: Likewise.
* pthread_rwlock_wrlock.S: Likewise.
* pthread_cond_signal.S: Likewise.  Don't use requeue.

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

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Don't match memory
in parameters of asm with output parameters.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Sep 2003 07:41:51 +0000 (07:41 +0000)]
Update.

2003-09-20  Ulrich Drepper  <drepper@redhat.com>

* pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): Change
type of DECR parameter to int.
* pthreadP.h: Adjust prototype of __pthread_mutex_unlock_usercnt.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Sep 2003 06:16:45 +0000 (06:16 +0000)]
Update.

* elf/Makefile ($(objpfx)librtld.os): Create link map also for
final build to ease quality control.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Sep 2003 01:06:31 +0000 (01:06 +0000)]
Update.

2003-09-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): If compiled for
ld.so, don't include NULL buffer pointer handling.

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Sep 2003 20:41:17 +0000 (20:41 +0000)]
Update.

2003-09-19  Jakub Jelinek  <jakub@redhat.com>

* dlfcn/dlopen.c (dlopen): Add static_link_warning.

20 years agoUpdate.
Ulrich Drepper [Thu, 18 Sep 2003 19:15:31 +0000 (19:15 +0000)]
Update.

2003-09-18  Jakub Jelinek  <jakub@redhat.com>

* libio/memstream.c (open_memstream): Use _IO_init instead of
_IO_old_init.

20 years agoUpdate.
Ulrich Drepper [Thu, 18 Sep 2003 02:54:32 +0000 (02:54 +0000)]
Update.

2003-09-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/wordexp.c (eval_expr_val): Use strtol since we
have to recognize octal and hexadecimal numbers as well.  Simplify
function, signs are handled in strtol.
* posix/wordexp-test.c: Add tests for octal and hexadecimal
numbers in arithmetic expressions.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 19:15:35 +0000 (19:15 +0000)]
Update.

* elf/Makefile (distribute): Add tst-alignmod.c.
(tests): Add tst-align.
(modules-names): Add tst-alignmod.
(CFLAGS-tst-align.c, CFLAGS-tst-alignmod.c): Add
$(stack-align-test-flags).
($(objpfx)tst-align): Depend on libdl.
($(objpfx)tst-align.out): Depend on tst-alignmod.so.
* elf/tst-align.c: New file.
* elf/tst-alignmod.c: New file.
* misc/Makefile (CFLAGS-tst-tsearch.c): Add $(stack-align-test-flags).
* misc/tst-tsearch.c: Include tst-stack-align.h.
(stack_align_check): New array.
(cmp_fn, walk_action): Use TEST_STACK_ALIGN ().
(main): Report error if stack was not enough aligned
in cmp_fn or walk_action.
* stdlib/Makefile (CFLAGS-tst-qsort.c): Add $(stack-align-test-flags).
* stdlib/tst-qsort.c: Include tst-stack-align.h.
(align_check): New var.
(compare): Use TEST_STACK_ALIGN () macro.
(main): Report error if stack was not enough aligned in compare.
* sysdeps/i386/i686/Makefile (stack-align-test-flags): Remove
unneeded -mpreferred-stack-boundary=4.
* sysdeps/x86_64/tst-stack-align.h: New file.

* libio/memstream.c (_IO_wmem_jumps): Remove unused structure.
(_IO_wmem_sync, _IO_wmem_finish): Remove unused functions.

2003-09-17  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/dl-machine.h (CALL_ROUTINE): Deleted.
(BX): Define.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.

* sysdeps/arm/sysdep.h (DO_RET): New.

* sysdeps/unix/sysv/linux/arm/vfork.S: Add #error if __NR_vfork
required but not defined.  Improve test of error code.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 18:23:49 +0000 (18:23 +0000)]
Update.

2003-09-17  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/vfork.S: Branch to fork if
libpthread is loaded.  Elide backwards compatibility code when not
required.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 09:39:59 +0000 (09:39 +0000)]
Update.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/Makefile (stack-align-test-flags): Add
-malign-double -mpreferred-stack-boundary=4.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 09:18:37 +0000 (09:18 +0000)]
Update.

2003-09-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
* sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 08:47:44 +0000 (08:47 +0000)]
Update.

2003-09-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu
subdir, add -mpreferred-stack-boundary=4, with few exceptions.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* Makeconfig (stack-align-test-flags): Set.
* stdlib/Makefile (CFLAGS-tst-bsearch.c): Add
$(stack-align-test-flags).
* stdlib/tst-bsearch.c: Include tst-stack-align.h.
(align_check): New var.
(comp): Use TEST_STACK_ALIGN macro.
(do_test): Fail if align_check != 1.
* sysdeps/generic/tst-stack-align.h: New file.
* sysdeps/i386/i686/Makefile (stack-align-test-flags): Add -msse.
* sysdeps/i386/i686/tst-stack-align.h: New file.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 08:02:17 +0000 (08:02 +0000)]
Update.

2003-09-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a
stack which is aligned (mod 16).

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 06:44:18 +0000 (06:44 +0000)]
Update.

2003-09-16  Ulrich Drepper  <drepper@redhat.com>

* attr.c (pthread_getattr_np): Correctly fill in the stack-related
values for the initial thread.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 05:04:16 +0000 (05:04 +0000)]
Update.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* pthread.c (manager_thread): Remove static, add attribute_hidden.
(thread_self_stack): Rename to...
(__pthread_self_stack): ... this.  Remove static.
(pthread_handle_sigcancel): Use check_thread_self ().
(pthread_handle_sigrestart): Likewise.
* sighandler.c (__pthread_sighandler, __pthread_sighandler_rt):
Likewise.
* descr.h (manager_thread): Declare.
* internals.h (__pthread_self_stack): New prototype.
(__manager_thread): Define.
(check_thread_self): New function.

20 years ago(manager_thread): Remove static, add attribute_hidden. (thread_self_stack): Rename...
Ulrich Drepper [Wed, 17 Sep 2003 05:03:05 +0000 (05:03 +0000)]
(manager_thread): Remove static, add attribute_hidden. (thread_self_stack): Rename to... (__pthread_self_stack): ... this.  Remove static. (pthread_handle_sigcancel): Use check_thread_self (). (pthread_handle_sigrestart): Likewise.

20 years ago2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net>
Roland McGrath [Wed, 17 Sep 2003 02:48:45 +0000 (02:48 +0000)]
2003-09-17  Uwe Reimann  <Uwe_Reimann@gmx.net>

    Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT.  Clarify comment.

20 years ago2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net> Hans-Peter Nilsson <hp@axis.com>
Roland McGrath [Wed, 17 Sep 2003 02:47:48 +0000 (02:47 +0000)]
2003-09-17  Uwe Reimann  <Uwe_Reimann@gmx.net> Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT.  Clarify comment.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 01:19:43 +0000 (01:19 +0000)]
Update.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* dirent/scandir.c: Include bits/libc-lock.h.
(struct scandir_cancel_struct): New type.
(cancel_handler): New function.
(SCANDIR): Add __libc_cleanup_{push,pop}, save state into
scandir_cancel_struct.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 00:49:19 +0000 (00:49 +0000)]
Update.

2003-09-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/Dist: Remove internal_statvfs.c.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add internal_statvfs.
* sysdeps/unix/sysv/linux/fstatvfs.c: Call __internal_statvfs
instead of including "internal_statvfs.c".
* sysdeps/unix/sysv/linux/statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Make it a real function.
Add code to avoid the stat calls on all the reported mount points
when we can determine mismatch in advance.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Add AUTOFS_SUPER_MAGIC and
USBDEVFS_SUPER_MAGIC.

2003-09-16  Jakub Jelinek  <jakub@redhat.com>

* posix/Versions (sched_getaffinity, sched_setaffinity): Change
from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version.

2003-09-16  Bruno Haible  <bruno@clisp.org>

* intl/tst-gettext2.sh: Set GCONV_PATH and LOCPATH only after
invoking msgfmt, not before.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Sep 2003 05:54:09 +0000 (05:54 +0000)]
Update.

2003-09-15  Jakub Jelinek  <jakub@redhat.com>

* argp/argp.h (argp_parse, __argp_parse): Remove __THROW.
* argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add
$(uses-callbacks).
* dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise.
* elf/Makefile (CFLAGS-dl-iterate-phdr.c,
CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks).
* elf/dl-iteratephdr.c (cancel_handler): New function.
(__dl_iterate_phdr): Add __libc_cleanup_{push,pop}.
* elf/link.h (dl_iterate_phdr): Remove __THROW.
* io/Makefile (CFLAGS-fts.c): Merge into one assignment.
Add $(uses-callbacks).
(CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks).
* misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change
$(exceptions) to $(uses-callbacks).
* Makeconfig (uses-callbacks): Set to $(exceptions).
* posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add
$(uses-callbacks).
* stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c):
Likewise.

20 years ago(argp_parse, __argp_parse): Remove __THROW.
Ulrich Drepper [Tue, 16 Sep 2003 05:46:27 +0000 (05:46 +0000)]
(argp_parse, __argp_parse): Remove __THROW.

20 years ago* sysdeps/m68k/setjmp.c: Add hidden_def.
Andreas Schwab [Mon, 15 Sep 2003 08:43:25 +0000 (08:43 +0000)]
* sysdeps/m68k/setjmp.c: Add hidden_def.

20 years agoAdd hidden_def.
Andreas Schwab [Mon, 15 Sep 2003 08:43:12 +0000 (08:43 +0000)]
Add hidden_def.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Sep 2003 06:28:10 +0000 (06:28 +0000)]
Update.

* libio/memstream.c (open_memstream): Don't allow wide char operations.

20 years agoUpdate.
Ulrich Drepper [Sun, 14 Sep 2003 20:38:01 +0000 (20:38 +0000)]
Update.

2003-09-14  Ulrich Drepper  <drepper@redhat.com>

* dirent/dirent.h: Remove __THROW from scandir.

2003-09-14  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/mmap.S: Use sys_mmap2 if it's known
to be available.

* sysdeps/unix/sysv/linux/arm/mmap64.S: Optimise code a little.

* sysdeps/arm/memset.S: Rewrite.

20 years agoUpdate.
Ulrich Drepper [Sun, 14 Sep 2003 08:03:54 +0000 (08:03 +0000)]
Update.

2003-09-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New.
(__SSIZE_T_TYPE): Define to __SWORD_TYPE for gcc 2.95.x and
__SLONGWORD_TYPE otherwise.

2003-09-14  Ulrich Drepper  <drepper@redhat.com>

* io/Makefile (CFLAGS-ftw.c): Add -fexceptions.
(CFLAGS-ftw64.c): Likewise.

2003-09-13  Ulrich Drepper  <drepper@redhat.com>

* nscd/Makefile (CFLAGS-nscd_getpw_r.c): Add -fexceptions.
(CFLAGS-nscd_getgr_r.c): Likewise.
(CFLAGS-nscd_gethst_r.c): Likewise.

20 years agoUpdate.
Ulrich Drepper [Sat, 13 Sep 2003 05:52:57 +0000 (05:52 +0000)]
Update.

* sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable
interfaces.

20 years agoUpdate.
Ulrich Drepper [Fri, 12 Sep 2003 22:37:19 +0000 (22:37 +0000)]
Update.

2003-09-12  Ulrich Drepper  <drepper@redhat.com>

* grp/Makefile (CFLAGS-getgrgid_r.c, CFLAGS-getgrnam_r.c,
CFLAGS-fgetgrent.c, CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c,
CFLAGS-initgroups.c, CFLAGS-getgrgid.c): Add -fexceptions.
* inet/Makefile (CFLAGS-either_ntoh.c, CFLAGS-either_hton.c,
CFLAGS-getnetgrent.c, CFLAGS-getnetgrent_r.c): Likewise.
* io/Makefile (CFLAGS-posix_fallocate.c, CFLAGS-posix_fallocate64.c):
Likewise.
* misc/Makefile (CFLAGS-err.c): Likewise.
* posix/Makefile (CFLAGS-getaddrinfo.c, CFLAGS-spawn.c,
CFLAGS-spawnp.c, CFLAGS-spawni.c, CFLAGS-pause.c, CFLAGS-glob.c,
CFLAGS-glob64.c): Likewise.
* pwd/Makefile (CFLAGS-getpw.c): Likewise.
* shadow/Makefile (CFLAGS-fgetspent.c, CFLAGS-fgetspent_r.c,
CFLAGS-putspent.c, CFLAGS-getspnam.c, CFLAGS-getspnam_r.c): Likewise.
* stdio-common/Makefile (CFLAGS-cuserid.c): Likewise.
* sunrpc/Makefile (CFLAGS-openchild.c): Likewise.

* stdlib/Makefile (CFLAGS-mkstemp.c): Remove definition.

* libio/stdio.h: Remove __THROW from cuserid prototype.

* locale/loadarchive.c: Use only non-cancelable interfaces.
* resolv/herror.c (herror): Likewise.

* malloc/hooks.c: Before using IO stream mark stream so it uses
only non-cancelable interfaces.
* malloc/malloc.c: Likewise.
* posix/getopt.c: Likewise.

2003-09-11  Jakub Jelinek  <jakub@redhat.com>

* Makerules (LDFLAGS-c.so): Remove -u __register_frame.

2003-09-12  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/stdio_ext.h: Mark most functions with __THROW.

* misc/err.h: Remove __THROW from all prototypes.

* posix/getopt.h (__THROW): Define if not already defined.  Add
__THROW to the getopt functions.

2003-09-11  Ulrich Drepper  <drepper@redhat.com>

* io/Makefile (CFLAGS-lockf.c): Add -fexceptions.
(CFLAGS-fts.c): Likewise.
* io/fcntl.h: Remove __THROW from lockf prototypes.
* io/fts.h: Remove most __THROW.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Sep 2003 23:57:58 +0000 (23:57 +0000)]
Update.

2003-09-11  H.J. Lu  <hongjiu.lu@intel.com>

* elf/tls-macros.h (TLS_IE): Add a stop bit for ia64.
(TLS_LD): Likewise.
(TLS_GD): Likewise.

2003-09-11  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
_IO_free_backup_area call.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Sep 2003 18:56:41 +0000 (18:56 +0000)]
Update.

2003-09-11  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/pt-machine.h [MEMORY_BARRIER]: Use lwsync.
[READ_MEMORY_BARRIER]: Define.
[WRITE_MEMORY_BARRIER]: Define.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Sep 2003 08:01:46 +0000 (08:01 +0000)]
Update.

2003-09-11  Ulrich Drepper  <drepper@redhat.com>

* pthread_mutex_lock.c: Minor code rearrangements.

20 years agoMinor code rearrangements.
Ulrich Drepper [Thu, 11 Sep 2003 08:00:43 +0000 (08:00 +0000)]
Minor code rearrangements.

20 years ago* sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix
Roland McGrath [Wed, 10 Sep 2003 23:39:29 +0000 (23:39 +0000)]
* sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix

syscall invocation.
* sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
Also, only assert off_t size is 4 for N32 and O32, and clean up
white space.
* sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.

20 years ago* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Move
Roland McGrath [Wed, 10 Sep 2003 22:27:42 +0000 (22:27 +0000)]
* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Move

ptr___pthread_cond_timedwait to the end of the structure to avoid
breaking Wine unnecessarily.

20 years ago* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):
Roland McGrath [Wed, 10 Sep 2003 19:16:18 +0000 (19:16 +0000)]
* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):

Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED].
Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED].
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
Reported by Daniel Jacobowitz  <drow@mvista.com>.

20 years ago2003-09-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 10 Sep 2003 19:16:07 +0000 (19:16 +0000)]
2003-09-10  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):
Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED].
Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED].
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
Reported by Daniel Jacobowitz  <drow@mvista.com>.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Sep 2003 05:23:33 +0000 (05:23 +0000)]
Update.

2003-09-10  Jakub Jelinek  <jakub@redhat.com>

* string/Makefile (strop-tests): Add memccpy.
* string/test-memccpy.c: New test.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 23:59:00 +0000 (23:59 +0000)]
Update.

2003-09-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add
siginfo_t * argument before, change into struct ucontext *.
(SIGCONTEXT_EXTRA_ARGS): Define to _si,.
(GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer
instead of structure.
* sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP):
Likewise.

* sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
* sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
the top of the list.
* sysdeps/mips/mips64/n64/Implies: Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 20:18:53 +0000 (20:18 +0000)]
Update.

2003-09-09  Ulrich Drepper  <drepper@redhat.com>

* string/stratcliff.c (main): Check memccpy.

2003-04-11  Jes Sorensen  <jes@wildopensource.com>

* sysdeps/ia64/memccpy.S: When recovering for src_aligned and the
character is found during recovery, use correct register when
determining the position of the found character.

2003-04-01  Jes Sorensen  <jes@wildopensource.com>

* sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to
avoid segfaults when reading from unmapped pages. For aligned
reload and continue, for misaligned, roll back and use byte copy.
Save ar.ec on entry and restore on exit.

20 years ago(main): Check memccpy.
Ulrich Drepper [Tue, 9 Sep 2003 20:15:17 +0000 (20:15 +0000)]
(main): Check memccpy.

20 years ago2003-09-08 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Tue, 9 Sep 2003 20:10:35 +0000 (20:10 +0000)]
2003-09-08  Chris Demetriou  <cgd@broadcom.com>

        * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
        the top of the list.
        * sysdeps/mips/mips64/n64/Implies: Likewise.

20 years ago2003-09-09 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Tue, 9 Sep 2003 19:22:51 +0000 (19:22 +0000)]
2003-09-09  Chris Demetriou  <cgd@broadcom.com>

        * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.

20 years ago* sysdeps/unix/sysv/linux/speed.c
Roland McGrath [Tue, 9 Sep 2003 07:01:01 +0000 (07:01 +0000)]
* sysdeps/unix/sysv/linux/speed.c

(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.

20 years ago2003-09-08 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 9 Sep 2003 06:44:48 +0000 (06:44 +0000)]
2003-09-08  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/linux/speed.c
(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 02:42:46 +0000 (02:42 +0000)]
Update.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.

* scripts/data/c++-types-i386-linux-gnu.data: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 00:07:08 +0000 (00:07 +0000)]
Update.

2003-09-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit.
(__u_quad_t): Make unsigned long int if 64-bit.
(__SQUAD_TYPE): Make long int if 64-bit.
(__UQUAD_TYPE): Make unsigned long int if 64-bit.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Run check-c++-types.sh if possible.
* scripts/check-c++-types.h: New file.
* scripts/data/c++-ctypes-i386-linux-gnu.data: New file.

contiguous case.  Bug report from Prem Gopalan <prem@mazunetworks.com>.

20 years agoScript to check non-changing C++ type name mangling.
Ulrich Drepper [Mon, 8 Sep 2003 23:11:09 +0000 (23:11 +0000)]
Script to check non-changing C++ type name mangling.

20 years ago* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Andreas Jaeger [Mon, 8 Sep 2003 19:14:42 +0000 (19:14 +0000)]
* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):

Use struct sigcontext.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
Use struct sigcontext.
(GET_PC): Adopt.
(GET_FRAME): Likewise.
(GET_STACK): Likewise.
2003-09-08  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Use struct sigcontext.

* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
Use struct sigcontext.
(GET_PC): Adopt.
(GET_FRAME): Likewise.
(GET_STACK): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 8 Sep 2003 16:33:12 +0000 (16:33 +0000)]
Update.

2003-09-08  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into
contiguous case.  Bug report from Prem Gopalan
<prem@mazunetworks.com>.
(mALLOPt): Avoid requirement of C99.

20 years agoUpdate.
Ulrich Drepper [Mon, 8 Sep 2003 07:04:48 +0000 (07:04 +0000)]
Update.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

* libio/bug-ftell.c: Include <sys/types.h>.
(main): Mark cp as const.

20 years agoUpdate.
Ulrich Drepper [Sun, 7 Sep 2003 19:03:48 +0000 (19:03 +0000)]
Update.

2003-09-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
* sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove.

20 years agoUpdate.
Ulrich Drepper [Sat, 6 Sep 2003 09:56:57 +0000 (09:56 +0000)]
Update.

20 years agoUpdate.
Ulrich Drepper [Sat, 6 Sep 2003 09:56:14 +0000 (09:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed
and c_ospeed fields.
* sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field.
(cfsetispeed): Set c_ispeed field.
* sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally
to match corresponding speed.c code.

2003-09-06  Ulrich Drepper  <drepper@redhat.com>

* libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the
narrow character buffer.
* libio/Makefile: Add rules to build and run bug-ftell.
* libio/bug-ftell.c: New file.

* stdio-common/vfprintf.c: Don't use the first grouping number twice.

* stdio-common/vfscanf.c (vfscanf): Fix recognition of characters
matching the decimal point and possibly leading the thousands
separator.  This caused the recognition of thousands separators to
always fail.

2003-09-05  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_new_file_overflow): Handle switching to
write mode from read in backup buffer.
* libio/Makefile (tests): Add bug-ungetc2.
* libio/bug-ungetc2.c: New file.

2003-09-05  Roland McGrath  <roland@redhat.com>

>>>>>>> 1.7905
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC.

20 years ago(_IO_new_file_overflow): Handle switching to write mode from read of backup buffer.
Ulrich Drepper [Sat, 6 Sep 2003 05:16:44 +0000 (05:16 +0000)]
(_IO_new_file_overflow): Handle switching to write mode from read of backup buffer.

20 years ago* nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.
Roland McGrath [Fri, 5 Sep 2003 21:25:15 +0000 (21:25 +0000)]
* nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.

2003-09-04  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID,
EOPNOTSUPP, or ENOSYS, change it to ENODEV.

20 years ago2003-09-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 5 Sep 2003 21:24:50 +0000 (21:24 +0000)]
2003-09-05  Roland McGrath  <roland@redhat.com>

* nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.

20 years agoUpdate.
Ulrich Drepper [Fri, 5 Sep 2003 18:21:07 +0000 (18:21 +0000)]
Update.

2003-09-04  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ):
Fix a typo.

20 years ago(MINSIGSTKSZ): Fix a typo.
Ulrich Drepper [Fri, 5 Sep 2003 18:04:05 +0000 (18:04 +0000)]
(MINSIGSTKSZ): Fix a typo.

20 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 10:03:19 +0000 (10:03 +0000)]
Update.

* sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler
to make it conforming C.
* sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.

20 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 08:44:59 +0000 (08:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/fcntl.c: New.

20 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 07:58:18 +0000 (07:58 +0000)]
Update.

* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.

20 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 06:10:43 +0000 (06:10 +0000)]
Update.

2003-09-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change
prototype to use variable argument lists and get the possible one
argument via va_arg.

20 years ago(__fcntl_nocancel): Change
Andreas Jaeger [Fri, 5 Sep 2003 06:10:20 +0000 (06:10 +0000)]
(__fcntl_nocancel): Change

prototype to use variable argument lists and get the possible one
argument via va_arg.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 16:19:05 +0000 (16:19 +0000)]
Update.

* posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf.

over the place.  It would be allowed to have these functions as

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 14:42:25 +0000 (14:42 +0000)]
Update.

* sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
Report correct value for vxfs.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Dfeine VXFS_SUPER_MAGIC.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 14:26:36 +0000 (14:26 +0000)]
Update.

* gmon/gmon.c: Use only not-cancelable syscalls to write profiling
data.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 14:08:24 +0000 (14:08 +0000)]
Update.

* sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all
over the place.  It would be allowed to have these fucntions as
cancellation points but the cleanup would be ugly and a lot of
work.

* sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define.
* sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define.

* include/fcntl.h (__fcntl_nocancel): Declare.
* sysdeps/unix/sysv/linux/fcntl.c: New file.
* sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable
cancellation if absolutely needed.
(__fcntl_nocancel): Define.

* posix/unistd.h (gethostid): Remove __THROW.  Clarify comment.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add
-fexceptions.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use
extend_alloca.

* resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status
instead of __close.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 12:31:47 +0000 (12:31 +0000)]
Update.

2003-09-04  Ulrich Drepper  <drepper@redhat.com>

* nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts.  Remove
unnecessary errno handling.

* nss/getXXbyYY_r.c (INTERNAL): Use better variable name.
Initialize it in all cases.  Change it to be a bit more like the
code we had before.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 08:53:13 +0000 (08:53 +0000)]
Update.

2003-09-04  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_file_read, _IO_new_file_write): Add
__builtin_expect.
(_IO_file_open): Likewise.  Use close_not_cancel.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 08:27:37 +0000 (08:27 +0000)]
Update.

2003-09-04  Ulrich Drepper  <drepper@redhat.com>

* libio/libio.h: Define _IO_FLAGS2_NOTCANCEL.
* libio/fileops.c [_LIBC]: Remove close macro.
(_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel.
(_IO_new_file_open): Recognize 'c' flag in mode string.
(_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel.
(_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use
write_not_cancel.
* iconv/gconv_conf.c: Use fopen with 'c' mode flag.
* inet/rcmd.c: Likewise.
* inet/ruserpass.c: Likewise.
* intl/localealias.c: Likewise.
* malloc/mtrace.c: Likewise.
* misc/getpass.c: Likewise.
* misc/getttyent.c: Likewise.
* misc/mntent_r.c: Likewise.
* misc/getusershell.c: Likewise.
* nss/nsswitch.c: Likewise.
* resolv/res_hconf.c: Likewise.
* resolv/res_init.c: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
* time/getdate.c: Likewise.
* time/tzfile.c: Likewise.
* misc/fstab.h: Undo last change.
* misc/mntent.h: Likewise.
* misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and
CFLAGS-fstab.c definition.

2003-09-04  Jakub Jelinek  <jakub@redhat.com>
2003-09-03  Ulrich Drepper  <drepper@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 05:57:06 +0000 (05:57 +0000)]
Update.

22003-09-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype.

003-09-03  Ulrich Drepper  <drepper@redhat.com>

This page took 0.086419 seconds and 5 git commands to generate.