Commit Graph

3753 Commits

Author SHA1 Message Date
Ulrich Drepper afa0db7ac3 Update.
* sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
	instead of KERNEL_MATH_EMULATION.
	* sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
	KERNEL_MATH_EMULATION.
2000-06-12 23:58:46 +00:00
Ulrich Drepper 65074d2311 Update.
* sysdeps/sh/Dist: Removed.  There is no ieee754.h file.
	* sysdeps/sh/sh3/dl-machine.h: Moved to...
	* sysdeps/sh/dl-machine.h: ...here.  New file.
	* sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
	and include generic SH version.
	* sysdeps/sh/sh3/bits/endian.h: Move to...
	* sysdeps/sh/bits/endian.h: ...here.  New file.
	* sysdeps/sh/sh4/bits/endian.h: Removed.
	* sysdeps/sh/sh3/bits/huge_val.h: Move to...
	* sysdeps/sh/bits/huge_val.h: ...here.  New file.
	* sysdeps/sh/sh4/bits/huge_val.h: Removed.

	GAS which warns about changing section attributes.
	Proposed by Nick Clifton <nickc@redhat.com>.
	* sysdeps/sh/elf/initfini.c: New file.
	* sysdeps/sh/elf/start.S: New file.
	* sysdeps/sh/sys/ucontext.h: New file.
2000-06-12 23:54:16 +00:00
Ulrich Drepper 37fb8add30 Update.
2000-06-12  Ulrich Drepper  <drepper@redhat.com>

	* include/libc-symbols.h (link_warning): Work around a change in
	GAS which wrns about changing section attributes.
	Proposed by Nich Clifton <nickc@redhat.com>.
2000-06-12 23:07:15 +00:00
Ulrich Drepper 2caacb0adc Update.
2000-06-12  H.J. Lu  <hjl@gnu.org>

	* sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.

2000-06-11  H.J. Lu  <hjl@gnu.org>

	* sysdeps/i386/fpu/Versions: New file.
2000-06-12 23:01:10 +00:00
Ulrich Drepper 4d37e19c34 Update.
2000-06-12  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv.h (__gconv_trans_context_fct): Remove two
	parameters.
	* iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
	exists.
2000-06-12 22:31:34 +00:00
Ulrich Drepper 30010c6399 Update.
2000-06-12  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
	* sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.

	* sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2000-06-12 22:13:56 +00:00
