]> sourceware.org Git - glibc.git/log
glibc.git
22 years ago2002-10-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 14 Oct 2002 08:03:18 +0000 (08:03 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* include/stubs-prologue.h: New file.  Give #error under #ifdef _LIBC.
* Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
Use that file's contents instead of literal echo's for the prologue.
* include/features.h: Include <gnu/stubs.h> unconditionally.
* include/gnu/stubs.h: New file.

22 years ago* elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
Roland McGrath [Mon, 14 Oct 2002 01:06:59 +0000 (01:06 +0000)]
* elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB

dynamic string tag.
* elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
DL_DST_LIB based on $(slibdir).

22 years ago* elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
Roland McGrath [Mon, 14 Oct 2002 01:03:16 +0000 (01:03 +0000)]
* elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.

* sysdeps/mach/hurd/getresuid.c: New file.
* sysdeps/mach/hurd/getresgid.c: New file.
* sysdeps/mach/hurd/setresuid.c: New file.
* sysdeps/mach/hurd/setresgid.c: New file.

* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set.  Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid.  Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid.  Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid.  Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.

* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.

* hurd/errno.c: Renamed to ...
* hurd/errno-loc.c: ... this.
* hurd/Makefile (routines): errno -> errno-loc

22 years ago2002-10-13 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 14 Oct 2002 01:02:54 +0000 (01:02 +0000)]
2002-10-13  Roland McGrath  <roland@frob.com>

* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set.  Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid.  Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid.  Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid.  Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.

22 years agoRemove invalid translations found by xgettext.
Ulrich Drepper [Mon, 14 Oct 2002 00:32:20 +0000 (00:32 +0000)]
Remove invalid translations found by xgettext.

22 years agoUpdate.
Ulrich Drepper [Sun, 13 Oct 2002 17:02:27 +0000 (17:02 +0000)]
Update.

* po/de.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Sun, 13 Oct 2002 08:42:30 +0000 (08:42 +0000)]
Update.

2002-10-13  Ulrich Drepper  <drepper@redhat.com>

* MakeTAGS: Add -E flag to xgettext runs.

22 years agoUpdate.
Ulrich Drepper [Sun, 13 Oct 2002 02:06:44 +0000 (02:06 +0000)]
Update.

* po/fr.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Sat, 12 Oct 2002 20:24:52 +0000 (20:24 +0000)]
Update.

2002-10-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
Optimize a bit for use in glibc.

22 years agoRemove support for old and buggy SCO systems. Optimize a bit for use in glibc.
Ulrich Drepper [Sat, 12 Oct 2002 20:24:30 +0000 (20:24 +0000)]
Remove support for old and buggy SCO systems. Optimize a bit for use in glibc.

22 years ago* stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
Roland McGrath [Sat, 12 Oct 2002 18:45:29 +0000 (18:45 +0000)]
* stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.

Some machines are slow.  Guido Guenther <agx@sigxcpu.org> has one.

22 years ago2002-10-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 12 Oct 2002 18:45:26 +0000 (18:45 +0000)]
2002-10-12  Roland McGrath  <roland@redhat.com>

* stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
Some machines are slow.  Guido Guenther <agx@sigxcpu.org> has one.

22 years agoUpdate.
Ulrich Drepper [Sat, 12 Oct 2002 16:30:18 +0000 (16:30 +0000)]
Update.

2002-10-12  Ulrich Drepper  <drepper@redhat.com>

* po/sv.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Sat, 12 Oct 2002 08:34:26 +0000 (08:34 +0000)]
Update.

