Commit Graph

1653 Commits

Author SHA1 Message Date
Ulrich Drepper
bbb3856d85 Avoid unescaped newlines in string constants. 2002-08-28 21:26:20 +00:00
Ulrich Drepper
48fa58aa12 Add dl-brk.S. 2002-08-28 08:54:42 +00:00
Ulrich Drepper
b45f281680 Add sys/user.h. 2002-08-27 16:06:03 +00:00
Roland McGrath
0a59ce67bf 2002-08-26 Roland McGrath <roland@redhat.com>
* sysdeps/gnu/Versions: New file.
	* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
	_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
	* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
	($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
	* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
	and _sys_nerr_internal instead of anything else.  Make it include
	"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
	Make it emit some asm magic if [EMIT_ERR_MAX].
	* sysdeps/gnu/errlist.c: Regenerated.
	* sysdeps/gnu/errlist-compat.awk: New file.
	* sysdeps/gnu/errlist-compat.c: New file (generated).
	* sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
	(_sys_errlist_internal): Define this as	a macro for _hurd_errlist.
	(_sys_nerr_internal): Define this is a macro for _hurd_nerr.
	(SYS_ERRLIST, SYS_NERR): Macros removed.
	(sys_nerr, _sys_nerr): Remove these weak aliases.
	* sysdeps/unix/sysv/linux/errlist.c: File removed.
	* sysdeps/unix/sysv/linux/errlist.h: File removed.
	* sysdeps/unix/sysv/linux/arm/errlist.c: File removed.
2002-08-27 09:22:36 +00:00
Roland McGrath
1717fd72fb 2002-08-26 Roland McGrath <roland@redhat.com>
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace
	macro with inline function.
	(sigset_get_old_mask): Likewise.
	* sysdeps/posix/sigblock.c (__sigblock): Update callers.
	* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
	* sysdeps/posix/sigpause.c (__sigpause): Likewise.
	* sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise.
	* sysdeps/unix/sysv/aix/sigset-cvt-mask.h
	(sigset_set_old_mask, sigset_get_old_mask): Make these macros return
	values.
	* sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise.
	* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise.
2002-08-27 02:43:04 +00:00
Roland McGrath
13d6ef283d 2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
	* sysdeps/unix/alpha/pipe.S: ... here.
	* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.
2002-08-26 11:37:32 +00:00
Roland McGrath
631d94cb30 2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
2002-08-26 11:37:24 +00:00
Ulrich Drepper
564fb196d6 SysV message queue definitions for Linux/MIPS. 2002-08-26 01:49:55 +00:00
Ulrich Drepper
9c3c87e2ec Update comment regarding placement of errno definition. 2002-08-24 23:26:47 +00:00
Ulrich Drepper
28fdb447c1 Define SHMLBA. 2002-08-23 22:26:25 +00:00
Andreas Jaeger
1077d52cfb Remove *xattr syscalls. 2002-08-23 09:29:00 +00:00
Andreas Jaeger
074a6e5efa Add *xattr syscalls with version 2.3. 2002-08-15 09:01:52 +00:00
Roland McGrath
94a376cc2c 2002-08-12 Roland McGrath <roland@redhat.com>
* include/grp.h (setgroups): Add libc_hidden_proto.
	* sysdeps/generic/setgroups.c: Add libc_hidden_def.
	* sysdeps/mach/hurd/setgroups.c: Likewise.
	* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2002-08-13 01:07:58 +00:00
Roland McGrath
84091b65ff 2002-08-12 Roland McGrath <roland@redhat.com>
* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
	* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
	* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
	* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
	* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
	* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
	* sysdeps/generic/waitpid.c: Likewise.
2002-08-13 01:07:52 +00:00
Roland McGrath
f994831e93 2002-08-13 Jakub Jelinek <jakub@redhat.com>
* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
	__lxstat_internal, __lxstat64_internal): Remove.
	(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
	Add hidden_proto.
	* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
	Remove INTDEF where present, remove #undef at the beginning.
	* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/generic/lxstat.c (__lxstat): Likewise.
	* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/generic/xstat.c (__xstat): Likewise.
	* sysdeps/generic/xstat64.c (__xstat64): Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
	* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
	* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
	* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
	* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
	* sysdeps/unix/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
	* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
	* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/unix/xstat.c (__xstat): Likewise.
2002-08-13 00:23:09 +00:00
Roland McGrath
9c1cc5c52c 2002-08-13 Jakub Jelinek <jakub@redhat.com>
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
	* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
	* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
	* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
	Likewise.
	* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
	* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
	* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
2002-08-13 00:23:01 +00:00
Roland McGrath
e0acc021ce 2002-08-13 Jakub Jelinek <jakub@redhat.com>
* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
	* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
	* sysdeps/generic/setegid.c (setegid): Likewise.
	* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
	* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
	* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
	Remove fallback if __ASSUME_SETRESUID_SYSCALL.
2002-08-13 00:22:48 +00:00
Roland McGrath
216e12e222 2002-08-03 Roland McGrath <roland@redhat.com>
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
	setpriority.
	* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
	* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
	* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
	* sysdeps/mach/hurd/setpriority.c: Likewise.
	* sysdeps/mach/hurd/getpriority.c: Likewise.
	* sysdeps/generic/setpriority.c: Likewise.
	* sysdeps/generic/getpriority.c: Likewise.
2002-08-05 02:18:11 +00:00
Ulrich Drepper
28b5d5afc6 (glob, globfree, globfree64): Add libc_hidden_ver. 2002-08-05 00:31:32 +00:00
Ulrich Drepper
9b4c30e300 Add _sys_siglist_internal alias. 2002-08-04 23:26:50 +00:00
Ulrich Drepper
a42044dc37 (__xmknod): Add libc_hidden_def. 2002-08-04 09:23:46 +00:00
Ulrich Drepper
1d343348c1 (__sysconf): Add libc_hidden_def. 2002-08-04 09:16:35 +00:00
Roland McGrath
e38327be06 2002-08-03 Roland McGrath <roland@redhat.com>
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
	setpriority.
	* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
	* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
	* sysdeps/mach/hurd/setpriority.c: Likewise.
	* sysdeps/mach/hurd/getpriority.c: Likewise.
	* sysdeps/generic/setpriority.c: Likewise.
	* sysdeps/generic/getpriority.c: Likewise.
2002-08-04 03:50:10 +00:00
Roland McGrath
237b9f1c7b 2002-08-03 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
	HIDDEN_JUMPTARGET for _exit.
	* sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
	* sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
	* sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.
2002-08-04 01:28:09 +00:00
Ulrich Drepper
9f0c7fbd18 Remove all __GI_* aliases. 2002-08-03 19:44:44 +00:00
Ulrich Drepper
78413eec88 Add __GI_ aliases. 2002-08-03 06:58:54 +00:00
Ulrich Drepper
da5f5f7986 Add libc_hidden_def. Remove undef and INTDEF. 2002-08-03 06:57:53 +00:00
Ulrich Drepper
4def79b563 (__adjtimex_internal): Add alias. 2002-07-27 08:40:18 +00:00
Ulrich Drepper
31db6c4d74 (PUSHARGS_1): Use more efficient instruction.
(__socket): Optimize return sequence.
2002-07-24 17:36:44 +00:00
Ulrich Drepper
b24fa78c3b Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist
as strong alias.
2002-07-24 11:17:01 +00:00
Ulrich Drepper
841f536f46 Remove __set_errno definition. 2002-07-20 01:02:01 +00:00
Ulrich Drepper
d7fafc1a39 Sign extend offset. 2002-07-17 20:42:56 +00:00
Ulrich Drepper
176b5726d7 Don't include <sgidefs.h>. Always use ll/sc. 2002-07-16 00:58:07 +00:00
Ulrich Drepper
8310ff4225 [subdir=elf] (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
define.
2002-07-15 02:07:17 +00:00
Andreas Jaeger
d6749b4a61 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
Use correct indices.
	Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
2002-07-12 23:25:56 +00:00
Ulrich Drepper
d97abfcbcb (__NSSBITS): Correct value. 2002-07-10 20:24:32 +00:00
Ulrich Drepper
064d652e93 Wrong approach. 2002-07-10 20:22:09 +00:00
Andreas Jaeger
3fb27d8d9a Linux/MIPS specific file with extra value of SHMLBA. 2002-07-09 06:32:55 +00:00
Andreas Jaeger
4223e67fa1 Fix typo. 2002-07-08 16:58:14 +00:00
Ulrich Drepper
ac309f11ea (__fork): Remove INTDEF. 2002-06-20 22:43:34 +00:00
Andreas Jaeger
8248bb200e * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
	(sendfile64): Likewise.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
	Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.
2002-06-07 12:33:51 +00:00
Ulrich Drepper
79c8c187bb Add readahead syscall. Add sendfile64 alias to sendfile syscall. 2002-05-30 23:23:09 +00:00
Andreas Jaeger
eb7e1f616e Don't use multiline string as argument of #error. 2002-05-19 16:24:27 +00:00
Ulrich Drepper
a514656381 (__recvmsg, __sendmsg): Add aliases. 2002-05-15 00:20:02 +00:00
Ulrich Drepper
4c68ac2b46 (__getsockname): Renamed from getsockname, add getsockname as weak alias. 2002-05-15 00:14:45 +00:00
Ulrich Drepper
dd96b0cb1d (__sendmsg): Renamed from sendmsg, add sendmsg as weak alias. 2002-05-15 00:10:13 +00:00
Ulrich Drepper
fa87d850d1 (__recvfrom): Renamed from recvfrom, add recvfrom as weak alias. 2002-05-15 00:08:25 +00:00
Ulrich Drepper
7fbbcc094f (__recvmsg): Renamed from recvmsg, add recvmsg as weak alias. 2002-05-15 00:07:30 +00:00
Roland McGrath
942fe80901 2002-04-30 Roland McGrath <roland@frob.com>
Removed old GNU stdio implementation; GNU libio is now the only option.
	* configure.in: Removed --enable-libio option and @stdio@ subst var.
	Define USE_IN_LIBIO unconditionally.
	* configure: Regenerated.
	* Makeconfig (stdio): Set to libio by default.
	* config.make.in (stdio): Variable removed.
	* sysdeps/unix/sysv/linux/configure.in: Don't set $stdio.
	* sysdeps/unix/sysv/linux/configure: Regenerated.
	* sysdeps/mach/hurd/configure.in: Don't test $stdio.
	* sysdeps/mach/hurd/configure: Regenerated.
	* stdio/.cvsignore: File removed.
	* stdio/Makefile: File removed.
	* stdio/Versions: File removed.
	* stdio/__fbufsize.c: File removed.
	* stdio/__flbf.c: File removed.
	* stdio/__fpending.c: File removed.
	* stdio/__fpurge.c: File removed.
	* stdio/__freadable.c: File removed.
	* stdio/__freading.c: File removed.
	* stdio/__fsetlocking.c: File removed.
	* stdio/__fwritable.c: File removed.
	* stdio/__fwriting.c: File removed.
	* stdio/clearerr.c: File removed.
	* stdio/fclose.c: File removed.
	* stdio/fcloseall.c: File removed.
	* stdio/feof.c: File removed.
	* stdio/ferror.c: File removed.
	* stdio/fflush.c: File removed.
	* stdio/fgetc.c: File removed.
	* stdio/fgetpos.c: File removed.
	* stdio/fgets.c: File removed.
	* stdio/fileno.c: File removed.
	* stdio/fmemopen.c: File removed.
	* stdio/fopen.c: File removed.
	* stdio/fopncook.c: File removed.
	* stdio/fputc.c: File removed.
	* stdio/fputs.c: File removed.
	* stdio/fread.c: File removed.
	* stdio/freopen.c: File removed.
	* stdio/fseek.c: File removed.
	* stdio/fsetpos.c: File removed.
	* stdio/ftell.c: File removed.
	* stdio/fwrite.c: File removed.
	* stdio/getc.c: File removed.
	* stdio/getchar.c: File removed.
	* stdio/getdelim.c: File removed.
	* stdio/gets.c: File removed.
	* stdio/glue.c: File removed.
	* stdio/internals.c: File removed.
	* stdio/linewrap.c: File removed.
	* stdio/linewrap.h: File removed.
	* stdio/memstream.c: File removed.
	* stdio/newstream.c: File removed.
	* stdio/obstream.c: File removed.
	* stdio/putc.c: File removed.
	* stdio/putchar.c: File removed.
	* stdio/puts.c: File removed.
	* stdio/rewind.c: File removed.
	* stdio/setbuf.c: File removed.
	* stdio/setbuffer.c: File removed.
	* stdio/setlinebuf.c: File removed.
	* stdio/setvbuf.c: File removed.
	* stdio/stdio.h: File removed.
	* stdio/ungetc.c: File removed.
	* stdio/vasprintf.c: File removed.
	* stdio/vscanf.c: File removed.
	* stdio/vsnprintf.c: File removed.
	* stdio/vsprintf.c: File removed.
	* stdio/vsscanf.c: File removed.
	* sysdeps/generic/defs.c: File removed.
	* sysdeps/generic/fdopen.c: File removed.
	* sysdeps/generic/pipestream.c: File removed.
	* sysdeps/generic/stdio_init.c: File removed.
	* sysdeps/generic/sysd-stdio.c: File removed.
	* sysdeps/generic/vdprintf.c: File removed.
	* sysdeps/mach/hurd/defs.c: File removed.
	* sysdeps/mach/hurd/fdopen.c: File removed.
	* sysdeps/mach/hurd/pipestream.c: File removed.
	* sysdeps/mach/hurd/stdio_init.c: File removed.
	* sysdeps/mach/hurd/sysd-stdio.c: File removed.
	* sysdeps/mach/hurd/vdprintf.c: File removed.
	* sysdeps/posix/defs.c: File removed.
	* sysdeps/posix/fdopen.c: File removed.
	* sysdeps/posix/pipestream.c: File removed.
	* sysdeps/posix/stdio_init.c: File removed.
	* sysdeps/posix/vdprintf.c: File removed.
	* sysdeps/unix/pipestream.c: File removed.
	* sysdeps/unix/sysv/sysd-stdio.c: File removed.
	* sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed.
	* sysdeps/unix/sysv/sysv4/pipestream.c: File removed.
2002-04-30 22:00:59 +00:00
Ulrich Drepper
337ca8062e Add __connect_internal. 2002-04-19 07:56:42 +00:00
Ulrich Drepper
9d337e61ff Use INTDEF for __write. 2002-04-15 05:30:10 +00:00
Ulrich Drepper
548fe33d15 Use INTDEF for __lxstat64. 2002-04-15 05:28:30 +00:00
Ulrich Drepper
2093a68877 Use INTDEF for __lxstat. 2002-04-15 05:27:20 +00:00
Ulrich Drepper
0e36d9d57e Use INTDEF for __open. 2002-04-14 20:12:24 +00:00
Ulrich Drepper
d0a1614c81 Undefine __libc_fcntl as well. 2002-04-14 18:34:22 +00:00
Ulrich Drepper
016f45be9b Define __gettimeofday alias. 2002-04-14 09:12:57 +00:00
Ulrich Drepper
4c7b01bd93 Use INTEDEF for __gettimeofday. 2002-04-14 09:11:55 +00:00
Ulrich Drepper
5fe32a10ce Use INTDEF for __getpgid. 2002-04-14 08:42:53 +00:00
Ulrich Drepper
a02fe38fa8 Use INTDEF for __getpagesize. 2002-04-14 08:41:04 +00:00
Ulrich Drepper
9155b112e9 Use INTDEF for __fxstat64. 2002-04-14 08:38:17 +00:00
Ulrich Drepper
144484daa4 Use INTDEF for __fxstat. 2002-04-14 08:37:17 +00:00
Ulrich Drepper
3ab5bc8a52 LOC): Don't paste in a token. 2002-04-11 20:38:52 +00:00
Ulrich Drepper
e4bf0032b0 Use INTUSE for __chown calls. 2002-04-09 20:26:17 +00:00
Ulrich Drepper
d6a57cb894 Use INTDEF for __fork. 2002-04-09 20:22:09 +00:00
Ulrich Drepper
1555f102ef Use INTDEF for __connect. 2002-04-09 20:21:24 +00:00
Ulrich Drepper
db601cfcce Use INTDEF for __chown. 2002-04-09 20:20:23 +00:00
Ulrich Drepper
a4b6834c4f Use INTDEF for __fcntl. 2002-04-09 19:49:11 +00:00
Ulrich Drepper
521d1bc7f4 brk implementation for dynamic linker. 2002-04-06 01:34:06 +00:00
Ulrich Drepper
ef8af250ff (_DL_HWCAP_COUNT): Define as 8. 2002-04-03 06:55:14 +00:00
Ulrich Drepper
9a168f2b42 Completely specify size of _dl_arm_cap_flags. 2002-04-03 06:54:28 +00:00
Roland McGrath
2d5fe9e39b 2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile
	(sysdep_routines, shared-only-routines): Don't add framestate,
	reverting 2001-10-02 change.
	* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
	* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
	Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:55:18 +00:00
Ulrich Drepper
15a7702daa (__libc_multiple_libcs): Define as hidden. 2002-03-13 03:49:52 +00:00
Ulrich Drepper
48e6095f0e Define __libc_argc and __libc_argv as hidden. 2002-03-12 21:37:08 +00:00
Andreas Jaeger
b16fd2b050 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
<signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.

	* sysdeps/unix/sysv/linux/mips/sys/user.h: New.
2002-02-08 16:21:00 +00:00
Andreas Jaeger
c149ac8f45 * sysdeps/mips/atomicity.h (compare_and_swap): Remove
".set noreorder".
	* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
	Likewise.
2002-02-08 16:15:32 +00:00
Andreas Jaeger
6d1e7ba623 Do not use branch likely. 2002-02-07 10:39:06 +00:00
Ulrich Drepper
d7d16bb3ea (_test_and_set): Use branch likely. 2002-02-03 02:25:17 +00:00
Ulrich Drepper
a242df8440 Remove dl-procinfo.c. 2002-02-01 19:11:08 +00:00
Ulrich Drepper
8badabd849 _dl_fpu_control, _dl_fpu_control_set): Remove unused externs. 2002-02-01 19:03:37 +00:00
Ulrich Drepper
8bd56b60c4 Move _dl_hp_timing_overhead and procinfo-related variables in
rtld_global struct.
2002-02-01 07:48:43 +00:00
Ulrich Drepper
f71d7f5726 Move global variables for SHARED code in struct _rtld_global. Export
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
Ulrich Drepper
6f68ec79d2 Avoid warning about comma at end of enum for !_GNU_SOURCE. 2002-01-18 23:37:53 +00:00
Ulrich Drepper
51e7253b84 Add sysv_termio.h and start-libc.c. 2002-01-08 21:54:58 +00:00
Ulrich Drepper
3c2105f0b0 Define _G_MMAP64. 2002-01-07 09:18:53 +00:00
Andreas Jaeger
90a0de032a Remove __brk_addr alias, avoid warning. 2001-11-26 08:37:35 +00:00
Ulrich Drepper
decdce5e7c (sysdep-routines): Add framestate. 2001-11-16 01:24:04 +00:00
Ulrich Drepper
9bfdd6609c (__register_frame_info, __deregister_frame_info): Move to elf/Versions. 2001-11-16 01:22:33 +00:00
Andreas Schwab
ffd88164dc New file to fix RLIM_INFINITY. 2001-11-09 19:57:55 +00:00
Andreas Jaeger
35b1d4b18e Make sysmips() prototype a varargs prototype. Remove dependency from kernel header files. 2001-10-15 11:56:11 +00:00
Andreas Jaeger
f255cc1218 General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. 2001-10-15 11:55:20 +00:00
Ulrich Drepper
916ea7e833 (struct cmsghdr): Don't declare __cmsg_data field if its size would be bigger
than 0.
(CMSG_DATA): Adjust accordingly.
2001-09-26 05:23:10 +00:00
Ulrich Drepper
177ac300b9 Add real implementation. 2001-09-22 21:28:25 +00:00
Ulrich Drepper
3805349500 (init): Use USE_NONONPTION_FLAG ifdef for __getopt_clean_environment. 2001-09-22 21:19:47 +00:00
Ulrich Drepper
7a250cfd1e termio definitions for AIX. 2001-09-08 17:45:10 +00:00
Ulrich Drepper
e2cf1dd41d Library startup code for AIX. 2001-09-08 17:44:33 +00:00
Ulrich Drepper
48255f4c66 Program startup code for AIX. 2001-09-08 17:41:25 +00:00
Ulrich Drepper
de447e48ce Alias __libc_fcntl to __fcntl. 2001-09-08 17:40:41 +00:00
Ulrich Drepper
c25168ce57 Startup code for glibc on AIX. 2001-09-08 17:24:19 +00:00
Ulrich Drepper
51ca795a3c Not needed anymore. 2001-09-08 17:23:45 +00:00
Ulrich Drepper
3dd5528154 (aix-syscalls.o): More linker command line options. 2001-09-08 17:22:27 +00:00
Ulrich Drepper
8c2b0506ec Include <errno.h>.
(__syscall_gethostname): Add prototype.
2001-09-05 00:08:11 +00:00
Ulrich Drepper
19635181cc gethostname implementation for Linux/Alpha. 2001-09-03 17:10:56 +00:00
Andreas Jaeger
fa5c1c570d 2001-08-24 Maciej W. Rozycki macro@ds2.pg.gda.pl
* sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
	empty to prevent junk from being generated.
	sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2001-08-24 18:27:55 +00:00
