Ulrich Drepper [Sat, 1 Jul 2000 00:04:28 +0000 (00:04 +0000)]
Update.
* iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
whether this information is available.
* intl/dcigettext.c (_nl_find_msg): Correct reallocation of
buffers in case the translation is too large. Remember allocated
memory blocks in a list.
(free_mem): Free memory for translations.
* intl/tst-gettext.c: Use correct locale. Improve error messages.
* locale/programs/ld-ctype.c (ctype_output): If no default_missing
information is available set the string length to zero.
Ulrich Drepper [Sat, 1 Jul 2000 00:00:13 +0000 (00:00 +0000)]
Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN whether this information is available.
Greg McGary [Fri, 30 Jun 2000 21:35:52 +0000 (21:35 +0000)]
* sysdeps/powerpc/bp-asm.h: New file.
* sysdeps/powerpc/__longjmp.S: Check bounds.
Wrap extern symbols in BP_SYM ().
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/bsd-setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/powerpc/add_n.S: Likewise.
* sysdeps/powerpc/addmul_1.S: Likewise.
* sysdeps/powerpc/lshift.S: Likewise.
* sysdeps/powerpc/rshift.S: Likewise.
* sysdeps/powerpc/mul_1.S: Likewise.
* sysdeps/powerpc/sub_n.S: Likewise.
* sysdeps/powerpc/submul_1.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Likewise.
* sysdeps/powerpc/stpcpy.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/elf/bzero.S: Likewise.
* sysdeps/powerpc/bp-asm.h: New file.
* sysdeps/powerpc/__longjmp.S: Check bounds.
Wrap extern symbols in BP_SYM ().
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/bsd-setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/powerpc/add_n.S: Likewise.
* sysdeps/powerpc/addmul_1.S: Likewise.
* sysdeps/powerpc/lshift.S: Likewise.
* sysdeps/powerpc/rshift.S: Likewise.
* sysdeps/powerpc/mul_1.S: Likewise.
* sysdeps/powerpc/sub_n.S: Likewise.
* sysdeps/powerpc/submul_1.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Likewise.
* sysdeps/powerpc/stpcpy.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/elf/bzero.S: Likewise.
Ulrich Drepper [Fri, 30 Jun 2000 19:46:39 +0000 (19:46 +0000)]
Update.
2000-06-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
Ulrich Drepper [Fri, 30 Jun 2000 18:32:47 +0000 (18:32 +0000)]
Replace with version which does not use floating point registers.
Greg McGary [Fri, 30 Jun 2000 18:26:00 +0000 (18:26 +0000)]
* sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
Line up operands column with tabs.
2000-06-30 Greg McGary <greg@mcgary.org>
* sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
Line up operands column with tabs.
Ulrich Drepper [Fri, 30 Jun 2000 18:11:39 +0000 (18:11 +0000)]
Update.
* elf/Makefile (LDFLAGS-origtest): Actually add it.
Ulrich Drepper [Fri, 30 Jun 2000 17:47:38 +0000 (17:47 +0000)]
Update.
2000-06-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ia64/htonl.S: New file.
* sysdeps/ia64/htons.S: New file.
* sysdeps/ia64/memcpy.S: Replace with version which does not use
floating point registers.
Patches by Dan Pop <Dan.Pop@cern.ch>.
Ulrich Drepper [Fri, 30 Jun 2000 17:23:04 +0000 (17:23 +0000)]
(install-locales): Remove the -u switch from localedef command line.
Andreas Jaeger [Fri, 30 Jun 2000 13:57:22 +0000 (13:57 +0000)]
Update.
* posix/Makefile (tests): tst-exec and tst-spawn only work with
shared libraries.
Andreas Jaeger [Fri, 30 Jun 2000 09:55:49 +0000 (09:55 +0000)]
Update.
2000-06-30 Andreas Jaeger <aj@suse.de>
* io/Makefile (CFLAGS-test-lfs.c): New.
(tests): Add test-lfs.
* io/test-lfs.c: New file.
Andreas Jaeger [Fri, 30 Jun 2000 09:55:04 +0000 (09:55 +0000)]
Simple tests for LFS.
Ulrich Drepper [Fri, 30 Jun 2000 08:54:33 +0000 (08:54 +0000)]
Update.
2000-06-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
instruction.
Ulrich Drepper [Fri, 30 Jun 2000 08:51:50 +0000 (08:51 +0000)]
(strcmp): Use 8bit register in 8bit instruction.
Andreas Jaeger [Fri, 30 Jun 2000 06:39:47 +0000 (06:39 +0000)]
Update.
2000-06-29 Andreas Jaeger <aj@suse.de>
* sunrpc/rpc_svcout.c (write_msg_out): Always use format string
with syslog.
(print_err_message): Likewise.
Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
Andreas Jaeger [Fri, 30 Jun 2000 06:38:07 +0000 (06:38 +0000)]
* sunrpc/rpc_svcout.c (write_msg_out): Always use format string
with syslog.
(print_err_message): Likewise.
Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
Ulrich Drepper [Fri, 30 Jun 2000 05:57:47 +0000 (05:57 +0000)]
Update.
* locale/loadlocale.c (_nl_load_locale): Make sure all locale data
used as words is properly aligned.
Ulrich Drepper [Fri, 30 Jun 2000 04:07:37 +0000 (04:07 +0000)]
Update.
* tst-fmon.sh: Don't generate de_DE and en_US locale data.
* tst-rpmatch.sh: Use de_DE.ISO-8859-1 not de_DE.
* tst-ctype.sh: Use de_DE.ISO-8859-1 and en_US.ANSI_X3.4-1968.
* locales/POSIX: Update for new format.
Ulrich Drepper [Fri, 30 Jun 2000 04:04:41 +0000 (04:04 +0000)]
Don't generate de_DE and en_US locale data.
Greg McGary [Fri, 30 Jun 2000 01:11:14 +0000 (01:11 +0000)]
* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
* sysdeps/unix/make-syscalls.sh: Handle signatures of
length 7..9, just in case...
* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
* sysdeps/unix/make-syscalls.sh: Handle signatures of
length 7..9, just in case...
* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
Ulrich Drepper [Fri, 30 Jun 2000 00:11:52 +0000 (00:11 +0000)]
Update.
2000-06-29 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
data files.
Ulrich Drepper [Thu, 29 Jun 2000 23:35:35 +0000 (23:35 +0000)]
Update.
2000-06-29 Ulrich Drepper <drepper@redhat.com>
* tst-fmon.data: Until we know what is correct, but the spaces
after DEM back in.
* tests-mbwc/dat_mbstowcs.c: Fix various bugs. Comment out
unresolved issues.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/tst_mbtowc.c: Likewise.
($(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite)))):
Ulrich Drepper [Thu, 29 Jun 2000 23:33:34 +0000 (23:33 +0000)]
Until we know what is correct, but the spaces after DEM back in.
Greg McGary [Thu, 29 Jun 2000 22:55:31 +0000 (22:55 +0000)]
* sysdeps/i386/bp-asm.h (PCOFF): New constant.
(POP_ERRNO_LOCATION_RETURN): Fold insns.
* sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
(PUSH_SIGNAL_MASK): New macro.
* sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
LEAVE is unnecessary. Check bounds of jmp_buf.
* sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
immediately before tail-call.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-setjmp.S: Likewise.
2000-06-29 Greg McGary <greg@mcgary.org>
* sysdeps/i386/bp-asm.h (PCOFF): New constant.
(POP_ERRNO_LOCATION_RETURN): Fold insns.
* sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
(PUSH_SIGNAL_MASK): New macro.
* sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
LEAVE is unnecessary. Check bounds of jmp_buf.
* sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
immediately before tail-call.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-setjmp.S: Likewise.
Ulrich Drepper [Thu, 29 Jun 2000 20:58:24 +0000 (20:58 +0000)]
Update.
2000-06-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
versioned_symbol.
* sysdeps/sparc/fpu/fesetenv.c: Likewise.
* sysdeps/sparc/fpu/feupdateenv.c: Likewise.
* sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
* sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
* sysdeps/sparc/fpu/fegetenv.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
* shlib-versions: Make sparc64 GLIBC_2.2+ only.
Ulrich Drepper [Thu, 29 Jun 2000 20:58:06 +0000 (20:58 +0000)]
Make sparc64 GLIBC_2.2+ only.
2000-06-29 Jakub Jelinek <jakub@redhat.com>
* shlib-versions: Make sparc64 GLIBC_2.2+ only.
Ulrich Drepper [Thu, 29 Jun 2000 19:35:32 +0000 (19:35 +0000)]
Update.
* stdio-common/tst-printf.c: Add test for above problem.
Ulrich Drepper [Thu, 29 Jun 2000 19:33:05 +0000 (19:33 +0000)]
Update.
2000-06-29 Ulrich Drepper <drepper@redhat.com>
* stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
we later need to calling free().
Patch by Matt Wilson <msw@redhat.com>.
2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2000-06-28 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
prototype for abs().
* sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
Ulrich Drepper [Thu, 29 Jun 2000 19:07:29 +0000 (19:07 +0000)]
Convert to new format.
Andreas Jaeger [Thu, 29 Jun 2000 17:13:34 +0000 (17:13 +0000)]
Don't use regparm with bounded pointers.
2000-06-23 Andreas Jaeger <aj@suse.de>
* config.h.in: Don't use regparm with bounded pointers.
Andreas Jaeger [Thu, 29 Jun 2000 10:36:12 +0000 (10:36 +0000)]
Update.
(tst_mbrtowc-ENV): New.
(tst_mbsrtowcs-ENV): New.
(tst_mbstowcs-ENV): New.
(tst_strfmon-ENV): New.
(tst_wcrtomb-ENV): New.
(tst_wcsrtombs-ENV): New.
(tst_wcstod-ENV): New.
(tst_wcstok-ENV): New.
(tst_wcstombs-ENV): New.
* tests-mbwc/dat_wcstok.c: Likewise.
* tests-mbwc/tst_wcstok.c: Likewise.
* tests-mbwc/dat_wcstod.c: Likewise.
* tests-mbwc/tst_wcstod.c: Likewise.
* tests-mbwc/dat_mbrtowc.c: Likewise.
* tests-mbwc/tst_mbrtowc.c: Likewise.
* tests-mbwc/dat_wcsrtombs.c: Likewise.
* tests-mbwc/tst_wcsrtombs.c: Likewise.
* tests-mbwc/dat_wcstombs.c: Likewise.
* tests-mbwc/tst_wcstombs.c: Likewise.
* tests-mbwc/dat_mbsrtowcs.c: Likewise.
* tests-mbwc/tst_mbsrtowcs.c: Likewise.
* tests-mbwc/dat_wcrtomb.c: Likewise.
* tests-mbwc/tst_wcrtomb.c: Likewise.
* tests-mbwc/dat_mbstowcs.c: Likewise.
* tests-mbwc/tst_mbstowcs.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/tst_strfmon.c: Likewise.
Andreas Jaeger [Thu, 29 Jun 2000 08:46:04 +0000 (08:46 +0000)]
Test files for strfmon.
Ulrich Drepper [Thu, 29 Jun 2000 08:44:37 +0000 (08:44 +0000)]
Update.
2000-06-29 Ulrich Drepper <drepper@redhat.com>
* stdlib/grouping.h: Correctly handle multibyte thousands
separator and decimal point.
* stdlib/stdtod.c: Likewise.
* sysdeps/generic/strtol.c: Likewise.
* locale/categories.def: Add entries for wide character decimal point
and thousands separator in numeric and monetary category.
2000-06-28 Ulrich Drepper <drepper@redhat.com>
* stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
second definition and initialization of decimal.
* libio/libio.h (struct _IO_cookie_file): Move struct type defintion
out.
* libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
in.
(_IO_JUMPS): Don't cast THIS--expect arg to be a
(struct _IO_FILE_plus *).
(_IO_iter_next, _IO_iter_file): _IO_ITER is now
(struct _IO_FILE_plus *).
(_IO_check_libio): Set user-visible handles to
(struct _IO_FILE_plus *).
Ulrich Drepper [Thu, 29 Jun 2000 08:42:00 +0000 (08:42 +0000)]
Add entries for wide character decimal point and thousands separator in numeric and monetary category.
Greg McGary [Thu, 29 Jun 2000 07:16:42 +0000 (07:16 +0000)]
2000-06-28 Greg McGary <greg@mcgary.org>
* libio/libio.h (struct _IO_cookie_file): Move struct type defintion out.
(_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
* libio/libioP.h (struct _IO_cookie_file): Move struct type defintion in.
(_IO_JUMPS): Don't cast THIS--expect arg to be a (struct _IO_FILE_plus *).
(_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
THIS, since _IO_JUMPS no longer does it implicitly.
(_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
(_IO_str_init_static, _IO_str_init_readonly): Declare 1st
arg as (_IO_strfile *).
* libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
Declare 1st arg as (_IO_strfile *).
* libio/fileops.c (_IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
* libio/oldfileops.c (_IO_old_file_init): Likewise.
* libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
Declare iteration pointer as (struct _IO_FILE_plus *).
(_IO_iter_next, _IO_iter_file): _IO_ITER is now (struct _IO_FILE_plus *).
* libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
* libio/oldstdfiles.c (_IO_list_all): Likewise.
(_IO_check_libio): Set user-visible handles to (struct _IO_FILE_plus *).
* libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
to (struct _IO_FILE_plus *).
* libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
whose high bound includes vtable to all functions that will use
vtable. For streambufs, pass pointer whose bounds include struct
_IO_strfile.
* libio/wgenops.c (_IO_wdefault_finish): Likewise.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/iofopen.c (_IO_new_fopen): Likewise.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/iofopen64.c (_IO_fopen64): Likewise.
* libio/iopopen.c (_IO_new_popen): Likewise.
* libio/oldiopopen.c (_IO_old_popen): Likewise.
* libio/memstream.c (open_memstream): Likewise.
* libio/iovsscanf.c (_IO_vsscanf): Likewise.
* libio/iovsprintf.c (_IO_vsprintf): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
* libio/iofopncook.c (_IO_cookie_init): Likewise.
* libio/obprintf.c (_IO_obstack_vprintf): Likewise.
* libio/vasprintf.c (_IO_vasprintf): Likewise.
* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
* libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* stdlib/strfmon.c (__strfmon_l): Likewise.
* stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
(vfprintf): Qualify computed-goto targets as unbounded.
2000-06-28 Greg McGary <greg@mcgary.org>
* libio/libio.h (struct _IO_cookie_file): Move struct type defintion out.
(_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
* libio/libioP.h (struct _IO_cookie_file): Move struct type defintion in.
(_IO_JUMPS): Don't cast THIS--expect arg to be a (struct _IO_FILE_plus *).
(_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
THIS, since _IO_JUMPS no longer does it implicitly.
(_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
(_IO_str_init_static, _IO_str_init_readonly): Declare 1st
arg as (_IO_strfile *).
* libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
Declare 1st arg as (_IO_strfile *).
* libio/fileops.c (_IO_new_file_init): Declare
arg type as (struct _IO_FILE_plus *).
* libio/oldfileops.c (_IO_old_file_init): Likewise.
* libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
Declare iteration pointer as (struct _IO_FILE_plus *).
(_IO_iter_next, _IO_iter_file): _IO_ITER is now (struct _IO_FILE_plus *).
* libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
* libio/oldstdfiles.c (_IO_list_all): Likewise.
(_IO_check_libio): Set user-visible handles to (struct _IO_FILE_plus *).
* libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
to (struct _IO_FILE_plus *).
* libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
whose high bound includes vtable to all functions that will use
vtable. For streambufs, pass pointer whose bounds include struct
_IO_strfile.
* libio/wgenops.c (_IO_wdefault_finish): Likewise.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/iofopen.c (_IO_new_fopen): Likewise.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/iofopen64.c (_IO_fopen64): Likewise.
* libio/iopopen.c (_IO_new_popen): Likewise.
* libio/oldiopopen.c (_IO_old_popen): Likewise.
* libio/memstream.c (open_memstream): Likewise.
* libio/iovsscanf.c (_IO_vsscanf): Likewise.
* libio/iovsprintf.c (_IO_vsprintf): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
* libio/iofopncook.c (_IO_cookie_init): Likewise.
* libio/obprintf.c (_IO_obstack_vprintf): Likewise.
* libio/vasprintf.c (_IO_vasprintf): Likewise.
* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
* libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
* stdlib/strfmon.c (__strfmon_l): Likewise.
* stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
(vfprintf): Qualify computed-goto targets as unbounded.
Andreas Jaeger [Thu, 29 Jun 2000 07:13:12 +0000 (07:13 +0000)]
Update.
2000-06-29 Andreas Jaeger <aj@suse.de>
* Makefile (locale_test_suite): Add new test files.
(tst_mblen-ENV): New.
(tst_mbtowc-ENV): New.
(tst_strcoll-ENV): New.
(tst_strxfrm-ENV): New.
(tst_wctomb-ENV): New.
* tests-mbwc/tst_wctomb.c: New test file from Shoji Kuwabara
<kuwahara@cthulhu.engr.sgi.com>.
* tests-mbwc/dat_wctomb.c: Likewise.
* tests-mbwc/tst_mbtowc.c: Likewise.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/tst_strxfrm.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/tst_strcoll.c: Likewise.
* tests-mbwc/tst_mblen.c: Likewise.
* tests-mbwc/dat_mblen.c: Likewise.
Andreas Jaeger [Thu, 29 Jun 2000 06:45:01 +0000 (06:45 +0000)]
Tests for mblen.
Ulrich Drepper [Thu, 29 Jun 2000 04:17:06 +0000 (04:17 +0000)]
(__printf_fp): Remove unnecessary second definition and initialization of decimal.
Ulrich Drepper [Thu, 29 Jun 2000 04:12:28 +0000 (04:12 +0000)]
Update.
2000-06-28 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c: Finally handle multibyte decimal point and
thousands separator correctly.
* stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
* stdio-common/vfwscanf.c: Likewise.
sequences with first byte 0x8e correctly.
Ulrich Drepper [Wed, 28 Jun 2000 23:54:33 +0000 (23:54 +0000)]
Update.
2000-06-27 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
count into signatures for most calls.
Ulrich Drepper [Wed, 28 Jun 2000 23:51:54 +0000 (23:51 +0000)]
Update.
2000-06-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
the generic parser now.
Ulrich Drepper [Wed, 28 Jun 2000 23:50:37 +0000 (23:50 +0000)]
Update.
2000-06-28 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
table entries are 32 bit on the ia64 (as specified by the ABI),
not 64 bit as on the Alpha.
* shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
change of objects to use 32 bit hash table indices (see above).
2000-06-28 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
prototype for abs().
Ulrich Drepper [Wed, 28 Jun 2000 23:28:29 +0000 (23:28 +0000)]
Update.
2000-06-28 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c (chunk_alloc): If extension of the linear heap
fails, try mmap_chunk() as a last resort even though n_mmaps_max
may have been reached.
Ulrich Drepper [Wed, 28 Jun 2000 23:00:28 +0000 (23:00 +0000)]
Update.
* locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
symbols in multi-character weights correctly.
Ulrich Drepper [Wed, 28 Jun 2000 21:46:28 +0000 (21:46 +0000)]
Update.
* wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
depending on whether the input string is empty or not.
* wcsmbs/mbrtowc.c: Calling function without input means clearing the
given state and not avoiding this by modifying a local object.
* wcsmbs/wcrtomb.c: Likewise.
* iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
object since some incomplete characters might be in there.
Ulrich Drepper [Wed, 28 Jun 2000 21:38:03 +0000 (21:38 +0000)]
Update.
* Makefile (do-tst-ctype): Add do-tst-mbswcs to list of dependencies.
(TEST_MBWC_ENV): Remove unnecessary slash.
* tst-ctype.sh: Add de_DE.UTF-8 to list of tested locales.
* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Correct UTF-8 input data.
* Makefile: Add do-tst-mbswcs to dependencies of locale test suite
tests.
Ulrich Drepper [Wed, 28 Jun 2000 19:49:23 +0000 (19:49 +0000)]
Fix cut&paste error.
Greg McGary [Wed, 28 Jun 2000 19:44:22 +0000 (19:44 +0000)]
* weaks.c: Wrap BP_SYM () around weak extern declarations of
pthread functions that have pointers in their return+arg signatures.
2000-06-28 Greg McGary <greg@mcgary.org>
* weaks.c: Wrap BP_SYM () around weak extern declarations of
pthread functions that have pointers in their return+arg signatures.
* sysdeps/pthread/bits/libc-lock.h: Wrap BP_SYM () around weak
extern declarations of pthread functions that have pointers in
their return+arg signatures.
Ulrich Drepper [Wed, 28 Jun 2000 18:11:30 +0000 (18:11 +0000)]
Update.
* iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
sequences with first by 0x8e correctly.
Ulrich Drepper [Wed, 28 Jun 2000 18:04:12 +0000 (18:04 +0000)]
Update.
2000-06-28 Ulrich Drepper <drepper@redhat.com>
* iconvdata/jis0208.h: Remove redundant test.
Ulrich Drepper [Wed, 28 Jun 2000 17:13:42 +0000 (17:13 +0000)]
Explicitly add control character in U0000-U001F and U007F-U009F range for backward compatibility.
Andreas Jaeger [Wed, 28 Jun 2000 13:09:35 +0000 (13:09 +0000)]
Update.
* tests-mbwc/tst_wcscat.c (tst_wcscat): Correct format to avoid
warning.
Andreas Jaeger [Wed, 28 Jun 2000 13:05:23 +0000 (13:05 +0000)]
Update.
* Makefile (locale_test_suite): Add tst_mbrlen.
(tst_mbrlen-ENV): New.
* tests-mbwc/tst_mbrlen.c: New file
* tests-mbwc/dat_mbrlen.c: New file.
* tests-mbwc/tst_types.h (struct TIN_MBSTOWCS_REC): Use const
char*.
(struct TST_HEAD): Use const char* instead of an array.
* tests-mbwc/tst_wcsstr.c (tst_wcsstr): ws2 has size WCSSIZE.
* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Add tests for de_UTF8.
* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
Andreas Jaeger [Wed, 28 Jun 2000 12:56:56 +0000 (12:56 +0000)]
Test files for mbrlen.c.
Ulrich Drepper [Wed, 28 Jun 2000 09:19:30 +0000 (09:19 +0000)]
Correct problems found by test suite.
Andreas Jaeger [Wed, 28 Jun 2000 08:24:36 +0000 (08:24 +0000)]
(TST_LOC_de_UTF8): Added.
2000-06-28 Andreas Jaeger <aj@suse.de>
* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
Ulrich Drepper [Wed, 28 Jun 2000 06:25:27 +0000 (06:25 +0000)]
Update.
* sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
Add it where it is needed now.
Ulrich Drepper [Wed, 28 Jun 2000 04:27:24 +0000 (04:27 +0000)]
Update.
* locale/programs/ld-ctype.c (ctype_finish): Take all characters from
the input charset into account when generating the hash table.
(allocate_arrays): Correct setting default width. Not all empty slots
in the table are filled, only those not covert explicitly by the
locale description and in the charset.
* stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
wide character version.
For %C handling, test correct pointer variable for NULL.
* wcsmbs/wctob.c: Handle WEOF special.
* wcsmbs/wcwidth.h: 0xff in width array means invalid character.
* wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
always-true test to avoid warning.
Ulrich Drepper [Tue, 27 Jun 2000 20:27:32 +0000 (20:27 +0000)]
Update.
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* wctype/towctrans.c (__towctrans): Be graceful and accept error
return values from the wctrans function.
Ulrich Drepper [Tue, 27 Jun 2000 18:09:54 +0000 (18:09 +0000)]
Update.
* locales/i18n: Backspace isn't blank, tab is.
* tst-ctype.c (main): Add tests for control characters and space.
Ulrich Drepper [Tue, 27 Jun 2000 17:49:19 +0000 (17:49 +0000)]
Update.
* locales/i18n: Backspace is no space.
Ulrich Drepper [Tue, 27 Jun 2000 17:44:09 +0000 (17:44 +0000)]
Update.
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* locales/i18n: Add \t to space.
Ulrich Drepper [Tue, 27 Jun 2000 17:42:22 +0000 (17:42 +0000)]
Add \t to space.
Andreas Jaeger [Tue, 27 Jun 2000 17:38:25 +0000 (17:38 +0000)]
Update.
2000-06-27 Andreas Jaeger <aj@suse.de>
* Makefile (TEST_MBWC_ENV): New variable.
Use it for all tests from tests-mbwc.
Andreas Jaeger [Tue, 27 Jun 2000 17:37:42 +0000 (17:37 +0000)]
* Makefile (TEST_MBWC_ENV): New variable.
Use it for all tests from tests-mbwc.
Greg McGary [Tue, 27 Jun 2000 17:17:48 +0000 (17:17 +0000)]
move linuxthreads entry
Ulrich Drepper [Tue, 27 Jun 2000 17:12:56 +0000 (17:12 +0000)]
Update.
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* tst-ctype.sh: Generate ja_JP.EUC-JP locale and test it.
Ulrich Drepper [Tue, 27 Jun 2000 17:10:47 +0000 (17:10 +0000)]
Generate ja_JP.EUC-JP locale and test it.
Greg McGary [Tue, 27 Jun 2000 17:05:42 +0000 (17:05 +0000)]
* elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
* include/libc-symbols.h (weak_extern): Add extra level of expansion.
(symbol_version, default_symbol_version): Factor redundant
definitions out of conditional.
* linuxthreads/sysdeps/pthread/bits/libc-lock.h:
Wrap BP_SYM () around weak extern declarations of pthread
functions that have pointers in their return+arg signatures.
2000-06-27 Greg McGary <greg@mcgary.org>
* elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
* include/libc-symbols.h (weak_extern): Add extra level of expansion.
(symbol_version, default_symbol_version): Factor redundant
definitions out of conditional.
* linuxthreads/sysdeps/pthread/bits/libc-lock.h:
Wrap BP_SYM () around weak extern declarations of pthread
functions that have pointers in their return+arg signatures.
Andreas Jaeger [Tue, 27 Jun 2000 16:35:42 +0000 (16:35 +0000)]
Makefile: Add environment setting for all tests from tests-mbwc.
2000-06-27 Andreas Jaeger <aj@suse.de>
* Makefile: Add environment setting for all tests from tests-mbwc.
Ulrich Drepper [Tue, 27 Jun 2000 16:33:48 +0000 (16:33 +0000)]
Update.
2000-06-27 Jakub Jelinek <jakub@redhat.com>
* libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
not obstack_blank.
Ulrich Drepper [Tue, 27 Jun 2000 16:08:27 +0000 (16:08 +0000)]
(_IO_obstack_vprintf): Call obstack_make_room, not obstack_blank.
Andreas Jaeger [Tue, 27 Jun 2000 15:53:49 +0000 (15:53 +0000)]
Add new files to tests and add environment for them.
Andreas Jaeger [Tue, 27 Jun 2000 12:25:46 +0000 (12:25 +0000)]
Update.
* tests-mbwc/*: Initial import of testsuite from Shoji Kuwabara
<kuwahara@cthulhu.engr.sgi.com><kuwahara@cthulhu.engr.sgi.com>.
Andreas Jaeger [Tue, 27 Jun 2000 12:14:09 +0000 (12:14 +0000)]
* Makefile (tests): Add tests from tests-mbwc subdirectory,
comment them out for now.
(subdir-dirs): New for tests-mbwc, add also vpaths.
* Makefile (tests): Add tests from tests-mbwc subdirectory,
comment them out for now.
(subdir-dirs): New for tests-mbwc, add also vpaths.
Andreas Jaeger [Tue, 27 Jun 2000 08:18:25 +0000 (08:18 +0000)]
Add missing / in LC_CTYPE.
2000-06-27 Andreas Jaeger <aj@suse.de>
* locales/ja_JP: Add missing / in LC_CTYPE.
Ulrich Drepper [Tue, 27 Jun 2000 08:00:21 +0000 (08:00 +0000)]
Not needed.
Ulrich Drepper [Tue, 27 Jun 2000 06:20:43 +0000 (06:20 +0000)]
Update.
2000-06-26 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h (symbol_version): Add extra level of
macro expansion.
(default_symbol_version): Likewise.
Ulrich Drepper [Tue, 27 Jun 2000 04:01:28 +0000 (04:01 +0000)]
Update.
* Makefile (distribute): Add tst-ctype-de_DE.in.
Ulrich Drepper [Tue, 27 Jun 2000 03:59:26 +0000 (03:59 +0000)]
Update.
* tst-ctype.c: Read in more tests from stdin.
* tst-ctype.sh: Feed extra test data to program via stdin.
* tst-ctype-de_DE.in: New file.
* locales/i18n (punct): Exclude U00A0.
(blank): Include U00A0.
* locales/ja_JP: Updates for new format.
* Makefile (test-srcs): Add tst-ctype.
(distribute): Add tst-ctype.sh.
(do-tst-ctype): New target. Run for tests.
* tst-ctype.c: New file.
* tst-ctype.sh: New file.
Ulrich Drepper [Tue, 27 Jun 2000 03:56:55 +0000 (03:56 +0000)]
More test data for tst-ctype test program.
Greg McGary [Tue, 27 Jun 2000 01:52:26 +0000 (01:52 +0000)]
* sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns.
* sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
for BP return value & push implicit struct-return pointer to
__errno_location.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
(SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns.
* sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
for BP return value & push implicit struct-return pointer to
__errno_location.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
(SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
* Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
for all files *.[cS].
Greg McGary [Tue, 27 Jun 2000 01:20:02 +0000 (01:20 +0000)]
* Makeconfig: Add missing comment.
* csu/Makefile (extra-objs, omit-deps, install-lib): Add
BP-flavored startup object.
($(objpfx)b$(start-installed-name)): New rule.
* include/libc-symbols.h (symbol_set_declare): Change type
of `__start_##set' and `__stop_##set' to pointer-to-function.
(symbol_set_declare): Change type of `set' to array of
pointer-to-function.
* include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
pointer-to-function.
* Makeconfig: Add missing comment.
* csu/Makefile (extra-objs, omit-deps, install-lib): Add
BP-flavored startup object.
($(objpfx)b$(start-installed-name)): New rule.
* include/libc-symbols.h (symbol_set_declare): Change type
of `__start_##set' and `__stop_##set' to pointer-to-function.
(symbol_set_declare): Change type of `set' to array of
pointer-to-function.
* include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
pointer-to-function.
Ulrich Drepper [Tue, 27 Jun 2000 01:05:19 +0000 (01:05 +0000)]
Updates for new format.
Ulrich Drepper [Tue, 27 Jun 2000 01:03:13 +0000 (01:03 +0000)]
(test-srcs): Add tst-ctype. (distribute): Add tst-ctype.sh. (do-tst-ctype): New target. Run for tests.
Greg McGary [Tue, 27 Jun 2000 00:18:27 +0000 (00:18 +0000)]
* string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
* string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
Greg McGary [Tue, 27 Jun 2000 00:14:44 +0000 (00:14 +0000)]
* sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
Remove clock_* and timer_* entries.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
arg-count with signatures.
* sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
Remove clock_* and timer_* entries.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
arg-count with signatures.
Ulrich Drepper [Mon, 26 Jun 2000 23:38:07 +0000 (23:38 +0000)]
Update.
* locales/i18n: NUL character must not be in cntrl.
Ulrich Drepper [Mon, 26 Jun 2000 23:37:53 +0000 (23:37 +0000)]
NUL character must not be in cntrl.
Greg McGary [Mon, 26 Jun 2000 22:15:00 +0000 (22:15 +0000)]
* sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
Check bounds of arguments.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i686/add_n.S: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/rawmemchr.S: Likewise.
* sysdeps/i386/i586/bzero.S: Likewise.
* sysdeps/i386/i586/memcpy.S: Likewise.
* sysdeps/i386/i586/mempcpy.S: Likewise.
* sysdeps/i386/i586/memset.S: Likewise.
* sysdeps/i386/i686/bzero.S: Likewise.
* sysdeps/i386/i686/memcpy.S: Likewise.
* sysdeps/i386/i686/mempcpy.S: Likewise.
* sysdeps/i386/i686/memset.S: Likewise.
* sysdeps/i386/stpcpy.S: Likewise.
* sysdeps/i386/stpncpy.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strcspn.S: Likewise.
* sysdeps/i386/strpbrk.S: Likewise.
* sysdeps/i386/strrchr.S: Likewise.
* sysdeps/i386/strspn.S: Likewise.
* sysdeps/i386/strtok.S: Likewise.
* sysdeps/i386/strtok_r.S: Likewise.
* sysdeps/i386/i486/strcat.S: Likewise.
* sysdeps/i386/i486/strlen.S: Likewise.
* sysdeps/i386/i586/strchr.S: Likewise.
* sysdeps/i386/i586/strcpy.S: Likewise.
* sysdeps/i386/i586/strlen.S: Likewise.
* sysdeps/i386/i686/strcmp.S: Likewise.
* sysdeps/i386/i686/strtok.S: Likewise.
* sysdeps/i386/i686/strtok_r.S: Likewise.
* sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
* sysdeps/i386/fpu/fesetenv.c: Likewise.
* sysdeps/i386/fpu/feupdateenv.c: Likewise.
* sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
* sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
* sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
Check bounds of arguments.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i686/add_n.S: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/rawmemchr.S: Likewise.
* sysdeps/i386/i586/bzero.S: Likewise.
* sysdeps/i386/i586/memcpy.S: Likewise.
* sysdeps/i386/i586/mempcpy.S: Likewise.
* sysdeps/i386/i586/memset.S: Likewise.
* sysdeps/i386/i686/bzero.S: Likewise.
* sysdeps/i386/i686/memcpy.S: Likewise.
* sysdeps/i386/i686/mempcpy.S: Likewise.
* sysdeps/i386/i686/memset.S: Likewise.
* sysdeps/i386/stpcpy.S: Likewise.
* sysdeps/i386/stpncpy.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strcspn.S: Likewise.
* sysdeps/i386/strpbrk.S: Likewise.
* sysdeps/i386/strrchr.S: Likewise.
* sysdeps/i386/strspn.S: Likewise.
* sysdeps/i386/strtok.S: Likewise.
* sysdeps/i386/strtok_r.S: Likewise.
* sysdeps/i386/i486/strcat.S: Likewise.
* sysdeps/i386/i486/strlen.S: Likewise.
* sysdeps/i386/i586/strchr.S: Likewise.
* sysdeps/i386/i586/strcpy.S: Likewise.
* sysdeps/i386/i586/strlen.S: Likewise.
* sysdeps/i386/i686/strcmp.S: Likewise.
* sysdeps/i386/i686/strtok.S: Likewise.
* sysdeps/i386/i686/strtok_r.S: Likewise.
* sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
* sysdeps/i386/fpu/fesetenv.c: Likewise.
* sysdeps/i386/fpu/feupdateenv.c: Likewise.
* sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
* sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
Ulrich Drepper [Mon, 26 Jun 2000 20:07:09 +0000 (20:07 +0000)]
Update.
2000-06-26 Ulrich Drepper <drepper@redhat.com>
* Makefile (test-input): Add en_US.ISO-8859-1.
* en_US.in: New file.
Ulrich Drepper [Mon, 26 Jun 2000 19:26:07 +0000 (19:26 +0000)]
(clock_nanosleep): Add one more __builtin_expect.
Greg McGary [Mon, 26 Jun 2000 18:20:43 +0000 (18:20 +0000)]
* sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 Greg McGary <greg@mcgary.org>
* sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
Ulrich Drepper [Mon, 26 Jun 2000 18:12:12 +0000 (18:12 +0000)]
Update.
2000-06-26 Ulrich Drepper <drepper@redhat.com>
* rt/Makefile (librt-routines): Add clock_nanosleep.
* rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
* sysdeps/generic/clock_nanosleep.c: New file.
* sysdeps/unix/clock_nanosleep.c: New file.
* sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
* time/time.h: Declare clock_nanosleep.
Ulrich Drepper [Mon, 26 Jun 2000 18:07:47 +0000 (18:07 +0000)]
(librt-routines): Add clock_nanosleep.
Greg McGary [Mon, 26 Jun 2000 16:48:10 +0000 (16:48 +0000)]
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26 Greg McGary <greg@mcgary.org>
* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
INSN1, INSN2, TEXT, GLOBL): Remove macros.
(ALIGN): Cleanup surrounding conditionals.
* sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
Call ENTER/LEAVE macros.
* sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
syntax. Define & use symbolic argument stack offsets. Call
ENTER/LEAVE macros.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
Ulrich Drepper [Mon, 26 Jun 2000 16:39:37 +0000 (16:39 +0000)]
(pthread_mutex_timedlock): Document restrictions of mutex types.
Ulrich Drepper [Mon, 26 Jun 2000 08:01:33 +0000 (08:01 +0000)]
Update.
2000-06-26 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add ex11. Add rules to build it.
* Examples/ex11.c: New file.
* rwlock.c: Fix complete braindamaged previous try to implement
timedout functions.
* spinlock.c: Pretty print.
Ulrich Drepper [Mon, 26 Jun 2000 01:47:56 +0000 (01:47 +0000)]
Update.
2000-06-25 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add ex10. Add rules to build it.
* Versions [GLIBC_2.2] (libpthread): Add pthread_mutex_timedlock,
pthread_rwlock_timedrdlock, and pthread_rwlock_timedwrlock.
* condvar.c (pthread_cond_wait): Allow mutex of kind
PTHREAD_MUTEX_TIMED_NP.
(pthread_cond_timedwait_relative): Likewise.
* mutex.c (__pthread_mutex_init): Default is PTHREAD_MUTEX_TIMED_NP.
(__pthread_mutex_trylock): Use __pthread_alt_trylock for
PTHREAD_MUTEX_ERRORCHECK_NP. Handle PTHREAD_MUTEX_TIMED_NP.
(__pthread_mutex_lock): Use __pthread_alt_lock for
PTHREAD_MUTEX_ERRORCHECK_NP. Handle PTHREAD_MUTEX_TIMED_NP.
(__pthread_mutex_timedlock): New function.
(__pthread_mutex_unlock): Use __pthread_alt_unlock for
PTHREAD_MUTEX_ERRORCHECK_NP. Handle PTHREAD_MUTEX_TIMED_NP.
(__pthread_mutexattr_init): Use PTHREAD_MUTEX_TIMED_NP.
(__pthread_mutexattr_settype): Allow PTHREAD_MUTEX_TIMED_NP.
* spinlock.c: Implement alternate fastlocks.
* spinlock.h: Add prototypes.
* Examples/ex10.c: New file.
* sysdeps/pthread/pthread.h: Add prototypes for new functions.
Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
* rwlock.c (__pthread_rwlock_rdlock): Optimize loop a bit.
(__pthread_rwlock_timedrdlock): New function.
(__pthread_rwlock_timedwrlock): New function.
Use laternate fastlock function everywhere.
Ulrich Drepper [Mon, 26 Jun 2000 00:38:37 +0000 (00:38 +0000)]
Update.
2000-06-25 Greg McGary <greg@mcgary.org>
* sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
not as bcopy.