external/glibc.git
23 years agoSupport for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
Roland McGrath [Mon, 29 Oct 2001 04:39:05 +0000 (04:39 +0000)]
Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.

* sysdeps/mach/powerpc/machine-sp.h: New file.
* sysdeps/mach/powerpc/sysdep.h: New file.
* sysdeps/mach/powerpc/thread_state.h: New file.

* sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
* sysdeps/mach/hurd/Makefile: ... to here.  For the time being, we can
expect to need the same thing on every platform.

* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
* sysdeps/generic/sys/ucontext.h: ... to replace this one.

23 years ago* sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
Roland McGrath [Mon, 29 Oct 2001 02:19:33 +0000 (02:19 +0000)]
* sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,

ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
Move all these assembly-related definitions to ...
* sysdeps/powerpc/elf/sysdep.h: ... this new file.

* sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
by Peter Bruin <pjbruin@dds.nl>.

23 years ago* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
Roland McGrath [Sun, 28 Oct 2001 22:10:32 +0000 (22:10 +0000)]
* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when

packing results for a `poll' call.

23 years ago2001-10-28 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 28 Oct 2001 22:10:26 +0000 (22:10 +0000)]
2001-10-28  Roland McGrath  <roland@frob.com>

* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
packing results for a `poll' call.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Oct 2001 03:00:50 +0000 (03:00 +0000)]
Update.

* posix/tst-fnmatch.input: Add tests for - at beginning and end of
bracket expression.
* string/tst-strxfrm.c (test): Also test __strxfrm_l.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Oct 2001 00:38:28 +0000 (00:38 +0000)]
Update.

* posix/fnmatch_loop.c: Recognize - at end of bracket expression
correctly.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Oct 2001 00:23:28 +0000 (00:23 +0000)]
Update.

2001-10-26  Ulrich Drepper  <drepper@redhat.com>

* string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
nrules value.

2001-10-24  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
Use __BEGIN_DECLS/__END_DECLS around prototypes.
* sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.

2001-10-21  Jim Meyering  <meyering@lucent.com>

* malloc/obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
* posix/getopt.c (_): Likewise.
* posix/regex.c (_): Likewise.

2001-10-26  Ulrich Drepper  <drepper@redhat.com>

* resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
lookup not ip6.int.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
Reported by Martin.v.Loewis@t-online.de [PR libc/2598].

2001-10-19  Jakub Jelinek  <jakub@redhat.com>

* misc/sys/cdefs.h (__attribute_used__): Define.
* elf/rtld.c (_dl_start): Add __attribute_used__.
* elf/dl-runtime.c (fixup, profile_fixup): Likewise.

23 years ago(__attribute_used__): Define.
Ulrich Drepper [Fri, 26 Oct 2001 23:35:32 +0000 (23:35 +0000)]
(__attribute_used__): Define.

23 years ago*** empty log message ***
Andreas Schwab [Thu, 25 Oct 2001 10:21:02 +0000 (10:21 +0000)]
*** empty log message ***

2001-10-25  Andreas Schwab  <schwab@suse.de>

* stdlib/a64l.c: Expect least significant digit first.
* stdlib/l64a.c: Produce least significant digit first.
* stdlib/Makefile (tests): Add test-a64l.
* stdlib/test-a64l.c: New file.
Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.

23 years ago* stdlib/a64l.c: Expect least significant digit first.
Andreas Schwab [Thu, 25 Oct 2001 10:20:40 +0000 (10:20 +0000)]
* stdlib/a64l.c: Expect least significant digit first.

* stdlib/l64a.c: Produce least significant digit first.
* stdlib/Makefile (tests): Add test-a64l.
* stdlib/test-a64l.c: New file.

23 years agoUpdate.
Ulrich Drepper [Sun, 21 Oct 2001 17:34:56 +0000 (17:34 +0000)]
Update.

2001-10-21  Ulrich Drepper  <drepper@redhat.com>

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

23 years agoUpdate.
Ulrich Drepper [Fri, 19 Oct 2001 02:12:38 +0000 (02:12 +0000)]
Update.

2001-10-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/elf/start.S (_fp_hw): Define object type.

parentheses.  Reported by David Byron <dbyron@porto.coactive.com>,
close PR libc/2589.

23 years ago(_fp_hw): Define object type.
Ulrich Drepper [Fri, 19 Oct 2001 02:11:06 +0000 (02:11 +0000)]
(_fp_hw): Define object type.

23 years ago* math/libm-test.inc (print_ulps): Print ulp values rounded to
Andreas Schwab [Thu, 18 Oct 2001 11:46:36 +0000 (11:46 +0000)]
* math/libm-test.inc (print_ulps): Print ulp values rounded to

next whole number.
(print_function_ulps): Likewise.
(print_complex_function_ulps): Likewise.
(print_max_error): Likewise.
(print_complex_max_error): Likewise.  Handle ignore_max_ulp.