2002-10-11  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
OP_CONTEXT_NODE.
(regfree): Likewise.
(create_initial_state): Likewise.
(analyze): Remove the substitutions which became useless.
(calc_first): Likewise.
(calc_epsdest): Use edests of OP_BACK_REF in case that it has
epsilon destination.
(duplicate_node_closure): New function.
(duplicate_node): Remove the handling OP_CONTEXT_NODE.
(calc_inveclosure): Likewise.
(calc_eclosure): Likewise.
(calc_eclosure_iter): Invoke duplicate_node_closure instead of
direct invocation of duplicate_node.
(parse): Don't use comma operator in the return to avoid compiler
warning.
(parse_reg_exp): Likewise.
(parse_branch): Likewise.
(parse_expression): Likewise.
(parse_sub_exp): Likewise.
(parse_dup_op): Likewise.
* posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
which became useless.
(create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
(create_cd_newstate): Likewise.
* posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
(re_token_t): Likewise.
(re_dfa_t): Likewise.
(re_node_set_remove): New macro.
* posix/regexec.c (check_matching): Remove the handling
OP_CONTEXT_NODE.
(check_halt_node_context): Likewise.
(proceed_next_node): Likewise.
(pop_fail_stack): Fix the memory leak.
(set_regs): Likewise.
(free_fail_stack_return): New function.
(sift_states_backward): Fix the memory leak.  Remove the handling
OP_CONTEXT_NODE.
(update_cur_sifted_state): Append some if clause to avoid redundant
call.
(sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
back reference.
(check_dst_limits): Remove the handling OP_CONTEXT_NODE.
(check_subexp_limits): Likewise.
(search_subexp): Likewise.
(sift_states_bkref): Likewise.
(transit_state_mb): Likewise.
(transit_state_bkref_loop): Likewise.
(transit_state_bkref_loop): Likewise.
(group_nodes_into_DFAstates): Likewise.
(check_node_accept): Likewise.
(sift_ctx_init): Add initializing.

2002-10-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
__builtin_expect.

22 years agoUpdate.
Ulrich Drepper [Sat, 12 Oct 2002 06:34:56 +0000 (06:34 +0000)]
Update.

* elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
duplicated variable c.

* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
if possible.
Add hack to prevent the compiler from clobbering the signal context.

22 years agoUpdate.
Ulrich Drepper [Sat, 12 Oct 2002 00:49:44 +0000 (00:49 +0000)]
Update.

* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use
INTERNAL_SYSCALL is possible.

* sysdeps/unix/sysv/linux/i386/sysdep.h
(INTERNAL_SYSCALL_ERROR_P): New define.
(INTERNAL_SYSCALL_ERRNO): Likewise.

22 years agoUpdate.
Ulrich Drepper [Fri, 11 Oct 2002 19:00:09 +0000 (19:00 +0000)]
Update.

2002-10-11  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
Add hack to prevent the compiler from clobbering the signal
context.

22 years ago(profil_counter): Add hack to prevent the compiler from clobbering the signal context.
Ulrich Drepper [Fri, 11 Oct 2002 18:56:32 +0000 (18:56 +0000)]
(profil_counter): Add hack to prevent the compiler from clobbering the signal context.

22 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Roland McGrath [Fri, 11 Oct 2002 12:54:53 +0000 (12:54 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):

Fix typos.

22 years ago* sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
Roland McGrath [Fri, 11 Oct 2002 12:19:55 +0000 (12:19 +0000)]
* sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.

* sysdeps/sh/dl-lookupcfg.h: File removed.
* sysdeps/i386/dl-lookupcfg.h: File removed.

22 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
Roland McGrath [Fri, 11 Oct 2002 12:03:29 +0000 (12:03 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add

missing labels and ; from last change.

22 years ago* stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
Roland McGrath [Fri, 11 Oct 2002 10:55:33 +0000 (10:55 +0000)]
* stdio-common/tst-sscanf.c (val_double): Append .0 to large whole

number literals, so they are doubles instead of ints.

22 years ago* sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
Roland McGrath [Fri, 11 Oct 2002 10:52:20 +0000 (10:52 +0000)]
* sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional

changed from [USE_TLS && HAVE___THREAD].

* sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
* sysdeps/x86_64/dl-machine.h
(elf_machine_type_class, elf_machine_rela): Likewise.
* sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
Likewise.

* include/link.h (struct link_map): Remove member l_tls_tp_initialized.
* elf/rtld.c (_dl_start_final, dl_main): Don't use it.
(_dl_start): Conditionalize PT_TLS check on [USE___THREAD].

* sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
instead of ___tls_get_addr.
(___tls_get_addr_internal): Add attribute_hidden to decl.

* sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
_dl_error_catch_tsd.
* elf/rtld.c (startup_error_tsd): New function.
(dl_main): Point _dl_error_catch_tsd at that.
* elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
use new function pointer instead.
* elf/dl-tsd.c: New file.
* elf/Makefile (routines): Add it.

2002-10-07  Roland McGrath  <roland@redhat.com>

* elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
writev if it's available.  Otherwise if [RTLD_PRIVATE_ERRNO] then
take _dl_load_lock around calling __writev.

* sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
(INLINE_SYSCALL): Use that.

* sysdeps/generic/dl-sysdep.h: New file.
* sysdeps/mach/hurd/dl-sysdep.h: New file.
* sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
* include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
[RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
access it directly.
* elf/dl-minimal.c (__errno_location): Removed.
* sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use GOTOFF access for errno.
* sysdeps/unix/sysv/linux/i386/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.

* sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use PC-relative access for errno.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.

* include/tls.h: New file.
(USE___THREAD): New macro.
Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
libc or libpthread.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
* include/errno.h: Likewise.
* include/netdb.h: Likewise.
* include/resolv.h: Likewise.

* sysdeps/generic/errno.c: New file.
* csu/Makefile (aux): New variable, list errno.
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/generic/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.

* manual/search.texi (Tree Search Function, Hash Search Function):
Mention search.h clearly.

2002-10-05  Roland McGrath  <roland@redhat.com>

* elf/dl-fxstat64.c: File removed.
* elf/dl-xstat64.c: File removed.
* elf/Makefile (rtld-routines): Remove them.
* sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
Instead, use strong_alias instead of versioned_symbol in the
!SHLIB_COMPAT case.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.

* include/shlib-compat.h
(SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
[! NOT_IN_libc] (IS_IN_libc): Define it.
* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
* elf/Makefile (CPPFLAGS-.os): Likewise.

* sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
Return the status instead of calling exit.

* Makeconfig (CFLAGS): Prepend -std=gnu99.
* Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
Remove superfluous rm command, whose @ plus make bugs hid
all these commands from the make output.

* include/stubs-prologue.h: New file.  Give #error under #ifdef _LIBC.
* Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
Use that file's contents instead of literal echo's for the prologue.
* include/features.h: Include <gnu/stubs.h> unconditionally.
* include/gnu/stubs.h: New file.

2002-09-30  Roland McGrath  <roland@redhat.com>

* elf/rtld-Rules: New file.
* elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
$(objpfx)rtld-libc.a): New targets.
(generated): Add them.
(reloc-link): Remove -o $@ from the variable.
($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
(distribute): Add rtld-Rules.
(CPPFLAGS-.os): Define this instead of CFLAGS-.os.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
(common-mostlyclean, common-clean): Clean up rtld-* files.
* sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.

22 years ago2002-10-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 11 Oct 2002 10:50:51 +0000 (10:50 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* Makeconfig (CFLAGS): Prepend -std=gnu99.
* Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
Remove superfluous rm command, whose @ plus make bugs hid
all these commands from the make output.
2002-09-30  Roland McGrath  <roland@redhat.com>

* elf/rtld-Rules: New file.
* elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
$(objpfx)rtld-libc.a): New targets.
(generated): Add them.
(reloc-link): Remove -o $@ from the variable.
($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
(distribute): Add rtld-Rules.
(CPPFLAGS-.os): Define this instead of CFLAGS-.os.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
(common-mostlyclean, common-clean): Clean up rtld-* files.
* sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.

22 years agoUpdate.
Ulrich Drepper [Fri, 11 Oct 2002 10:01:36 +0000 (10:01 +0000)]
Update.

* sysdeps/unix/sysv/linux/execve.c: Don't try calling
__pthread_kill_other_threads_np.

* sysdeps/ia64/memset.S: Likewise.
* sysdeps/ia64/memcpy.S: Likewise.

22 years ago* sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
Roland McGrath [Fri, 11 Oct 2002 09:18:04 +0000 (09:18 +0000)]
* sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in

now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.

* elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
proper set of no-op insn prefixes.

* elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.

22 years ago2002-10-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 11 Oct 2002 09:17:49 +0000 (09:17 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
proper set of no-op insn prefixes.

22 years agoDon't try calling __pthread_kill_other_threads_np.
Ulrich Drepper [Fri, 11 Oct 2002 07:59:08 +0000 (07:59 +0000)]
Don't try calling __pthread_kill_other_threads_np.

22 years agoUpdate.
Ulrich Drepper [Fri, 11 Oct 2002 07:58:32 +0000 (07:58 +0000)]
Update.

2002-10-11  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.

22 years agoexecve implementation for Linux w/ linuxthreads.
Ulrich Drepper [Fri, 11 Oct 2002 07:57:13 +0000 (07:57 +0000)]
execve implementation for Linux w/ linuxthreads.

22 years ago* locale/newlocale.c (__newlocale): If setting all categories to "C",
Roland McGrath [Fri, 11 Oct 2002 07:22:18 +0000 (07:22 +0000)]
* locale/newlocale.c (__newlocale): If setting all categories to "C",

just return &_nl_C_locobj instead of copying it.
* locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
* locale/duplocale.c (__duplocale): Likewise.

2002-10-07  Roland McGrath  <roland@frob.com>

* config.h.in (HAVE_I386_SET_GDT): New #undef.
* sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
* sysdeps/mach/configure: Regenerated.

2002-10-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Add all necessary register outputs for syscall-clobbered registers.

2002-10-02  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
Itanium 2 (and Itanium).
Fix unwind directives and make it fit in 80 columns.
* sysdeps/ia64/memset.S: Ditto.
* sysdeps/ia64/memcpy.S: Ditto.
Move jump table to .rodata section.

2002-10-03  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
clobbers to asm.

22 years ago2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Roland McGrath [Fri, 11 Oct 2002 07:20:46 +0000 (07:20 +0000)]
2002-10-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Add all necessary register outputs for syscall-clobbered registers.

22 years agoAvoid unnecessary sigprocmask calls.
Ulrich Drepper [Fri, 11 Oct 2002 07:14:39 +0000 (07:14 +0000)]
Avoid unnecessary sigprocmask calls.

22 years ago(Setting Modes): Fix typos in example code.
Ulrich Drepper [Thu, 10 Oct 2002 17:50:16 +0000 (17:50 +0000)]
(Setting Modes): Fix typos in example code.

22 years ago* sysdeps/x86_64/_mcount.S: Restore correct registers.
Andreas Jaeger [Thu, 10 Oct 2002 12:20:26 +0000 (12:20 +0000)]
* sysdeps/x86_64/_mcount.S: Restore correct registers.

22 years agoRestore correct registers.
Andreas Jaeger [Thu, 10 Oct 2002 12:20:18 +0000 (12:20 +0000)]
Restore correct registers.

22 years agoUpdate. cvs/glibc-2-3-1 glibc-2.3.1
Ulrich Drepper [Thu, 10 Oct 2002 07:27:56 +0000 (07:27 +0000)]
Update.

2002-10-10  Ulrich Drepper  <drepper@redhat.com>

* posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.

22 years agoUpdate.
Ulrich Drepper [Thu, 10 Oct 2002 06:47:09 +0000 (06:47 +0000)]
Update.

* sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
_dl_allocate_tls_init.  Add rtld_hidden_proto.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
rtld_hidden_def.
* elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.

22 years agoUpdate.
Ulrich Drepper [Thu, 10 Oct 2002 00:42:24 +0000 (00:42 +0000)]
Update.

* Make-dist: Add back one of the tar invocations removed before.

* stdlib/Makefile (distribute): Add allocalim.h.

22 years agoUpdate.
Ulrich Drepper [Wed, 9 Oct 2002 23:39:33 +0000 (23:39 +0000)]
Update.

* version.h (VERSION): Bump to 2.3.1.

Patch by Stefan Jones <stefan.jones@multigig.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 9 Oct 2002 18:21:41 +0000 (18:21 +0000)]
Update.

* sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
(__libc_tsd_address): Use correct variable name.
Patch by sStefan Jones <tefan.jones@multigig.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 9 Oct 2002 17:00:06 +0000 (17:00 +0000)]
Update.

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

* no-tsd.c: Include stdlib.h.

22 years agoUpdate.
Ulrich Drepper [Wed, 9 Oct 2002 09:58:30 +0000 (09:58 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
Reported by edwardsg@sgi.com [PR libc/4678].

22 years agoUpdate.
Ulrich Drepper [Wed, 9 Oct 2002 09:42:48 +0000 (09:42 +0000)]
Update.

2002-10-09  Ulrich Drepper  <drepper@redhat.com>

* Versions.def (libc): Add GLIBC_2.3.1.
(libpthread): Add GLIBC_2.3.1.

* include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
and __sigtimedwait.
* signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
* sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
libc_hidden_def.
* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.

* include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
* sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
and make old name an alias.
* sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
and make old name an alias.
* sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
__libc_msgsnd.

* include/sys/uio.h: Declare __libc_readv and __libc_writev.
* misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
__libc_writev.
* sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
old name an alias.
* sysdeps/posix/readv.c: Likewise
* sysdeps/unix/sysv/aix/readv.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
old name an alias.
* sysdeps/posix/writev.c: Likewise
* sysdeps/unix/sysv/aix/writev.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.

* include/sys/wait.h: Declare __waitid.
* posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
* sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
name an alias.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/aix/waitid.c: Likewise.

* sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.

2002-10-07  Jakub Jelinek  <jakub@redhat.com>

* include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
prototypes.
(__MAX_ALLOCA_CUTOFF): Define.
Include allocalim.h.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
_nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
host_buffer depending on __libc_use_alloca.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
_nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
net_buffer depending on __libc_use_alloca.
* resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
buf depending on __libc_use_alloca.
* resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
* stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
instead of hardcoded constants.
Pass proper size argument to alloca and compute end for wide char
version.
* stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
instead of hardcoded constants.
* string/strcoll.c (strcoll): Likewise.
* string/strxfrm.c (strxfrm): Likewise.
* sysdeps/posix/readv.c (__readv): Likewise.
* sysdeps/posix/writev.c (__writev): Likewise.
* sysdeps/generic/allocalim.h: New file.

22 years ago(libc): Add GLIBC_2.3.1. (libpthread): Add GLIBC_2.3.1.
Ulrich Drepper [Wed, 9 Oct 2002 09:04:34 +0000 (09:04 +0000)]
(libc): Add GLIBC_2.3.1. (libpthread): Add GLIBC_2.3.1.

22 years ago* configure.in (aux_missing warning): Change "too old" to
Roland McGrath [Tue, 8 Oct 2002 08:51:28 +0000 (08:51 +0000)]
* configure.in (aux_missing warning): Change "too old" to

"incompatible versions", since for autoconf it's "too new" right now.
* configure: Regenerated.

22 years ago* configure.in (AUTOCONF): New check to set it. Set to "no" if the
Roland McGrath [Tue, 8 Oct 2002 08:44:14 +0000 (08:44 +0000)]
* configure.in (AUTOCONF): New check to set it.  Set to "no" if the

one found doesn't work on our configure.in.
* configure: Regenerated.
* config.make.in (AUTOCONF): New substituted variable.
* Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
(autoconf-it): ... here, use that instead of defining conditionally.
Use $(AUTOCONF) instead of literal autoconf.
[$(AUTOCONF) != no] (configure, %/configure): Protect these rules
with this condition.
* Make-dist (autoconf-it, configure, %/configure): Copy those changes.

22 years ago2002-10-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 8 Oct 2002 08:44:09 +0000 (08:44 +0000)]
2002-10-08  Roland McGrath  <roland@redhat.com>

* configure.in (AUTOCONF): New check to set it.  Set to "no" if the
one found doesn't work on our configure.in.
* configure: Regenerated.
* config.make.in (AUTOCONF): New substituted variable.
* Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
(autoconf-it): ... here, use that instead of defining conditionally.
Use $(AUTOCONF) instead of literal autoconf.
[$(AUTOCONF) != no] (configure, %/configure): Protect these rules
with this condition.
* Make-dist (autoconf-it, configure, %/configure): Copy those changes.

22 years agoUpdate.
Ulrich Drepper [Tue, 8 Oct 2002 07:58:03 +0000 (07:58 +0000)]
Update.

2002-10-08  Ulrich Drepper  <drepper@redhat.com>

* Make-dist (dist): Cleanup a bit.  We are not interested in the
14 char filename limit anymore.  Remove intermediate files and
symlinks.

22 years agoUpdate.
Ulrich Drepper [Sat, 5 Oct 2002 18:18:49 +0000 (18:18 +0000)]
Update.

2002-10-05  Ulrich Drepper  <drepper@redhat.com>

* po/sk.po: Update from translation team.
* po/tr.po: Likewise.
* po/gl.po: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 5 Oct 2002 06:52:02 +0000 (06:52 +0000)]
Update.

2002-10-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.

2002-10-03  Ulrich Drepper  <drepper@redhat.com>

* version.h (RELEASE): Change to stable.

See ChangeLog.13 for earlier changes.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 16:37:04 +0000 (16:37 +0000)]
Update.

2002-10-03  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
__syscall_exit_group): New prototypes.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 11:49:01 +0000 (11:49 +0000)]
Update.

* glibc 2.3 released.

22 years agoUpdate. cvs/glibc-2-3 glibc-2.3
Ulrich Drepper [Thu, 3 Oct 2002 09:15:22 +0000 (09:15 +0000)]
Update.

2002-10-03  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/stxncpy.S: Don't access memory beyond the source
buffer.
* sysdeps/alpha/alphaev6/stxncpy.S: Likewise.

2002-10-02  Andreas Jaeger  <aj@suse.de>
    Guido Guenther  <agx@sigxcpu.org>

* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
* sysdeps/mips/fpu/fesetenv.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 08:58:56 +0000 (08:58 +0000)]
Update.

2002-10-03  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h.
(struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64.
* sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h.
* sysdeps/unix/sysv/linux/alpha/net/route.h: Remove.
* sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h.
* sysdeps/unix/sysv/linux/ia64/net/route.h: Remove.
* sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h.
* sysdeps/unix/sysv/linux/s390/net/route.h: Remove.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 08:38:41 +0000 (08:38 +0000)]
Update.

2002-10-03  Ulrich Drepper  <drepper@redhat.com>

* libio/freopen.c: Don't re-set _wide_data element if the stream
is of old style which didn't have the element.
* libio/freopen64.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 01:03:45 +0000 (01:03 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h.
* sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 00:24:35 +0000 (00:24 +0000)]
Update.

2002-10-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 21:03:48 +0000 (21:03 +0000)]
Update.

2002-10-02  Steven Munroe  <sjmunroe@us.ibm.com>
    Jakub Jelinek  <jakub@redhat.com>

* login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields
to struct timeval temp_tv before printing to be 32-/64-bit agnostic.
* sysdeps/powerpc/bits/wordsize.h: Move to...
* sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here.
(__WORDSIZE_COMPAT32): Define.
* sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
* sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
Define.
* sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32):
Define.
* sysdeps/s390/bits/wordsize.h: Move to...
* sysdeps/s390/s390-32/bits/wordsize.h: ...here.
* sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
* sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define.
* sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 20:28:30 +0000 (20:28 +0000)]
Update.

