about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-27 22:01:07 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-27 22:01:07 +0000
commit37d33038d0986abffa6a14895ba7ae36413c7868 (patch)
treed9cf5e96666b3d1ba27c6d329fe48de2c9078834 /sysdeps
parentbaec5641ed9a1551982f5250c8335fe3cdf32c62 (diff)
downloadglibc-37d33038d0986abffa6a14895ba7ae36413c7868.tar.gz
glibc-37d33038d0986abffa6a14895ba7ae36413c7868.tar.xz
glibc-37d33038d0986abffa6a14895ba7ae36413c7868.zip
Update.
2000-07-27  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
	name and add weak alias for __fork.

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
	& pwrite to use __libc_<name> as strong names instead of
	__syscall_<name>.

	* include/sched.h: Add clone2 prototype.

2000-07-26  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
	procedure name twice.

2000-07-27  Philip Blundell  <philb@gnu.org>

	* malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/fork.c5
-rw-r--r--sysdeps/unix/sysv/linux/ia64/syscalls.list6
-rw-r--r--sysdeps/unix/sysv/linux/ia64/sysdep.h1
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/fork.c b/sysdeps/unix/sysv/linux/ia64/fork.c
index ab9b3bc7ef..c63e994622 100644
--- a/sysdeps/unix/sysv/linux/ia64/fork.c
+++ b/sysdeps/unix/sysv/linux/ia64/fork.c
@@ -25,9 +25,10 @@ extern int __clone (int (*fn)(void *), void *ksp, unsigned long int flags,
 		  void *arg);
 
 int
-__fork (void)
+__libc_fork (void)
 {
   return __clone (NULL, NULL, SIGCHLD, 0);
 }
 
-weak_alias (__fork, fork)
+weak_alias (__libc_fork, fork)
+weak_alias (__libc_fork, __fork)
diff --git a/sysdeps/unix/sysv/linux/ia64/syscalls.list b/sysdeps/unix/sysv/linux/ia64/syscalls.list
index 866fb19d2e..3ada92ef20 100644
--- a/sysdeps/unix/sysv/linux/ia64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/ia64/syscalls.list
@@ -3,9 +3,9 @@
 umount2		-	umount		2	__umount2	umount2
 
 # Whee! 64-bit systems naturally implement llseek.
-llseek		EXTRA	lseek		3	__llseek	llseek __lseek64 lseek64
-pread		-	pread		4	__syscall_pread	__syscall_pread64 __pread pread __pread64 pread64
-pwrite		-	pwrite		4	__syscall_pwrite	__syscall_pwrite64 __pwrite pwrite __pwrite64 pwrite64
+llseek		EXTRA	lseek		3	__libc_lseek64	__lseek llseek __lseek64 lseek64
+pread		-	pread		4	__libc_pread	__libc_pread64 __pread pread __pread64 pread64
+pwrite		-	pwrite		4	__libc_pwrite	__libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64
 fstatfs		-	fstatfs		i:ip	__fstatfs	fstatfs fstatfs64 __fstatfs64
 statfs		-	statfs		i:sp	__statfs	statfs statfs64
 mmap		-	mmap		b:aniiii __mmap		mmap __mmap64 mmap64
diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h
index 6901d5e38e..83c4bad003 100644
--- a/sysdeps/unix/sysv/linux/ia64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h
@@ -65,7 +65,6 @@
 	.psr abi64;				\
 	.psr lsb;				\
 	.lsb;					\
-	.proc C_SYMBOL_NAME(name);		\
 	.text;					\
 	.align 32;				\
 	.proc C_SYMBOL_NAME(name);		\