platform/upstream/glibc.git
21 years ago2002-09-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 28 Sep 2002 04:15:00 +0000 (04:15 +0000)]
2002-09-27  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep.h
(__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64
if not defined.

21 years agoSysV shared memory definitions for Linux/PA.
Ulrich Drepper [Sat, 28 Sep 2002 04:05:23 +0000 (04:05 +0000)]
SysV shared memory definitions for Linux/PA.

21 years ago(Hash Search Function): Describe that memory must be cleared before calling hcreate_r.
Ulrich Drepper [Sat, 28 Sep 2002 03:51:42 +0000 (03:51 +0000)]
(Hash Search Function): Describe that memory must be cleared before calling hcreate_r.

21 years ago2002-09-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 28 Sep 2002 03:26:03 +0000 (03:26 +0000)]
2002-09-27  Roland McGrath  <roland@redhat.com>

* sysdeps/x86_64/tls.h [__ASSEMBLER__]: Don't include <pt-machine.h>.

21 years ago* sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.
Roland McGrath [Fri, 27 Sep 2002 19:59:04 +0000 (19:59 +0000)]
* sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.

21 years ago* sysdeps/powerpc/powerpc64/Makefile
Roland McGrath [Fri, 27 Sep 2002 19:45:50 +0000 (19:45 +0000)]
* sysdeps/powerpc/powerpc64/Makefile

[$(build-shared) = yes] (pic-ccflag): Define it.
[$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too.

21 years ago* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove
Roland McGrath [Fri, 27 Sep 2002 08:29:54 +0000 (08:29 +0000)]
* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove

unneeded TLS cases.

21 years ago* elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start
Roland McGrath [Fri, 27 Sep 2002 07:29:51 +0000 (07:29 +0000)]
* elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start

unconditionally.  Set dli_fname to _dl_argv[0] only for main program.

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

* elf/dl-addr.c (_dl_addr): Add a cast.

* sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new
TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64.

* elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64,
R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32,
R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros.
(R_X86_64_NUM): Update the value.

21 years ago* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't
Roland McGrath [Fri, 27 Sep 2002 03:24:18 +0000 (03:24 +0000)]
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't

rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the
addend.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use
the same l_addr computation.
* sysdeps/sparc/sparc64/configure.in: Removed.
* sysdeps/sparc/sparc64/configure: Removed.
* config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.

21 years ago2002-09-24 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 27 Sep 2002 03:23:45 +0000 (03:23 +0000)]
2002-09-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't
rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the
addend.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use
the same l_addr computation.
* sysdeps/sparc/sparc64/configure.in: Removed.
* sysdeps/sparc/sparc64/configure: Removed.
* config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Sep 2002 03:17:20 +0000 (03:17 +0000)]
Update.

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

* elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry
if necessary.
* elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated.
* elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the
symbol table if necessary.

21 years ago(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.
Ulrich Drepper [Fri, 27 Sep 2002 02:56:54 +0000 (02:56 +0000)]
(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.

21 years ago* stdlib/longlong.h: Replaced with current version from GCC mainline,
Roland McGrath [Thu, 26 Sep 2002 22:33:24 +0000 (22:33 +0000)]
* stdlib/longlong.h: Replaced with current version from GCC mainline,

last modified 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>.

21 years ago2002-09-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 26 Sep 2002 22:32:54 +0000 (22:32 +0000)]
2002-09-26  Roland McGrath  <roland@redhat.com>

* stdlib/longlong.h: Replaced with current version from GCC mainline,
last modified 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>.

21 years ago* sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit.
Andreas Jaeger [Wed, 25 Sep 2002 11:14:50 +0000 (11:14 +0000)]
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit.

Patch by Guido Guenther <agx@sigxcpu.org>.

21 years agoAdd syscall_exit.
Andreas Jaeger [Wed, 25 Sep 2002 11:09:55 +0000 (11:09 +0000)]
Add syscall_exit.

21 years ago* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).
Roland McGrath [Wed, 25 Sep 2002 07:20:01 +0000 (07:20 +0000)]
* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).

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

* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Sep 2002 06:47:44 +0000 (06:47 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name.

21 years agoRecognize nptl add-on name.
Ulrich Drepper [Wed, 25 Sep 2002 06:44:02 +0000 (06:44 +0000)]
Recognize nptl add-on name.

21 years ago* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,
Roland McGrath [Wed, 25 Sep 2002 03:26:16 +0000 (03:26 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,

__libc_write, __libc_lseek64, to ...
(ld: GLIBC_PRIVATE): ... here.

21 years ago* csu/Versions: Use %include <tls.h> to get USE_TLS defined.
Roland McGrath [Wed, 25 Sep 2002 01:58:37 +0000 (01:58 +0000)]
* csu/Versions: Use %include <tls.h> to get USE_TLS defined.

(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno.
(libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead.
* resolv/Versions: Use %include <tls.h> to get USE_TLS defined.
(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno,
and _res.
(libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here.

* elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
New macros for x86-64.

* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
It was indentical to the linux/bits/time.h file.

* nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning.

* resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE.

21 years ago2002-09-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Sep 2002 01:57:50 +0000 (01:57 +0000)]
2002-09-24  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
It was indentical to the linux/bits/time.h file.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Sep 2002 23:34:51 +0000 (23:34 +0000)]
Update.

21 years ago(td_thr_tls_get_addr): Change second parameter to be the address of the link map...
Ulrich Drepper [Tue, 24 Sep 2002 23:33:35 +0000 (23:33 +0000)]
(td_thr_tls_get_addr): Change second parameter to be the address of the link map in the inferior process.

21 years ago* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]
Roland McGrath [Tue, 24 Sep 2002 06:40:26 +0000 (06:40 +0000)]
* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]

for gethostname declaration.

21 years ago2002-09-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 24 Sep 2002 06:26:28 +0000 (06:26 +0000)]
2002-09-23  Roland McGrath  <roland@redhat.com>

* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]
for gethostname declaration.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Sep 2002 05:51:46 +0000 (05:51 +0000)]
Update.

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

* po/zh_CN.po: New file.

21 years agoSimplified Chinese translations for libc.
Ulrich Drepper [Tue, 24 Sep 2002 05:42:16 +0000 (05:42 +0000)]
Simplified Chinese translations for libc.

21 years ago* catgets/open_catalog.c (__open_catalog): Don't use a value type
Roland McGrath [Tue, 24 Sep 2002 04:24:25 +0000 (04:24 +0000)]
* catgets/open_catalog.c (__open_catalog): Don't use a value type

as the __builtin_expect expression, just the Boolean value.

* sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter.
* sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
* resolv/res_hconf.c (arg_service_list, parse_line): Likewise.
* iconvdata/tst-loading.c (main): Likewise.
* catgets/tst-catgets.c (main): Likewise.
* stdlib/tst-xpg-basename.c (main): Likewise.
* stdlib/tst-bsearch.c (main): Likewise.
* stdio-common/test-vfprintf.c (main): Likewise.
* stdio-common/tst-rndseek.c (do_test): Likewise.
* libio/tst_swprintf.c (main): Likewise.
* libio/tst-fgetws.c (main): Likewise.
* wcsmbs/tst-mbrtowc.c (check_ascii): Likewise.
* time/tst-posixtz.c (main): Likewise.
* time/tst-strptime.c (test_tm): Likewise.
* time/tst-strptime.c (main): Likewise.
* time/tst-getdate.c (main): Likewise.
* posix/tst-mmap.c (main): Likewise.
* posix/tst-getaddrinfo.c (do_test): Likewise.
* io/tst-getcwd.c (do_test): Likewise.
* resolv/tst-aton.c (main): Likewise.
* inet/tst-network.c (main): Likewise.
* libio/tst-fgetws.c (main): Likewise.
* sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I.
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int
for PTYNO.

* stdlib/msort.c (qsort): Add a cast to silence warning.
* stdio-common/vfprintf.c (process_string_arg): Likewise.
* libio/oldfileops.c (_IO_old_do_write): Likewise.
* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
* argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* sysdeps/unix/grantpt.c (grantpt): Likewise.
* libio/tst-widetext.c (main): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.
* rt/tst-aio.c (test_file): Likewise.
* rt/tst-aio64.c (test_file): Likewise.
* resolv/tst-aton.c (main): Likewise.

* catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant.

* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
instead of uint32_t in these macros.

21 years ago2002-09-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 24 Sep 2002 04:20:50 +0000 (04:20 +0000)]
2002-09-23  Roland McGrath  <roland@redhat.com>

* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
instead of uint32_t in these macros.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Sep 2002 04:19:03 +0000 (04:19 +0000)]
Update.

* iconv/iconv_prog.c (main): Provide an error message that identifies
the wrong encoding.

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

