From 557fab43bd3cf75f87ba7efb65c9f4884e261a6c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 23 Feb 2002 08:47:54 +0000 Subject: Update. 2002-02-23 Ulrich Drepper * csu/set-init.c: Moved to... * sysdeps/mach/hurd/set-init.c: ...here. New file. * csu/Makefile: Don't compile set-init. * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu. * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition to __libc_init. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of __libc_init. * misc/init-misc.c: Always export __init_misc. Don't define hooks for __libc_subinit. --- csu/Makefile | 4 +--- csu/set-init.c | 23 ----------------------- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 csu/set-init.c (limited to 'csu') diff --git a/csu/Makefile b/csu/Makefile index 012cbbe209..994e2b29de 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -59,9 +59,7 @@ before-compile += $(objpfx)abi-tag.h generated += abi-tag.h endif -ifeq (yes,$(gnu-ld)) -libc-init = set-init -else +ifneq (yes,$(gnu-ld)) libc-init = munch-init $(objpfx)munch-init.c: munch.awk munch-tmpl.c $(+subdir_inits) $(AWK) -f $< subdirs='$(+init_subdirs)' $(word 2,$^) > $@-t diff --git a/csu/set-init.c b/csu/set-init.c deleted file mode 100644 index f89a4697ac..0000000000 --- a/csu/set-init.c +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright (C) 1991, 1992, 1994, 1995, 1997 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 - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#include -#include - -DEFINE_HOOK_RUNNER (__libc_subinit, __libc_init, - (int argc, char **argv, char **envp), (argc, argv, envp)) -- cgit v1.2.3