Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 814 for linking (0.15 sec)

  1. src/cmd/link/internal/ld/data.go

    				// We are linking the final executable, so we
    				// can optimize any TLS IE relocation to LE.
    				if thearch.TLSIEtoLE == nil {
    					log.Fatalf("internal linking of TLS IE not supported on %v", target.Arch.Family)
    				}
    				thearch.TLSIEtoLE(P, int(off), int(siz))
    				o = int64(syms.Tlsoffset)
    			} else {
    				log.Fatalf("cannot handle R_TLS_IE (sym %s) when linking internally", ldr.SymName(s))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

            installation("build/install/main").exec().out == "Hello!"
        }
    
        @ToBeFixedForConfigurationCache
        def "can customize binaries before and after linking"() {
            def helloWorldApp = new CppHelloWorldApp()
            given:
            buildFile << '''
    apply plugin: 'cpp'
    
    model {
        components {
            main(NativeExecutableSpec)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    `__variant__LinkElements` (e.g. `debugLinkElements` and `releaseLinkElements`) extends `main__Variant__Implementation`::
    Used for linking against the library.
    This configuration is meant to be used by consumers, to retrieve all the elements necessary to link against the library.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/action.go

    		p.Internal.Ldflags = load.BuildLdflags.For(p)
    		p.Internal.Gccgoflags = load.BuildGccgoflags.For(p)
    
    		// Add implicit dependencies to pkgs list.
    		// Currently buildmode=shared forces external linking mode, and
    		// external linking mode forces an import of runtime/cgo (and
    		// math on arm). So if it was not passed on the command line and
    		// it is not present in another shared library, add it here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. src/cmd/objdump/objdump_test.go

    		t.Skipf("skipping on %s/%s, PIE buildmode not supported", runtime.GOOS, runtime.GOARCH)
    	}
    	if !platform.InternalLinkPIESupported(runtime.GOOS, runtime.GOARCH) {
    		// require cgo on platforms that PIE needs external linking
    		testenv.MustHaveCGO(t)
    	}
    	t.Parallel()
    	testDisasm(t, "fmthello.go", false, false, "-buildmode=pie")
    }
    
    func TestDisasmGoobj(t *testing.T) {
    	mustHaveDisasm(t)
    	testenv.MustHaveGoBuild(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/make.bash

    # build directive, in the build. Set it to 0 to ignore them.
    #
    # GO_EXTLINK_ENABLED: Set to 1 to invoke the host linker when building
    # packages that use cgo.  Set to 0 to do all linking internally.  This
    # controls the default behavior of the linker's -linkmode option.  The
    # default value depends on the system.
    #
    # GO_LDSO: Sets the default dynamic linker/loader (ld.so) to be used
    # by the internal linker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/deadcode.go

    		isgotype := d.ldr.IsGoType(symIdx)
    		relocs := d.ldr.Relocs(symIdx)
    		var usedInIface bool
    
    		if isgotype {
    			if d.dynlink {
    				// When dynamic linking, a type may be passed across DSO
    				// boundary and get converted to interface at the other side.
    				d.ldr.SetAttrUsedInIface(symIdx, true)
    			}
    			usedInIface = d.ldr.AttrUsedInIface(symIdx)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/cmd/cgo/out.go

    // issue #31912 or https://bugs.llvm.org/show_bug.cgi?id=42442.
    //
    // When doing external linking, we hand everything off to the external
    // linker, which will create its own dynamic symbol tables. For
    // internal linking, this may turn weak imports into strong imports,
    // which could cause dynamic linking to fail if a symbol really isn't
    // defined. However, the standard library depends on everything it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/go.go

    					// Static cgo exports appear
    					// in the exported symbol table.
    					ctxt.dynexp = append(ctxt.dynexp, s)
    				}
    				if ctxt.LinkMode == LinkInternal {
    					// For internal linking, we're
    					// responsible for resolving
    					// relocations from host objects.
    					// Record the right Go symbol
    					// version to use.
    					l.AddCgoExport(s)
    				}
    				l.SetAttrCgoExportStatic(s, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/xcoff.go

    			if sect.Name == ".debug_abbrev" {
    				dwsize = uint64(ldr.SymSize(loader.Sym(sect.Sym)))
    
    			}
    		} else {
    			// There is only one .FILE with external linking.
    			dwsize = sect.Length
    		}
    
    		// get XCOFF name
    		name, _ := xcoffGetDwarfSubtype(sect.Name)
    		s := &XcoffSymEnt64{
    			Nvalue:  currDwscnoff[sect.Name],
    			Noffset: uint32(f.stringTable.add(name)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top