* iconvdata/tscii.c: New file.
* iconvdata/testdata/TSCII: New file.
* iconvdata/testdata/TSCII..UTF8: New file.
* iconvdata/TSCII.precomposed: New file.
* iconvdata/TSCII.irreversible: New file.
* iconvdata/gconv-modules (TSCII): New module.
* iconvdata/Makefile (modules): Add TSCII.
(distribute): Add tscii.c.
* iconvdata/tst-table-from.c (try, utf8_decode, main): Double output
buffer size.
* iconvdata/tst-tables.sh: Add TSCII.
* iconvdata/TESTS: Add TSCII.

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

Revert 2002-04-18 patch.
* iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
FROM_DIRECTION): Make the FROM direction stateful again.
* iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
FROM_DIRECTION): Likewise.

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

21 years ago(sysdep_routines, shared-only-routines): Don't add divdi3 here.
Ulrich Drepper [Tue, 24 Sep 2002 00:05:38 +0000 (00:05 +0000)]
(sysdep_routines, shared-only-routines): Don't add divdi3 here.

21 years ago* iconvdata/tst-e2big.c: New file.
Roland McGrath [Mon, 23 Sep 2002 17:56:42 +0000 (17:56 +0000)]
* iconvdata/tst-e2big.c: New file.

* iconvdata/Makefile (tests): Add tst-e2big.

21 years ago* elf/Makefile (test-extras): Define this instead of test-srcs.
Roland McGrath [Mon, 23 Sep 2002 17:43:42 +0000 (17:43 +0000)]
* elf/Makefile (test-extras): Define this instead of test-srcs.

* Makerules (all-nonlib): Include $(test-extras) too.

21 years agounnecessary with stratcliff
Roland McGrath [Mon, 23 Sep 2002 04:13:42 +0000 (04:13 +0000)]
unnecessary with stratcliff

21 years ago* string/bug-stpncpy-offend.c: New file.
Roland McGrath [Mon, 23 Sep 2002 03:57:55 +0000 (03:57 +0000)]
* string/bug-stpncpy-offend.c: New file.

* string/Makefile (tests): Add it.

21 years ago* sysdeps/hppa/abort-instr.h: New file.
Roland McGrath [Mon, 23 Sep 2002 03:30:48 +0000 (03:30 +0000)]
* sysdeps/hppa/abort-instr.h: New file.

21 years ago* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry.
Roland McGrath [Mon, 23 Sep 2002 03:22:49 +0000 (03:22 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry.

21 years ago* sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.
Roland McGrath [Sun, 22 Sep 2002 20:55:21 +0000 (20:55 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.

21 years ago* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.
Roland McGrath [Sun, 22 Sep 2002 20:44:55 +0000 (20:44 +0000)]
* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.

21 years ago2002-09-22 Andreas Schwab <schwab@suse.de>
Roland McGrath [Sun, 22 Sep 2002 20:44:43 +0000 (20:44 +0000)]
2002-09-22  Andreas Schwab  <schwab@suse.de>

* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.

21 years ago* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)
Andreas Schwab [Sun, 22 Sep 2002 16:48:29 +0000 (16:48 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)

(isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]:
Use GCC builtins.

21 years ago* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)
Andreas Schwab [Sun, 22 Sep 2002 16:47:55 +0000 (16:47 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)

(isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]:
Use GCC builtins.

21 years ago* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM):
Roland McGrath [Sat, 21 Sep 2002 21:14:22 +0000 (21:14 +0000)]
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM):

Correct the value so it covers all platforms, and is computed
from _DL_PLATFORMS_COUNT rather than hard-wired.
From Andrew Suffield <asuffield@debian.org>.

21 years ago2002-09-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 21 Sep 2002 21:14:11 +0000 (21:14 +0000)]
2002-09-21  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM):
Correct the value so it covers all platforms, and is computed
from _DL_PLATFORMS_COUNT rather than hard-wired.
From Andrew Suffield <asuffield@debian.org>.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Sep 2002 05:54:00 +0000 (05:54 +0000)]
Update.

* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>.
* sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Sep 2002 05:30:10 +0000 (05:30 +0000)]
Update.

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid
locking when using mount tab file.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Sep 2002 00:30:44 +0000 (00:30 +0000)]
Update.

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

* elf/dl-init.c (_dl_init): Fix test of the size of the
preinit_array section.
(call_init): Optimize access to DT_INIT_ARRAY entry a bit.
Reported by Brian Cabral <cabral@ikuni.com>.

