From 48143d8a8f92fd69d95564516fd1b7cf122511b1 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 24 Jan 2006 17:18:19 +0000 Subject: fork/vfork weak in libc, strong in libpthread --- libc/sysdeps/linux/microblaze/vfork.S | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'libc/sysdeps/linux/microblaze') diff --git a/libc/sysdeps/linux/microblaze/vfork.S b/libc/sysdeps/linux/microblaze/vfork.S index a82fbb209..8d96a51e3 100644 --- a/libc/sysdeps/linux/microblaze/vfork.S +++ b/libc/sysdeps/linux/microblaze/vfork.S @@ -1,14 +1,14 @@ /* * libc/sysdeps/linux/microblaze/vfork.S -- `vfork' syscall for linux/microblaze * - * Copyright (C) 2003 John Williams - * Copyright (C) 2001 NEC Corporation - * Copyright (C) 2001 Miles Bader + * Copyright (C) 2001 NEC Corporation + * Copyright (C) 2001 Miles Bader + * Copyright (C) 2003 John Williams + * Copyright (C) 2000-2006 Erik Andersen * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License. See the file COPYING.LIB in the main - * directory of this archive for more details. - * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ +/* * Written by Miles Bader * Microblaze port by John Williams */ @@ -27,7 +27,7 @@ .global C_SYMBOL_NAME(errno) -C_ENTRY (vfork): +C_ENTRY (__vfork): addi r12, r0, SYS_vfork bralid r17, 0x08; nop @@ -39,4 +39,6 @@ C_ENTRY (vfork): swi r3, r0, C_SYMBOL_NAME(errno); rtsd r15, 8 // error return nop -C_END(vfork) +C_END(__vfork) +//weak_alias(__vfork,vfork) +//libc_hidden_def(vfork) -- cgit v1.2.3