about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
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