21 years ago(_dl_init): Fix test of the size of the preinit_array section. (call_init): Optimize...
Ulrich Drepper [Fri, 20 Sep 2002 23:56:18 +0000 (23:56 +0000)]
(_dl_init): Fix test of the size of the preinit_array section. (call_init): Optimize access to DT_INIT_ARRAY entry a bit.

21 years ago* sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros.
Roland McGrath [Fri, 20 Sep 2002 23:46:03 +0000 (23:46 +0000)]
* sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros.

* sysdeps/powerpc/powerpc32/sysdep.h: New file.  Define powerpc32
specific macros copied from sysdeps/powerpc/sysdep.h.
* sysdeps/powerpc/powerpc64/sysdep.h: New file.  Define powerpc64
specific macros.
* sysdeps/unix/powerpc/sysdep.h: Include <bits/wordsize.h>.
[__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h.
[!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h.

21 years ago* intl/dcigettext.c (DCIGETTEXT): Restore errno only right before
Roland McGrath [Fri, 20 Sep 2002 23:25:36 +0000 (23:25 +0000)]
* intl/dcigettext.c (DCIGETTEXT): Restore errno only right before

returning.

21 years ago* sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c.
Roland McGrath [Fri, 20 Sep 2002 22:07:20 +0000 (22:07 +0000)]
* sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c.

* sysdeps/generic/utmp_file.c (setutent_file): Invalidate last_entry
also on platforms with !HAVE_UT_TYPE.
(proc_utmp_eq): Remove function.
(internal_getut_r, pututline_file): Call __utmp_equal instead.

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

* abi-tags: Add support for FreeBSD with ABI OS value 3.
* elf/cache.c (print_entry): Support the GNU/FreeBSD ABI tag.

21 years ago* sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.
Roland McGrath [Fri, 20 Sep 2002 21:49:26 +0000 (21:49 +0000)]
* sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.

(BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in
terms of __WORDSIZE.
* sysdeps/x86_64/gmp-mparam.h: File removed.
* sysdeps/sparc/gmp-mparam.h: File removed.
* sysdeps/mips/mips64/gmp-mparam.h: File removed.
* sysdeps/ia64/gmp-mparam.h: File removed.
* sysdeps/alpha/gmp-mparam.h: File removed.

21 years ago* sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc
Roland McGrath [Fri, 20 Sep 2002 21:39:29 +0000 (21:39 +0000)]
* sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc

load, so as to work on both 32-bit and 64-bit.  Remove unnecessary
casts.  Align __libc_stack_end to 8 bytes.

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

* sysdeps/powerpc/fpu/s_lrint.c: Use strong_alias/weak_alias macros
instead of asm for lrintf, __lrintf aliases.

* sysdeps/powerpc/fpu/s_lrint.c (__lrint): Change union long array to
int array for 32-/64-bit compatibility.
From Steven Munroe  <sjmunroe@us.ibm.com>.

21 years ago* sysdeps/generic/ifreq.h (__if_nextreq): New function.
Roland McGrath [Fri, 20 Sep 2002 20:34:06 +0000 (20:34 +0000)]
* sysdeps/generic/ifreq.h (__if_nextreq): New function.

* sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function.
* sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function.
* sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq
for iterating through the list of interfaces.
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise.

* sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails.
Reported by Bruno Haible <bruno@clisp.org>.

21 years ago* sysdeps/unix/bsd/bsd4.4/isatty.c: New file.
Roland McGrath [Fri, 20 Sep 2002 20:18:24 +0000 (20:18 +0000)]
* sysdeps/unix/bsd/bsd4.4/isatty.c: New file.

* sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno.
* sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from
isatty unmodified.  Reported by Bruno Haible <bruno@clisp.org>.

21 years ago* sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf.
Roland McGrath [Fri, 20 Sep 2002 20:06:45 +0000 (20:06 +0000)]
* sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf.

* sysdeps/powerpc/bits/wordsize.h: New file.
* sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Change long
array to int array for 32-/64-bit compatibility.

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

* login/programs/utmpdump.c: Don't include <error.h>, <errno.h>.

* sysdeps/generic/utimes.c (__utimes): Don't check TVP for null.
Reported by Bruno Haible <bruno@clisp.org>.

* sysdeps/generic/ifreq.h (__ifreq): Compute termination condition
before doubling RQ_LEN.
* sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise.
Reported by Bruno Haible <bruno@clisp.org>.

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

* login/logout.c (logout): Don't assume ut_time has the same size as
a time_t.
* login/logwtmp.c (logwtmp): Likewise.

* sysdeps/pthread/configure: New file, moved here from
linuxthreads/sysdeps/unix/sysv/linux/configure.

21 years ago2002-09-18 Bruno Haible <bruno@clisp.org>
Roland McGrath [Fri, 20 Sep 2002 20:01:39 +0000 (20:01 +0000)]
2002-09-18  Bruno Haible  <bruno@clisp.org>

* login/logout.c (logout): Don't assume ut_time has the same size as
a time_t.
* login/logwtmp.c (logwtmp): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Sep 2002 04:43:33 +0000 (04:43 +0000)]
Update.

* sysdeps/unix/sysv/linux/_exit.c: Include <errno.h>.
(_exit): Don't use ABORT_INSTRUCTION if it is not defined.
Reported by Glen Nakamura <glen@imodulo.com>.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Sep 2002 04:21:23 +0000 (04:21 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/_exit.c (_exit): Don't use ABORT_INSTRUCTION
if it is not defined.  Reported by Glen Nakamura <glen@imodulo.com>.

21 years ago(_exit): Don't use ABORT_INSTRUCTION if it is not defined.
Ulrich Drepper [Fri, 20 Sep 2002 04:14:30 +0000 (04:14 +0000)]
(_exit): Don't use ABORT_INSTRUCTION if it is not defined.

21 years ago* sysdeps/mach/hurd/fork.c (__fork): Do not free the signal
Roland McGrath [Fri, 20 Sep 2002 03:31:58 +0000 (03:31 +0000)]
* sysdeps/mach/hurd/fork.c (__fork): Do not free the signal

thread's sigstate data structure if it has been allocated.

21 years ago* include/libc-symbols.h [HAVE_ASM_SET_DIRECTIVE]
Roland McGrath [Thu, 19 Sep 2002 22:24:08 +0000 (22:24 +0000)]
* include/libc-symbols.h [HAVE_ASM_SET_DIRECTIVE]

[! HAVE_ASM_GLOBAL_DOT_NAME] (__hidden_dot_def1): Fix typo'd name.

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

* include/libc-symbols.h [HAVE_ASM_SET_DIRECTIVE]
[! HAVE_ASM_GLOBAL_DOT_NAME] (__hidden_dot_def1): Fix typo'd name.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Sep 2002 06:50:30 +0000 (06:50 +0000)]
Update.

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

* sysdeps/wordsize-32/Makefile: New file.
* sysdeps/arm/Makefile: Removed.
* sysdeps/i386/Makefile (sysdep_routines, shared-only-routines):
Don't add divdi3 here.
* sysdeps/m68k/Makefile: Likewise.
* sysdeps/powerpc/powerpc32/Makefile: Likewise.
* sysdeps/sh/Makefile: Likewise.
* sysdeps/s390/s390-32/Makefile: Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Sep 2002 06:36:54 +0000 (06:36 +0000)]
Update.

* sysdeps/powerpc/fpu/Dist: Move fprrest.S and fprsave.S to...
* sysdeps/powerpc/powerpc32/fpu/Dist: ...here.  New file.
* sysdeps/unix/sysv/linux/powerpc/Dist: Move kernel_stat.h to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.

* sysdeps/i386/Makefile: Remove obsolete db2 rules.

* sysdeps/unix/sysv/linux/Makefile: Add exit-thread.S.

* sysdeps/unix/sysv/linux/powerpc/Dist: Add ldd-rewrite.sh.

* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file.

21 years agoUpdate
Ulrich Drepper [Thu, 19 Sep 2002 05:45:33 +0000 (05:45 +0000)]
Update

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

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

21 years ago(VERSION): Bump to 2.2.94.
Ulrich Drepper [Thu, 19 Sep 2002 05:33:54 +0000 (05:33 +0000)]
(VERSION): Bump to 2.2.94.

21 years ago* locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for
Roland McGrath [Wed, 18 Sep 2002 18:32:27 +0000 (18:32 +0000)]
* locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for

the __ctype_* compat symbols, so the relocs generated bind to the
right versioned global symbol in the shared object.

* elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag)
from the value taken from the DT_VERSYM table.
* elf/dl-runtime.c (fixup, profile_fixup): Likewise.
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise.
(RESOLVE_GOTSYM): Likewise.

21 years ago* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Roland McGrath [Wed, 18 Sep 2002 17:46:12 +0000 (17:46 +0000)]
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):

