From 1273f3e0d18172b9bb6acbce73b33d28d62baec4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 21 May 1995 09:04:55 +0000 Subject: [PATCH] (ld.so): Use -nostartfiles in addition to -nostdlib. --- elf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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