(ld.so): Use -nostartfiles in addition to -nostdlib.

This commit is contained in:
Roland McGrath 1995-05-21 09:04:55 +00:00
parent 3b5a810700
commit 1273f3e0d1

View 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