Home
last modified time | relevance | path

Searched refs:linker (Results 1 – 25 of 28) sorted by relevance

12

/build/soong/cc/
Dlinker.go173 func (linker *baseLinker) appendLdflags(flags []string) {
174 linker.Properties.Ldflags = append(linker.Properties.Ldflags, flags...)
177 func (linker *baseLinker) linkerInit(ctx BaseModuleContext) {
179 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "../lib64", "lib64")
181 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "../lib", "lib")
185 func (linker *baseLinker) linkerProps() []interface{} {
186 return []interface{}{&linker.Properties, &linker.dynamicProperties}
189 func (linker *baseLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
190 deps.WholeStaticLibs = append(deps.WholeStaticLibs, linker.Properties.Whole_static_libs...)
191 deps.HeaderLibs = append(deps.HeaderLibs, linker.Properties.Header_libs...)
[all …]
Dtest.go140 if test, ok := m.linker.(testPerSrc); ok {
152 tests[i].(*Module).linker.(testPerSrc).setSrc(testNames[i], src)
172 linker *baseLinker member
217 func (test *testDecorator) linkerInit(ctx BaseModuleContext, linker *baseLinker) {
227 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, runpath)
231 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "")
308 linker: binary.baseLinker,
314 module.linker = test
350 linker: library.baseLinker,
354 module.linker = test
[all …]
Dvndk.go100 if to.linker == nil {
107 if lib, ok := to.linker.(*llndkStubDecorator); ok && !Bool(lib.Properties.Vendor_available) {
110 …if _, ok := to.linker.(libraryInterface); ok && to.VendorProperties.Vendor_available != nil && !Bo…
121 if lib, ok := to.linker.(*libraryDecorator); !ok || !lib.shared() {
206 if lib, ok := m.linker.(*llndkStubDecorator); ok {
221 lib, is_lib := m.linker.(*libraryDecorator)
222 prebuilt_lib, is_prebuilt_lib := m.linker.(*prebuiltLibraryLinker)
Dcc.go302 type linker interface { interface
380 linker linker member
416 if c.linker != nil {
417 return c.linker.unstrippedOutputFilePath()
434 if c.linker != nil {
435 c.AddProperties(c.linker.linkerProps()...)
491 if root, ok := c.linker.(interface {
587 if library, ok := c.linker.(*libraryDecorator); ok {
589 } else if _, ok := c.linker.(*llndkStubDecorator); ok {
596 if library, ok := c.linker.(*libraryDecorator); ok {
[all …]
Dndk_prebuilt.go69 module.linker = &ndkPrebuiltObjectLinker{
105 module.linker = &ndkPrebuiltStlLinker{
120 module.linker = &ndkPrebuiltStlLinker{
Dprebuilt.go145 module.linker = prebuilt
172 module.linker = prebuilt
233 module.linker = prebuilt
Dkernel_headers.go43 module.linker = stub
Dlibrary.go1046 module.linker = library
1084 if m, ok := mctx.Module().(*Module); ok && m.linker != nil {
1085 switch library := m.linker.(type) {
1094 static.linker.(prebuiltLibraryInterface).setStatic()
1095 shared.linker.(prebuiltLibraryInterface).setShared()
1098 static.linker.(prebuiltLibraryInterface).disablePrebuilt()
1101 shared.linker.(prebuiltLibraryInterface).disablePrebuilt()
1110 static.linker.(libraryInterface).setStatic()
1111 shared.linker.(libraryInterface).setShared()
1117 modules[0].(*Module).linker.(libraryInterface).setStatic()
[all …]
Dbinary.go100 var _ linker = (*binaryDecorator)(nil)
190 module.linker = binary
473 func (binary *binaryDecorator) injectHostBionicLinkerSymbols(ctx ModuleContext, in, linker android.…
478 Implicit: linker,
481 "linker": linker.String(),
Dndk_library.go312 func (linker *stubDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
316 func (linker *stubDecorator) Name(name string) string {
372 module.linker = stub
Dtoolchain_library.go60 module.linker = toolchainLibrary
Dllndk_library.go181 module.linker = stub
216 module.linker = decorator
Dobject.go41 module.linker = &objectLinker{
Dvendor_public_library.go136 module.linker = stub
Dvndk_prebuilt.go165 module.linker = prebuilt
Dndk_sysroot.go142 if library, ok := m.linker.(*libraryDecorator); ok {
Dcoverage.go103 if static, ok := cc.linker.(libraryInterface); !ok || !static.static() {
Dandroidmk.go102 c.subAndroidMk(&ret, c.linker)
408 func androidMkWriteAllowUndefinedSymbols(linker *baseLinker, ret *android.AndroidMkData) {
410 allow := linker.Properties.Allow_undefined_symbols
/build/soong/cmd/host_bionic_inject/
Dhost_bionic_inject.go55 linker, err := elf.Open(linkerFile)
61 start_addr, err := parseElf(r, linker)
82 func parseElf(r io.ReaderAt, linker *elf.File) (uint64, error) {
106 err = checkLinker(file, linker, symbols)
128 func checkLinker(file, linker *elf.File, fileSyms []elf.Symbol) error {
134 for i, lprog := range linker.Progs {
Dhost_bionic_inject_test.go107 linker func() *elf.File
112 linker: linkerGold,
117 linker: linkerLld,
128 linker: linkerLld,
134 err := checkLinker(tc.file(), tc.linker(), linkerOffset())
/build/make/core/combo/
DTARGET_linux-mips.mk50 $(combo_2nd_arch_prefix)TARGET_LINKER := /system/bin/linker
DTARGET_linux-x86.mk43 $(combo_2nd_arch_prefix)TARGET_LINKER := /system/bin/linker
DTARGET_linux-arm.mk75 $(combo_2nd_arch_prefix)TARGET_LINKER := /system/bin/linker
/build/make/target/product/
Dbase_vendor.mk25 linker.recovery \
/build/soong/
DAndroid.bp169 "cc/linker.go",
656 srcs: [":linker"],
657 out: ["linker.s"],
677 srcs: [":linker"],
678 out: ["linker.flags"],

12