Ulrich Drepper [Thu, 8 Jun 2000 03:31:44 +0000 (03:31 +0000)]
Update.
* elf/do-lookup.h: Add some __builtin_expect.
Ulrich Drepper [Thu, 8 Jun 2000 03:03:00 +0000 (03:03 +0000)]
Update.
* dlfcn/dlfcn.h: Pretty print dladdr declaraction.
* elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
(_dl_dynamic_weak): New variable.
* elf/dl-support.c: Likewise.
* sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
* elf/do-lookup.h: If we find a weak definition treat it like a
normal symbol unless _dl_dynamic_weak is nonzero. In the latter
case treat it like before.
Ulrich Drepper [Thu, 8 Jun 2000 02:19:27 +0000 (02:19 +0000)]
Update.
* elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
is in main program.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
Ulrich Drepper [Thu, 8 Jun 2000 01:50:04 +0000 (01:50 +0000)]
Update.
* elf/dl-addr.c (_dl_addr): Do exact testing of address range
using l_map_start and l_map_end.
Ulrich Drepper [Thu, 8 Jun 2000 01:12:15 +0000 (01:12 +0000)]
Update.
* elf/dl-version.c: Add __builtin_expect in many places.
Ulrich Drepper [Wed, 7 Jun 2000 23:43:59 +0000 (23:43 +0000)]
Update.
2000-06-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
Update.
Ulrich Drepper [Wed, 7 Jun 2000 22:50:32 +0000 (22:50 +0000)]
Update.
2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
Lock for stdio stream list becomes global, for use in LinuxThreads.
* libio/genops.c (_IO_iter_begin, _IO_iter_end,
_IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
_IO_list_resetlock): New interface for iterating global list of
streams without accessing the _IO_list_all global variable,
and for manipulating the lock which protects this list.
* libio/libioP.h: Likewise.
* libio/Version: Add entries for the new functions.
* libio/libioP.h (_IO_ITER): New typedef, just an alias for
pointer to _IO_FILE.
Ulrich Drepper [Wed, 7 Jun 2000 19:32:36 +0000 (19:32 +0000)]
Update.
* locale/programs/ld-ctype.c (set_class_defaults): Several uses of
BIT() must actually be BITw().
Ulrich Drepper [Wed, 7 Jun 2000 19:13:50 +0000 (19:13 +0000)]
Update.
* locale/programs/ld-ctype.c: Handle SP and space consistently.
Ulrich Drepper [Wed, 7 Jun 2000 17:20:28 +0000 (17:20 +0000)]
Update.
2000-06-07 Ulrich Drepper <drepper@redhat.com>
* locale/programs/charmap.c: Allow string arguments for
code_set_name and repertoiremap.
Ulrich Drepper [Wed, 7 Jun 2000 16:53:48 +0000 (16:53 +0000)]
Update.
2000-06-07 Andreas Jaeger <aj@suse.de>
* elf/Makefile: Build ldconfig only when building shared libraries.
2000-06-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
__USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.
Ulrich Drepper [Wed, 7 Jun 2000 16:36:48 +0000 (16:36 +0000)]
Update.
2000-06-07 Ulrich Drepper <drepper@redhat.com>
* locale/findlocale.c: Add __builtin_expect in many places.
* locale/loadlocale.c: Likewise.
Ulrich Drepper [Wed, 7 Jun 2000 16:35:57 +0000 (16:35 +0000)]
Add __builtin_expect in many places.
Greg McGary [Wed, 7 Jun 2000 00:30:05 +0000 (00:30 +0000)]
* sysdeps/mips/elf/start.S: Trim redundant code.
* sysdeps/mips/elf/start.S: Trim redundant code.
Ulrich Drepper [Tue, 6 Jun 2000 22:59:19 +0000 (22:59 +0000)]
Update.
* iconvdata/utf-16.c: Add __builtin_expect in many places.
* iconvdata/unicode.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
Ulrich Drepper [Tue, 6 Jun 2000 22:58:45 +0000 (22:58 +0000)]
Add __builtin_expect in many places.
Greg McGary [Tue, 6 Jun 2000 22:37:40 +0000 (22:37 +0000)]
* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Use C comments throughout. Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Use C comments throughout. Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
Ulrich Drepper [Tue, 6 Jun 2000 21:35:37 +0000 (21:35 +0000)]
Add __builtin_expect in many places.
Greg McGary [Tue, 6 Jun 2000 19:20:57 +0000 (19:20 +0000)]
* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
Get low part of &__curbrk with @l.
2000-06-06 Greg McGary <greg@mcgary.org>
* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
Get low part of &__curbrk with @l.
Ulrich Drepper [Tue, 6 Jun 2000 16:59:49 +0000 (16:59 +0000)]
Fix typo.
Ulrich Drepper [Tue, 6 Jun 2000 16:53:06 +0000 (16:53 +0000)]
Update.
2000-06-06 Ulrich Drepper <drepper@redhat.com>
* iconvdata/iso-2022-kr.c: Add __builtin_expect in many places.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
Ulrich Drepper [Tue, 6 Jun 2000 06:49:00 +0000 (06:49 +0000)]
Update.
* iconvdata/big5hkscs.c: Add __builtin_expect in many places.
* iconvdata/big5.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/8bit-gap.c: Likewise.
* iconv/loop.c: Likewise.
* iconv/gconv_db.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_simple.c: Likewise.
* iconv/skeleton.c: Likewise.
Ulrich Drepper [Tue, 6 Jun 2000 05:02:18 +0000 (05:02 +0000)]
Update.
* iconv/gconv_dl.c: Add __builtin_expect in many places.
* iconv/skeleton.c: Add more __builtin_expect.
* iconv/gconv_simple.c: Add __builtin_expect in many places.
Ulrich Drepper [Tue, 6 Jun 2000 03:16:30 +0000 (03:16 +0000)]
Update.
* iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
(struct __gconv_step_data): Rename __is_last to __flags.
* iconv/gconv_close.c: Change all uses of __is_last.
* iconv/skeleton.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
Recognize IGNORE error handling, set flag, and remove from name.
* iconv/loop.c (ignore_errors_p): Define.
Add flags parameter to both functions.
* iconv/skeleton.c: Pass flags to all conversion functions.
* iconv/gconv_simple.c: Add flags parameter to all functions.
Don't return error for invald error if ignore flag is set.
(ucs4_internal_loop_single): Add missing pointer increment.
(internal_ucs4le_loop_single): Likewise.
* iconv/iconv_prog.c: Implement handling of -c parameter.
* iconvdata/8bit-gap.c: Don't return error for invald error if
ignore flag is set.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/big5hkscs.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.
* libio/fileops.c: Likewise.
* libio/iofwide.c: Likewise.
* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.
* iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
Ulrich Drepper [Mon, 5 Jun 2000 22:45:16 +0000 (22:45 +0000)]
Update.
2000-06-05 Ulrich Drepper <drepper@redhat.com>
* iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s in all cases of
an error.
Ulrich Drepper [Sun, 4 Jun 2000 21:26:12 +0000 (21:26 +0000)]
Update.
2000-06-04 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_dl.c (do_release_shlib): Don't reset reference
counter for the object we are releasing, just decrement it.
Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
Ulrich Drepper [Sun, 4 Jun 2000 16:39:33 +0000 (16:39 +0000)]
Update.
2000-06-04 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
if -ffast-math.
Ulrich Drepper [Sun, 4 Jun 2000 16:28:02 +0000 (16:28 +0000)]
Update.
* iconvdata/Makefile (modules): Add BIG5HKSCS.
(distribute): Add big5hkscs.c.
Ulrich Drepper [Sun, 4 Jun 2000 16:25:27 +0000 (16:25 +0000)]
Update.
2000-06-04 Ulrich Drepper <drepper@redhat.com>
* iconvdata/big5hkscs.c: New file.
Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
* iconvdata/gconv-modules: Add entry for new module.
Ulrich Drepper [Sun, 4 Jun 2000 16:11:43 +0000 (16:11 +0000)]
Update.
2000-06-01 Jakub Jelinek <jakub@redhat.com>
* libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
inlines to match prototypes in mathcalls.h.
* libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
* sysdeps/powerpc/dl-start.S: Close open comment.
Ulrich Drepper [Sun, 4 Jun 2000 03:07:32 +0000 (03:07 +0000)]
Update.
* elf/elf.h (SHT_SUNW_move): Define.
Ulrich Drepper [Sat, 3 Jun 2000 22:33:49 +0000 (22:33 +0000)]
Update.
2000-06-03 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Add more Solaris compatiblity definitions.
Ulrich Drepper [Sat, 3 Jun 2000 22:31:45 +0000 (22:31 +0000)]
Add more Solaris compatiblity definitions.
Andreas Jaeger [Sat, 3 Jun 2000 08:16:58 +0000 (08:16 +0000)]
Update.
2000-06-03 Andreas Jaeger <aj@suse.de>
* sysdeps/powerpc/dl-start.S: Close open comment.
2000-06-03 Jakub Jelinek <jakub@redhat.com>
* inet/Versions: Fix typo in rresvport_af export.
Andreas Jaeger [Sat, 3 Jun 2000 08:12:26 +0000 (08:12 +0000)]
* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New.
* sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks.
2000-06-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New.
* sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks.
Andreas Jaeger [Sat, 3 Jun 2000 08:08:21 +0000 (08:08 +0000)]
* inet/Versions: Fix typo in rresvport_af export.
Ulrich Drepper [Sat, 3 Jun 2000 00:58:47 +0000 (00:58 +0000)]
Update.
2000-06-02 Ulrich Drepper <drepper@redhat.com>
* math/tgmath.h: Pretty print.
Ulrich Drepper [Sat, 3 Jun 2000 00:58:24 +0000 (00:58 +0000)]
Pretty print.
Andreas Jaeger [Fri, 2 Jun 2000 13:10:59 +0000 (13:10 +0000)]
Update.
2000-06-02 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Andreas Jaeger [Fri, 2 Jun 2000 13:10:38 +0000 (13:10 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Ulrich Drepper [Fri, 2 Jun 2000 07:30:28 +0000 (07:30 +0000)]
Update.
2000-06-02 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (process_envvars): Test for = after variable name.
Ulrich Drepper [Fri, 2 Jun 2000 01:19:56 +0000 (01:19 +0000)]
Update.
* sysdeps/generic/initfini.c (_init): One less relocation. Don't
have extra call to __gmon_start__, use the pointer we already have.
Ulrich Drepper [Fri, 2 Jun 2000 00:27:08 +0000 (00:27 +0000)]
Update.
* elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
shifting.
Ulrich Drepper [Thu, 1 Jun 2000 07:14:15 +0000 (07:14 +0000)]
Update.
2000-06-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/elf/setjmp.S: Work around change is recent
binutils. gas now emits a jump through the PLT instead of a
relative jump if the jump target is an exported symbol.
Ulrich Drepper [Wed, 31 May 2000 18:12:15 +0000 (18:12 +0000)]
Update.
2000-05-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
Ulrich Drepper [Wed, 31 May 2000 18:12:09 +0000 (18:12 +0000)]
Define AIX_CBAUD.
Andreas Jaeger [Wed, 31 May 2000 12:21:21 +0000 (12:21 +0000)]
* sysdeps/mips/pspinlock.c: Implement spinlocks.
2000-05-31 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/pspinlock.c: Implement spinlocks.
Andreas Jaeger [Wed, 31 May 2000 12:04:03 +0000 (12:04 +0000)]
Update.
2000-05-31 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
gregset_t.
* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
Andreas Jaeger [Wed, 31 May 2000 12:00:45 +0000 (12:00 +0000)]
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
Ulrich Drepper [Tue, 30 May 2000 23:45:22 +0000 (23:45 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
Ulrich Drepper [Tue, 30 May 2000 20:37:26 +0000 (20:37 +0000)]
Update.
* locale/Versions [libc] (GLIBC_2.2): Add localeconv.
* locale/localeconv.c: Make function versioned (with same definition).
Ulrich Drepper [Tue, 30 May 2000 20:09:44 +0000 (20:09 +0000)]
Update.
2000-05-30 Ulrich Drepper <drepper@redhat.com>
* elf/Makefile (modules-names): Strip before using it.
Ulrich Drepper [Tue, 30 May 2000 20:07:32 +0000 (20:07 +0000)]
(modules-names): Strip before using it.
Andreas Jaeger [Tue, 30 May 2000 12:50:54 +0000 (12:50 +0000)]
Update.
2000-05-30 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
* sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
Andreas Jaeger [Tue, 30 May 2000 06:57:03 +0000 (06:57 +0000)]
Update.
2000-05-29 Andreas Jaeger <aj@suse.de>
* elf/readlib.c (interpreters): Use LD_SO since this is supported
for all platforms.
Ulrich Drepper [Tue, 30 May 2000 05:15:47 +0000 (05:15 +0000)]
Update.
Ulrich Drepper [Tue, 30 May 2000 04:00:03 +0000 (04:00 +0000)]
Update.
* Makefile: Add GNU make magic.
Ulrich Drepper [Mon, 29 May 2000 18:04:55 +0000 (18:04 +0000)]
Update.
2000-05-29 Ulrich Drepper <drepper@redhat.com>
* inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
Removed.
* inet/rcmd.c: Remove __P. Remove unused variables.
(iruserfopen): Make first parameter const.
(ruserok_sa): Return result of ruserok2_sa.
(__checkhost_sa): Correctly iterate through results of getaddrinfo.
* inet/rexec.c: Remove unused variables. Other small cleanups.
* inet/ruserpass.c: Remove __P. Remove unused variables.
(ruserpass): Check results of memory allocation.
* include/netdb.h: Add prototype for ruserpass.
Ulrich Drepper [Mon, 29 May 2000 17:59:46 +0000 (17:59 +0000)]
(CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): Removed.
Andreas Jaeger [Mon, 29 May 2000 17:19:36 +0000 (17:19 +0000)]
* elf/readlib.c (interpreters): Use LD_SO since this is supported
for all platforms.
Ulrich Drepper [Mon, 29 May 2000 17:17:31 +0000 (17:17 +0000)]
Update.
2000-05-29 Jakub Jelinek <jakub@redhat.com>
* inet/rcmd.c (rresvport_af): Use correct port number.
2000-05-26 Andreas Schwab <schwab@suse.de>
* Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
entries in all-sonames.
($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
preserving the old name if different for compatibility.
Ulrich Drepper [Mon, 29 May 2000 07:31:53 +0000 (07:31 +0000)]
Update.
2000-05-29 Ulrich Drepper <drepper@redhat.com>
* posix/Makefile (tests): Add tst-spawn.
(tst-spawn-ARGS): New variable.
* posix/tst-spawn.c: New file.
* posix/spawn_faction_addclose.c: Correctly account for new entry.
* posix/spawn_faction_adddup2.c: Likewise.
* posix/spawn_faction_addopen.c: Likewise.
* posix/spawni.c: Correctly test for success of dup2 calls.
* posix/tst-preadwrite.c: Check success of malloc call.
Ulrich Drepper [Mon, 29 May 2000 04:40:43 +0000 (04:40 +0000)]
Update.
* posix/Makefile (tests): Add tst-exec.
(tst-exec-ARGS): New variable.
* posix/tst-exec.c: New file.
* posix/tst-fork.c: New file.
Ulrich Drepper [Mon, 29 May 2000 01:00:03 +0000 (01:00 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/arm/atomicity.h (compare_and_swap): Return result.
Ulrich Drepper [Sun, 28 May 2000 22:53:25 +0000 (22:53 +0000)]
Update.
2000-05-04 Andreas Jaeger <aj@suse.de>
* string/string.h: Remove __strdup prototype, it's not needed in
this file anymore.
Ulrich Drepper [Sun, 28 May 2000 22:14:55 +0000 (22:14 +0000)]
Update.
* posix/Makefile (tests): Add tst-fork.
Ulrich Drepper [Sun, 28 May 2000 19:32:08 +0000 (19:32 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* resolv/inet_pton.c: Loose __P.
Ulrich Drepper [Sun, 28 May 2000 18:36:00 +0000 (18:36 +0000)]
Update.
Ulrich Drepper [Sun, 28 May 2000 18:32:20 +0000 (18:32 +0000)]
Update.
2000-05-21 Jakub Jelinek <jakub@redhat.com>
* libio/libioP.h (_IO_CHECK_WIDE): Define.
* libio/iosetbuffer.c (_IO_setbuffer): Use it.
Call _IO_WSETBUF even for _mode 1.
* libio/iosetvbuf.c (_IO_setvbuf): Likewise.
* libio/fileops.c (_IO_new_file_fopen): Return NULL if
_IO_CHECK_WIDE fails.
Ulrich Drepper [Sun, 28 May 2000 16:44:57 +0000 (16:44 +0000)]
Update.
* po/da.po: New file.
Ulrich Drepper [Sun, 28 May 2000 16:42:45 +0000 (16:42 +0000)]
Update.
* manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
(Other iconv Implementations): Fix typo.
Patch by Martin Pool <mbp@wistful.humbug.org.au>.
Ulrich Drepper [Sun, 28 May 2000 16:31:09 +0000 (16:31 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* manual/arith.texi (Rounding Functions): Fix documentation of trunc.
Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
Ulrich Drepper [Sun, 28 May 2000 07:07:05 +0000 (07:07 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* locales/be_BY: New file.
Contributed by Aleksey Novodvorsky <aen@logic.ru>.
Ulrich Drepper [Sun, 28 May 2000 07:06:29 +0000 (07:06 +0000)]
Belarusian Language Locale for Belarus.
Andreas Jaeger [Sat, 27 May 2000 16:51:52 +0000 (16:51 +0000)]
Update.
2000-05-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
normal version now.
* sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
endianness to decide how to pass arguments.
* sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
* elf/vismain.c: Use test-skeleton interface.
(TEST_FUNCTION): New macro.
(do_test): Renamed from main.
Andreas Jaeger [Sat, 27 May 2000 16:48:06 +0000 (16:48 +0000)]
* sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the normal version now. * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
Ulrich Drepper [Sat, 27 May 2000 08:17:05 +0000 (08:17 +0000)]
Update.
2000-05-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
* nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
handling of AI_V4MAPPED flag.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
perform lookup for T_A type and tell getanswer_r to convert the
result with new argument.
(_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
Don't convert addresses from IPv4 to IPv6 here.
(getanswer_r): Take new parameter indicating if mapping from IPv4 to
IPv6 is wanted. Allow qtype and type from reply to disagree if
IPv4 mapping has to be done. Perform mappings if required by the
caller and not if RES_USE_INET6 bit in _res.options is set.
Add several __builtin_expect.
Ulrich Drepper [Sat, 27 May 2000 08:09:40 +0000 (08:09 +0000)]
(gaih_inet): If req->ai_family == AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
Andreas Jaeger [Sat, 27 May 2000 06:56:36 +0000 (06:56 +0000)]
Update.
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
of arguments dependend on endianness.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
Ulrich Drepper [Sat, 27 May 2000 06:18:49 +0000 (06:18 +0000)]
Update.
* catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
Ulrich Drepper [Sat, 27 May 2000 05:32:14 +0000 (05:32 +0000)]
Update.
* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs of loader ==
NULL.
Ulrich Drepper [Fri, 26 May 2000 20:49:00 +0000 (20:49 +0000)]
Update.
* posix/tst-preadwrite.c: Allow parallel execution of
tst-preadwrite and tst-preadwrite64.
Ulrich Drepper [Fri, 26 May 2000 20:31:12 +0000 (20:31 +0000)]
Update.
* posix/Makefile (tests): Add tst-truncate and tst-truncate64.
* posix/tst-truncate.c: New file.
* posix/tst-truncate64.c: New file.
Ulrich Drepper [Fri, 26 May 2000 20:30:20 +0000 (20:30 +0000)]
Test for truncate and ftruncate.
Andreas Jaeger [Fri, 26 May 2000 20:11:43 +0000 (20:11 +0000)]
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
of arguments dependend on endianness.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
Ulrich Drepper [Fri, 26 May 2000 19:55:51 +0000 (19:55 +0000)]
Update.
* sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
was switched.
Ulrich Drepper [Fri, 26 May 2000 19:51:15 +0000 (19:51 +0000)]
Update.
* posix/Makefile (tests): Add tst-preadwrite64.
Ulrich Drepper [Fri, 26 May 2000 19:49:46 +0000 (19:49 +0000)]
Update.
2000-05-26 Ulrich Drepper <drepper@redhat.com>
* posix/tst-preadwrite.c: Alloc file being used also for testing
pread64 and pwrite64.
* posix/tst-preadwrite64.c: New file.
Ulrich Drepper [Fri, 26 May 2000 19:48:39 +0000 (19:48 +0000)]
Test for pread64 and pwrite64.
Andreas Jaeger [Fri, 26 May 2000 15:46:14 +0000 (15:46 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
normal version now.
* sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
endianness to check how to pass argument.
* sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
Andreas Jaeger [Fri, 26 May 2000 10:23:45 +0000 (10:23 +0000)]
Update.
2000-05-26 Andreas Jaeger <aj@suse.de>
* elf/ldconfig.h: Update parameter list for process_elf_file.
* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
Add parameter file_length and pass it ot process_elf*file.
* sysdeps/generic/readelflib.c (check_ptr): New.
(process_elf_file): Use check_ptr to check all accesses to the
mmapped file. Add parameter file_length.
* elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
library names.
* sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
Closes PR libc/1573, reported by Bradley White
<bww@laurelnetworks.com>.
Andreas Jaeger [Fri, 26 May 2000 09:16:40 +0000 (09:16 +0000)]
Update.
Ulrich Drepper [Thu, 25 May 2000 19:10:22 +0000 (19:10 +0000)]
Update.
2000-05-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
__FAST_MATH__ is defined.
Ulrich Drepper [Thu, 25 May 2000 06:27:20 +0000 (06:27 +0000)]
Update.
2000-05-22 Andreas Jaeger <aj@suse.de>
* math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
* manual/math.texi (FP Function Optimizations): Document gcc
-ffast-math behaviour with mathinlines.
* sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
functions unless -ffast-math is given to gcc.
Ulrich Drepper [Thu, 25 May 2000 06:15:25 +0000 (06:15 +0000)]
Update.
2000-05-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
__sincosl): Guard with __USE_GNU.
Ulrich Drepper [Thu, 25 May 2000 05:02:35 +0000 (05:02 +0000)]
Update.
* csu/Makefile (routines): Add check_fds.
* elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
binaries. Add various __builtin_expect.
* sysdeps/generic/libc-start.c: Move check_fds and helper functions...
* sysdeps/generic/check_fds.c: ...here. New file.
* malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
binaries if file /etc/suid-debug is available.
Ulrich Drepper [Wed, 24 May 2000 20:22:51 +0000 (20:22 +0000)]
Update.
2000-05-24 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-collate.c (struct element_t): Add mbseqorder
and wcseqorder members.
(struct locale_collate_t): Likewise.
(collate_finish): Assign collation sequence value to each character.
Create tables for output.
(collate_output): Write out tables with collation sequence information.
* locale/C-collate.c: Provide C locale data for collation sequence
table.
* locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
_NL_COLLATE_COLLSEQWC.
* locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
_NL_COLLATE_COLLSEQWC.
* posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
include fnmatch_loop.c.
* posix/fnmatch_loop.c: Don't use strcoll while determining whether
character is matched by range expression. Use collation sequence
table. Outside glibc fall back on simple character value comparison.
Ulrich Drepper [Wed, 24 May 2000 20:04:34 +0000 (20:04 +0000)]
(struct element_t): Add mbseqorder and wcseqorder members. (struct locale_collate_t): Likewise. (collate_finish): Assign collation sequence value to each character. Create tables for output. (collate_output): Write out tables with collation sequence information
Andreas Jaeger [Wed, 24 May 2000 16:16:53 +0000 (16:16 +0000)]
Update.
* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
words.
Andreas Jaeger [Wed, 24 May 2000 15:33:21 +0000 (15:33 +0000)]
Update.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
Define it for newer kernels.