2002-10-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo.
Temporarily enable R_ALPHA_NONE relocs in ld.so.
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable
R_IA64_NONE relocs in ld.so.

22 years agoTemporarily enable R_*_NONE relocs in ld.so.
Ulrich Drepper [Wed, 2 Oct 2002 20:24:21 +0000 (20:24 +0000)]
Temporarily enable R_*_NONE relocs in ld.so.

22 years ago* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
Andreas Jaeger [Wed, 2 Oct 2002 11:01:06 +0000 (11:01 +0000)]
* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.

* sysdeps/mips/fpu/fesetenv.c: Likewise.

22 years ago* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
Roland McGrath [Wed, 2 Oct 2002 08:48:09 +0000 (08:48 +0000)]
* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.

* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm):
Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields
so they are consistent between PPC32 and PPC64.

22 years ago* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
Roland McGrath [Wed, 2 Oct 2002 08:34:07 +0000 (08:34 +0000)]
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:

(_STAT_VER): Define to _STAT_VER_KERNEL.
(stru stat, struct stat64): Define to match the PPC64 kernel.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
(libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h.

2002-10-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
Conditionalize the function definitions on this.
* sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
Likewise.

* Make-dist (dist): Create .bz2 file.  Add rule to create .bz2 files.

22 years ago2002-10-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Oct 2002 08:33:46 +0000 (08:33 +0000)]
2002-10-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
Conditionalize the function definitions on this.
* sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 07:30:48 +0000 (07:30 +0000)]
Update.

