Ulrich Drepper [Thu, 26 Oct 2000 23:41:17 +0000 (23:41 +0000)]
Update.
* locale/C-monetary.c: Set mon_decimal to empty string.
Add missing entry _NL_MONETARY_CRNCYSTR.
* stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use
DECIMAL_POINT information.
* locale/C-numeric.c: Set mon_grouping entry to empty string.
* locale/C-time.c: Add date_fmt entries. Remove two wrong entries.
Correct value for number of entries.
* locale/localeconv.c: Normalize result passed back in .grouping.
Fix assignment to .int_* entries.
* locale/Makefile (tests): Add tst-C-locale.
* locale/tst-C-locale.c: New file.
* locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
locale files.
* locale/newlocale.c: Likewise.
2000-10-26 GOTO Masanori <gotom@debian.or.jp>
* locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT.
* locale/categories.def: New support for date_fmt.
* locale/programs/ld-time.c: Likewise.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-kw.h: Likewise.
* locale/programs/locfile-token.h: Likewise.
2000-10-26 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ieee754/ldbl-128/e_hypotl.c: New.
* math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test):
Increase precision of constants.
* sysdeps/alpha/fpu/libm-test-ulps: Update.
* sysdeps/arm/libm-test-ulps: Update.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/ia64/fpu/libm-test-ulps: Update.
* sysdeps/m68k/fpu/libm-test-ulps: Update.
* sysdeps/mips/fpu/libm-test-ulps: Update.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
* sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
* sysdeps/s390/fpu/libm-test-ulps: Update.
2000-10-26 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Thu, 26 Oct 2000 17:17:13 +0000 (17:17 +0000)]
Update.
2000-10-26 Ulrich Drepper <drepper@redhat.com>
* locales/fa_IR: Fix many problems and change to use UTF-8.
Patch by Roozbeh Pournader <roozbeh@sharif.edu>.
* SUPPORTED: Add fa_IR.UTF-8.
Ulrich Drepper [Thu, 26 Oct 2000 09:14:02 +0000 (09:14 +0000)]
Update.
* io/Makefile (tests): Add tst-fcntl.
* io/tst-fcntl.c: New file.
Ulrich Drepper [Thu, 26 Oct 2000 08:11:19 +0000 (08:11 +0000)]
Update.
2000-10-26 Ulrich Drepper <drepper@redhat.com>
* posix/Makefile (tests): Add tst-chmod.
(tst-chmod-ARGS): Define.
* posix/tst-chmod.c: New file.
* test-skeleton.c: Before calling user-defined function remove
parameters from argument list.
* posix/tst-exec.c: Adjust to this change.
* posix/tst-spawn.c: Likewise.
* sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add
__builtin_expect.
Ulrich Drepper [Thu, 26 Oct 2000 02:58:22 +0000 (02:58 +0000)]
Update.
2000-10-25 Ulrich Drepper <drepper@redhat.com>
* intl/Makefile (tests): Add tst-ngettext.
* intl/tst-ngettext.c: New file.
Ulrich Drepper [Thu, 26 Oct 2000 02:37:46 +0000 (02:37 +0000)]
Update.
2000-10-25 Bruno Haible <haible@clisp.cons.org>
* manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT.
* manual/message.texi (Translation with gettext): Remove paragraph
about macros contained in libintl.h.
(bind_textdomain_codeset): Describe codeset argument.
(Using gettextized software): Add setlocale call to sample code.
Ulrich Drepper [Thu, 26 Oct 2000 02:34:17 +0000 (02:34 +0000)]
Update.
2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Yutaka Niibe <gniibe@chroot.org>
* sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place
relocation which is generated by new ld.
* sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values.
(_fini): Delete an obsolete register prefix.
* sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64,
__lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64
and versionsort64 as the 2.2-versioned symbols.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call
calling convention of the kernel.
* sysdeps/unix/sysv/linux/sh/pipe.S: Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/fcntl.c: New file.
* sysdeps/unix/sysv/linux/sh/lockf64.c: New file.
* sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header
file and delete the definitions of struct user and user_fp.
* sysdeps/unix/sysv/linux/sh/syscall.S: New file.
* sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for
s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve,
rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo,
rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups,
s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid,
s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot,
s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid,
s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl,
s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv,
sys_stat, sys_writev and syscall.
Ulrich Drepper [Thu, 26 Oct 2000 02:24:09 +0000 (02:24 +0000)]
Update.
* io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems
without LFS support.
Ulrich Drepper [Wed, 25 Oct 2000 22:17:16 +0000 (22:17 +0000)]
Update.
2000-10-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt.
* sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
* sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
* sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
* sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
Ulrich Drepper [Wed, 25 Oct 2000 20:29:30 +0000 (20:29 +0000)]
Update.
2000-10-25 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot
number by four to use bins of width 4 to get accurate
instruction-level profiling.
Ulrich Drepper [Wed, 25 Oct 2000 17:54:46 +0000 (17:54 +0000)]
Update.
2000-10-25 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string.
Ulrich Drepper [Wed, 25 Oct 2000 17:52:54 +0000 (17:52 +0000)]
(CACHEMAGIC_VERSION_NEW): Correct cut and paste error.
Andreas Jaeger [Wed, 25 Oct 2000 17:31:00 +0000 (17:31 +0000)]
Regenerated.
Andreas Jaeger [Wed, 25 Oct 2000 17:30:55 +0000 (17:30 +0000)]
Mention that gcc -traditional is not supported.
Ulrich Drepper [Wed, 25 Oct 2000 17:19:53 +0000 (17:19 +0000)]
Update.
2000-10-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When
converting struct flock64 to struct flock and back, use fcntl commands
which work on struct flock.
2000-10-25 Jakub Jelinek <jakub@redhat.com>
* math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not
defined.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
Ulrich Drepper [Wed, 25 Oct 2000 16:58:14 +0000 (16:58 +0000)]
Update.
* sysdeps/arm/libm-test-ulps: Updated.
Ulrich Drepper [Wed, 25 Oct 2000 16:16:23 +0000 (16:16 +0000)]
Update.
2000-10-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value.
Ulrich Drepper [Wed, 25 Oct 2000 16:05:16 +0000 (16:05 +0000)]
(CACHEMAGIC_VERSION_NEW): New value.
Andreas Jaeger [Wed, 25 Oct 2000 14:12:14 +0000 (14:12 +0000)]
Update.
2000-10-25 Andreas Jaeger <aj@suse.de>
* elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable.
(_dl_map_object): Likewise.
Andreas Jaeger [Wed, 25 Oct 2000 14:11:27 +0000 (14:11 +0000)]
(_dl_map_object_from_fd): Remove unused variable. (_dl_map_object): Likewise.
Ulrich Drepper [Wed, 25 Oct 2000 08:23:00 +0000 (08:23 +0000)]
Update.
2000-10-24 Paul Eggert <eggert@twinsun.com>
* time/strftime.c (my_strftime macro)
[!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]:
When redefining, do it without args, so that it works even if
emacs is defined and an extra argument is passed to my_stftime.
(my_strftime function): When evaluating a subformat, pass
ut_argument as well.
2000-10-24 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and
pciconfig_write.
* sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test
for files with new cache format.
(_dl_load_cache_lookup): Add variable cache_data_size for size of the
data. Correctly report error if neither old not new signature is
found. Little optimizations.
Mostly based on a patch by Denis Zaitsev <zzz@cd-club.ru>.
Ulrich Drepper [Wed, 25 Oct 2000 07:06:03 +0000 (07:06 +0000)]
Update.
2000-10-25 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the
nsearchlist variable.
Ulrich Drepper [Wed, 25 Oct 2000 04:00:08 +0000 (04:00 +0000)]
Update.
* elf/dl-lookup.c (add_dependency): Fix test to check whether
dependency already exists.
* elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6.
* elf/loadtest.c (main): Add test at the end that everything is
unloaded.
* elf/dl-open.c (dl_open_worker): Fix typo in comment.
Ulrich Drepper [Wed, 25 Oct 2000 00:19:27 +0000 (00:19 +0000)]
Update.
2000-10-24 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Add even more IA-64 relocations.
Ulrich Drepper [Wed, 25 Oct 2000 00:16:25 +0000 (00:16 +0000)]
Add even more IA-64 relocations.
Geoff Keating [Tue, 24 Oct 2000 21:12:01 +0000 (21:12 +0000)]
* io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
has a limit set---for instance, a limit of 2^31 bytes, which can't
easily be reset by non-LFS-aware shells.
2000-10-24 Geoffrey Keating <geoffk@cygnus.com>
* io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
has a limit set---for instance, a limit of 2^31 bytes, which can't
easily be reset by non-LFS-aware shells.
Geoff Keating [Tue, 24 Oct 2000 21:09:50 +0000 (21:09 +0000)]
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
explicitly rather than getting it from <asm/page.h>.
2000-10-21 Geoffrey Keating <geoffk@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
explicitly rather than getting it from <asm/page.h>.
Ulrich Drepper [Tue, 24 Oct 2000 20:20:37 +0000 (20:20 +0000)]
Update.
* elf/dl-close.c (_dl_close): Handle relocation dependencies of
the dependencies of the object currently unloaded.
Ulrich Drepper [Tue, 24 Oct 2000 19:31:51 +0000 (19:31 +0000)]
Update.
* elf/dl-close.c (_dl_close): Don't free memory for global scope
list immediately when empty. Move code to...
(free_mem): ...here. Called as part of __libc_subfreeres list.
Ulrich Drepper [Tue, 24 Oct 2000 19:18:25 +0000 (19:18 +0000)]
Update.
* elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before
r_list array in allocated memory.
* elf/dl-close.c (_dl_close): Optimize access to l_initfini list
and remove use of r_list.
Ulrich Drepper [Tue, 24 Oct 2000 17:04:14 +0000 (17:04 +0000)]
Update.
2000-10-24 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c (_dl_close): Use correct list (l_initfini) when
computing new opencounts.
* elf/Makefile: Add rules to build and run neededtest3.
* neededtest3.c: New file.
* neededobj4.c: New file.
* elf/neededtest.c (main): Correct tests for failing dlopen.
Ulrich Drepper [Tue, 24 Oct 2000 16:59:10 +0000 (16:59 +0000)]
Object for unload testing.
Andreas Jaeger [Tue, 24 Oct 2000 15:42:04 +0000 (15:42 +0000)]
Regenerated.
Andreas Jaeger [Tue, 24 Oct 2000 15:36:52 +0000 (15:36 +0000)]
Mention glibc 2.2 caveats.
Ulrich Drepper [Tue, 24 Oct 2000 15:25:53 +0000 (15:25 +0000)]
(main): Correct tests for failing dlopen.
Andreas Jaeger [Tue, 24 Oct 2000 11:17:58 +0000 (11:17 +0000)]
Update.
2000-10-24 Andreas Jaeger <aj@suse.de>
* elf/dl-lookup.c (add_dependency): Remove unused variable j.
Andreas Jaeger [Tue, 24 Oct 2000 11:17:45 +0000 (11:17 +0000)]
(add_dependency): Remove unused variable j.
Ulrich Drepper [Tue, 24 Oct 2000 08:30:36 +0000 (08:30 +0000)]
(main): Run tests for different alignments.
Ulrich Drepper [Tue, 24 Oct 2000 08:25:05 +0000 (08:25 +0000)]
Update.
* malloc/Makefile (tests): Add tst-obstack.
Ulrich Drepper [Tue, 24 Oct 2000 08:23:06 +0000 (08:23 +0000)]
Update.
* malloc/obstack.c (_obstack_newchunk): Correctly align first returned
block.
* malloc/tst-obstack.c: New file.
Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
Ulrich Drepper [Tue, 24 Oct 2000 07:36:55 +0000 (07:36 +0000)]
Update.
2000-10-24 Ulrich Drepper <drepper@redhat.com>
Complete revamp of the reference counter handling.
* include/link.h (struct link_map): Add l_idx field.
* elf/dl-close.c: Handle decrementing of reference counters more
correctly. If necessary decrement reference counters of dependencies
of dependencies.
* elf/dl-lookup.c (add_dependency): Only increment reference counter
of the object itself and not also its dependencies.
* elf/dl-open.c: Increment reference counters here.
* elf/dl-deps.c: Remove reference counter handling here.
* elf/dl-load.c: Likewise.
* elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.
* elf/loadtest.c: Print loaded objects at the beginning.
Ulrich Drepper [Tue, 24 Oct 2000 07:24:28 +0000 (07:24 +0000)]
(struct link_map): Add l_idx field.
Andreas Jaeger [Tue, 24 Oct 2000 07:02:35 +0000 (07:02 +0000)]
Update.
2000-10-24 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
Andreas Jaeger [Tue, 24 Oct 2000 07:01:37 +0000 (07:01 +0000)]
Partly revert patch from 2000-10-18.
Ulrich Drepper [Tue, 24 Oct 2000 01:02:15 +0000 (01:02 +0000)]
Update.
* include/link.h (struct link_map): New bit field l_faked.
* elf/dl-deps.c: Use l_faked field in struct link_map instead of
the magic l_opencount==0.
* elf/dl-load.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/rtld.c: Likewise.
Ulrich Drepper [Tue, 24 Oct 2000 00:03:37 +0000 (00:03 +0000)]
Update.
2000-10-23 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
Ulrich Drepper [Mon, 23 Oct 2000 23:19:40 +0000 (23:19 +0000)]
Update.
2000-10-23 Jim Meyering <meyering@ascend.com>
Allow this code to be used outside of glibc.
* sysdeps/generic/memrchr.c: Undef __memrchr, too.
[!weak_alias]: Define __memrchr to memrchr.
Guard weak_alias use with `#ifdef weak_alias'.
Ulrich Drepper [Mon, 23 Oct 2000 22:58:40 +0000 (22:58 +0000)]
Update.
* elf/unload.c: Generate more debugging output.
* elf/neededtest.c: Make it more complicated.
* elf/neededtest2.c: New file.
* elf/Makefile: Add rules to build and run neededtest2.
Ulrich Drepper [Mon, 23 Oct 2000 21:40:57 +0000 (21:40 +0000)]
Update.
* elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
of DSO address space.
(_dl_vsym): Likewise.
Ulrich Drepper [Mon, 23 Oct 2000 20:02:38 +0000 (20:02 +0000)]
Update.
2000-10-23 Ulrich Drepper <drepper@redhat.com>
* elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
global scope if we can determine it.
Ulrich Drepper [Mon, 23 Oct 2000 19:38:30 +0000 (19:38 +0000)]
Update.
* sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
(RLIMIT_NLIMITS): Sync with kernel definition.
(PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
2000-10-23 Andreas Schwab <schwab@suse.de>
Ulrich Drepper [Mon, 23 Oct 2000 19:36:18 +0000 (19:36 +0000)]
(RLIMIT_LOCKS): Added. (RLIMIT_NLIMITS): Sync with kernel definition. (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
Andreas Schwab [Mon, 23 Oct 2000 19:15:24 +0000 (19:15 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Updated.
Andreas Schwab [Mon, 23 Oct 2000 19:14:22 +0000 (19:14 +0000)]
Updated.
Ulrich Drepper [Mon, 23 Oct 2000 18:51:39 +0000 (18:51 +0000)]
Update.
2000-10-23 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
Ulrich Drepper [Mon, 23 Oct 2000 17:11:35 +0000 (17:11 +0000)]
Update.
2000-10-22 Bruno Haible <haible@clisp.cons.org>
* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
for 0x8BF8, 0xA27E..0xA2A7.
* iconvdata/BIG5HKSCS.irreversible: New file.
2000-10-23 Jakub Jelinek <jakub@redhat.com>
* timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
* timezone/zic.c (main): Likewise.
2000-10-23 Thorsten Kukuk <kukuk@suse.de>
* nscd/connections.c (invalidate_cache): Don't invalidate a cache
if it is not enabled.
Ulrich Drepper [Mon, 23 Oct 2000 16:53:00 +0000 (16:53 +0000)]
(TIMEOUT): Override default timeout.
Andreas Jaeger [Mon, 23 Oct 2000 13:19:05 +0000 (13:19 +0000)]
Update.
* sysdeps/s390/fpu/libm-test-ulps: New ulps.
Andreas Jaeger [Mon, 23 Oct 2000 06:27:03 +0000 (06:27 +0000)]
Update.
2000-10-23 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
Patch by Ralf Baechle <ralf@gnu.org>.
Andreas Jaeger [Sun, 22 Oct 2000 06:18:44 +0000 (06:18 +0000)]
Update MIPS entry.
Ulrich Drepper [Sat, 21 Oct 2000 17:08:18 +0000 (17:08 +0000)]
Update.
* elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
verification in open_verify.
(open_verify): New function. Called instead of open. Ignores valid
files for other architectures.
(open_path): Call open_verify instead of open.
(_dl_map_object): Likewise.
Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
* io/pwd.c (main): The output was missing a newline.
Ulrich Drepper [Sat, 21 Oct 2000 17:03:01 +0000 (17:03 +0000)]
(main): The output was missing a newline.
Andreas Jaeger [Sat, 21 Oct 2000 11:04:04 +0000 (11:04 +0000)]
Add MIPS information.
Ulrich Drepper [Sat, 21 Oct 2000 07:30:28 +0000 (07:30 +0000)]
Update.
* posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
expects it. Patch by Colin Watson <riva.ucam.org>.
* posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
Ulrich Drepper [Sat, 21 Oct 2000 07:16:18 +0000 (07:16 +0000)]
Update.
2000-10-21 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (add_to_global): New function. Split out from
dl_open_worker.
(dl_open_worker): Call add_to_global not only for new objects, also for
previously loaded objects when (mode & RTLD_GLOBAL) and the object
was not yet in the global scope.
* elf/Makefile: Add rules to build and run lateglobal.
* elf/lateglobal.c: New file.
* elf/ltglobmod1.c: New file.
* elf/ltglobmod2.c: New file.
Ulrich Drepper [Sat, 21 Oct 2000 06:32:16 +0000 (06:32 +0000)]
Update.
* include/link.h (struct link_map): Add l_soname_added bitfield.
* elf/dl-load.c (_dl_map_object): Remember when we added the
SONAME to the l_libname list and don't try it again.
Ulrich Drepper [Sat, 21 Oct 2000 06:02:49 +0000 (06:02 +0000)]
Update.
* elf/dl-close.c: Decrement opencount for all dependencies which can
be removed even if the object is not yet unloaded.
* elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
the list decrement opencount of all dependencies.
* elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
and all dependencies.
(_dl_map_object): Likewise.
* elf/dl-lookup.c (add_dependency): Likewise.
* elf/loadtest.c: Add debug when with more output.
Ulrich Drepper [Sat, 21 Oct 2000 02:07:22 +0000 (02:07 +0000)]
Update.
* elf/Makefile: Add rules to build and run unload2.
* elf/unload2.c: New file.
* elf/unload2mod.c: New file.
* elf/unload2dep.c: New file.
* intl/libintl.h (ngettext macro): Add missing parameter.
(dngettext macro): Likewise.
Ulrich Drepper [Sat, 21 Oct 2000 02:03:09 +0000 (02:03 +0000)]
Update.
2000-10-20 Ulrich Drepper <drepper@redhat.com>
* intl/libintl.h (ngettext): Add missing parameter.
(dngettext): Likewise.
Ulrich Drepper [Sat, 21 Oct 2000 00:02:39 +0000 (00:02 +0000)]
Update.
2000-10-19 H.J. Lu <hjl@gnu.org>
* elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
neededobj2.c and neededobj3.c.
(tests): Add neededtest.
(modules-names): Add neededobj1, neededobj2 and neededobj3.
($(objpfx)neededobj1.so): New target.
($(objpfx)neededobj2.so): Likewise.
($(objpfx)neededobj3.so): Likewise.
($(objpfx)neededtest): Likewise.
($(objpfx)neededtest.out): Likewise.
* elf/neededtest.c: New. Based on the bug report from
Allen Bauer <kylix_rd@hotmail.com>.
* elf/neededobj1.c: Likewise.
* elf/neededobj2.c: Likewise.
* elf/neededobj3.c: Likewise.
2000-10-20 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c (_dl_close): Decrement reference counter for all
dependencies even if the DSO does not get unloaded.
* elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
to elf_machine_matches_host.
* sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
is now pointer to ELF header.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/generic/dl-machine.h: Likewise.
* sysdeps/hppa/dl-machine.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
* sysdeps/powerpc/dl-machine.h: Likewise.
* sysdeps/s390/dl-machine.h: Likewise.
* sysdeps/sh/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
2000-10-20 Jakub Jelinek <jakub@redhat.com>
* include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
check instead of #ifdef __alpha__.
* include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
this is included.
* posix/wordexp-tst.sh (testout): Place output file in build
directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
Ulrich Drepper [Fri, 20 Oct 2000 07:34:48 +0000 (07:34 +0000)]
Update.
2000-10-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
2000-10-19 Ulrich Drepper <drepper@redhat.com>
* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
Correctly handle numeric group member information.
Patch by tomasw@cs.huji.ac.il.
* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
Complete test for strtol overflow.
2000-10-19 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
semun as 4th argument to semctl syscall, not address of it.
2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
2000-10-17 Andreas Schwab <schwab@suse.de>
* string/string.h: Remove declaration of __strcasecmp and __strcasestr.
* include/string.h: Declare them here.
Ulrich Drepper [Fri, 20 Oct 2000 07:31:42 +0000 (07:31 +0000)]
Pretty print.
Andreas Jaeger [Fri, 20 Oct 2000 07:03:02 +0000 (07:03 +0000)]
Update.
2000-10-18 Ralf Baechle <ralf@gnu.org>
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
Andreas Jaeger [Fri, 20 Oct 2000 07:02:12 +0000 (07:02 +0000)]
Include <asm/unistd.h>.
Ulrich Drepper [Fri, 20 Oct 2000 06:33:30 +0000 (06:33 +0000)]
(_nss_hesiod_initgroups_dyn): Correctly handle numeric group member information. Complete test for strtol overflow.
Ulrich Drepper [Fri, 20 Oct 2000 06:16:38 +0000 (06:16 +0000)]
Update.
2000-10-19 Ulrich Drepper <drepper@redhat.com>
* locales/iso14651_t1: Handle Macedonian correctly.
Patch by Damjan <arhiv@freemail.org.mk>.
Ulrich Drepper [Fri, 20 Oct 2000 05:59:51 +0000 (05:59 +0000)]
Remove declaration of __strcasecmp and __strcasestr.
Geoff Keating [Thu, 19 Oct 2000 08:15:41 +0000 (08:15 +0000)]
* sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
of the unordered comparison functions that use the GCC builtins.
2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
Geoff Keating [Thu, 19 Oct 2000 08:15:09 +0000 (08:15 +0000)]
* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
(__process_machine_rela): Print the address of an overflowing
reloc.
2000-10-17 Geoffrey Keating <geoffk@cygnus.com>
* sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
of the unordered comparison functions that use the GCC builtins.
* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
(__process_machine_rela): Print the address of an overflowing
reloc.
Ulrich Drepper [Wed, 18 Oct 2000 20:50:51 +0000 (20:50 +0000)]
Update.
2000-10-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
in comments.
(freeit): Remove unnecessary test.
Ulrich Drepper [Wed, 18 Oct 2000 20:46:52 +0000 (20:46 +0000)]
Correct default mount point in comments. (freeit): Remove unnecessary test.
Andreas Jaeger [Wed, 18 Oct 2000 11:01:58 +0000 (11:01 +0000)]
Update.
2000-10-18 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
(ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
(elf_machine_runtime_link_map): Likewise.
(elf_machine_runtime_setup): Likewise.
Handle dynamic linker's local got entries.
Patches by Ralf Baechle <ralf@gnu.org>.
2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
the frame pointer. Allocate stack space for $a0 for
__dl_runtime_resolve(). Do not save $sp in $s0 as it's
callee-saved anyway.
Andreas Jaeger [Wed, 18 Oct 2000 10:21:16 +0000 (10:21 +0000)]
2000-10-18 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
(ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
(elf_machine_runtime_link_map): Likewise.
(elf_machine_runtime_setup): Likewise.
Handle dynamic linker's local got entries.
Patches by Ralf Baechle <ralf@gnu.org>.
2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
the frame pointer. Allocate stack space for $a0 for
__dl_runtime_resolve(). Do not save $sp in $s0 as it's
callee-saved anyway.
Ulrich Drepper [Tue, 17 Oct 2000 22:04:13 +0000 (22:04 +0000)]
Update.
2000-10-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
libm-test.inc.
Ulrich Drepper [Tue, 17 Oct 2000 22:03:34 +0000 (22:03 +0000)]
Update after precision increase is sources.
Andreas Schwab [Tue, 17 Oct 2000 13:24:51 +0000 (13:24 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
libm-test.inc.
Andreas Schwab [Tue, 17 Oct 2000 13:24:28 +0000 (13:24 +0000)]
Update for changes in libm-test.inc.
Ulrich Drepper [Tue, 17 Oct 2000 07:25:53 +0000 (07:25 +0000)]
Update.
2000-10-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
Add missing backslash.
Ulrich Drepper [Mon, 16 Oct 2000 21:14:45 +0000 (21:14 +0000)]
Update.
2000-10-16 Ulrich Drepper <drepper@redhat.com>
* specific.c: Protect tsd array modification in thread data
structures by getting the thread lock in pthread_key_delete and
__pthread_destroy_specifics.
Patch by Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>.
Ulrich Drepper [Mon, 16 Oct 2000 18:36:31 +0000 (18:36 +0000)]
Update.
* sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
* timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
Ulrich Drepper [Mon, 16 Oct 2000 18:17:25 +0000 (18:17 +0000)]
Update.
* sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
2000-10-16 Jakub Jelinek <jakub@redhat.com>
* math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
precision.
(acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
to parameters.
(acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
y1_test, yn_test): Add L suffixes also to parameters.
* sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
* sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
* soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
2000-10-16 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Mon, 16 Oct 2000 16:20:36 +0000 (16:20 +0000)]
Update.
2000-10-16 Ulrich Drepper <drepper@redhat.com>
* timezone/Makefile: Define HAVE_GETTEXT fir zdump.c, zic.c,
ialloc.c, and scheck.c.
* malloc/obstack.c: Always include <libintl.h> for glibc.
* posix/getopt.c: Likewise.
Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
Ulrich Drepper [Mon, 16 Oct 2000 16:16:29 +0000 (16:16 +0000)]
Always include <libintl.h> for glibc.
Andreas Schwab [Mon, 16 Oct 2000 09:21:25 +0000 (09:21 +0000)]
Fix last change (misapplied).
Ulrich Drepper [Mon, 16 Oct 2000 00:52:48 +0000 (00:52 +0000)]
Update.
2000-10-15 Pete Wyckoff <pw@osc.edu>
* Rules: Define _LIBC during generation of bits/stdio_lim.d.
2000-10-15 Pete Wyckoff <pw@osc.edu>
* iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
* iconvdata/tst-table.sh: Likewise.
* iconvdata/gconv-modules: Add aliases for Winblowz charsets.
Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
Ulrich Drepper [Mon, 16 Oct 2000 00:33:37 +0000 (00:33 +0000)]
Update.
2000-10-15 Ulrich Drepper <drepper@redhat.com>
* elf/dl-error.c (_dl_signal_error): Allocate memory for objname
as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
Ulrich Drepper [Sun, 15 Oct 2000 22:52:12 +0000 (22:52 +0000)]
Update.
2000-10-13 Andreas Schwab <schwab@suse.de>
* elf/elf.h (R_IA64_PCREL60B): Add relocation.
Ulrich Drepper [Sun, 15 Oct 2000 18:40:27 +0000 (18:40 +0000)]
Update.
2000-10-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
* sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
Ulrich Drepper [Sun, 15 Oct 2000 06:50:42 +0000 (06:50 +0000)]
Update.
2000-10-14 Ulrich Drepper <drepper@redhat.com>
* math/libm-test.inc (frexp_test): Add L suffix also to parameters.
(hypot_test): Likewise.
* sysdeps/generic/printf_fphex.c: Compute width of decimal point
string correctly. Handle padding correctly.
* sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
correctly.
* sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
* sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2000-10-12 Alan Modra <alan@linuxcare.com.au>
* FAQ.in: Add --start-group and --end-group.
2000-10-12 Alan Modra <alan@linuxcare.com.au>
* malloc/memusage.c: Conditionalize stack usage calculation on
stack direction.
2000-10-12 Alan Modra <alan@linuxcare.com.au>
* config.h.in: Add ASM_LINE_SEP.
* configure.in: Add test for comment and line separators.
* include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
placate some hppa assemblers.
* sysdeps/hppa/sysdep.h: Likewise.
* sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
* sysdeps/unix/sysv/linux/errlist.c: Likewise.
2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
* sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
$(sysdep_headers).
* sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
non-threaded platforms.
2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
* configure.in: Add definitions for hppa.
* elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
for IPLT and EPLT relocations.
* shlib-versions: Version symbol definitions for hppa-linux.
* sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
for hppa.
2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
* sysdeps/hppa/Makefile: New file.
* sysdeps/hppa/Versions: New file.
* sysdeps/hppa/setjmp.S: New file.
* sysdeps/hppa/__longjmp.S: New file.
* sysdeps/hppa/bits/setjmp.h: New file.
* sysdeps/hppa/frame.h: New file.
* sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
* sysdeps/hppa/sub_n.s: Likewise.
* sysdeps/hppa/lshift.s: Likewise.
* sysdeps/hppa/rshift.s: Likewise.
* sysdeps/hppa/udiv_qrnnd.s: Likewise.
* sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
* sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
* sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
* sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
* sysdeps/hppa/dl-machine.h: New file.
* sysdeps/hppa/dl-fptr.c: New file (note that this is almost
identical to the IA-64 one).
* sysdeps/hppa/dl-lookupcfg.h: Likewise.
* sysdeps/hppa/dl-symaddr.c: Likewise.
* sysdeps/hppa/elf/initfini.c: New file.
* sysdeps/hppa/elf/start.S: New file.
* sysdeps/hppa/fpu/bits/fenv.h: New file.
* sysdeps/hppa/fpu/fclrexcpt.c: New file.
* sysdeps/hppa/fpu/fedisblxcpt.c: New file.
* sysdeps/hppa/fpu/feenablxcpt.c: New file.
* sysdeps/hppa/fpu/fegetenv.c: New file.
* sysdeps/hppa/fpu/fegetexcept.c: New file.
* sysdeps/hppa/fpu/fegetround.c: New file.
* sysdeps/hppa/fpu/feholdexcpt.c: New file.
* sysdeps/hppa/fpu/fesetenv.c: New file.
* sysdeps/hppa/fpu/fesetround.c: New file.
* sysdeps/hppa/fpu/feupdateenv.c: New file.
* sysdeps/hppa/fpu/fegetexcptflg.c: New file.
* sysdeps/hppa/fpu/fraiseexcpt.c: New file.
* sysdeps/hppa/fpu/fsetexcptflg.c: New file.
* sysdeps/hppa/fpu/ftestexcept.c: New file.
* sysdeps/unix/sysv/linux/hppa/Makefile: New file.
* sysdeps/unix/sysv/linux/hppa/Versions: New file.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
* sysdeps/unix/sysv/linux/hppa/brk.c: New file.
* sysdeps/unix/sysv/linux/hppa/clone.S: New file.
* sysdeps/unix/sysv/linux/hppa/socket.S: New file.
* sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
* sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
* sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
* sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
* sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
* sysdeps/unix/sysv/linux/hppa/umount.c: New file.
2000-10-12 Alan Modra <alan@linuxcare.com.au>
* sysdeps/hppa/hppa1.1/Implies: New file.
* sysdeps/hppa/memusage.h: New file.
Ulrich Drepper [Sun, 15 Oct 2000 02:17:30 +0000 (02:17 +0000)]
Update.
2000-10-28 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
_outl. Reported by Bill Nottingham.
2000-04-06 Andreas Schwab <schwab@suse.de>
* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
restore register r8 for functions that return a structure.
2000-10-12 Jakub Jelinek <jakub@redhat.com>
* math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
M_SQRT_PIl): Increase precision.
(cbrt_test): If cbrt is not implemented, don't test it.
Add L suffix to double constants in results which differ from their
L suffixed counterparts.
(exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2000-10-11 Jakub Jelinek <jakub@redhat.com>
* inet/rexec.c (rexec_af): Convert rport to host order before
passing it to snprintf.
2000-10-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
uintXX_t since this is what <sys/types.h> defines and we include
this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
* intl/localealias.c (read_alias_file): Update string pointers
in map[] if realloc() changed the values.
Patch by Jakub Jelinek <jakub@redhat.com>.
* manual/stdio.texi: Update printf extension documentation after
z became a valid modifier.
Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
* timezone/africa: Update from tzcode2000g and tzdata2000g.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.