Greg McGary
1efd15e337
* 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.
2000-06-28 19:44:22 +00:00
Ulrich Drepper
392ac96984
Update.
...
* iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
sequences with first by 0x8e correctly.
2000-06-28 18:11:30 +00:00
Ulrich Drepper
044ff6223a
Update.
...
2000-06-28 Ulrich Drepper <drepper@redhat.com>
* iconvdata/jis0208.h: Remove redundant test.
2000-06-28 18:04:12 +00:00
Ulrich Drepper
f7b74fc0fb
Explicitly add control character in U0000-U001F and U007F-U009F range for backward compatibility.
2000-06-28 17:13:42 +00:00
Andreas Jaeger
028f8f1899
Update.
...
* tests-mbwc/tst_wcscat.c (tst_wcscat): Correct format to avoid
warning.
2000-06-28 13:09:35 +00:00
Andreas Jaeger
16247e11ac
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.
2000-06-28 13:05:23 +00:00
Andreas Jaeger
8c8ade2980
Test files for mbrlen.c.
2000-06-28 12:56:56 +00:00
Ulrich Drepper
2803faf059
Correct problems found by test suite.
2000-06-28 09:19:30 +00:00
Andreas Jaeger
93fc3eb7b4
(TST_LOC_de_UTF8): Added.
...
2000-06-28 Andreas Jaeger <aj@suse.de>
* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
2000-06-28 08:24:36 +00:00
Ulrich Drepper
d16604395d
Update.
...
* sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
Add it where it is needed now.
2000-06-28 06:25:27 +00:00
Ulrich Drepper
0e16ecfa1e
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.
2000-06-28 04:27:24 +00:00
Ulrich Drepper
3769620607
Update.
...
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* wctype/towctrans.c (__towctrans): Be graceful and accept error
return values from the wctrans function.
2000-06-27 20:27:32 +00:00
Ulrich Drepper
1539660873
Update.
...
* locales/i18n: Backspace isn't blank, tab is.
* tst-ctype.c (main): Add tests for control characters and space.
2000-06-27 18:09:54 +00:00
Ulrich Drepper
c3e32a9697
Update.
...
* locales/i18n: Backspace is no space.
2000-06-27 17:49:19 +00:00
Ulrich Drepper
9d893da15c
Update.
...
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* locales/i18n: Add \t to space.
2000-06-27 17:44:09 +00:00
Ulrich Drepper
6676b2d55a
Add \t to space.
2000-06-27 17:42:22 +00:00
Andreas Jaeger
86af091087
Update.
...
2000-06-27 Andreas Jaeger <aj@suse.de>
* Makefile (TEST_MBWC_ENV): New variable.
Use it for all tests from tests-mbwc.
2000-06-27 17:38:25 +00:00
Andreas Jaeger
eed5831091
* Makefile (TEST_MBWC_ENV): New variable.
...
Use it for all tests from tests-mbwc.
2000-06-27 17:37:42 +00:00
Greg McGary
3210bef060
move linuxthreads entry
2000-06-27 17:17:48 +00:00
Ulrich Drepper
132781f936
Update.
...
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* tst-ctype.sh: Generate ja_JP.EUC-JP locale and test it.
2000-06-27 17:12:56 +00:00
Ulrich Drepper
0135d02d05
Generate ja_JP.EUC-JP locale and test it.
2000-06-27 17:10:47 +00:00
Greg McGary
ebdf53a7fc
* 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.
2000-06-27 17:05:42 +00:00
Andreas Jaeger
36e3c1195f
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.
2000-06-27 16:35:42 +00:00
Ulrich Drepper
1cf98aaef9
Update.
...
2000-06-27 Jakub Jelinek <jakub@redhat.com>
* libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
not obstack_blank.
2000-06-27 16:33:48 +00:00
Ulrich Drepper
b420597ee8
(_IO_obstack_vprintf): Call obstack_make_room, not obstack_blank.
2000-06-27 16:08:27 +00:00
Andreas Jaeger
22827fb10b
Add new files to tests and add environment for them.
2000-06-27 15:53:49 +00:00
Andreas Jaeger
cb6815da36
Update.
...
* tests-mbwc/*: Initial import of testsuite from Shoji Kuwabara
<kuwahara@cthulhu.engr.sgi.com><kuwahara@cthulhu.engr.sgi.com>.
2000-06-27 12:25:46 +00:00
Andreas Jaeger
5b905722f6
* 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.
2000-06-27 12:14:09 +00:00
Andreas Jaeger
756bb30555
Add missing / in LC_CTYPE.
...
2000-06-27 Andreas Jaeger <aj@suse.de>
* locales/ja_JP: Add missing / in LC_CTYPE.
2000-06-27 08:18:25 +00:00
Ulrich Drepper
1cfa7b8231
Not needed.
2000-06-27 08:00:21 +00:00
Ulrich Drepper
8b943b4a69
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.
2000-06-27 06:20:43 +00:00
Ulrich Drepper
1a3eefef69
Update.
...
* Makefile (distribute): Add tst-ctype-de_DE.in.
2000-06-27 04:01:28 +00:00
Ulrich Drepper
4edc30e4d7
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.
2000-06-27 03:59:26 +00:00
Ulrich Drepper
6ba025af69
More test data for tst-ctype test program.
2000-06-27 03:56:55 +00:00
Greg McGary
ee63ca212c
* 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].
2000-06-27 01:52:26 +00:00
Greg McGary
58ff985dd4
* 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.
2000-06-27 01:20:02 +00:00
Ulrich Drepper
9bbc1eccb7
Updates for new format.
2000-06-27 01:05:19 +00:00
Ulrich Drepper
465e7bebc3
(test-srcs): Add tst-ctype. (distribute): Add tst-ctype.sh. (do-tst-ctype): New target. Run for tests.
2000-06-27 01:03:13 +00:00
Greg McGary
7c90419b8f
* string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
...
* string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2000-06-27 00:18:27 +00:00
Greg McGary
22fda7661b
* 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.
2000-06-27 00:14:44 +00:00
Ulrich Drepper
f21c71e19e
Update.
...
* locales/i18n: NUL character must not be in cntrl.
2000-06-26 23:38:07 +00:00
Ulrich Drepper
1257f6bd24
NUL character must not be in cntrl.
2000-06-26 23:37:53 +00:00
Greg McGary
2fc0882697
* 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.
2000-06-26 22:15:00 +00:00
Ulrich Drepper
c2eee429d3
Update.
...
2000-06-26 Ulrich Drepper <drepper@redhat.com>
* Makefile (test-input): Add en_US.ISO-8859-1.
* en_US.in: New file.
2000-06-26 20:07:09 +00:00
Ulrich Drepper
d8317630cd
(clock_nanosleep): Add one more __builtin_expect.
2000-06-26 19:26:07 +00:00
Greg McGary
f9e7bbcead
* 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.
2000-06-26 18:20:43 +00:00
Ulrich Drepper
c000cdad1a
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.
2000-06-26 18:12:12 +00:00
Ulrich Drepper
5839de1d37
(librt-routines): Add clock_nanosleep.
2000-06-26 18:07:47 +00:00
Greg McGary
43c81906db
* 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.
2000-06-26 16:48:10 +00:00
Ulrich Drepper
1e9bbdd87f
(pthread_mutex_timedlock): Document restrictions of mutex types.
2000-06-26 16:39:37 +00:00