Lines Matching refs:link

507 # Compiler arguments to use to link a shared object with libc and
509 # link with an installed libc.
510 link-libc-args = -Wl,--start-group \
511 $(libc-for-link) \
518 libc-for-link = $(common-objpfx)libc.so
523 link-libc-deps = $(common-objpfx)libc.so $(common-objpfx)linkobj/libc.so \
531 # to be as similar as possible to a default link with an installed libc.
532 lib%.so: lib%_pic.a $(+preinit) $(+postinit) $(link-libc-deps)
533 $(build-shlib) $(link-libc-args)
534 $(call after-link,$@)
544 -L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link)
547 ifeq (yes,$(use-default-link))
595 $(link-test-modules-rpath-link) \
596 -L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link)
605 $(csu-objpfx)abi-note.o $(build-module-objlist) $(link-libc-args)
606 $(call after-link,$@)
612 $(link-libc-args)
613 $(call after-link,$@)
621 $(link-libc-deps),$^))
632 # But we still want to link libc.so against $(libc.so-gnulib).
636 # Pre-link the objects of libc_pic.a for .gnu.glibc-stub.* processing.
675 # Clear link-libc-deps for the libc.so libraries so build-shlibs does not
677 $(common-objpfx)libc.so: link-libc-deps = # empty
678 $(common-objpfx)linkobj/libc.so: link-libc-deps = # empty
688 $(call after-link,$@)
696 $(call after-link,$@)
704 $(make-link)
755 $(objpfx)%.os $(shlib-lds) $(link-libs-deps)
997 define make-link
1002 define make-link-multidir
1010 define make-link
1015 define make-link-multidir
1030 # used by a link for a different format on a multi-architecture system.
1040 # What we install as libc.so for programs to link against is in fact a
1041 # link script. It contains references for the various libraries we need.
1074 $(inst_libdir)/$o: $(inst_slibdir)/$o$($o-version) $(+force); $$(make-link)
1084 $(objpfx)$o$($o-version): $(objpfx)$o; $$(make-link)