Ulrich Drepper 3846ef75cf Update.
2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
	    Yutaka Niibe  <gniibe@chroot.org>

	* sysdeps/sh/Dist: New file.
	* sysdeps/sh/Implies: New file.
	* sysdeps/sh/gmp-mparam.h: New file.
	* sysdeps/sh/init-first.c: New file.
	* sysdeps/sh/machine-gmon.h: New file.
	* sysdeps/sh/memcpy.S: New file.
	* sysdeps/sh/memprof.h: New file.
	* sysdeps/sh/memset.S: New file.
	* sysdeps/sh/sh3/__longjmp.S: New file.
	* sysdeps/sh/sh3/bits/endian.h: New file.
	* sysdeps/sh/sh3/bits/huge_val.h: New file.
	* sysdeps/sh/sh3/bits/setjmp.h: New file.
	* sysdeps/sh/sh3/bsd-_setjmp.S: New file.
	* sysdeps/sh/sh3/bsd-setjmp.S: New file.
	* sysdeps/sh/sh3/dl-machine.h: New file.
	* sysdeps/sh/sh3/elf/initfini.c: New file.
	* sysdeps/sh/sh3/elf/start.S: New file.
	* sysdeps/sh/sh3/setjmp.S: New file.
	* sysdeps/sh/sh3/sys/ucontext.h: New file.
	* sysdeps/sh/sh4/__longjmp.S: New file.
	* sysdeps/sh/sh4/bits/endian.h: New file.
	* sysdeps/sh/sh4/bits/huge_val.h: New file.
	* sysdeps/sh/sh4/bits/setjmp.h: New file.
	* sysdeps/sh/sh4/bsd-_setjmp.S: New file.
	* sysdeps/sh/sh4/bsd-setjmp.S: New file.
	* sysdeps/sh/sh4/dl-machine.h: New file.
	* sysdeps/sh/sh4/elf/initfini.c: New file.
	* sysdeps/sh/sh4/elf/start.S: New file.
	* sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
	* sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
	* sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
	* sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
	* sysdeps/sh/sh4/fpu/fegetenv.c: New file.
	* sysdeps/sh/sh4/fpu/fegetround.c: New file.
	* sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
	* sysdeps/sh/sh4/fpu/fesetenv.c: New file.
	* sysdeps/sh/sh4/fpu/fesetround.c: New file.
	* sysdeps/sh/sh4/fpu/fpu_control.h: New file.
	* sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
	* sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
	* sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
	* sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
	* sysdeps/sh/sh4/setjmp.S: New file.
	* sysdeps/sh/sh4/sys/ucontext.h: New file.
	* sysdeps/sh/strlen.S: New file.
	* sysdeps/sh/sysdep.h: New file.
	* sysdeps/unix/sh/sysdep.S: New file.
	* sysdeps/unix/sh/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/sh/Dist: New file.
	* sysdeps/unix/sysv/linux/sh/Makefile: New file.
	* sysdeps/unix/sysv/linux/sh/Versions: New file.
	* sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
	* sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
	* sysdeps/unix/sysv/linux/sh/brk.c: New file.
	* sysdeps/unix/sysv/linux/sh/chown.c: New file.
	* sysdeps/unix/sysv/linux/sh/clone.S: New file.
	* sysdeps/unix/sysv/linux/sh/fchown.c: New file.
	* sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
	* sysdeps/unix/sysv/linux/sh/getegid.c: New file.
	* sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
	* sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
	* sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
	* sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/sh/getuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/lchown.c: New file.
	* sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
	* sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
	* sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/sh/pipe.S: New file.
	* sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
	* sysdeps/unix/sysv/linux/sh/semctl.c: New file.
	* sysdeps/unix/sysv/linux/sh/setegid.c: New file.
	* sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setgid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
	* sysdeps/unix/sysv/linux/sh/setregid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
	* sysdeps/unix/sysv/linux/sh/setuid.c: New file.
	* sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
	* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
	* sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
	* sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
	* sysdeps/unix/sysv/linux/sh/socket.S: New file.
	* sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
	* sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
	* sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
	* sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
	* sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
	* sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/sh/vfork.S: New file.
	* sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2000-06-12 20:50:37 +00:00
Ulrich Drepper 55985355ad Update.
2000-06-12  Ulrich Drepper  <drepper@redhat.com>

	* Rules (%.out): Define GCONV_PATH in the environment.
	* assert/Depend: New file.
	* iconvdata/Depend: New file.
	* intl/Depend: New file.
	* timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
	* intl/tst-gettext.sh: Likewise.
	* iconv/Makefile (routines): Add gconv_trans.
	* iconv/gconv_trans.c: New file.
	* iconv/gconv.h (struct __gconv_trans_data): New type.
	(__gconv_fct): New parameter with starting position in output buffer.
	(__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
	__gconv_trans_init_fct, __gconv_trans_end_fct): New types.
	(struct __gconv_step): Add new member __trans.
	* iconv/gconv_int.h: Pretty print prototypes.
	(gconv_transliterate): New prototype.
	(__BUILTIN_TRANS): Update for new conversion function interface.
	* iconv/gconv.c (__gconv): Pass new parameter to conversion function.
	* iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
	in names, find appropriate function, and install in the conversion
	steps it can be used.
	* iconv/skeleton.c: Add additional parameter for beginning of output
	buffer.  Change calls of downstream functions.
	* iconv/loop.c: Change loop function interface completely.  Pass in
	step and step_data structure.  Remove optimization for BODY with
	NEED_LENGTH_TEST == 0.
	* iconv/gconv_simple.c: Update interfaces of functions.  Insert
	appropriate error handling code to use transliteration steps.  Remove
	optimization for BODY with NEED_LENGTH_TEST == 0.
	* iconvdata/8bit-gap.c: Likewise.
	* 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/euc-tw.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/iofwide.c: Adjust to new interface of gconv functions.  Use
	DL_CALL_FCT.
	* 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.