Ulrich Drepper
4435779790 Fix type of __id_t, __useconds_t and __intptr_t. 2001-08-16 05:32:49 +00:00
Ulrich Drepper
85e36b0922 Add rule to import kernel symbols. 2001-08-16 05:32:30 +00:00
Andreas Jaeger
a4f1359e63 * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-31 07:46:06 +00:00
Ulrich Drepper
1e0904c1c1 Add dl-support.c, dl-addr.c, and dl-error.c. 2001-07-28 06:08:50 +00:00
Ulrich Drepper
2b948198f1 Add sys/procfs.h. 2001-07-28 06:07:40 +00:00
Andreas Schwab
db08f905e8 Don't mark asm input operand as clobbered. 2001-07-22 18:18:48 +00:00
Andreas Schwab
48bfe44538 (INLINE_SYSCALL): Don't mark asm input operand as clobbered. 2001-07-22 18:18:34 +00:00
Andreas Jaeger
c1babb4b9d Synch with kernel. 2001-07-20 06:05:16 +00:00
Andreas Schwab
44dce39192 Fix last change. 2001-07-17 17:12:10 +00:00
Andreas Schwab
b5f709a1ff Special versions for Linux/m68k. 2001-07-15 15:30:50 +00:00
Andreas Schwab
f476000f87 Check _dl_pagesize first. Default to 4096, not EXEC_PAGESIZE. 2001-07-15 15:25:11 +00:00
Ulrich Drepper
655f4b14c8 Improve nsendmsg prototype. 2001-07-08 07:15:01 +00:00
Ulrich Drepper
f89b56b804 (sendmsg): Fix return type. 2001-07-08 07:14:06 +00:00
Ulrich Drepper
c96d6988ab (recvmsg): Fix return type. 2001-07-08 07:11:53 +00:00
Ulrich Drepper
7f82b7444c (__recv): Fix typo. 2001-07-08 07:09:12 +00:00
Ulrich Drepper
097cf6fa03 AIX recv implementation. 2001-07-08 07:05:51 +00:00
Ulrich Drepper
a207bef32f Fix various types. 2001-07-08 07:02:19 +00:00
Ulrich Drepper
0312b508ac (__libc_dlclose): Fix typo. 2001-07-08 06:55:42 +00:00
Ulrich Drepper
da48cd782f (__gettimeofday): Add declarations for asm functions. 2001-07-08 06:47:53 +00:00
Ulrich Drepper
af9dfe869f Fix typo. 2001-07-07 19:19:16 +00:00
Andreas Jaeger
6b440a5c6e Removed, we can use the generic Linux version. 2001-07-06 07:14:28 +00:00
Andreas Jaeger
3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
Andreas Jaeger
6fbcd2261e Synch with Linux 2.4.5:
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
	New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
	(PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.

	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-07-05 08:46:28 +00:00
Andreas Jaeger
a5bebe4c22 Remove check for crypt add-on. 2001-07-03 16:50:33 +00:00
Ulrich Drepper
3553aef886 Register dump function implementation for AIX/PPC. 2001-06-20 07:08:58 +00:00
Ulrich Drepper
aa21e7c94f usleep implementation for AIX. 2001-06-20 07:08:26 +00:00
Ulrich Drepper
cc811924cd sleep implementation for AIX. 2001-06-20 07:08:13 +00:00
Ulrich Drepper
55f326305c setitimer implementation for AIX. 2001-06-20 07:07:41 +00:00
Ulrich Drepper
68dbc1fdab Various helper functions for dynamic loader code. 2001-06-20 07:07:10 +00:00
Ulrich Drepper
dc0664c129 _dl_error implementation for AIX. 2001-06-20 07:06:11 +00:00
Ulrich Drepper
6fb75a6469 _dl_addr implementation for AIX. 2001-06-20 07:05:44 +00:00
Ulrich Drepper
b9823d7f91 Define __dso_handle if not ELF but shared. 2001-06-20 07:04:35 +00:00
Ulrich Drepper
ed556c3c99 Removed #if 0. 2001-06-20 07:04:05 +00:00
Ulrich Drepper
58e6e5bfc6 Added dl-support.c and dl-error.c. 2001-06-20 07:03:22 +00:00
Ulrich Drepper
99e859a488 Define __MAX_BAUD. 2001-06-14 00:21:01 +00:00
Andreas Jaeger
f325056f09 Implement syscall. 2001-06-06 11:49:29 +00:00
Andreas Jaeger
97b30982ce Remove dummy syscall. 2001-06-06 11:49:17 +00:00
Andreas Jaeger
ed48681558 Call getrlimit, setrlimit directly instead of using wrappers. 2001-06-06 11:44:24 +00:00
Andreas Jaeger
b496bd686c Removed. 2001-06-06 11:35:25 +00:00
Andreas Jaeger
b81e88a055 Linux/MIPS specific version. 2001-05-27 08:40:14 +00:00
Andreas Jaeger
3901129ce4 Change sigsuspend to s_sigsuspend. Add s_mmap2. 2001-05-27 08:39:56 +00:00
Andreas Jaeger
fc0f915617 (ipc_perm): Put back __key. 2001-05-27 08:34:45 +00:00
Andreas Jaeger
b5cd3bfc63 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
* sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2001-05-11 16:48:37 +00:00
Andreas Jaeger
979dedac4f Make structure definitions match the kernel definitions. 2001-04-30 07:20:38 +00:00
Andreas Jaeger
30ecc70c40 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
	Linux 2.4.4.
	(AF_WANPIPE): Likewise.
	(MSG_MORE): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
	for Linux generic version.
	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.

	* sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2001-04-29 12:30:59 +00:00
Ulrich Drepper
b390705b1c <resource.h> definitions for Linux/HPPA. 2001-04-25 20:19:39 +00:00
Ulrich Drepper
179c96ec73 mmap64 implementation for Linux/HPPA. 2001-04-25 20:19:03 +00:00
Ulrich Drepper
353e429d96 getdents64 implementation for Linux/HPPA. 2001-04-25 20:18:14 +00:00
Ulrich Drepper
90256e473e Include sys/procfs.h not sys/elf.h. 2001-04-22 14:10:28 +00:00
Ulrich Drepper
e8551fba7f (struct user_fpregs): Renamed from struct user_fp.
(struct user_regs): New.
(struct user): Use struct user_regs rather than struct pt_regs to
avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
of struct user_fp and struct user_fp_struct.
2001-04-22 14:10:14 +00:00
Ulrich Drepper
ace45f1fd0 Move contents to sys/procfs.h, and tell the user to include that file instead. 2001-04-22 14:08:57 +00:00
Ulrich Drepper
c2a38d017e Remove old cruft surrounded with #if 0.
(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
from sys/elf.h.
(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
elf_fpregset_t respectively.
2001-04-22 14:07:25 +00:00
Ulrich Drepper
7ace52d01f Also print the address that faulted. 2001-04-22 14:02:39 +00:00
Ulrich Drepper
15a25bb641 Fix clone system call entry point stub. 2001-04-22 03:24:39 +00:00
Ulrich Drepper
fe6fac6851 Removed ptrace entry so the ptrace.c wrapper is used. 2001-04-22 03:23:45 +00:00
Ulrich Drepper
21e7ad57ab (NGREG, NFPREG, gregset): Correct for new kernel definitions. 2001-04-20 06:05:52 +00:00
Ulrich Drepper
6e3bde59b4 (CALL_MCOUNT): Update comment. 2001-04-20 06:05:04 +00:00
Ulrich Drepper
964b686b75 (INLINE_SYSCALL): Change to return a signed result for compatibility with other
architectures, and correctness.
2001-04-19 21:23:49 +00:00
Andreas Jaeger
6f66c56d4e Fix typos in last patch. 2001-04-19 09:35:01 +00:00
Andreas Jaeger
070b2d2a8e Fix typos in last patch. 2001-04-19 09:33:50 +00:00
Ulrich Drepper
a7d0b32d5f [!__ASSEMBLY__]: Declare __start. 2001-04-10 22:32:04 +00:00
Ulrich Drepper
fe4dd66ed7 setresuid implementation for Linux/CRIS. 2001-04-09 05:08:36 +00:00
Ulrich Drepper
51610bc7b3 setresgid implementation for Linux/CRIS. 2001-04-09 05:08:17 +00:00
Ulrich Drepper
12d6ab7b10 __xstat implementation for Linux/CRIS. 2001-04-09 04:51:09 +00:00
Ulrich Drepper
b13de4a8b7 vfork implementation for Linux/CRIS. 2001-04-09 04:50:57 +00:00
Ulrich Drepper
c2e42b7134 System specific code for Linux/CRIS. 2001-04-09 04:50:44 +00:00
Ulrich Drepper
a2c5e2b43a System specific definitions for Linux/CRIS. 2001-04-09 04:50:27 +00:00
Ulrich Drepper
c8e66742e2 syscall implementation for Linux/CRIS. 2001-04-09 04:50:08 +00:00
Ulrich Drepper
b660421d48 ucontext definitions for Linux/CRIS. 2001-04-09 04:49:56 +00:00
Ulrich Drepper
22ebc6a15f socket implementation for Linux/CRIS. 2001-04-09 04:49:41 +00:00
Ulrich Drepper
25a87ddfb0 shmctl implementation for Linux/CRIS. 2001-04-09 04:49:25 +00:00
Ulrich Drepper
1157fe0248 setuid implementation for Linux/CRIS. 2001-04-09 04:49:10 +00:00
Ulrich Drepper
a6aa3792be setrlimit implementation for Linux/CRIS. 2001-04-09 04:48:56 +00:00
Ulrich Drepper
382b7b8995 setreuid implementation for Linux/CRIS. 2001-04-09 04:48:41 +00:00
Ulrich Drepper
4c8b7016a8 setregid implementation for Linux/CRIS. 2001-04-09 04:48:27 +00:00
Ulrich Drepper
f79e192ba6 setgroups implementation for Linux/CRIS. 2001-04-09 04:48:09 +00:00
Ulrich Drepper
e1cb46ec7a setgid implementation for Linux/CRIS. 2001-04-09 04:47:52 +00:00
Ulrich Drepper
75938458d7 setfsuid implementation for Linux/CRIS. 2001-04-09 04:47:29 +00:00
Ulrich Drepper
70f5c90d37 setfsgid implementation for Linux/CRIS. 2001-04-09 04:47:13 +00:00
Ulrich Drepper
abf44d0128 seteuid implementation for Linux/CRIS. 2001-04-09 04:46:45 +00:00
Ulrich Drepper
b074d424bd setegid implementation for Linux/CRIS. 2001-04-09 04:46:28 +00:00
Ulrich Drepper
f63b7c8b19 semctl implementation for Linux/CRIS. 2001-04-09 04:46:05 +00:00
Ulrich Drepper
0cfe451872 Register dump code for Linux/CRIS. 2001-04-09 04:45:39 +00:00
Ulrich Drepper
efe7db140e Profile helper definitions for Linux/CRIS. 2001-04-09 04:45:23 +00:00
Ulrich Drepper
6f41227c00 msgctl implementation for Linux/CRIS. 2001-04-09 04:45:00 +00:00
Ulrich Drepper
83fcbc9f9c mmap64 implementation for Linux/CRIS. 2001-04-09 04:44:45 +00:00
Ulrich Drepper
1e9050b191 mmap implementation for Linux/CRIS. 2001-04-09 04:43:42 +00:00
Ulrich Drepper
9783a2c16b __lxstat implementation for Linux/CRIS. 2001-04-09 04:43:24 +00:00
Ulrich Drepper
0ef01ce34a lockf64 implementation for Linux/CRIS. 2001-04-09 04:43:05 +00:00
Ulrich Drepper
1e1229ee3d lchown implementation for Linux/CRIS. 2001-04-09 04:42:48 +00:00
Ulrich Drepper
d4c00be41b getuid implementation for Linux/CRIS. 2001-04-09 04:36:48 +00:00
Ulrich Drepper
b7119d5193 getrlimit64 implementation for Linux/CRIS. 2001-04-09 04:36:29 +00:00
Ulrich Drepper
4fa1498695 getrlimit implementation for Linux/CRIS. 2001-04-09 04:36:16 +00:00
Ulrich Drepper
ca9495b62e getresuid implementation for Linux/CRIS. 2001-04-09 04:35:56 +00:00
Ulrich Drepper
7663b23c29 getresgid implementation for Linux/CRIS. 2001-04-09 04:35:40 +00:00
Ulrich Drepper
77e0283665 getgroups implementation for Linux/CRIS. 2001-04-09 04:35:21 +00:00
Ulrich Drepper
58e6c6c253 getgid implementation for Linux/CRIS. 2001-04-09 04:35:05 +00:00