platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 08:24:06 +0000 (08:24 +0000)]
Update.

2000-10-31  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935,
IBM937, IBM939, and IBM1046.
(distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c,
ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h,
ibm939.h, and ibm1046.h.
* iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933,
IBM935, IBM937, IBM939, and IBM1046.
Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 06:06:35 +0000 (06:06 +0000)]
Update.

* locale/localeinfo.h (enum value_type): Add wstring, wstringarray,
and wstringlist.
* locale/categories.def: Mark wide char strings as wstring or
stringarray.
* locale/programs/locale.c (show_info): Handle wstring, wstringarray,
and wstringlist.  Print keywords only if there is real output.
Reported by Chen Xiangyang <chenxy@opencjk.org>.

* sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary.
Patch by Ben Collins <bcollins@debian.org>.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 05:20:53 +0000 (05:20 +0000)]
Update.

* stdio-common/Makefile (tests): Add tst-fmemopen.
* stdio-common/tst-fmemopen.c: New file.
Test case by Ben Collins <bcollins@debian.org>.

* libio/iofopncook.c (_IO_cookie_seek): Correct test for error.

* libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
(fmemopen_write): Set errno at end of buffer.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 04:38:55 +0000 (04:38 +0000)]
Update.

* posix/runtests.c (main): Don't use exit() to avoid warning with
broken compilers.

* string/bug-strncat1.c: Undefine __USE_STRING_INLINES before
defining it again to avoid warning.
* string/bug-strpbrk1.c: Likewise.
* string/bug-strspn1.c: Likewise.

2000-10-29  Bruno Haible  <haible@clisp.cons.org>

* locale/C-translit.h.in: Include more rules from translit_neutral.
Remove a few German and Danish specific rules.
* locale/gen-translit.pl: Avoid an error when printing a string
containing a '%' character.
* locale/C-translit.h: Regenerated.
* intl/translit.po: Choose different translations.
* intl/tst-translit.c: Update.

2000-10-29  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/ld-ctype.c (translit_include_t): New type.
(locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire
fields, add translit_include field.
(ctype_read): After seeing "translit_start" in ignore_content mode,
skip the entire translit section, not only one line. Remove dead test
for tok_translit_end. Enqueue include statements into a list.
Signal error if tok_eof seen before tok_translit_end.
(translit_flatten): New function.
(allocate_arrays): Call translit_flatten.

2000-10-30  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 03:10:13 +0000 (03:10 +0000)]
Update.

* locale/findlocale.c (free_mem): We can remove NODELETE marked
data, just not the C locale data.

* intl/tst-gettext.c: Use setlocale() in addition to setting envvar.
* intl/tst-gettext.sh: Copy locale data if necessary.
* intl/Makefile (generated-dirs): Add localedir.

* intl/dcigettext.c (guess_category_value): For libc always use
the setlocale() method.

* intl/Makefile: Add rules to build, run and, distribute  tst-gettext2.
* intl/tst-gettext2.c: New file.
* intl/tst-gettext2.sh: New file.
* intl/tstlang1.po: New file.
* intl/tstlang2.po: New file.
Patch by Andreas Jaeger <aj@suse.de>.

2000-10-26  GOTO Masanori  <gotom@debian.or.jp>

* intl/locale.alias: Add ja_JP.ujis alias.

2000-10-30  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 08:53:51 +0000 (08:53 +0000)]
Update.

2000-10-30  Ulrich Drepper  <drepper@redhat.com>

* locale/findlocale.c (_nl_find_locale): Don't store normalized
name in *NAME.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 07:39:54 +0000 (07:39 +0000)]
Update.

* attr.c (__pthread_attr_setguardsize): Don't round guardsize
here.  Reported by Bruce <bruce@puremagic.com>.

24 years ago(__pthread_attr_setguardsize): Don't round guardsize here.
Ulrich Drepper [Mon, 30 Oct 2000 07:39:06 +0000 (07:39 +0000)]
(__pthread_attr_setguardsize): Don't round guardsize here.