Add libc_hidden_def.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.

21 years ago2002-09-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 18 Sep 2002 17:45:54 +0000 (17:45 +0000)]
2002-09-18  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Add libc_hidden_def.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Sep 2002 11:51:19 +0000 (11:51 +0000)]
Update.

* include/signal.h: Add libc_hidden_proto for __libc_sigaction.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Sep 2002 08:27:02 +0000 (08:27 +0000)]
Update.

* sysdeps/unix/sysv/linux/sigaction.c: If SIGCANCEL is defined
define sigaction and __sigaction as wrappers around
__libc_sigaction which rejects changing SIGCANCEL.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Sep 2002 07:33:20 +0000 (07:33 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/clone.S: Add support for SETTLS and
SETTID/CLEARTID.

* signal/allocrtsig.c: Move to...
* sysdeps/generic/allocrtsig.c: ...here.  New file.

21 years agoMoved to sysdeps/generic.
Ulrich Drepper [Wed, 18 Sep 2002 06:14:25 +0000 (06:14 +0000)]
Moved to sysdeps/generic.

21 years ago* elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always.
Roland McGrath [Wed, 18 Sep 2002 01:18:08 +0000 (01:18 +0000)]
* elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always.

* elf/elf.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE,
R_386_TLS_LE): Define.
(R_386_TLS_IE_32, R_386_TLS_LE_32, R_386_TLS_TPOFF32): Update
comments.
* sysdeps/i386/dl-machine.h (elf_machine_type_class): Return
ELF_RTYPE_CLASS_PLT for R_386_TLS_TPOFF.
(elf_machine_rel): Handle R_386_TLS_TPOFF.
(elf_machine_rela): Likewise.
Remove unnecessary RTLD_BOOTSTRAP #ifdefs.

