summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-01-08 11:14:07 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-02-08 20:31:55 +0100
commit26ecc33a0290293ff779f76ac0324381b6dfafda (patch)
treece7eba73691cf8e986713fc4e35b5c170dc46efc /Makeconfig
parent2832840339c561d42ec60e18c009376d828692ea (diff)
Remove have-initfini and need-nopic-initfini
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig11
1 files changed, 1 insertions, 10 deletions
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