24 years agoUpdate.
Andreas Jaeger [Mon, 30 Oct 2000 06:48:05 +0000 (06:48 +0000)]
Update.

2000-10-29  Ben Collins  <bcollins@debian.org>

* sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to
F_RDLCK explicitly.
* sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.

24 years agoIn the case of F_TEST, set l_type to F_RDLCK explicitly.
Andreas Jaeger [Mon, 30 Oct 2000 06:47:34 +0000 (06:47 +0000)]
In the case of F_TEST, set l_type to F_RDLCK explicitly.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 05:19:41 +0000 (05:19 +0000)]
Update.

2000-10-29  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/big5.c: Update.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.

* iconvdata/Makefile (distribute): Add BIG5.irreversible.
* iconvdata/BIG5.irreversible: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 04:18:33 +0000 (04:18 +0000)]
Update.

2000-10-29  Greg Louis  <glouis@dynamicro.on.ca>

* posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
doesn't define __restrict_arr.

* manual/search.texi: Correct description if VISIT values.
Patch by Ben Collins <bcollins@debian.org>.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 04:08:58 +0000 (04:08 +0000)]
Update.

* string/bits/string2.h (strspn): Evaluate first argument if
second is "".
(strpbrk): Likewise.
* sysdeps/i386/i486/bits/string.h: Likewise.
* string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1.
* string/bug-strspn1.c: New file.
* string/bug-strpbrk1.c: New file.
Test cases by Joseph S. Myers <jsm28@cam.ac.uk>.

* string/bits/string2.h (strncat): Terminate string correctly.
* sysdeps/i386/i486/bits/string.h (strncat): Likewise.
* string/Makefile (tests): Add bug-strncat1.
* string/bug-strncat1.c: New file.
Test case by Joseph S. Myers <jsm28@cam.ac.uk>.

2000-10-27  Ben Collins  <bcollins@debian.org>

* sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before
calling for F_GETLK.

2000-10-29  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 03:21:39 +0000 (03:21 +0000)]
Update.

* elf/dl-load.c (open_path): Don't exit loop early if we didn't
use a directory at all.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 00:13:29 +0000 (00:13 +0000)]
Update.

* elf/Makefile: Add rules to build and run tst-pathopt.
* elf/tst-pathopt.c: New file.
* elf/tst-pathopt.sh: New file.
* elf/pathoptobj.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sun, 29 Oct 2000 17:30:30 +0000 (17:30 +0000)]
Update.

2000-10-29  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h (SHN_XINDEX): Define.

24 years agoUpdate.
Ulrich Drepper [Sun, 29 Oct 2000 02:17:56 +0000 (02:17 +0000)]
Update.

* io/Makefile (tests): Add test-stat2.
(test-stat2-ARS): New variable.
* io/test-stat2.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 20:20:17 +0000 (20:20 +0000)]
Update.

* Makeconfig (ETAGS): Remove -T flag.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 09:16:32 +0000 (09:16 +0000)]
Update.

2000-10-28  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC
objects.  Reject all other types.
(_dl_map_object_from_fd): Optimize a bit.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 06:52:11 +0000 (06:52 +0000)]
Update.

* nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since
the former is not exported.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 05:51:07 +0000 (05:51 +0000)]
Update.

* stdio-common/Makefile (tests): Add tst-fseek.
* stdio-common/tst-fseek.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 00:45:40 +0000 (00:45 +0000)]
Update.

* posix/regex.c (gettext): Use correct translation domain for glibc.

* argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc.
* argp/argp-help.c: Likewise.
* inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf.
* inet/rexec.c (rexec_af): Use __snprintf instead of snprintf.
* misc/regexp.c (__step): Use __regexec instead of regexec.
(__advance): Likewise.
* nss/digits_dots.c: Use __inet_aton instead of inet_aton.
* misc/daemon.c (daemon): Use __fork instead of fork.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 23:37:52 +0000 (23:37 +0000)]
Update.

* stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make
it look better and bring it closer to SysV behavior.
* stdlib/Makefile (distribute): Add tst-fmtmsg.sh.
(test-srcs): Add tst-fmtmsg.
(tests): Add $(objpfx)tst-fmtmsg.out.  Add rule to generate it.
* stdlib/tst-fmtmsg.sh: New file.
* stdlib/tst-fmtmsg.c: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 21:07:08 +0000 (21:07 +0000)]
Update.

2000-10-27  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (modules): Add VISCII.
(gen-8bit-modules): Add viscii.
* iconvdata/viscii.c: New file.
* iconvdata/gconv-modules: Add entries for VISCII.
* iconvdata/tst-tables.sh: Add VISCII.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 19:35:07 +0000 (19:35 +0000)]
Update.

2000-10-27  Bruno Haible  <haible@clisp.cons.org>

* locales/sr_YU@cyrillic: New file. Based on a locale file by
Anton Zinoviev <anton@lml.bas.bg>.
* SUPPORTED: Add sr_YU@cyrillic.

2000-10-27  Bruno Haible  <haible@clisp.cons.org>

* locales/ar_SA: Use Unicode aware LC_CTYPE information from "i18n".
* locales/be_BY: Likewise.
* locales/bg_BG: Likewise.
* locales/el_GR: Likewise.
* locales/ja_JP: Likewise.
* locales/ko_KR: Likewise.
* locales/mk_MK: Likewise.
* locales/ru_RU: Likewise.
* locales/ru_UA: Likewise.
* locales/th_TH: Likewise.
* locales/tr_TR: Likewise.
* locales/uk_UA: Likewise.
* locales/zh_CN: Likewise.
* tests-mbwc/dat_iswalnum.c: Update for changed character properties
in the ja_JP.EUC-JP locale.
* tests-mbwc/dat_iswalpha.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswgraph.c: Likewise.
* tests-mbwc/dat_iswprint.c: Likewise.
* tests-mbwc/dat_iswpunct.c: Likewise.

24 years agoUse Unicode aware LC_CTYPE information from "i18n".
Ulrich Drepper [Fri, 27 Oct 2000 19:31:45 +0000 (19:31 +0000)]
Use Unicode aware LC_CTYPE information from "i18n".

24 years ago* sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.
Andreas Schwab [Fri, 27 Oct 2000 16:23:12 +0000 (16:23 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.

24 years agoAdd some more ulps.
Andreas Schwab [Fri, 27 Oct 2000 16:22:44 +0000 (16:22 +0000)]
Add some more ulps.

24 years agoUpdate. cvs/glibc-2_1_96 glibc-2.1.96
Ulrich Drepper [Fri, 27 Oct 2000 06:51:12 +0000 (06:51 +0000)]
Update.

* inet/getipnodebyad.c: Removed.
* inet/getipnodebynm.c: Removed.
* inet/tst-ipnode.c: Removed.
* inet/freehostent.c: Removed.

* sysdeps/unix/bsd/osf/=dirstream.h: Removed.

* sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.

* elf/Makefile (distribute): Add neededobj4.c.

* iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.

* sysdeps/hppa/Dist: New file.
* sysdeps/unix/sysv/linux/hppa/Dist: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 06:01:32 +0000 (06:01 +0000)]
Update.

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

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 02:55:22 +0000 (02:55 +0000)]
Update.

* posix/tst-chmod.c (do_test): Account for people running the
tests as root.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 00:02:26 +0000 (00:02 +0000)]
Update.

* locale/langinfo.h (THOUSEP): Define this and don't duplicate
definition of THOUSANDS_SEP.

24 years agoUpdate.
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>

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years ago(CACHEMAGIC_VERSION_NEW): Correct cut and paste error.
Ulrich Drepper [Wed, 25 Oct 2000 17:52:54 +0000 (17:52 +0000)]
(CACHEMAGIC_VERSION_NEW): Correct cut and paste error.

