glibc/sysdeps/posix
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
..
clock.c initial import 1995-02-18 01:27:10 +00:00
ctermid.c initial import 1995-02-18 01:27:10 +00:00
cuserid.c initial import 1995-02-18 01:27:10 +00:00
defs.c initial import 1995-02-18 01:27:10 +00:00
Dist initial import 1995-02-18 01:27:10 +00:00
dup2.c initial import 1995-02-18 01:27:10 +00:00
dup.c initial import 1995-02-18 01:27:10 +00:00
fdopen.c initial import 1995-02-18 01:27:10 +00:00
flock.c initial import 1995-02-18 01:27:10 +00:00
fpathconf.c initial import 1995-02-18 01:27:10 +00:00
getcwd.c initial import 1995-02-18 01:27:10 +00:00
getdtsz.c initial import 1995-02-18 01:27:10 +00:00
getpagesize.c initial import 1995-02-18 01:27:10 +00:00
gettimeofday.c initial import 1995-02-18 01:27:10 +00:00
isatty.c initial import 1995-02-18 01:27:10 +00:00
killpg.c initial import 1995-02-18 01:27:10 +00:00
libc_fatal.c initial import 1995-02-18 01:27:10 +00:00
Makefile (cded-objdir-includes): New variable replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of $(CPPFLAGS). (mk-stdiolim): Use it instead. 1995-02-19 22:45:57 +00:00
mk-stdiolim.c initial import 1995-02-18 01:27:10 +00:00
mkstemp.c initial import 1995-02-18 01:27:10 +00:00
mktemp.c initial import 1995-02-18 01:27:10 +00:00
pipestream.c initial import 1995-02-18 01:27:10 +00:00
raise.c initial import 1995-02-18 01:27:10 +00:00
readv.c initial import 1995-02-18 01:27:10 +00:00
remove.c initial import 1995-02-18 01:27:10 +00:00
rename.c initial import 1995-02-18 01:27:10 +00:00
sigblock.c initial import 1995-02-18 01:27:10 +00:00
sigintr.c initial import 1995-02-18 01:27:10 +00:00
signal.c initial import 1995-02-18 01:27:10 +00:00
sigpause.c initial import 1995-02-18 01:27:10 +00:00
sigsetmask.c initial import 1995-02-18 01:27:10 +00:00
sigsuspend.c initial import 1995-02-18 01:27:10 +00:00
sigvec.c initial import 1995-02-18 01:27:10 +00:00
sleep.c initial import 1995-02-18 01:27:10 +00:00
stdio_init.c initial import 1995-02-18 01:27:10 +00:00
sysconf.c initial import 1995-02-18 01:27:10 +00:00
system.c initial import 1995-02-18 01:27:10 +00:00
tempname.c initial import 1995-02-18 01:27:10 +00:00
truncate.c initial import 1995-02-18 01:27:10 +00:00
ttyname.c initial import 1995-02-18 01:27:10 +00:00
utimes.c Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-07-22 10:48:43 +00:00
wait3.c initial import 1995-02-18 01:27:10 +00:00
wait.c initial import 1995-02-18 01:27:10 +00:00
writev.c initial import 1995-02-18 01:27:10 +00:00