(ld.so): Use -nostartfiles in addition to -nostdlib.
authorroland <roland>
Sun, 21 May 1995 09:04:55 +0000 (09:04 +0000)
committerroland <roland>
Sun, 21 May 1995 09:04:55 +0000 (09:04 +0000)
elf/Makefile

index ab44b29..e0ae40b 100644 (file)
@@ -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