23 years ago* sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
Andreas Schwab [Tue, 16 Oct 2001 20:21:57 +0000 (20:21 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl

implementation.

23 years ago* sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
Andreas Schwab [Tue, 16 Oct 2001 14:20:44 +0000 (14:20 +0000)]
* sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if

BSD_SETJMP or BSD__SETJMP is defined, resp.
* sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
a tail call to __sigsetjmp that would require extending the
caller's frame.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/m68k/bsd-setjmp.S: Deleted.
* sysdeps/m68k/bsd-_setjmp.S: Deleted.
Reported by Jes Sorensen <jes@trained-monkey.org>.

23 years ago* sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
Andreas Schwab [Tue, 16 Oct 2001 14:20:17 +0000 (14:20 +0000)]
* sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if

BSD_SETJMP or BSD__SETJMP is defined, resp.
* sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
a tail call to __sigsetjmp that would require extending the
caller's frame.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/m68k/bsd-setjmp.S: Deleted.
* sysdeps/m68k/bsd-_setjmp.S: Deleted.

23 years agoUpdate.
Andreas Jaeger [Tue, 16 Oct 2001 11:05:14 +0000 (11:05 +0000)]
Update.

2001-10-16  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
parentheses.
Reported by David Byron <dbyron@porto.coactive.com>, close PR libc/2589.

2001-10-15  Ralf Baechle  <ralf@gnu.org>

23 years agoFix parentheses.
Andreas Jaeger [Tue, 16 Oct 2001 11:02:24 +0000 (11:02 +0000)]
Fix parentheses.

23 years agoUpdate.
Ulrich Drepper [Mon, 15 Oct 2001 16:18:43 +0000 (16:18 +0000)]
Update.

2001-10-15  Ulrich Drepper  <drepper@redhat.com>

* po/ca.po: New file.  Contributed by the translation team.

* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
a varargs prototype.  Remove dependency from kernel header files.

23 years agoCatalon message catalog for glibc.
Ulrich Drepper [Mon, 15 Oct 2001 16:17:36 +0000 (16:17 +0000)]
Catalon message catalog for glibc.

23 years agoUpdate.
Andreas Jaeger [Mon, 15 Oct 2001 11:56:44 +0000 (11:56 +0000)]
Update.

2001-08-15  Ralf Baechle  <ralf@gnu.org>

* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype a
varargs prototype.  Remove dependency from kernel header files.

* sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
__USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.

23 years agoGeneral cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
Andreas Jaeger [Mon, 15 Oct 2001 11:55:20 +0000 (11:55 +0000)]
General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.

23 years agoUpdate.
Ulrich Drepper [Mon, 15 Oct 2001 03:32:58 +0000 (03:32 +0000)]
Update.

23 years agoUpdate.
Ulrich Drepper [Sun, 14 Oct 2001 22:33:08 +0000 (22:33 +0000)]
Update.

2001-10-14  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
to generate hexadecimal identifier.
Patch by Jungshik Shin <jungshik.shin@yale.edu>.

2001-10-09  Stephen L Moshier  <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.

2001-10-14  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ieee754/ldbl-128/e_powl.c: New file.
* sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
Contributed by Stephen L Moshier <moshier@mediaone.net>.

* sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
* sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
* sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise

* timezone/africa: Update from tzdata2001d.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
* sysdeps/s390/s390-64/sys/ucontext.h: Likewise.

23 years agoUpdate.
Ulrich Drepper [Fri, 12 Oct 2001 07:59:07 +0000 (07:59 +0000)]
Update.

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

* elf/elf.h (PT_TLS): New definition.

* sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
bits/errno.h

23 years ago(SHT_GNU_LIBLIST): Added.
Ulrich Drepper [Thu, 11 Oct 2001 01:28:19 +0000 (01:28 +0000)]
(SHT_GNU_LIBLIST): Added.

23 years ago2001-10-10 Jeff Bailey <jbailey@nisa.net>
Roland McGrath [Wed, 10 Oct 2001 20:11:04 +0000 (20:11 +0000)]
2001-10-10  Jeff Bailey  <jbailey@nisa.net>

        * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
        bits/errno.h

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

* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.

23 years ago2001-10-07 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 10 Oct 2001 20:10:51 +0000 (20:10 +0000)]
2001-10-07  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.

23 years agoUpdate.
Ulrich Drepper [Wed, 10 Oct 2001 18:44:33 +0000 (18:44 +0000)]
Update.

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

* elf/elf.h: Add more ELFOSABI_* constants.

(sparc64_fixup_plt): Moved from elf_machine_fixup_plt.  Optimize

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Oct 2001 20:26:31 +0000 (20:26 +0000)]
Update.

2001-10-04  Ben Collins  <bcollins@debian.org>

* sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
decleration of __need_wchar_t.

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

