about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-05-21 09:04:55 +0000
committerRoland McGrath <roland@gnu.org>1995-05-21 09:04:55 +0000
commit1273f3e0d18172b9bb6acbce73b33d28d62baec4 (patch)
tree918b0ffb6e72ee2fc41b0b2328eb0a973fb9f9a4 /elf
parent3b5a8107005364ef92553b41bed889ded3fb4b6c (diff)
downloadglibc-1273f3e0d18172b9bb6acbce73b33d28d62baec4.tar.gz
glibc-1273f3e0d18172b9bb6acbce73b33d28d62baec4.tar.xz
glibc-1273f3e0d18172b9bb6acbce73b33d28d62baec4.zip
(ld.so): Use -nostartfiles in addition to -nostdlib.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index ab44b29361..e0ae40b9fd 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -45,7 +45,7 @@ include ../Rules
 $(objpfx)ld.so: $(rtld-routines:%=$(objpfx)%.so) \
 		$(patsubst %,$(common-objpfx)lib%_pic.a,\
 			   elf c $(LDLIBS-c.so:-l%=%))
-	$(LINK.o) -nostdlib -shared -o $@ \
+	$(LINK.o) -nostdlib -nostartfiles -shared -o $@ \
 		  '-Wl,-(' $^ -lgcc '-Wl,-)'
 
 $(objpfx)libdl.so: $(objpfx)libdl_pic.a $(common-objpfx)libc.so $(objpfx)ld.so