Commit Graph

983 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Ulrich Drepper
a514656381 (__recvmsg, __sendmsg): Add aliases. 2002-05-15 00:20:02 +00:00
Ulrich Drepper
337ca8062e Add __connect_internal. 2002-04-19 07:56:42 +00:00
Ulrich Drepper
016f45be9b Define __gettimeofday alias. 2002-04-14 09:12:57 +00:00
Ulrich Drepper
a02fe38fa8 Use INTDEF for __getpagesize. 2002-04-14 08:41:04 +00:00
Ulrich Drepper
e4bf0032b0 Use INTUSE for __chown calls. 2002-04-09 20:26:17 +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
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
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
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
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
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
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
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
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