Home
last modified time | relevance | path

Searched refs:linker (Results 1 – 25 of 36) 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.go389 type linker interface { interface
491 linker linker member
527 if c.linker != nil {
528 if library, ok := c.linker.(libraryInterface); ok {
536 if c.linker != nil {
537 if stub, ok := c.linker.(*stubDecorator); ok {
545 if c.linker != nil {
546 if library, ok := c.linker.(libraryInterface); ok {
554 if c.linker != nil {
555 if library, ok := c.linker.(libraryInterface); ok {
[all …]
Dtest.go191 if test, ok := m.linker.(testPerSrc); ok {
213 all_tests.(*Module).linker.(testPerSrc).unsetSrc()
219 tests[i].(*Module).linker.(testPerSrc).setSrc(testNames[i], src)
229 linker *baseLinker member
283 func (test *testDecorator) linkerInit(ctx BaseModuleContext, linker *baseLinker) {
293 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, runpath)
297 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "")
430 linker: binary.baseLinker,
436 module.linker = test
472 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)
367 …if p, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok && !p.matchesWithDevice(mctx.DeviceConfig…
371 if lib, ok := m.linker.(libraryInterface); ok {
399 if _, ok := m.linker.(*llndkStubDecorator); ok {
404 lib, is_lib := m.linker.(*libraryDecorator)
405 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 {
556 if _, ok := m.linker.(*llndkStubDecorator); ok {
559 if _, ok := m.linker.(*llndkHeadersDecorator); ok {
564 if l, ok := m.linker.(snapshotLibraryInterface); ok {
715 if l, ok := m.linker.(snapshotLibraryInterface); ok {
800 if l, ok := m.linker.(snapshotLibraryInterface); ok {
883 if !module.linker.(snapshotInterface).matchesWithDevice(ctx.DeviceConfig()) {
[all …]
Dbinary_sdk_member.go129 binaryLinker := ccModule.linker.(*binaryDecorator)
133 if ccModule.linker != nil {
135 specifiedDeps = ccModule.linker.linkerSpecifiedDeps(specifiedDeps)
Dndk_prebuilt.go74 module.linker = &ndkPrebuiltObjectLinker{
126 module.linker = &ndkPrebuiltStlLinker{
144 module.linker = &ndkPrebuiltStlLinker{
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(),
Dlibrary_sdk_member.go128 if lib, ok := ccModule.linker.(*libraryDecorator); ok {
390 if ccModule.linker != nil {
392 specifiedDeps = ccModule.linker.linkerSpecifiedDeps(specifiedDeps)
Dprebuilt.go213 module.linker = prebuilt
316 module.linker = prebuilt
385 module.linker = prebuilt
Dllndk_library.go189 module.linker = stub
236 module.linker = decorator
Dndk_library.go327 func (linker *stubDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
331 func (linker *stubDecorator) Name(name string) string {
388 module.linker = stub
DAndroid.bp47 "linker.go",
Dtoolchain_library.go66 module.linker = toolchainLibrary
Dlibrary.go1414 module.linker = library
1455 if m, ok := mctx.Module().(*Module); ok && m.linker != nil {
1456 _, cc_prebuilt = m.linker.(prebuiltLibraryInterface)
1459 library := mctx.Module().(*Module).linker.(prebuiltLibraryInterface)
1470 static.linker.(prebuiltLibraryInterface).setStatic()
1471 shared.linker.(prebuiltLibraryInterface).setShared()
1474 static.linker.(prebuiltLibraryInterface).disablePrebuilt()
1477 shared.linker.(prebuiltLibraryInterface).disablePrebuilt()
1639 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)
130 func checkLinker(file, linker *elf.File, fileSyms []elf.Symbol) error {
136 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.bp192 srcs: [":linker"],
193 out: ["linker.s"],
213 srcs: [":linker"],
214 out: ["linker.flags"],
/build/make/core/combo/
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/docs/
Dmap_files.md4 map.txt files. These files are [linker version scripts] with comments that are
10 [linker version scripts]: https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.h…
14 A linker version script defines at least one alphanumeric "version" definition,

12