From 0a043c30ee71245dfe7c9d82d654312c5e1f6127 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 16 Apr 2011 15:40:50 +0200 Subject: vfork: make all archs consistent __vfork is hidden. __GI_vfork is strong (not weak as it was). vfork is weak. e1 can use the generic version. Note: libc_hidden_def(x) has different meaning in .c and .S files. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/e1/Makefile | 2 +- libc/sysdeps/linux/e1/vfork.c | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 libc/sysdeps/linux/e1/vfork.c (limited to 'libc/sysdeps/linux/e1') diff --git a/libc/sysdeps/linux/e1/Makefile b/libc/sysdeps/linux/e1/Makefile index c69ccb9e2..29d1c9e47 100644 --- a/libc/sysdeps/linux/e1/Makefile +++ b/libc/sysdeps/linux/e1/Makefile @@ -17,7 +17,7 @@ CRT_OBJ := crt0.o CTOR_TARGETS := $(TOPDIR)lib/crti.o $(TOPDIR)lib/crtn.o # why is crt1.c listed in CSRC ? -CSRC := crt1.c syscalls.c longjmp.c setjmp.c vfork.c +CSRC := crt1.c syscalls.c longjmp.c setjmp.c OBJS := $(patsubst %.c,%.o, $(CSRC)) OBJ_LIST := ../../../obj.sysdeps.$(TARGET_ARCH) diff --git a/libc/sysdeps/linux/e1/vfork.c b/libc/sysdeps/linux/e1/vfork.c deleted file mode 100644 index c7caafd32..000000000 --- a/libc/sysdeps/linux/e1/vfork.c +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (C) 2000-2006 Erik Andersen - * - * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - */ - -#include -#include -#include - -#define __NR___vfork __NR_vfork -attribute_hidden _syscall0(pid_t, __vfork) -weak_alias(__vfork,vfork) -libc_hidden_weak(vfork) -- cgit v1.2.3