2002-10-02  Ulrich Drepper  <drepper@redhat.com>

* version.h (VERSION): Bump to 2.3.

* elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c,
tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c,
circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c,
and nodlopenmod2.c.

* login/Makefile (distribute): Add utmp-equal.h.

* iconvdata/Makefile (distribute): Add TSCII.precomposed and
TSCII.irreversible.

* Make-dist (dist): Create .bz2 file.  Add rule to create .bz2
files.
Also distribute xtests sources.

2002-10-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* elf/elf.h: Change TLS ELF relocation numbers.
* elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD
macros.
* sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]:
Use addend.
* sysdeps/sh/elf/initfini.c: Move __fpscr_values to...
* sysdeps/sh/elf/start.S: ...here.

22 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 06:22:02 +0000 (06:22 +0000)]
Update.

2002-10-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/pt-machine.h: Make C code ifndef'ed with __ASSEMBLER__.
* sysdeps/sh/tls.h: Likewise.
* sysdeps/unix/sysv/linux/sh/smp.h: New file.

22 years agoUpdate.
Ulrich Drepper [Tue, 1 Oct 2002 20:13:00 +0000 (20:13 +0000)]
Update.

2002-10-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ,
SIGSTKSZ): Changed to match kernel.
* sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file.

22 years ago(MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.
Ulrich Drepper [Tue, 1 Oct 2002 20:10:32 +0000 (20:10 +0000)]
(MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.

22 years ago* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
Roland McGrath [Tue, 1 Oct 2002 19:42:32 +0000 (19:42 +0000)]
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h

[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.

2002-02-08  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/elf/start.S: Define __data_start.

22 years ago2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Tue, 1 Oct 2002 19:42:01 +0000 (19:42 +0000)]
2002-10-01  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.

22 years agoUpdate.
Ulrich Drepper [Tue, 1 Oct 2002 09:26:03 +0000 (09:26 +0000)]
Update.

2002-10-01  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex_internal.c (re_string_reconstruct): Reset the member
LEN and STOP.
* posix/regexec.c (re_search_stub): Remove incorrect condition of
"range < 0".
Round RANGE in case that it is too small.

22 years ago(re_string_reconstruct): Reset the member LEN and STOP.
Ulrich Drepper [Tue, 1 Oct 2002 09:22:32 +0000 (09:22 +0000)]
(re_string_reconstruct): Reset the member LEN and STOP.

22 years ago* config.h.in (NO_HIDDEN): New #undef.
Roland McGrath [Tue, 1 Oct 2002 08:46:42 +0000 (08:46 +0000)]
* config.h.in (NO_HIDDEN): New #undef.

* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
nonempty definitions of hidden_proto et al.
* configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
* configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
* sysdeps/mach/hurd/configure: Regenerated.

22 years ago2002-10-01 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 1 Oct 2002 08:45:44 +0000 (08:45 +0000)]
2002-10-01  Roland McGrath  <roland@frob.com>

* config.h.in (NO_HIDDEN): New #undef.
* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
nonempty definitions of hidden_proto et al.
* configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
* configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
* sysdeps/mach/hurd/configure: Regenerated.

22 years agoUpdate.
Ulrich Drepper [Tue, 1 Oct 2002 00:05:23 +0000 (00:05 +0000)]
Update.

2002-09-19  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via
a 64-bit gp-relative address to enable binaries with large data
sections.

2002-09-30  Ulrich Drepper  <drepper@redhat.com>

* stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK
if it is defined.
* posix/Makefile (distribute): Add fork.h.
* sysdeps/generic/fork.h: New file.

22 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 22:30:11 +0000 (22:30 +0000)]
Update.

