(ld.so): Use -nostartfiles in addition to -nostdlib.
This commit is contained in:
parent
3b5a810700
commit
1273f3e0d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user