From 26ecc33a0290293ff779f76ac0324381b6dfafda Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 8 Jan 2012 11:14:07 +0100 Subject: Remove have-initfini and need-nopic-initfini --- Makeconfig | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 68547b2122..3d26e6a17e 100644 --- a/Makeconfig +++ b/Makeconfig @@ -389,9 +389,6 @@ ifndef asm-CPPFLAGS asm-CPPFLAGS = endif -# ELF always supports init/fini sections -have-initfini = yes - ifeq ($(have-as-needed),yes) as-needed := -Wl,--as-needed no-as-needed := -Wl,--no-as-needed @@ -405,14 +402,8 @@ no-whole-archive = -Wl,--no-whole-archive whole-archive = -Wl,--whole-archive # Installed name of the startup code. -ifneq ($(have-initfini),yes) -# When not having init/fini, there is just one startfile, called crt0.o. -start-installed-name = crt0.o -else -# On systems having init/fini, crt0.o is called crt1.o, and there are -# some additional bizarre files. +# The ELF convention is that the startfile is called crt1.o start-installed-name = crt1.o -endif # On systems that do not need a special startfile for statically linked # binaries, simply set it to the normal name. ifndef static-start-installed-name -- cgit v1.2.1