24 years agoRegenerated.
Andreas Jaeger [Wed, 25 Oct 2000 17:31:00 +0000 (17:31 +0000)]
Regenerated.

24 years agoMention that gcc -traditional is not supported.
Andreas Jaeger [Wed, 25 Oct 2000 17:30:55 +0000 (17:30 +0000)]
Mention that gcc -traditional is not supported.

24 years agoUpdate.
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.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 16:58:14 +0000 (16:58 +0000)]
Update.

* sysdeps/arm/libm-test-ulps: Updated.

24 years agoUpdate.
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.

24 years ago(CACHEMAGIC_VERSION_NEW): New value.
Ulrich Drepper [Wed, 25 Oct 2000 16:05:16 +0000 (16:05 +0000)]
(CACHEMAGIC_VERSION_NEW): New value.

24 years agoUpdate.
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.

24 years ago(_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.

24 years agoUpdate.
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>.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoAdd even more IA-64 relocations.
Ulrich Drepper [Wed, 25 Oct 2000 00:16:25 +0000 (00:16 +0000)]
Add even more IA-64 relocations.

24 years ago* io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
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.

24 years ago* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
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>.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoObject for unload testing.
Ulrich Drepper [Tue, 24 Oct 2000 16:59:10 +0000 (16:59 +0000)]
Object for unload testing.

24 years agoRegenerated.
Andreas Jaeger [Tue, 24 Oct 2000 15:42:04 +0000 (15:42 +0000)]
Regenerated.

24 years agoMention glibc 2.2 caveats.
Andreas Jaeger [Tue, 24 Oct 2000 15:36:52 +0000 (15:36 +0000)]
Mention glibc 2.2 caveats.

24 years ago(main): Correct tests for failing dlopen.
Ulrich Drepper [Tue, 24 Oct 2000 15:25:53 +0000 (15:25 +0000)]
(main): Correct tests  for failing dlopen.

24 years agoUpdate.
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.

24 years ago(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.

24 years ago(main): Run tests for different alignments.
Ulrich Drepper [Tue, 24 Oct 2000 08:30:36 +0000 (08:30 +0000)]
(main): Run tests for different alignments.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 08:25:05 +0000 (08:25 +0000)]
Update.

* malloc/Makefile (tests): Add tst-obstack.

24 years agoUpdate.
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>.

24 years agoUpdate.
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.

24 years ago(struct link_map): Add l_idx field.
Ulrich Drepper [Tue, 24 Oct 2000 07:24:28 +0000 (07:24 +0000)]
(struct link_map): Add l_idx field.

24 years agoUpdate.
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.

24 years agoPartly 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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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'.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>

24 years ago(RLIMIT_LOCKS): Added. (RLIMIT_NLIMITS): Sync with kernel definition. (PRIO_PROCESS...
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.

24 years ago* sysdeps/m68k/fpu/libm-test-ulps: Updated.
Andreas Schwab [Mon, 23 Oct 2000 19:15:24 +0000 (19:15 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Updated.

24 years agoUpdated.
Andreas Schwab [Mon, 23 Oct 2000 19:14:22 +0000 (19:14 +0000)]
Updated.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years ago(TIMEOUT): Override default timeout.
Ulrich Drepper [Mon, 23 Oct 2000 16:53:00 +0000 (16:53 +0000)]
(TIMEOUT): Override default timeout.

24 years agoUpdate.
Andreas Jaeger [Mon, 23 Oct 2000 13:19:05 +0000 (13:19 +0000)]
Update.

* sysdeps/s390/fpu/libm-test-ulps: New ulps.

24 years agoUpdate.
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>.

24 years agoUpdate MIPS entry.
Andreas Jaeger [Sun, 22 Oct 2000 06:18:44 +0000 (06:18 +0000)]
Update MIPS entry.

24 years agoUpdate.
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.

24 years ago(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.

24 years agoAdd MIPS information.
Andreas Jaeger [Sat, 21 Oct 2000 11:04:04 +0000 (11:04 +0000)]
Add MIPS information.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.