2002-09-29  Bruno Haible  <bruno@clisp.org>

* sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro.
(UNLOCK_FILE): Add a label.
(getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
updwtmp_file): Shut off the alarm clock when locking failed.

22 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 22:01:05 +0000 (22:01 +0000)]
Update.

2002-09-30  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex_internal.h (re_match_context_t): Add a new member.
(re_fail_stack_ent_t): New structure.
(re_fail_stack_t): Likewise.
* posix/regexec.c (re_search_internal): Use the new member of
re_match_context_t.
Use fail stack only if it has back references and there are plural
matching candidates.
(proceed_next_node): Use fail stack if it is indicated.
(set_regs): Likewise.
(push_fail_stack): New function.
(pop_fail_stack): New function.
(check_dst_limits): Likewise.
(check_dst_limits_calc_pos): Likewise.
(search_subexp): Check the limitations on the top of subexpressions.
(sift_states_bkref): Check the limitations of the destination node.
Reuse the array sctx->sifted_states.

2002-09-30  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf_fp.c: Shuffle a few lines around to help the
compiler optimizing.  No semantical changes intended.

22 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 20:56:47 +0000 (20:56 +0000)]
Update.

22 years ago* sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits
Roland McGrath [Mon, 30 Sep 2002 20:15:35 +0000 (20:15 +0000)]
* sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits

