Home
last modified time | relevance | path

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

12

/build/soong/cc/
Dlinker.go201 func (linker *baseLinker) appendLdflags(flags []string) {
202 linker.Properties.Ldflags = append(linker.Properties.Ldflags, flags...)
205 func (linker *baseLinker) linkerInit(ctx BaseModuleContext) {
207 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "../lib64", "lib64")
209 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "../lib", "lib")
213 func (linker *baseLinker) linkerProps() []interface{} {
214 return []interface{}{&linker.Properties, &linker.dynamicProperties}
217 func (linker *baseLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
218 deps.WholeStaticLibs = append(deps.WholeStaticLibs, linker.Properties.Whole_static_libs...)
219 deps.HeaderLibs = append(deps.HeaderLibs, linker.Properties.Header_libs...)
[all …]
Dcc.go380 type linker interface { interface
482 linker linker member
518 if c.linker != nil {
519 if library, ok := c.linker.(libraryInterface); ok {
527 if c.linker != nil {
528 if stub, ok := c.linker.(*stubDecorator); ok {
536 if c.linker != nil {
537 if library, ok := c.linker.(libraryInterface); ok {
545 if c.linker != nil {
546 if library, ok := c.linker.(libraryInterface); ok {
[all …]
Dtest.go182 if test, ok := m.linker.(testPerSrc); ok {
204 all_tests.(*Module).linker.(testPerSrc).unsetSrc()
210 tests[i].(*Module).linker.(testPerSrc).setSrc(testNames[i], src)
220 linker *baseLinker member
274 func (test *testDecorator) linkerInit(ctx BaseModuleContext, linker *baseLinker) {
284 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, runpath)
288 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "")
394 linker: binary.baseLinker,
400 module.linker = test
436 linker: library.baseLinker,
[all …]
Dvndk.go131 if to.linker == nil {
138 if lib, ok := to.linker.(*llndkStubDecorator); ok && !Bool(lib.Properties.Vendor_available) {
141 …if _, ok := to.linker.(libraryInterface); ok && to.VendorProperties.Vendor_available != nil && !Bo…
152 if lib, ok := to.linker.(*libraryDecorator); !ok || !lib.shared() {
290 lib := m.linker.(*llndkStubDecorator)
361 …if p, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok && !p.matchesWithDevice(mctx.DeviceConfig…
365 if lib, ok := m.linker.(libraryInterface); ok {
393 if _, ok := m.linker.(*llndkStubDecorator); ok {
398 lib, is_lib := m.linker.(*libraryDecorator)
399 prebuilt_lib, is_prebuilt_lib := m.linker.(*prebuiltLibraryLinker)
[all …]
Dvendor_snapshot.go237 module.linker = prebuilt
373 module.linker = prebuilt
458 module.linker = prebuilt
552 if _, ok := m.linker.(*kernelHeadersDecorator); ok {
557 if l, ok := m.linker.(snapshotLibraryInterface); ok {
708 if l, ok := m.linker.(snapshotLibraryInterface); ok {
793 if l, ok := m.linker.(snapshotLibraryInterface); ok {
876 if !module.linker.(snapshotInterface).matchesWithDevice(ctx.DeviceConfig()) {
887 if lib, ok := module.linker.(libraryInterface); ok {
896 } else if _, ok := module.linker.(*vendorSnapshotBinaryDecorator); ok {
[all …]
Dndk_prebuilt.go74 module.linker = &ndkPrebuiltObjectLinker{
126 module.linker = &ndkPrebuiltStlLinker{
144 module.linker = &ndkPrebuiltStlLinker{
Dbinary_sdk_member.go116 if ccModule.linker != nil {
118 specifiedDeps = ccModule.linker.linkerSpecifiedDeps(specifiedDeps)
Dkernel_headers.go46 module.linker = stub
Dbinary.go107 var _ linker = (*binaryDecorator)(nil)
201 module.linker = binary
500 func (binary *binaryDecorator) injectHostBionicLinkerSymbols(ctx ModuleContext, in, linker android.…
505 Implicit: linker,
508 "linker": linker.String(),
Dprebuilt.go169 module.linker = prebuilt
262 module.linker = prebuilt
331 module.linker = prebuilt
Dndk_library.go324 func (linker *stubDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
328 func (linker *stubDecorator) Name(name string) string {
385 module.linker = stub
Dllndk_library.go189 module.linker = stub
234 module.linker = decorator
DAndroid.bp47 "linker.go",
Dtoolchain_library.go66 module.linker = toolchainLibrary
Dlibrary_sdk_member.go378 if ccModule.linker != nil {
380 specifiedDeps = ccModule.linker.linkerSpecifiedDeps(specifiedDeps)
Dlibrary.go1403 module.linker = library
1444 if m, ok := mctx.Module().(*Module); ok && m.linker != nil {
1445 _, cc_prebuilt = m.linker.(prebuiltLibraryInterface)
1448 library := mctx.Module().(*Module).linker.(prebuiltLibraryInterface)
1459 static.linker.(prebuiltLibraryInterface).setStatic()
1460 shared.linker.(prebuiltLibraryInterface).setShared()
1463 static.linker.(prebuiltLibraryInterface).disablePrebuilt()
1466 shared.linker.(prebuiltLibraryInterface).disablePrebuilt()
1627 if library, ok := cc.linker.(*libraryDecorator); ok {
Dvendor_public_library.go153 module.linker = stub
Dndk_sysroot.go142 if library, ok := m.linker.(*libraryDecorator); ok {
/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/soong/
DAndroid.bp182 srcs: [":linker"],
183 out: ["linker.s"],
203 srcs: [":linker"],
204 out: ["linker.flags"],
/build/make/core/combo/
DTARGET_linux-mips.mk44 $(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 \

12