glibc/sysdeps/unix
Roland McGrath 439d1d4560 Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
 	#ifdef PIC.
	(PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
	* sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
 	jump insn.

	* sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
	* sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
	* sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
 	<sys/socketcall.h>.  Save %ebx in call-clobbered %edx instead of
 	stack.  Use JUMPTARGET(syscall_error) in jump insn.

	* Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.

	* sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and
 	ASM_TYPE_DIRECTIVE.
	(ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF.

	* sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error): 
	Rewritten, #include'ing unix/i386/sysdep.S for most of the code.
	* sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT.

	Fixes to help Linux, inspired by drepper's work:
	* configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os,
 	instead of unix/sysv.
	* sysdeps/posix/utimes.c: New file.
	* sysdeps/generic/getdomain.c: New file.
	* sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
	* sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare
 	externals _dl_argc, _dl_argc, and _environ.
	* sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename,
	socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved
	to new directory sysdeps/unix/sysv/sysv4/linux.
	* sysdeps/unix/sysv/linux: Directory removed.
	* sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved
	to new directory sysdeps/unix/sysv/sysv4/linux/i386.
	* sysdeps/unix/sysv/linux/i386: Directory removed.
1995-07-22 10:48:43 +00:00
..
bsd undo previous change, not needed w/ configure fix 1995-06-14 00:15:10 +00:00
common Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-29 16:34:21 +00:00
i386 Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-07-22 10:48:43 +00:00
inet initial import 1995-02-18 01:27:10 +00:00
mips * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end. * sysdeps/unix/mips/fork.S (fork): Likewise. * sysdeps/unix/mips/pipe.S (fork): Likewise. * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise. * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise. * sysdeps/unix/mips/wait.S (__handler): Likewise. * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise. * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise. * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise. * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise. * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise. * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise. * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use $0' instead of zero' for the li instruction. 1995-04-15 02:30:20 +00:00
mman Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 00:27:08 +00:00
sparc Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu> 1995-02-20 01:08:14 +00:00
sysv Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-07-22 10:48:43 +00:00
_exit.S initial import 1995-02-18 01:27:10 +00:00
acct.S initial import 1995-02-18 01:27:10 +00:00
chdir.S initial import 1995-02-18 01:27:10 +00:00
chmod.S initial import 1995-02-18 01:27:10 +00:00
chown.S initial import 1995-02-18 01:27:10 +00:00
chroot.S initial import 1995-02-18 01:27:10 +00:00
close.S initial import 1995-02-18 01:27:10 +00:00
closedir.c initial import 1995-02-18 01:27:10 +00:00
configure initial import 1995-02-18 01:27:10 +00:00
configure.in initial import 1995-02-18 01:27:10 +00:00
confstr.h initial import 1995-02-18 01:27:10 +00:00
dirfd.c Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-06 00:27:08 +00:00
dirstream.h * io/Makefile (routines): Add euidaccess. 1995-02-25 01:23:32 +00:00
Dist initial import 1995-02-18 01:27:10 +00:00
dup.S initial import 1995-02-18 01:27:10 +00:00
errnos-tmpl.c initial import 1995-02-18 01:27:10 +00:00
errnos.awk initial import 1995-02-18 01:27:10 +00:00
execve.S initial import 1995-02-18 01:27:10 +00:00
fcntl.S initial import 1995-02-18 01:27:10 +00:00
fork.S initial import 1995-02-18 01:27:10 +00:00
fstat.S initial import 1995-02-18 01:27:10 +00:00
fsync.S initial import 1995-02-18 01:27:10 +00:00
getdents.c initial import 1995-02-18 01:27:10 +00:00
getegid.S initial import 1995-02-18 01:27:10 +00:00
geteuid.S initial import 1995-02-18 01:27:10 +00:00
getgid.S initial import 1995-02-18 01:27:10 +00:00
getlogin.c initial import 1995-02-18 01:27:10 +00:00
getpagesize.c initial import 1995-02-18 01:27:10 +00:00
getpid.S initial import 1995-02-18 01:27:10 +00:00
getppid.S initial import 1995-02-18 01:27:10 +00:00
getuid.S initial import 1995-02-18 01:27:10 +00:00
Implies initial import 1995-02-18 01:27:10 +00:00
ioctl.S initial import 1995-02-18 01:27:10 +00:00
ioctls-tmpl.c initial import 1995-02-18 01:27:10 +00:00
ioctls.awk initial import 1995-02-18 01:27:10 +00:00
kill.S initial import 1995-02-18 01:27:10 +00:00
link.S initial import 1995-02-18 01:27:10 +00:00
lseek.S initial import 1995-02-18 01:27:10 +00:00
make_errlist.c (main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns. 1995-04-18 17:59:42 +00:00
Makefile initial import 1995-02-18 01:27:10 +00:00
mk-local_lim.c initial import 1995-02-18 01:27:10 +00:00
mkfifo.c initial import 1995-02-18 01:27:10 +00:00
mknod.S initial import 1995-02-18 01:27:10 +00:00
nlist.c initial import 1995-02-18 01:27:10 +00:00
open.S initial import 1995-02-18 01:27:10 +00:00
opendir.c initial import 1995-02-18 01:27:10 +00:00
pipestream.c initial import 1995-02-18 01:27:10 +00:00
ptrace.S initial import 1995-02-18 01:27:10 +00:00
read.S initial import 1995-02-18 01:27:10 +00:00
readdir.c initial import 1995-02-18 01:27:10 +00:00
reboot.S initial import 1995-02-18 01:27:10 +00:00
rewinddir.c initial import 1995-02-18 01:27:10 +00:00
seekdir.c initial import 1995-02-18 01:27:10 +00:00
setgid.S initial import 1995-02-18 01:27:10 +00:00
setuid.S initial import 1995-02-18 01:27:10 +00:00
siglist.c initial import 1995-02-18 01:27:10 +00:00
snarf-ioctls initial import 1995-02-18 01:27:10 +00:00
start.c * sysdeps/unix/start.c: Remove spurious decl and #endif. 1995-04-04 22:18:26 +00:00
stat.S initial import 1995-02-18 01:27:10 +00:00
sync.S initial import 1995-02-18 01:27:10 +00:00
syscall.S initial import 1995-02-18 01:27:10 +00:00
sysdep.h initial import 1995-02-18 01:27:10 +00:00
system.c initial import 1995-02-18 01:27:10 +00:00
telldir.c initial import 1995-02-18 01:27:10 +00:00
umask.S initial import 1995-02-18 01:27:10 +00:00
unlink.S initial import 1995-02-18 01:27:10 +00:00
write.S initial import 1995-02-18 01:27:10 +00:00