* string/bits/string2.h (__strsep_g): Add prototype.
(__strsep): Use it.
* string/Versions (__strsep): Remove.
* sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.

2001-10-07  Ulrich Drepper  <drepper@redhat.com>

* manua/llio.texi: Clarify file references added by mmap.
Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.

23 years agoUpdate.
Ulrich Drepper [Mon, 1 Oct 2001 00:14:14 +0000 (00:14 +0000)]
Update.

2001-09-29  Jes Sorensen  <jes@trained-monkey.org>

* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
Add sc_loadrs and sc_rbs_bas to match current kernel.

2001-09-27  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.

* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).

2001-09-27  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
object has been bumped because of relocation dependency, avoid
duplicates in l_scope.
(show_scope): Fix typos.
* elf/Makefile: Add rules to build and run reldep6.
* elf/reldep6.c: New file.
* elf/reldep6mod0.c: New file.
* elf/reldep6mod1.c: New file.
* elf/reldep6mod2.c: New file.
* elf/reldep6mod3.c: New file.
* elf/reldep6mod4.c: New file.

2001-09-26  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
sparc64_fixup_plt.
(sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
for non-lazy binding. Fix .plt[32768+] handling.
(elf_machine_plt_value): Don't add addend.
(elf_machine_rela): Call sparc64_fixup_plt instead of
elf_machine_fixup_plt.
(elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
dynamic linker at 0xfffff800XXXXXXXX.

* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.

23 years agoUpdate.
Ulrich Drepper [Fri, 28 Sep 2001 08:00:57 +0000 (08:00 +0000)]
Update.

2001-09-28  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Define SHF_GROUP and SHF_TLS.

23 years agoUpdate.
Ulrich Drepper [Wed, 26 Sep 2001 06:59:16 +0000 (06:59 +0000)]
Update.

2001-09-25  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
declare __cmsg_data field if its size would be bigger than 0.
(CMSG_DATA): Adjust accordingly.
* sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.

* elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.

23 years agoUpdate.
Ulrich Drepper [Tue, 25 Sep 2001 07:16:23 +0000 (07:16 +0000)]
Update.

Patch by Masahide Washizawa <WASHI@jp.ibm.com>.

23 years agoUpdate.
Ulrich Drepper [Tue, 25 Sep 2001 07:14:23 +0000 (07:14 +0000)]
Update.

2001-09-25  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
* iconvdata/testdata/IBM1160: New file.
* iconvdata/testdata/IBM1160..UTF8: New file.
* iconvdata/testdata/IBM1161: New file.
* iconvdata/testdata/IBM1161..UTF8: New file.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.

23 years agoUpdate.
Ulrich Drepper [Tue, 25 Sep 2001 07:00:26 +0000 (07:00 +0000)]
Update.

* sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
UL_SETFSIZE computations better.

23 years agoUpdate.
Ulrich Drepper [Tue, 25 Sep 2001 03:10:54 +0000 (03:10 +0000)]
Update.

* rt/Makefile: Remove use of filter for librt again.

23 years agoUpdate.
Ulrich Drepper [Tue, 25 Sep 2001 03:04:41 +0000 (03:04 +0000)]
Update.

* sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
UL_SETFSIZE computations better.

* string/Versions: Export __strsep for GLIBC_2.2.5.
* string/bits/string2.h: Define all __STRING_INLINE functions if
_FORCE_INLINES is defined.
Use int instead of char of parameter types.
(__strsep): Don't use __strsep_g.  Don't define it.
(__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
* sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
__strcpy_small.
(__stpcpy_a_small): Renamed from __stpcpy_small.
(__strcspn_c1): Don't define if _FORCE_INLINES.
(__strspn_c1): Likewise.

2001-09-22  Ben Collins  <bcollins@debian.org>

* sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
_UNIX98_SOURCE is defined too.  Matches generic/bits/sigaction.h.
* sysdeps/ia64/bits/sigaction.h: Likewise.
* sysdeps/s390/s390-64/bits/sigaction.h: Likewise.

2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>

* sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.

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

* elf/dl-open.c (dl_open_worker): Update l_scope_max.

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

23 years agoUpdate.
Ulrich Drepper [Mon, 24 Sep 2001 16:59:22 +0000 (16:59 +0000)]
Update.

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

* wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.

(load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.

23 years agoUpdate.
Ulrich Drepper [Sun, 23 Sep 2001 02:10:30 +0000 (02:10 +0000)]
Update.

2001-09-20  H.J. Lu  <hjl@gnu.org>

* include/dlfcn.h (__RTLD_SPROF): New definiton.
* elf/dl-open.c (dl_open_worker): Return immediately after loading
for __RTLD_SPROF.
* elf/sprof.c (main): Default to the filename if soname doesn't exist.
(load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF.

2001-09-20  H.J. Lu  <hjl@gnu.org>

* elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
don't add 1.

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

* nss/getent.c: Accept -s parameter to overwrite rules in
nsswitch.conf.  Patch by Nalin Dahyabhai <nalin@redhat.com>.

* nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
with as many ".0" as necessary to form a complete address
inet_network understands.

* nss/getent.c: Various cleanups.  Use simpler and fewer function
calls.

2001-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
_JMPBUF_UNWINDS.
* sysdeps/s390/s390-64/bits/setjmp.h: Likewise.

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

* iconvdata/Makefile: Add rules to build and distribute IBM1160 and
IBM1161.
* iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
* iconvdata/ibm1160.c: New file.
* iconvdata/ibm1160.h: New file.
* iconvdata/ibm1161.c: New file.
* iconvdata/ibm1161.h: New file.

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

* sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
difference between base address and first PT_LOAD's virtual address,
not the base address.

2001-09-11  Tom Rix  <trix@redhat.com>

* sysdeps/unix/sysv/aix/init-first.c (init):  Use USE_NONONPTION_FLAG
ifdef for __getopt_clean_environment.
* sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.

* sysdeps/unix/sysv/linux/x86_64/Dist: New file.
* sysdeps/x86_64/Dist: New file.
* sysdeps/x86_64/soft-fp/Dist: New file.

23 years ago(init): Use USE_NONONPTION_FLAG ifdef for __getopt_clean_environment.
Ulrich Drepper [Sat, 22 Sep 2001 21:19:47 +0000 (21:19 +0000)]
(init): Use USE_NONONPTION_FLAG ifdef for __getopt_clean_environment.

23 years agoUpdate.
Andreas Jaeger [Sat, 22 Sep 2001 15:44:35 +0000 (15:44 +0000)]
Update.

* elf/reldep4.c (main): Add proper prototype to fix warning.

* elf/reldep5.c (main): Remove unused variable.

23 years agoAvoid compile warning.
Andreas Jaeger [Sat, 22 Sep 2001 15:44:07 +0000 (15:44 +0000)]
Avoid compile warning.

2001-09-22  Andreas Jaeger  <aj@suse.de>

* linuxthreads/tst-context.c: Avoid compile warning.

23 years agoUpdate.
Andreas Jaeger [Sat, 22 Sep 2001 13:44:03 +0000 (13:44 +0000)]
Update.

2001-09-22  Andreas Jaeger  <aj@suse.de>

* math/math_private.h: Add prototypes.

23 years agoUpdate.
Andreas Jaeger [Fri, 21 Sep 2001 15:43:15 +0000 (15:43 +0000)]
Update.

2001-09-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/Dist: New.

* sysdeps/x86_64/Dist: New.

* sysdeps/x86_64/soft-fp/Dist: New.

* sysdeps/gnu/Dist: Remove eval.c.

23 years agoRemove eval.c.
Andreas Jaeger [Fri, 21 Sep 2001 15:43:06 +0000 (15:43 +0000)]
Remove eval.c.

23 years agoUpdate.
Ulrich Drepper [Thu, 20 Sep 2001 19:36:46 +0000 (19:36 +0000)]
Update.

* malloc/memusage.c (realloc): Don't count already allocated
memory in the sums.
(me): Always use dlsym() to find the real implementations.

23 years agoUpdate.
Ulrich Drepper [Thu, 20 Sep 2001 19:19:08 +0000 (19:19 +0000)]
Update.

* malloc/memusage.c (me): Always use dlsym() to find the real
implementations.

23 years agoUpdate.
Ulrich Drepper [Thu, 20 Sep 2001 19:07:49 +0000 (19:07 +0000)]
Update.

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

* malloc/memusage.sh: Make -n option actually do something.

23 years agoMake -n option actually do something.
Ulrich Drepper [Thu, 20 Sep 2001 19:06:30 +0000 (19:06 +0000)]
Make -n option actually do something.

23 years agoUpdate.
Andreas Jaeger [Thu, 20 Sep 2001 06:45:59 +0000 (06:45 +0000)]
Update.

2001-09-20  Andreas Jaeger  <aj@suse.de>

* elf/elf.h (R_390_NUM): Correct value.

23 years agoUpdate.
Andreas Jaeger [Thu, 20 Sep 2001 06:43:34 +0000 (06:43 +0000)]
Update.

2001-09-19  Andreas Jaeger  <aj@suse.de>

* Versions.def: Add missing versions 2.2.3 for libthread_db and
libpthread.

* sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
for x86-64, install x86-64 into */lib64.

* shlib-versions: Add x86-64.

* elf/elf.h: Add x86-64 relocations.

23 years agoAdd x86-64.
Andreas Jaeger [Thu, 20 Sep 2001 06:35:08 +0000 (06:35 +0000)]
Add x86-64.

2001-09-20  Andreas Jaeger  <aj@suse.de>

* shlib-versions: Add x86-64.

23 years agoUpdate.
Ulrich Drepper [Wed, 19 Sep 2001 20:11:28 +0000 (20:11 +0000)]
Update.

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

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

23 years agoUpdate
Ulrich Drepper [Wed, 19 Sep 2001 20:10:15 +0000 (20:10 +0000)]
Update

23 years agoUpdate.
Andreas Jaeger [Wed, 19 Sep 2001 10:37:31 +0000 (10:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
* sysdeps/unix/sysv/linux/x86_64/Versions: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
* sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
* sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
* sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
* sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
* sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
* sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
* sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
* sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
* sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
* sysdeps/unix/sysv/linux/x86_64/send.c: New file.
* sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
* sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/x86_64/time.c: New file.
* sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
* sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
* sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
* sysdeps/unix/x86_64/sysdep.S: New file.
* sysdeps/unix/x86_64/sysdep.h: New file.
* sysdeps/x86_64/Implies: New file.
* sysdeps/x86_64/Makefile: New file.
* sysdeps/x86_64/Versions: New file.
* sysdeps/x86_64/__longjmp.S: New file.
* sysdeps/x86_64/abort-instr.h: New file.
* sysdeps/x86_64/atomicity.h: New file.
* sysdeps/x86_64/bits/endian.h: New file.
* sysdeps/x86_64/bits/setjmp.h: New file.
* sysdeps/x86_64/bits/string.h: New file.
* sysdeps/x86_64/bp-asm.h: New file.
* sysdeps/x86_64/bsd-_setjmp.S: New file.
* sysdeps/x86_64/bsd-setjmp.S: New file.
* sysdeps/x86_64/dl-machine.h: New file.
* sysdeps/x86_64/elf/initfini.c: New file.
* sysdeps/x86_64/elf/start.S: New file.
* sysdeps/x86_64/ffs.c: New file.
* sysdeps/x86_64/ffsll.c: New file.
* sysdeps/x86_64/fpu/bits/fenv.h: New file.
* sysdeps/x86_64/fpu/bits/mathdef.h: New file.
* sysdeps/x86_64/fpu/e_acosl.c: New file.
* sysdeps/x86_64/fpu/e_atan2l.c: New file.
* sysdeps/x86_64/fpu/e_exp2l.S: New file.
* sysdeps/x86_64/fpu/e_expl.c: New file.
* sysdeps/x86_64/fpu/e_fmodl.S: New file.
* sysdeps/x86_64/fpu/e_log10l.S: New file.
* sysdeps/x86_64/fpu/e_log2l.S: New file.
* sysdeps/x86_64/fpu/e_logl.S: New file.
* sysdeps/x86_64/fpu/e_powl.S: New file.
* sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
* sysdeps/x86_64/fpu/e_scalbl.S: New file.
* sysdeps/x86_64/fpu/e_sqrtl.c: New file.
* sysdeps/x86_64/fpu/fclrexcpt.c: New file.
* sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
* sysdeps/x86_64/fpu/feenablxcpt.c: New file.
* sysdeps/x86_64/fpu/fegetenv.c: New file.
* sysdeps/x86_64/fpu/fegetexcept.c: New file.
* sysdeps/x86_64/fpu/fegetround.c: New file.
* sysdeps/x86_64/fpu/feholdexcpt.c: New file.
* sysdeps/x86_64/fpu/fesetenv.c: New file.
* sysdeps/x86_64/fpu/fesetround.c: New file.
* sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
* sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
* sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
* sysdeps/x86_64/fpu/ftestexcept.c: New file.
* sysdeps/x86_64/fpu/libm-test-ulps: New file.
* sysdeps/x86_64/fpu/math_ldbl.h: New file.
* sysdeps/x86_64/fpu/printf_fphex.c: New file.
* sysdeps/x86_64/fpu/s_atanl.c: New file.
* sysdeps/x86_64/fpu/s_cosl.S: New file.
* sysdeps/x86_64/fpu/s_expm1l.S: New file.
* sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
* sysdeps/x86_64/fpu/s_isinfl.c: New file.
* sysdeps/x86_64/fpu/s_isnanl.c: New file.
* sysdeps/x86_64/fpu/s_log1pl.S: New file.
* sysdeps/x86_64/fpu/s_logbl.c: New file.
* sysdeps/x86_64/fpu/s_nextafterl.c: New file.
* sysdeps/x86_64/fpu/s_nexttoward.c: New file.
* sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
* sysdeps/x86_64/fpu/s_rintl.c: New file.
* sysdeps/x86_64/fpu/s_significandl.c: New file.
* sysdeps/x86_64/fpu/s_sincosl.S: New file.
* sysdeps/x86_64/fpu/s_sinl.S: New file.
* sysdeps/x86_64/fpu/s_tanl.S: New file.
* sysdeps/x86_64/gmp-mparam.h: New file.
* sysdeps/x86_64/hp-timing.c: New file.
* sysdeps/x86_64/hp-timing.h: New file.
* sysdeps/x86_64/htonl.S: New file.
* sysdeps/x86_64/memusage.h: New file.
* sysdeps/x86_64/setjmp.S: New file.
* sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
* sysdeps/x86_64/stackinfo.h: New file.
* sysdeps/x86_64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.

23 years agoUpdate.
Andreas Jaeger [Wed, 19 Sep 2001 06:55:17 +0000 (06:55 +0000)]
Update.

2001-09-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
L Moshier.

23 years agoerf and erfc implementation for 128-bit long doubles.
Andreas Jaeger [Wed, 19 Sep 2001 06:54:40 +0000 (06:54 +0000)]
erf and erfc implementation for 128-bit long doubles.

23 years agoUpdate.
Ulrich Drepper [Wed, 19 Sep 2001 03:25:37 +0000 (03:25 +0000)]
Update.

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

* malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].

2001-09-18  Andreas Schwab  <schwab@suse.de>

* elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
list, now that l_scope is a pointer.

* elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
scope list.

2001-09-18  kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
(elf_machine_rela_relative): Add a missing declaration.

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

* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
* sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
* sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
ldd-rewrite scripts.

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

* elf/ldd.bash.in: Update copyright message.

2001-09-17  H.J. Lu  <hjl@gnu.org>

* hurd/hurdmalloc.c (bcopy): Removed.
(realloc): Replace bcopy with memcpy.
* hurd/path-lookup.c (file_name_path_scan): Likewise.
* resolv/gethnamaddr.c (map_v4v6_address): Likewise.
* sunrpc/rpcinfo.c (pmapdump): Likewise.

* resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
(gethostbyaddr): Likewise.
* sunrpc/rpcinfo.c (get_inet_address): Likewise.

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

* sysdeps/gnu/eval.c: Removed.

23 years agoNot needed anymore.
Ulrich Drepper [Wed, 19 Sep 2001 03:01:09 +0000 (03:01 +0000)]
Not needed anymore.

23 years agoRewritten to C versions using inline assembly.
Andreas Jaeger [Tue, 18 Sep 2001 14:18:20 +0000 (14:18 +0000)]
Rewritten to C versions using inline assembly.

23 years agoUpdate.
Andreas Jaeger [Tue, 18 Sep 2001 14:13:20 +0000 (14:13 +0000)]
Update.

2001-09-18  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/s_logbl.S: Move to ...
* sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.

* sysdeps/i386/fpu/s_rintl.S: Move to ...
* sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.

* sysdeps/i386/fpu/s_significandl.S: Move to ...
* sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.

23 years agoReadd special linkage permissions to license.
Andreas Jaeger [Tue, 18 Sep 2001 12:27:15 +0000 (12:27 +0000)]
Readd special linkage permissions to license.

23 years agoUpdate.
Ulrich Drepper [Mon, 17 Sep 2001 05:51:40 +0000 (05:51 +0000)]
Update.

* string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get

23 years agoUpdate.
Ulrich Drepper [Mon, 17 Sep 2001 05:50:34 +0000 (05:50 +0000)]
Update.

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

* string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correct get
nrules value.

23 years agoUpdate.
Ulrich Drepper [Sat, 15 Sep 2001 03:01:52 +0000 (03:01 +0000)]
Update.

2001-09-14  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/fpu/libm-test-ulps: Updated.

* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
Patch by Florian La Roche <laroche@redhat.com>.

23 years agoUpdate.
Ulrich Drepper [Fri, 14 Sep 2001 20:41:30 +0000 (20:41 +0000)]
Update.

* string/bits/string2.h (__strtok_r_1c): Optimize a bit.

23 years agoUpdate.
Ulrich Drepper [Fri, 14 Sep 2001 13:04:31 +0000 (13:04 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
ETHER_CRC_LEN.

23 years agoCorrect references to ETHER_CRC_LEN.
Ulrich Drepper [Fri, 14 Sep 2001 13:03:53 +0000 (13:03 +0000)]
Correct references to ETHER_CRC_LEN.

23 years ago* posix/execl.c: Fix last argument of memcpy. Reported by Brian
Andreas Schwab [Fri, 14 Sep 2001 10:15:03 +0000 (10:15 +0000)]
* posix/execl.c: Fix last argument of memcpy.  Reported by Brian

Sumner <bls@sgi.com>.
* posix/execlp.c: Likewise.

23 years ago* posix/execl.c: Fix last argument of memcpy. Reported by Brian
Andreas Schwab [Fri, 14 Sep 2001 10:14:51 +0000 (10:14 +0000)]
* posix/execl.c: Fix last argument of memcpy.  Reported by Brian

Sumner <bls@sgi.com>.
* posix/execlp.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Fri, 14 Sep 2001 04:25:14 +0000 (04:25 +0000)]
Update.

2001-09-13  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
is already found earlier in the search scope.

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

* rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
filter.

23 years agoUpdate.
Ulrich Drepper [Thu, 13 Sep 2001 17:27:49 +0000 (17:27 +0000)]
Update.

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

* sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.

23 years agoUpdate.
Ulrich Drepper [Wed, 12 Sep 2001 23:23:04 +0000 (23:23 +0000)]
Update.

23 years agoUpdate.
Ulrich Drepper [Wed, 12 Sep 2001 22:20:11 +0000 (22:20 +0000)]
Update.

* sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.

23 years agoUpdate.
Ulrich Drepper [Wed, 12 Sep 2001 21:30:11 +0000 (21:30 +0000)]
Update.

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

* rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
filter.

* elf/dl-close.c (_dl_close): Don't free l_libname if it is not

23 years agoUpdate.
Ulrich Drepper [Wed, 12 Sep 2001 18:50:25 +0000 (18:50 +0000)]
Update.

* Makeconfig (preprocess-versions): Define ASSEMBLER.
* stdlib/Makefile (isomac-CFLAGS): Define to -O.
* posix/Makefile (annexc-CFLAGS): Define to -O.

23 years agoUpdate.
Ulrich Drepper [Wed, 12 Sep 2001 08:14:34 +0000 (08:14 +0000)]
Update.

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

* config.h.in: Enforce optimization to be used.

23 years agoUpdate.
Ulrich Drepper [Wed, 12 Sep 2001 03:53:07 +0000 (03:53 +0000)]
Update.

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

* nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
Patch by Stephan Kulow.

23 years agoUpdate.
Ulrich Drepper [Sat, 8 Sep 2001 21:31:59 +0000 (21:31 +0000)]
Update.

2001-09-08  Ben Collins  <bcollins@debian.org>

* sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
usage of RESOLVE() (r_type, not reloc->r_type).

23 years agoUpdate.
Ulrich Drepper [Sat, 8 Sep 2001 20:03:14 +0000 (20:03 +0000)]
Update.

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

* elf/dl-object.c: Avoid allocating extra memory block for name.
* elf/dl-close.c (_dl_close): Don't free l_libname if it is no
allocated separately.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sat, 8 Sep 2001 17:53:04 +0000 (17:53 +0000)]
Update.

2001-09-08  H.J. Lu  <hjl@gnu.org>

* po/zh_TW.po: Fix a typo.

23 years agoUpdate.
Ulrich Drepper [Sat, 8 Sep 2001 17:45:32 +0000 (17:45 +0000)]
Update.

2001-09-07  Tom Rix  <trix@redhat.com>

* sysdeps/unix/sysv/aix/sysv_termio.h: New file.

2001-08-26  Tom Rix  <trix@redhat.com>

* sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
command line options.
* sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
* sysdeps/unix/sysv/aix/start.c: Removed.
* sysdeps/unix/sysv/aix/start-libc.c: New file.
* sysdeps/unix/sysv/aix/init-first.c: New file.
* sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.

2001-09-08  Ben Collins  <bcollins@debian.org>

* sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
* sysdeps/generic/dl-machine.h: Likewise.
* sysdeps/hppa/dl-fptr.c: Likewise.
* sysdeps/ia64/dl-fptr.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
* sysdeps/powerpc/dl-machine.c: Likewise.

2001-09-07  Ben Collins  <bcollins@debian.org>

* sysdeps/sparc/sparc32/dl-machine.h: Fix typo.

* sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.

* elf/dl-lookup.c (add_dependency): Bump l_opencount of all
dependencies if necessary.

23 years agoUpdate.
Ulrich Drepper [Sat, 8 Sep 2001 16:27:08 +0000 (16:27 +0000)]
Update.

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

* elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
loaded directly) determine length if l_initfini list by iterating
over its elements.  Minor optimizations.
* elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
for dependency objects.
If object was already loaded check whether any of the dependencies
is already on the relocation dependency list.  If yes, remove the
latter.  Minor optimizations.
* elf/dl-lookup.c (add_dependency): Add check for self reference of
maps here.  Search l_initfini list only if the object was loaded
directly and not only as a dependency.
(_dl_lookup_symbol): Add relocation dependency also if object
is not in global scope.  Remove test for self-reference here.
(_dl_lookup_versioned_symbol): Likewise.
* elf/dl-object (_dl_new_object): Cleanup.  Initialize dont_free
element of first name record.
* elf/loadtest.c: Add some more test to recognize early if an object
wasn't unloaded.
* elf/Makefile: Add rules to build and run reldep5.
* elf/reldep5.c: New file.
* elf/reldepmod5.c: New file.
* elf/reldepmod6.c: New file.

* elf/reldep2.c: Fix typo.

* elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.

23 years agoUpdate.
Ulrich Drepper [Fri, 7 Sep 2001 07:57:11 +0000 (07:57 +0000)]
Update.

2001-09-07  Ulrich Drepper  <drepper@redhat.com>

* include/link.h (struct link_map): Add l_scope_mem and l_scope_max
elements.  Change l_scope to be a pointer only.
* elf/dl-object.c (_dl_new_ojbect): Initialize l_scope and l_scope_max.
* elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
here add searchlist of newly open file to the dependency's scope.
* elf/dl-close.c (_dl_close): If dependency is used otherwise remove
only searchlist from its scope.  Free own scope array if necessary.
* elf/Makefile (tests): Add dblload and dblunload now.

23 years ago(struct link_map): Add l_scope_mem and l_scope_max elements. Change l_scope to be...
Ulrich Drepper [Fri, 7 Sep 2001 07:50:47 +0000 (07:50 +0000)]
(struct link_map): Add l_scope_mem and l_scope_max elements.  Change l_scope to be a pointer only.

23 years agoUpdate.
Andreas Jaeger [Thu, 6 Sep 2001 12:53:09 +0000 (12:53 +0000)]
Update.

2001-09-06  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
Stephen L Moshier.

23 years ago128 bit long double lgamma implementation.
Andreas Jaeger [Thu, 6 Sep 2001 12:53:04 +0000 (12:53 +0000)]
128 bit long double lgamma implementation.

23 years agoUpdate.
Ulrich Drepper [Thu, 6 Sep 2001 01:03:05 +0000 (01:03 +0000)]
Update.

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

* elf/Makefile: Add rules to build new tests.  Don't run them yet since
they both fail.
* elf/dblload.c: New file.
* elf/dblloadmod1.c: New file.
* elf/dblloadmod2.c: New file.
* elf/dblloadmod3.c: New file.
* elf/dblunload.c: New file.

23 years agoUpdate.
Ulrich Drepper [Wed, 5 Sep 2001 04:54:25 +0000 (04:54 +0000)]
Update.

2001-09-04  Richard Henderson  <rth@redhat.com>

* elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
(R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.

23 years agoUpdate.
Ulrich Drepper [Wed, 5 Sep 2001 03:42:43 +0000 (03:42 +0000)]
Update.

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

Correct very misleading message for error in failed runtime relocation.
* elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
place of the error.
(_dl_signal_cerror): Likewise.
* sysdeps/generic/ldsodefs.h: Adjust prototypes.
* elf/dl-close.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-version.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Wed, 5 Sep 2001 00:26:04 +0000 (00:26 +0000)]
Update.

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

* iconv/strtab.c (strtabinit): Initialize null Strent.
(newstring): Move len == 0 handling...
(strtabadd): ...here.
If len == 1, return null Strent.
When inserting a suffix of an existing string, check if
it is not equal to some suffix already recorded.
Copy left and right members over if adding longer string.

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

* sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.

* sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
(__syscall_gethostname): Add prototype.

23 years agoUpdate.
Ulrich Drepper [Tue, 4 Sep 2001 07:50:46 +0000 (07:50 +0000)]
Update.

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

* elf/dl-object.c (_dl_new_object): Remove unnecessary if.

23 years agoUpdate.
Ulrich Drepper [Sun, 2 Sep 2001 07:28:54 +0000 (07:28 +0000)]
Update.

2001-09-02  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Increment l_opencount for main binary.

23 years ago(dl_main): Increment l_opencount for main binary.
Ulrich Drepper [Sun, 2 Sep 2001 07:27:51 +0000 (07:27 +0000)]
(dl_main): Increment l_opencount for main binary.

23 years ago* sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
Roland McGrath [Sat, 1 Sep 2001 21:45:49 +0000 (21:45 +0000)]
* sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too

short, copy that much into NAME anyway before returning error.

23 years ago2001-08-27 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 1 Sep 2001 21:45:32 +0000 (21:45 +0000)]
2001-08-27  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
short, copy that much into NAME anyway before returning error.

23 years agoUpdate.
Ulrich Drepper [Sat, 1 Sep 2001 19:24:55 +0000 (19:24 +0000)]
Update.

2001-09-01  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/Dist: Remove file.
* sysdeps/alpha/elf/Makefile: Remove file.
* sysdeps/alpha/elf/crtbegin.S: Remove file.
* sysdeps/alpha/elf/crtend.S: Remove file.
* sysdeps/alpha/elf/initfini.c: New file.

2001-09-01  Mark Kettenis  <kettenis@gnu.org>

* iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
* iconv/tst-iconv3.c: Likewise.

2001-09-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.

handle it like 'I' for symmetry with strftime.

23 years agoUpdate.
Ulrich Drepper [Sat, 1 Sep 2001 19:03:22 +0000 (19:03 +0000)]
Update.

2001-09-01  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
export it.
* iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
* iconv/iconv_prog.c (insert_cache): New function.
(print_known_names): If cache is used call insert_cache to use the
information from the cache [PR libc/2509].