about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-17 22:41:47 +0000
committerRoland McGrath <roland@gnu.org>1996-06-17 22:41:47 +0000
commit2cc7dc4d7f36d03165c16939429d1ee9ef5fd105 (patch)
tree3845e34ed2e19ae0140d4a526a88327d0daac395 /sysdeps
parent61ee476c446b6cd682e49805d86bc2ed0230e5d0 (diff)
downloadglibc-2cc7dc4d7f36d03165c16939429d1ee9ef5fd105.tar.gz
glibc-2cc7dc4d7f36d03165c16939429d1ee9ef5fd105.tar.xz
glibc-2cc7dc4d7f36d03165c16939429d1ee9ef5fd105.zip
Mon Jun 17 17:53:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for
	_hurd_brk.

	* libio/stdio.h [__USE_SVID]: Declare tempnam.

Fri Jun 14 19:28:33 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two
	parameters.

Wed Jun 12 20:40:51 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to
	_dl_default_scope.

	* sysdeps/stub/elfclass.h: New file.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/m68k/dl-machine.h4
-rw-r--r--sysdeps/mach/hurd/brk.c7
-rw-r--r--sysdeps/unix/sysv/linux/syscalls.list1
3 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h
index ad3b6c3590..0f64d686ed 100644
--- a/sysdeps/m68k/dl-machine.h
+++ b/sysdeps/m68k/dl-machine.h
@@ -255,8 +255,8 @@ _dl_start_user:
 	| Push back the modified argument count.
 	move.l %d1, -(%sp)
 0:	| Push _dl_default_scope[2] as argument in _dl_init_next call below.
-	move.l ([_dl_default_scope@GOT, %a5]), %d2
-0:	move.l (%d2, 8), -(%sp)
+	move.l ([_dl_default_scope@GOT, %a5], 8), %d2
+0:	move.l %d2, -(%sp)
 	| Call _dl_init_next to return the address of an initializer
 	| function to run.
 	bsr.l _dl_init_next@PLTPC
diff --git a/sysdeps/mach/hurd/brk.c b/sysdeps/mach/hurd/brk.c
index 49b370a0e3..b0cef8a42b 100644
--- a/sysdeps/mach/hurd/brk.c
+++ b/sysdeps/mach/hurd/brk.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -35,6 +35,11 @@ vm_address_t _hurd_data_end;
    Pages beyond the one containing this address allow no access.  */
 vm_address_t _hurd_brk;
 
+/* This name is used by the Linux crtbeginS.o for reasons you don't even
+   want to think about it.  It's just easier to provide some definition for
+   it than even to explain the braindamage involved.  */
+weak_alias (_hurd_brk, ___brk_addr)
+
 struct mutex _hurd_brk_lock;
 
 extern int __data_start, _end;
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index 8f0dec0b19..e57acc8161 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -48,6 +48,7 @@ sigpending	-	sigpending	1	sigpending
 sigprocmask	-	sigprocmask	3	__sigprocmask	sigprocmask
 s_sysctl	sysctl	_sysctl		1	__syscall__sysctl
 sysinfo		-	sysinfo		1	sysinfo
+swapon		-	swapon		2	swapon
 ksyslog_ctl	-	syslog		3	ksyslog_ctl
 umount		-	umount		1	__umount	umount
 uselib		-	uselib		1	uselib