Home
last modified time | relevance | path

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

12

/build/soong/cc/
Dlinker.go277 func (linker *baseLinker) appendLdflags(flags []string) {
278 linker.Properties.Ldflags = append(linker.Properties.Ldflags, flags...)
282 func (linker *baseLinker) linkerInit(ctx BaseModuleContext) {
284 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "../lib64", "lib64")
286 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "../lib", "lib")
290 func (linker *baseLinker) linkerProps() []interface{} {
291 return []interface{}{&linker.Properties, &linker.dynamicProperties}
294 func (linker *baseLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
295 deps.WholeStaticLibs = append(deps.WholeStaticLibs, linker.Properties.Whole_static_libs...)
296 deps.HeaderLibs = append(deps.HeaderLibs, linker.Properties.Header_libs...)
[all …]
Dcc.go567 type linker interface { interface
812 linker linker member
940 if c.linker != nil {
941 if library, ok := c.linker.(libraryInterface); ok {
949 if c.linker != nil {
950 if stub, ok := c.linker.(*stubDecorator); ok {
958 if c.linker != nil {
959 if library, ok := c.linker.(libraryInterface); ok {
967 if c.linker != nil {
968 if library, ok := c.linker.(libraryInterface); ok {
[all …]
Dtest.go211 if test, ok := m.linker.(testPerSrc); ok {
233 allTests.(*Module).linker.(testPerSrc).unsetSrc()
239 tests[i].(*Module).linker.(testPerSrc).setSrc(testNames[i], src)
252 linker *baseLinker member
306 func (test *testDecorator) linkerInit(ctx BaseModuleContext, linker *baseLinker) {
316 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, runpath)
320 linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "")
483 linker: binary.baseLinker,
490 module.linker = test
532 linker: library.baseLinker,
[all …]
Dbinary_sdk_member.go129 binaryLinker := ccModule.linker.(*binaryDecorator)
133 if ccModule.linker != nil {
135 specifiedDeps = ccModule.linker.linkerSpecifiedDeps(specifiedDeps)
Dsnapshot_utils.go27 if _, ok := m.linker.(snapshotLibraryInterface); ok {
35 return m.linker.(snapshotLibraryInterface).snapshotHeaders()
Dndk_prebuilt.go73 module.linker = &ndkPrebuiltObjectLinker{
125 module.linker = &ndkPrebuiltStlLinker{
143 module.linker = &ndkPrebuiltStlLinker{
Dvndk.go138 if to.linker == nil {
149 if lib, ok := to.linker.(*libraryDecorator); !ok || !lib.shared() {
358 …if p, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok && !p.MatchesWithDevice(mctx.DeviceConfig…
362 if lib, ok := m.linker.(libraryInterface); ok {
390 lib, isLib := m.linker.(*libraryDecorator)
391 prebuiltLib, isPrebuiltLib := m.linker.(*prebuiltLibraryLinker)
847 if library, ok := m.linker.(*libraryDecorator); ok {
850 if prebuilt, ok := m.linker.(*prebuiltLibraryLinker); ok {
853 …rrorf("VNDK library should have libraryDecorator or prebuiltLibraryLinker as linker: %T", m.linker)
Dkernel_headers.go47 module.linker = stub
Dbinary.go118 var _ linker = (*binaryDecorator)(nil)
207 module.linker = binary
551 func (binary *binaryDecorator) verifyHostBionicLinker(ctx ModuleContext, in, linker android.Path, o…
556 Implicit: linker,
559 "linker": linker.String(),
581 handler.module.linker.(*binaryDecorator).unstrippedOutputFile = outputFilePath
Dlibrary_sdk_member.go242 if lib, ok := ccModule.linker.(*libraryDecorator); ok {
546 if ccModule.linker != nil {
548 specifiedDeps = ccModule.linker.linkerSpecifiedDeps(specifiedDeps)
DAndroid.bp59 "linker.go",
Dndk_library.go483 func (linker *stubDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
487 func (linker *stubDecorator) Name(name string) string {
543 module.linker = stub
Dsnapshot_prebuilt.go559 module.linker = prebuilt
724 module.linker = prebuilt
786 module.linker = prebuilt
804 module.linker = prebuilt
Dndk_sysroot.go136 if library, ok := m.linker.(*libraryDecorator); ok {
Dfuzz.go125 if _, isLLndkStubLibrary := ccLibrary.linker.(*stubDecorator); isLLndkStubLibrary {
251 module.linker = fuzz
Dlibrary.go700 handler.module.linker.(*libraryDecorator).unstrippedOutputFile = outputFilePath
706 handler.module.linker.(*libraryDecorator).tocFile = tocFile
741 handler.module.linker.(*libraryDecorator).setFlagExporterInfoFromCcInfo(ctx, ccInfo)
744 if i, ok := handler.module.linker.(snapshotLibraryInterface); ok {
2150 module.linker = library
2194 if m, ok := mctx.Module().(*Module); ok && m.linker != nil {
2195 _, ccPrebuilt = m.linker.(prebuiltLibraryInterface)
2198 library := mctx.Module().(*Module).linker.(prebuiltLibraryInterface)
2211 static.linker.(prebuiltLibraryInterface).setStatic()
2212 shared.linker.(prebuiltLibraryInterface).setShared()
[all …]
/build/soong/cmd/host_bionic_verify/
Dhost_bionic_verify.go45 linker, err := elf.Open(linkerFile)
51 err = checkElf(r, linker)
59 func checkElf(r io.ReaderAt, linker *elf.File) error {
83 err = checkLinker(file, linker, symbols)
103 func checkLinker(file, linker *elf.File, fileSyms []elf.Symbol) error {
109 for i, lprog := range linker.Progs {
Dhost_bionic_verify_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.bp76 srcs: [":linker"],
77 out: ["linker.s"],
100 srcs: [":linker"],
101 out: ["linker.script"],
/build/bazel/tests/bionic/
DBUILD12 "//bionic/linker:ld-android",
13 "//bionic/linker:ld-android_bp2build_cc_library_static",
/build/make/target/product/virtual_ab_ota/
Dlaunch_with_vendor_ramdisk.mk25 linker.vendor_ramdisk \
/build/make/core/combo/
DTARGET_linux-x86.mk42 $(combo_2nd_arch_prefix)TARGET_LINKER := /system/bin/linker
DTARGET_linux-arm.mk74 $(combo_2nd_arch_prefix)TARGET_LINKER := /system/bin/linker
/build/bazel/rules/cc/
Dcc_library_static.bzl174 # linker inputs owned by owners in `old_owner_labels` are relinked and owned by the current target.
177 # may expect they are depending directly on a target which generates linker inputs,
196 # Android macros don't handle transitive linker dependencies because
199 …fail("cc_static_library %s given transitive linker dependency from %s" % (ctx.label, old_linker_in…
263 # static linker input. This outputs a single archive file combining the objects
269 # - A single linker input struct is always output by this rule, and it is 'owned'
/build/make/target/product/
Dbase_vendor.mk25 linker.recovery \

12