from the next quad are needed.

22 years ago* elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.
Roland McGrath [Mon, 30 Sep 2002 10:26:59 +0000 (10:26 +0000)]
* elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.

* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]:
Use direct-%fs form of TLS access for errno.

* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since
the i386 version has all the same asm now.

* sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to
the TLS support check.
* sysdeps/i386/elf/configure: Regenerated.

* sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
(SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.

* sysdeps/unix/i386/sysdep.S (syscall_error)
[USE_TLS && HAVE___THREAD]: Use TLS access for errno.

22 years ago2002-09-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Sep 2002 10:26:28 +0000 (10:26 +0000)]
2002-09-30  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
(SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.

22 years agoUpdate.
Andreas Jaeger [Mon, 30 Sep 2002 07:48:10 +0000 (07:48 +0000)]
Update.

* stdlib/tst-bsearch.c (main): Fix format strings.
* stdio-common/tst-rndseek.c (do_test): Likewise.
* libio/tst_swprintf.c (main): Likewise.
* catgets/tst-catgets.c (main): Likewise.
* libio/tst-fgetws.c (main): Likewise.
* posix/tst-mmap.c (main): Likewise.
* posix/bug-regex12.c (main): Likewise.
* posix/bug-regex11.c (main): Likewise.
* io/tst-getcwd.c (do_test): Likewise.

22 years agoFix format strings.
Andreas Jaeger [Mon, 30 Sep 2002 07:47:16 +0000 (07:47 +0000)]
Fix format strings.

22 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.h
Roland McGrath [Mon, 30 Sep 2002 07:26:12 +0000 (07:26 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h

[USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.

22 years ago* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
Roland McGrath [Mon, 30 Sep 2002 07:21:20 +0000 (07:21 +0000)]
* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the

terminal when the test is running in a background job.  Instead, make
a pipe and read from its read half while never writing anything to it.

22 years ago2002-09-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Sep 2002 07:19:21 +0000 (07:19 +0000)]
2002-09-30  Roland McGrath  <roland@redhat.com>

* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
terminal when the test is running in a background job.  Instead, make
a pipe and read from its read half while never writing anything to it.

22 years agoUpdate.
Andreas Jaeger [Mon, 30 Sep 2002 07:08:16 +0000 (07:08 +0000)]
Update.

2002-09-30  Andreas Jaeger  <aj@suse.de>

* iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t.

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Store 4 bytes into errno, not 8 bytes.

22 years ago(test): Use %td in printf for ptrdiff_t.
Andreas Jaeger [Mon, 30 Sep 2002 06:53:25 +0000 (06:53 +0000)]
(test): Use %td in printf for ptrdiff_t.

22 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 00:58:29 +0000 (00:58 +0000)]
Update.

2002-09-29  Ulrich Drepper  <drepper@redhat.com>

* posix/regexec.c (sift_states_bkref): Remove ret variable.  Use
err instead.

handling and don't pass in a siginfo variable.
* nss/Makefile: Move bug-erange from tests to xtests.

22 years ago(sift_states_bkref): Remove ret variable. Use err instead.
Ulrich Drepper [Mon, 30 Sep 2002 00:54:22 +0000 (00:54 +0000)]
(sift_states_bkref): Remove ret variable.  Use err instead.

22 years ago* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
Roland McGrath [Mon, 30 Sep 2002 00:22:26 +0000 (00:22 +0000)]
* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.

Examine the child's status and print something different if it wasn't
just killed by our SIGKILL.
(main): In the child process call setpgid to put it in its own pgrp.

22 years ago2002-09-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Sep 2002 00:22:13 +0000 (00:22 +0000)]
2002-09-29  Roland McGrath  <roland@redhat.com>

* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
Examine the child's status and print something different if it wasn't
just killed by our SIGKILL.
(main): In the child process call setpgid to put it in its own pgrp.

22 years agoUpdate.
Ulrich Drepper [Sun, 29 Sep 2002 23:24:50 +0000 (23:24 +0000)]
Update.

2002-09-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value
semantics for sigtimedwait is different.  Rework the return value
handling and don't pass in an siginfo variable.

22 years ago* malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.
Roland McGrath [Sun, 29 Sep 2002 22:53:29 +0000 (22:53 +0000)]
* malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.

* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.

22 years ago* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
Roland McGrath [Sun, 29 Sep 2002 22:48:07 +0000 (22:48 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.

2002-09-29  Roland McGrath  <roland@redhat.com>

22 years ago2002-09-29 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Sun, 29 Sep 2002 22:45:29 +0000 (22:45 +0000)]
2002-09-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/tst-timer.c (main): Clear
SIGEV2.sigev_notify_attributes.

22 years ago(__sigwait): The return value semantics for sigtimedwait is different. Rework the...
Ulrich Drepper [Sun, 29 Sep 2002 22:02:28 +0000 (22:02 +0000)]
(__sigwait): The return value semantics for sigtimedwait is different. Rework the return value handling and don't pass in an siginfo variable.

22 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
Roland McGrath [Sun, 29 Sep 2002 21:50:55 +0000 (21:50 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:

Define errno in .tbss.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
access for setting errno.

* sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits.
AFAICT, it was just blind luck that the word following errno in .bss
was just alignment padding and not some other variable to be clobbered.

22 years ago2002-09-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 29 Sep 2002 21:41:17 +0000 (21:41 +0000)]
2002-09-29  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
Define errno in .tbss.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
access for setting errno.

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