21 years ago* malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define
Roland McGrath [Wed, 18 Sep 2002 00:15:25 +0000 (00:15 +0000)]
* malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define

file-specific variable override so it compiles properly when using
--with-headers.

* NEWS: Added item for powerpc64-linux port.

* include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME]
(C_SYMBOL_DOT_NAME): Insure that C_SYMBOL_DOT_NAME works for
various gcc versions.  Dot names required for powerpc64.
[HAVE_ASM_GLOBAL_DOT_NAME] (_weak_extern): Add .weakext '.'ed symbol.
[HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): Add .global
C_SYMBOL_DOT_NAME(alias).
[HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): New macro. Same as
original strong_alias macro.
[HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Add .weakext/.weak
C_SYMBOL_DOT_NAME(alias).
[HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Add .symver '.'ed name.
[HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Add .symver
'.'ed name.
Add comments on libc_hidden_data_def and libc_hidden_data_weak usage.
[HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_def1): New macro.  Generate
.global C_SYMBOL_DOT_NAME(alias).  Otherwise an empty macro.
(hidden_def): Append hidden_dot_def1 macro to definition.
(hidden_ver): Append hidden_dot_def1 macro to definition.
(hidden_data_def): New macro.  Same as original hidden_def macro.
(hidden_data_ver): New macro.  Same as original hidden_ver macro.
[HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_weak1): New macro.  Generate
.weakext C_SYMBOL_DOT_NAME(alias).  Otherwise an empty macro.
(hidden_weak): Append hidden_dot_weak1 macro to definition.
(hidden_data_weak): New macro.  Same as original hidden_weak macro.
[HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Define as .__GI_name.
Otherwise defined as __GI_name.
(libc_hidden_data_def): New macro.  Use hidden_data_def.
(libc_hidden_data_weak): New macro.  Use hidden_data_weak.
(libc_hidden_data_ver): New macro.  Use hidden_data_ver.
(rtld_hidden_data_def): New macro.  Use hidden_data_def.
(rtld_hidden_data_weak): New macro.  Use hidden_data_weak.
(rtld_hidden_data_ver): New macro.  Use hidden_data_ver.
(libm_hidden_data_def): New macro.  Use hidden_data_def.
(libm_hidden_data_weak): New macro.  Use hidden_data_weak.
(libm_hidden_data_ver): New macro.  Use hidden_data_ver.
* inet/in6_addr.c: Replace libc_hidden_def with libc_hidden_data_def.

21 years agoPorted to PowerPC64 running Linux.
Roland McGrath [Tue, 17 Sep 2002 23:50:21 +0000 (23:50 +0000)]
Ported to PowerPC64 running Linux.

* sysdeps/powerpc/powerpc64/Dist: New file.
* sysdeps/powerpc/powerpc64/Implies: New file.
* sysdeps/powerpc/powerpc64/Makefile: New file.
* sysdeps/powerpc/powerpc64/__longjmp.S: New file.
* sysdeps/powerpc/powerpc64/atomicity.h: New file.
* sysdeps/powerpc/powerpc64/backtrace.c: New file.
* sysdeps/powerpc/powerpc64/bp-asm.h: New file.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file.
* sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file.
* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file.
* sysdeps/powerpc/powerpc64/dl-machine.c: New file.
* sysdeps/powerpc/powerpc64/dl-machine.h: New file.
* sysdeps/powerpc/powerpc64/memset.S: New file.
* sysdeps/powerpc/powerpc64/ppc-mcount.S: New file.
* sysdeps/powerpc/powerpc64/register-dump.h: New file.
* sysdeps/powerpc/powerpc64/setjmp.S: New file.
* sysdeps/powerpc/powerpc64/stpcpy.S: New file.
* sysdeps/powerpc/powerpc64/strchr.S: New file.
* sysdeps/powerpc/powerpc64/strcmp.S: New file.
* sysdeps/powerpc/powerpc64/strcpy.S: New file.
* sysdeps/powerpc/powerpc64/strlen.S: New file.
* sysdeps/powerpc/powerpc64/elf/bzero.S: New file.
* sysdeps/powerpc/powerpc64/elf/start.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file.

21 years ago2002-09-17 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Tue, 17 Sep 2002 23:50:03 +0000 (23:50 +0000)]
2002-09-17  Steven Munroe  <sjmunroe@us.ibm.com>

Ported to PowerPC64 running Linux.
* sysdeps/powerpc/powerpc64/Dist: New file.
* sysdeps/powerpc/powerpc64/Implies: New file.
* sysdeps/powerpc/powerpc64/Makefile: New file.
* sysdeps/powerpc/powerpc64/__longjmp.S: New file.
* sysdeps/powerpc/powerpc64/atomicity.h: New file.
* sysdeps/powerpc/powerpc64/backtrace.c: New file.
* sysdeps/powerpc/powerpc64/bp-asm.h: New file.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file.
* sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file.
* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file.
* sysdeps/powerpc/powerpc64/dl-machine.c: New file.
* sysdeps/powerpc/powerpc64/dl-machine.h: New file.
* sysdeps/powerpc/powerpc64/memset.S: New file.
* sysdeps/powerpc/powerpc64/ppc-mcount.S: New file.
* sysdeps/powerpc/powerpc64/register-dump.h: New file.
* sysdeps/powerpc/powerpc64/setjmp.S: New file.
* sysdeps/powerpc/powerpc64/stpcpy.S: New file.
* sysdeps/powerpc/powerpc64/strchr.S: New file.
* sysdeps/powerpc/powerpc64/strcmp.S: New file.
* sysdeps/powerpc/powerpc64/strcpy.S: New file.
* sysdeps/powerpc/powerpc64/strlen.S: New file.
* sysdeps/powerpc/powerpc64/elf/bzero.S: New file.
* sysdeps/powerpc/powerpc64/elf/start.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Sep 2002 18:45:41 +0000 (18:45 +0000)]
Update.

* include/libc-symbols.h: Change *hidden_proto macros to accept
option parameters and pass those to the attribute definition.
* include/unistd.h (_exit): Add __noreturn__ to libc_hidden_proto call.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Sep 2002 18:00:04 +0000 (18:00 +0000)]
Update.

* include/unistd.h: Declare __libc_pause.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Sep 2002 17:06:49 +0000 (17:06 +0000)]
Update.

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