2000-06-12 19:47:50 +00:00
Geoff Keating b62990918e * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the other header files. Mention about 128-byte cache line sizes. (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt. * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update for current calling sequence. * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
* sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
* sysdeps/powerpc/fpu/s_rintf.c: Likewise.

* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
and setrlimit syscalls for backwards compatibility.
2000-04-11  Geoff Keating  <geoffk@cygnus.com>

	* sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
	other header files.  Mention about 128-byte cache line sizes.
	(__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
	* sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
	for current calling sequence.
	* sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.

	* sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
	* sysdeps/powerpc/fpu/s_rintf.c: Likewise.

	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
	and setrlimit syscalls for backwards compatibility.
2000-06-12 07:13:22 +00:00
Ulrich Drepper 38677aced0 Update.
* iconv/skeleton.c:  Rename converted written to correcter name
	irreversible.
	* iconv/gconv.c: Rename converted variable to correcter name
	irreversible.
	* iconv/gconv_int.h: Likewise.
	* iconv/gconv_simple.c: Likewise.
	* iconv/iconv.c: Likewise.
	* iconv/loop.c: Likewise.
	* iconvdata/8bit-gap.c: Likewise.
	* 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.
2000-06-10 22:54:47 +00:00
Ulrich Drepper e522116541 Update.
2000-06-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
	__cmsg_data field with __extension__.
2000-06-10 21:55:11 +00:00
Ulrich Drepper d049b71247 Update
2000-06-10  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2000-06-10 21:04:36 +00:00
Ulrich Drepper 3593973b3b Update.
* iconv/gconv_simple.c: Fix various small bugs in several
	functions.
2000-06-10 18:20:09 +00:00
Ulrich Drepper 3f912ceeba Update.
2000-06-10  Ulrich Drepper  <drepper@redhat.com>

	* iconv/loop.c: Fix comment.
2000-06-10 17:34:04 +00:00
Ulrich Drepper 7e6d380990 Update.
2000-06-10  Jakub Jelinek  <jakub@redhat.com>

	* elf/link.h: Remove libc internal declarations.
	* include/link.h: Move them here.
2000-06-10 05:48:35 +00:00
Ulrich Drepper 000171e509 Update.
* sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
	Patch by Dan Pop <Dan.Pop@cern.ch>.
2000-06-10 04:37:32 +00:00
Ulrich Drepper d743ba1e9b Update.
2000-06-09  H.J. Lu  <hjl@gnu.org>

	* dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
	after freeing it.

	* dlfcn/Makefile (distribute): Add failtestmod.c.
	(tests): Add failtest.
	Add rules to build and run failtest.
	* dlfcn/failtest.c: New file.
	* dlfcn/failtestmod.c: New file.
2000-06-10 04:31:24 +00:00
Ulrich Drepper 04470dc03e Update.
* dlfcn/dlerror.c (struct dl_action_result): Add objname member.
	(dlerror): Add objname to asprintf() parameters.
	(_dl_error_run): Pass new parameter to _dl_catch_error.
2000-06-10 04:06:58 +00:00
Ulrich Drepper 8e17ea5817 Update.
2000-06-09  Ulrich Drepper  <drepper@redhat.com>

	Rewrite error message handling.
	* elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
	_dl_catch_error.
	* elf/dl-error (struct catch): Add objname member.
	(_dl_signal_error): Take new parameter with object name.  When
	passing message on simply store object name and duplicate error
	message.
	(_dl_catch_error): Take new parameter.  Store object name in the
	place pointed to.
	* include/dlfcn.h: Adjust _dl_catch_error prototype.
	* sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
	* elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
	* elf/dl-open.c (_dl_open): Likewise.
	* elf/rtld.c (dl_main): Likewise.
	* elf/dl-close.c: Mark error messages with N_().
	* elf/dl-deps.c: Likewise.
	* elf/dl-error.c: Likewise.
	* elf/dl-load.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/dl-reloc.c: Likewise.
	* elf/dl-support.c: Likewise.
	* elf/dl-sym.c: Likewise.
	* elf/dl-version.c: Likewise.
	* elf/dl-lookup.c: Add comments about problems with error message
	translations.
	* elf/dl-reloc.c: Likewise.
	* elf/dl-version.c: Likewise.
2000-06-10 04:01:36 +00:00
Ulrich Drepper f3863621f6 Update.
2000-06-09  David Mosberger-Tang  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
	* sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
	* sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
	* sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
	* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2000-06-10 00:14:45 +00:00
Ulrich Drepper af501e154e Update.
* sysdeps/unix/sysv/linux/ia64/brk.S: New file.
	* sysdeps/unix/sysv/linux/ia64/pipe.S: New file.

2000-06-09  Jes Sorensen  <jes@linuxcare.com>
2000-06-10 00:10:30 +00:00
Ulrich Drepper c79c9039b3 Update.
2000-06-09  Jes Sorensen  <jes@linuxcare.com>
	    Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
	* sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
	* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
	* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2000-06-10 00:05:44 +00:00
Ulrich Drepper 301909fbcb Update.
2000-06-09  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
	to find correct mount point despite wrong information from the
	kernel.
2000-06-09 17:34:27 +00:00
Ulrich Drepper b511d8fc6b Update.
2000-06-09  Jes Sorensen  <jes@linuxcare.com>

	* elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
	the address of a symbol so function pointers are handled properly.
2000-06-09 16:45:21 +00:00
Ulrich Drepper 8aa8fc7fd0 Update.
* sysdeps/i386/Dist: Add bp-asm.h.
2000-06-09 06:45:09 +00:00
Ulrich Drepper 480a06dfde Update.
* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
	defaultdir variable instead of "/var/shm" everywhere.
	(defaultdir): Change to /dev/shm/.
2000-06-09 06:42:46 +00:00
Ulrich Drepper 1acc0b5513 Update.
2000-06-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/shm_open.c (defaultdir): Change to /dev/shm/.
2000-06-09 06:35:03 +00:00
Greg McGary 3f02f778cd * sysdeps/i386/bp-asm.h: New file.
* sysdeps/i386/__longjmp.S: Define & use symbolic argument stack 
offsets.  Add ENTER/LEAVE macros for optionally maintaining 
frame-pointer chain when debugging. 
* sysdeps/i386/add_n.S: Likewise. 
* sysdeps/i386/addmul_1.S: Likewise. 
* sysdeps/i386/lshift.S: Likewise. 
* sysdeps/i386/memchr.S: Likewise. 
* sysdeps/i386/memcmp.S: Likewise. 
* sysdeps/i386/mul_1.S: Likewise. 
* sysdeps/i386/rawmemchr.S: Likewise. 
* sysdeps/i386/rshift.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/sub_n.S: Likewise. 
* sysdeps/i386/submul_1.S: Likewise. 
* sysdeps/i386/elf/setjmp.S: Likewise. 
* sysdeps/i386/i486/strcat.S: Likewise. 
* sysdeps/i386/i486/strlen.S: Likewise. 
* sysdeps/i386/i586/add_n.S: Likewise. 
* sysdeps/i386/i586/lshift.S: Likewise. 
* sysdeps/i386/i586/memcpy.S: Likewise. 
* sysdeps/i386/i586/memset.S: Likewise. 
* sysdeps/i386/i586/rshift.S: Likewise. 
* sysdeps/i386/i586/strchr.S: Likewise. 
* sysdeps/i386/i586/strcpy.S: Likewise. 
* sysdeps/i386/i586/strlen.S: Likewise. 
* sysdeps/i386/i586/sub_n.S: Likewise. 
* sysdeps/i386/i686/add_n.S: Likewise. 
* sysdeps/i386/i686/memcpy.S: Likewise. 
* sysdeps/i386/i686/mempcpy.S: Likewise. 
* sysdeps/i386/i686/memset.S: Likewise. 
* sysdeps/i386/i686/strcmp.S: Likewise.
2000-06-08  Greg McGary  <greg@mcgary.org>

	* sysdeps/i386/bp-asm.h: New file.
	* sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
	offsets.  Add ENTER/LEAVE macros for optionally maintaining
	frame-pointer chain when debugging.
	* sysdeps/i386/add_n.S: Likewise.
	* sysdeps/i386/addmul_1.S: Likewise.
	* sysdeps/i386/lshift.S: Likewise.
	* sysdeps/i386/memchr.S: Likewise.
	* sysdeps/i386/memcmp.S: Likewise.
	* sysdeps/i386/mul_1.S: Likewise.
	* sysdeps/i386/rawmemchr.S: Likewise.
	* sysdeps/i386/rshift.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/sub_n.S: Likewise.
	* sysdeps/i386/submul_1.S: Likewise.
	* sysdeps/i386/elf/setjmp.S: Likewise.
	* sysdeps/i386/i486/strcat.S: Likewise.
	* sysdeps/i386/i486/strlen.S: Likewise.
	* sysdeps/i386/i586/add_n.S: Likewise.
	* sysdeps/i386/i586/lshift.S: Likewise.
	* sysdeps/i386/i586/memcpy.S: Likewise.
	* sysdeps/i386/i586/memset.S: Likewise.
	* sysdeps/i386/i586/rshift.S: Likewise.
	* sysdeps/i386/i586/strchr.S: Likewise.
	* sysdeps/i386/i586/strcpy.S: Likewise.
	* sysdeps/i386/i586/strlen.S: Likewise.
	* sysdeps/i386/i586/sub_n.S: Likewise.
	* sysdeps/i386/i686/add_n.S: Likewise.
	* sysdeps/i386/i686/memcpy.S: Likewise.
	* sysdeps/i386/i686/mempcpy.S: Likewise.
	* sysdeps/i386/i686/memset.S: Likewise.
	* sysdeps/i386/i686/strcmp.S: Likewise.
2000-06-09 06:14:39 +00:00
Ulrich Drepper 47bc7a9be1 Update.
* sysdeps/unix/sysv/linux/getdtsz.c: New file.
2000-06-08 15:14:02 +00:00
Ulrich Drepper 9001274de9 Update.
* sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
	256 and don't use OPEN_MAX.
2000-06-08 10:09:10 +00:00
Ulrich Drepper de1a717765 Update.
* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2000-06-08 10:05:46 +00:00
Ulrich Drepper 9e56352f88 Update.
2000-06-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
	use it instead of LINK_MAX.
2000-06-08 10:03:13 +00:00
Andreas Jaeger 46a26d4506 Update.
2000-06-08  Andreas Jaeger  <aj@suse.de>

	* libio/genops.c (_IO_list_lock): Only compile body if we're
	thread safe.
	(_IO_list_unlock): Likewise.
	(_IO_list_resetlock): Likewise.
2000-06-08 09:02:03 +00:00
Ulrich Drepper bb7901065e Update.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
	unless user defined it.
2000-06-08 06:48:41 +00:00
Ulrich Drepper 104d06900c Update.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
	if not defined by the user.
2000-06-08 06:32:43 +00:00
Ulrich Drepper a27c96b0b1 Update.
* libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
	* libio/iofwrite.c (_IO_fwrite): Likewise.
2000-06-08 06:17:50 +00:00
Ulrich Drepper 777414995d Update.
* time/time.h: Add missing __THROW for clock_getcpuclockid
	prototype.
2000-06-08 04:57:40 +00:00
Ulrich Drepper ffa8a90345 Update.
* elf/Makefile (distribute): Add dl-dtprocnum.h.
2000-06-08 04:54:46 +00:00
Ulrich Drepper b0982c4ad3 Update.
* include/elf.h: Include also <dl-dtprocnum.h>.
	* elf/dl-deps.c: Likewise.
	* elf/dl-lookup.c: Likewise.
	* elf/dl-runtime.c: Likewise.
	* elf/dl-version.c: Likewise.
	* elf/do-rel.h: Likewise.
	* elf/dynamic-link.h: Likewise.
	* elf/link.h: Likewise.
	* elf/rtld.c: Likewise.
	* sysdeps/generic/dl-dtprocnum.h: New file.
	* sysdeps/ia64/dl-dtprocnum.h: New file.
	* sysdeps/mips/dl-dtprocnum.h: New file.
	* sysdeps/sparc/dl-dtprocnum.h: New file.
2000-06-08 04:48:56 +00:00
Ulrich Drepper d4f170a980 Update.
* sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2000-06-08 04:19:30 +00:00
Ulrich Drepper 7e281477f1 Update.
* elf/do-lookup.h: Add some __builtin_expect.
2000-06-08 03:31:44 +00:00
Ulrich Drepper dec126b41a 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.
2000-06-08 03:03:00 +00:00
Ulrich Drepper b8565e7817 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.
2000-06-08 02:19:27 +00:00
Ulrich Drepper 1c14af448e Update.
* elf/dl-addr.c (_dl_addr): Do exact testing of address range
	using l_map_start and l_map_end.
2000-06-08 01:50:04 +00:00
Ulrich Drepper 7b228b6857 Update.
* elf/dl-version.c: Add __builtin_expect in many places.
2000-06-08 01:12:15 +00:00
Ulrich Drepper dc3b5786d2 Update.
2000-06-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
	Update.
2000-06-07 23:43:59 +00:00
Ulrich Drepper 3fc9ca4e38 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.
2000-06-07 22:50:32 +00:00
Ulrich Drepper ce177a8416 Update.
* locale/programs/ld-ctype.c (set_class_defaults): Several uses of
	BIT() must actually be BITw().
2000-06-07 19:32:36 +00:00
Ulrich Drepper 45c952394b Update.
* locale/programs/ld-ctype.c: Handle SP and space consistently.
2000-06-07 19:13:50 +00:00
Ulrich Drepper 2a63199095 Update.
2000-06-07  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/charmap.c: Allow string arguments for
	code_set_name and repertoiremap.
2000-06-07 17:20:28 +00:00
Ulrich Drepper 99ac5e47c0 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.
2000-06-07 16:53:48 +00:00
Ulrich Drepper 345f9ac0db Update.
2000-06-07  Ulrich Drepper  <drepper@redhat.com>

	* locale/findlocale.c: Add __builtin_expect in many places.
	* locale/loadlocale.c: Likewise.
2000-06-07 16:36:48 +00:00
Greg McGary d5bc737a32 * sysdeps/mips/elf/start.S: Trim redundant code.
* sysdeps/mips/elf/start.S: Trim redundant code.
2000-06-07 00:30:05 +00:00
Ulrich Drepper 4c3192f900 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.
2000-06-06 22:59:19 +00:00
Greg McGary 1d280d9f1e * 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.
2000-06-06 22:37:40 +00:00
Greg McGary 9b6a9cee89 * 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.
2000-06-06 19:20:57 +00:00
Ulrich Drepper 89301d683e 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.
2000-06-06 16:53:06 +00:00
Ulrich Drepper 5ea1a82def 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.
2000-06-06 06:49:00 +00:00
Ulrich Drepper 365afefc6b 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.
2000-06-06 05:02:18 +00:00
Ulrich Drepper 85830c4c46 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
2000-06-06 03:16:30 +00:00
Ulrich Drepper b0f1ca6844 Update.
2000-06-05  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s in all cases of
	an error.
2000-06-05 22:45:16 +00:00
Ulrich Drepper add40772bf 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>.
2000-06-04 21:26:12 +00:00
Ulrich Drepper 1dd548500f Update.
2000-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
	if -ffast-math.
2000-06-04 16:39:33 +00:00
Ulrich Drepper 61da76873e Update.
* iconvdata/Makefile (modules): Add BIG5HKSCS.
	(distribute): Add big5hkscs.c.
2000-06-04 16:28:02 +00:00
Ulrich Drepper dda5c10bbf 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.
2000-06-04 16:25:27 +00:00
Ulrich Drepper cc46c92d6b 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.
2000-06-04 16:11:43 +00:00
Ulrich Drepper ec880cc71a Update.
* elf/elf.h (SHT_SUNW_move): Define.
2000-06-04 03:07:32 +00:00
Ulrich Drepper b7a65b8658 Update.
2000-06-03  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Add more Solaris compatiblity definitions.
2000-06-03 22:33:49 +00:00
Andreas Jaeger ec215d4380 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.
2000-06-03 08:16:58 +00:00
Ulrich Drepper a6dd2e55a5 Update.
2000-06-02  Ulrich Drepper  <drepper@redhat.com>

	* math/tgmath.h: Pretty print.
2000-06-03 00:58:47 +00:00
Andreas Jaeger 7b61638db0 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>.
2000-06-02 13:10:59 +00:00
Ulrich Drepper 75e8d1f516 Update.
2000-06-02  Ulrich Drepper  <drepper@redhat.com>

	* elf/rtld.c (process_envvars): Test for = after variable name.
2000-06-02 07:30:28 +00:00
Ulrich Drepper 6c021fdc2f Update.
* sysdeps/generic/initfini.c (_init): One less relocation.  Don't
	have extra call to __gmon_start__, use the pointer we already have.
2000-06-02 01:19:56 +00:00
Ulrich Drepper 68979757bc Update.
* elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
	shifting.
2000-06-02 00:27:08 +00:00
Ulrich Drepper 61d655c1cb 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.
2000-06-01 07:14:15 +00:00
Ulrich Drepper 9f97f790ea Update.
2000-05-31  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
2000-05-31 18:12:15 +00:00
Andreas Jaeger c3e485f12a 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.
2000-05-31 12:04:03 +00:00
Ulrich Drepper a2fa860526 Update.
* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
2000-05-30 23:45:22 +00:00
Ulrich Drepper 9b014809fa Update.
* locale/Versions [libc] (GLIBC_2.2): Add localeconv.
	* locale/localeconv.c: Make function versioned (with same definition).
2000-05-30 20:37:26 +00:00
Ulrich Drepper a907bff941 Update.
2000-05-30  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (modules-names): Strip before using it.
2000-05-30 20:09:44 +00:00
Andreas Jaeger e82a029517 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.
2000-05-30 12:50:54 +00:00
Andreas Jaeger 03fad0ecf6 Update.
2000-05-29  Andreas Jaeger  <aj@suse.de>

	* elf/readlib.c (interpreters): Use LD_SO since this is supported
	for all platforms.
2000-05-30 06:57:03 +00:00
Ulrich Drepper c8d3281732 Update.
* Makefile: Add GNU make magic.
2000-05-30 04:00:03 +00:00
Ulrich Drepper 3846463e07 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.
2000-05-29 18:04:55 +00:00
Ulrich Drepper a8322b4fa9 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.
2000-05-29 17:17:31 +00:00
Ulrich Drepper 08c7f6b008 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.
2000-05-29 07:31:53 +00:00
Ulrich Drepper 079199de5c Update.
* posix/Makefile (tests): Add tst-exec.
	(tst-exec-ARGS): New variable.
	* posix/tst-exec.c: New file.

	* posix/tst-fork.c: New file.
2000-05-29 04:40:43 +00:00
Ulrich Drepper 31eb0a91a5 Update.
2000-05-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/arm/atomicity.h (compare_and_swap): Return result.
2000-05-29 01:00:03 +00:00
Ulrich Drepper 84838b8ff3 Update.
2000-05-04  Andreas Jaeger  <aj@suse.de>

	* string/string.h: Remove __strdup prototype, it's not needed in
	this file anymore.
2000-05-28 22:53:25 +00:00
Ulrich Drepper c0f3519d2e Update.
* posix/Makefile (tests): Add tst-fork.
2000-05-28 22:14:55 +00:00
Ulrich Drepper 2588068bdf Update.
2000-05-28  Ulrich Drepper  <drepper@redhat.com>

	* resolv/inet_pton.c: Loose __P.
2000-05-28 19:32:08 +00:00
Ulrich Drepper d1a8bf8514 Update. 2000-05-28 18:36:00 +00:00
Ulrich Drepper 7163e69e10 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.
2000-05-28 18:32:20 +00:00
Ulrich Drepper 1ef9f0b673 Update.
* po/da.po: New file.
2000-05-28 16:44:57 +00:00
Ulrich Drepper b160422ecd 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>.
2000-05-28 16:42:45 +00:00
Ulrich Drepper e6e813911c 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>.
2000-05-28 16:31:09 +00:00
Andreas Jaeger 741845cb9c 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.
2000-05-27 16:51:52 +00:00
Ulrich Drepper b455972fda 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.
2000-05-27 08:17:05 +00:00
Andreas Jaeger aac468aee2 Update.
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
	of arguments dependend on endianness.
	* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2000-05-27 06:56:36 +00:00
Ulrich Drepper e84e339f5f 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 ==
2000-05-27 06:18:49 +00:00