* include/sys/socket.h: Declare __libc_send, __libc_recv,
__libc_sendto, __libc_sendmsg, __libc_recvmsg, and __libc_accept.

* include/unistd.h: Declare __libc_fork.

21 years agoDeclare __libc_fork.
Ulrich Drepper [Tue, 17 Sep 2002 16:55:36 +0000 (16:55 +0000)]
Declare __libc_fork.

21 years ago* sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des.
Roland McGrath [Tue, 17 Sep 2002 10:58:17 +0000 (10:58 +0000)]
* sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des.

(passwd2des): Define it as an alias.
(xencrypt, xdecrypt): Call passwd2des_internal instead of passwd2des.

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

* include/sys/sysctl.h (__sysctl): Add libc_hidden_proto.
* sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Add libc_hidden_def.

* include/rpc/xdr.h (xdrstdio_create): Add libc_hidden_proto.
* sunrpc/xdr_stdio.c (xdrstdio_create): Add libc_hidden_def.

21 years ago* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate.
Roland McGrath [Tue, 17 Sep 2002 08:01:17 +0000 (08:01 +0000)]
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate.

21 years ago* sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__]
Roland McGrath [Tue, 17 Sep 2002 07:53:26 +0000 (07:53 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__]

(__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL, __ASSUME_IPC64,
__ASSUME_FCNTL64, __ASSUME_MMAP2_SYSCALL): Don't define these.
PowerPC64 does not have separate 64-bit syscalls.

21 years ago* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast.
Roland McGrath [Tue, 17 Sep 2002 06:56:24 +0000 (06:56 +0000)]
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast.

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
New macro.

* elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case.

21 years ago* include/unistd.h: Uncomment libc_hidden_proto for _exit.
Roland McGrath [Tue, 17 Sep 2002 05:42:29 +0000 (05:42 +0000)]
* include/unistd.h: Uncomment libc_hidden_proto for _exit.

* sysdeps/mach/hurd/_exit.c: Add libc_hidden_def.
* sysdeps/generic/_exit.c: Likewise.

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

* elf/rtld.c (struct dl_start_final_info): New.
(_dl_start_final): Change second argument to struct
dl_start_final_info *.  Set start_time from info.
(_dl_start): Remove bootstrap_map variable, add info.
Define bootstrap_map as macro.  If not DONT_USE_BOOTSTRAP_MAP,
store HP_TIMING_NOW result into info.start_time.

21 years ago* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move...
Roland McGrath [Tue, 17 Sep 2002 01:47:48 +0000 (01:47 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move...

* sysdeps/unix/sysv/linux/sparc/Makefile: ...here.
Replace /usr/lib/crt[in].o with crt[in].o too.

21 years ago2002-09-12 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Tue, 17 Sep 2002 01:47:39 +0000 (01:47 +0000)]
2002-09-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move...
* sysdeps/unix/sysv/linux/sparc/Makefile: ...here.
Replace /usr/lib/crt[in].o with crt[in].o too.

21 years agoHungarian translations for glibc.
Ulrich Drepper [Mon, 16 Sep 2002 17:33:32 +0000 (17:33 +0000)]
Hungarian translations for glibc.

21 years ago* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias
Roland McGrath [Mon, 16 Sep 2002 04:52:51 +0000 (04:52 +0000)]
* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias

to _Exit.
* sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.

21 years ago2002-09-16 Andreas Jaeger <aj@suse.de>
Roland McGrath [Mon, 16 Sep 2002 04:52:39 +0000 (04:52 +0000)]
2002-09-16  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias
to _Exit.
* sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Sep 2002 18:31:23 +0000 (18:31 +0000)]
Update.

2002-09-15  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/abort-instr.h: New file.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Sep 2002 05:47:13 +0000 (05:47 +0000)]
Update.

* sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus
comment.

* sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Sep 2002 04:25:03 +0000 (04:25 +0000)]
Update.

* test-skeleton.c (main): Provide more information in case waitpid
fails.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Sep 2002 02:37:32 +0000 (02:37 +0000)]
Update.

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

* include/unistd.h: Declare __exit_thread.
* sysdeps/generic/libc-start.c: Remove dummy_addr.
Wrap call to main in setjmp if HAVE_CANCELBUF is defined.
* sysdeps/unix/sysv/linux/exit-thread.S: New file.
* sysdeps/unix/sysv/linux/_exit.c: New file.
* sysdeps/unix/sysv/linux/i386/_exit.S: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines):
Add exit-thread.

* configure.in: Add dl_iterate_phdr to test using -nostdlib.

21 years agoDefine dl_iterate_phdr to test which uses -nostdlib.
Ulrich Drepper [Sun, 15 Sep 2002 02:20:14 +0000 (02:20 +0000)]
Define dl_iterate_phdr to test which uses -nostdlib.

21 years ago* sysdeps/i386/dl-machine.h (elf_machine_rel)
Roland McGrath [Sat, 14 Sep 2002 09:17:58 +0000 (09:17 +0000)]
* sysdeps/i386/dl-machine.h (elf_machine_rel)

(case R_386_TLS_DTPMOD32): Don't use addend.
[case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check.
(elf_machine_rela): Add support for TLS relocs.