Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for linknew (0.12 sec)

  1. src/cmd/compile/internal/ssa/export_test.go

    	"cmd/internal/sys"
    )
    
    var CheckFunc = checkFunc
    var Opt = opt
    var Deadcode = deadcode
    var Copyelim = copyelim
    
    var testCtxts = map[string]*obj.Link{
    	"amd64": obj.Linknew(&x86.Linkamd64),
    	"s390x": obj.Linknew(&s390x.Links390x),
    	"arm64": obj.Linknew(&arm64.Linkarm64),
    }
    
    func testConfig(tb testing.TB) *Conf      { return testConfigArch(tb, "amd64") }
    func testConfigS390X(tb testing.TB) *Conf { return testConfigArch(tb, "s390x") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    	telemetry.CountFlags("asm/flag:", *flag.CommandLine)
    
    	architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink)
    	if architecture == nil {
    		log.Fatalf("unrecognized architecture %s", GOARCH)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/asm_test.go

    	// TODO(quasilyte): test edge cases for Hsolaris, etc?
    
    	t.Run("linux/AMD64", func(t *testing.T) {
    		ctxtAMD64 := obj.Linknew(&Linkamd64)
    		ctxtAMD64.Headtype = objabi.Hlinux // See #32028
    		runTest(t, ctxtAMD64, oclassTestsAMD64)
    	})
    
    	t.Run("linux/386", func(t *testing.T) {
    		ctxt386 := obj.Linknew(&Link386)
    		ctxt386.Headtype = objabi.Hlinux // See #32028
    		runTest(t, ctxt386, oclassTests386)
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. src/cmd/link/doc.go

    	-extar ar
    		Set the external archive program (default "ar").
    		Used only for -buildmode=c-archive.
    	-extld linker
    		Set the external linker (default "clang" or "gcc").
    	-extldflags flags
    		Set space-separated flags to pass to the external linker.
    	-f
    		Ignore version mismatch in the linked archives.
    	-g
    		Disable Go package data checks.
    	-importcfg file
    		Read import configuration from file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/AbstractLinkTask.java

            return destinationDirectory;
        }
    
        /**
         * The file where the linked binary will be located.
         *
         * @since 4.7
         */
        @OutputFile
        public RegularFileProperty getLinkedFile() {
            return linkedFile;
        }
    
        /**
         * Additional arguments passed to the linker.
         *
         * @since 4.3
         */
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. doc/next/5-toolchain.md

    ## Assembler {#assembler}
    
    ## Linker {#linker}
    
    <!-- go.dev/issue/67401, CL 585556, CL 587220, and many more -->
    The linker now disallows using a `//go:linkname` directive to refer to
    internal symbols in the standard library (including the runtime) that
    are not marked with `//go:linkname` on their definitions.
    Similarly, the linker disallows references to such symbols from assembly
    code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go

    //go:build (ppc64 || ppc64le) && internal
    
    package cgotest
    
    import "testing"
    
    // If gcc is used, and linking internally, __mulsc3 and __muldc3
    // will be linked in from libgcc which make several R_PPC64_TOC16_DS
    // relocations which may not be resolvable with the internal linker.
    func test8694(t *testing.T) { t.Skip("not supported on ppc64/ppc64le with internal linking") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 631 bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/LinkerSpec.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.internal;
    
    import java.io.File;
    import java.util.List;
    
    /**
     * A high level interface to the linker, specifying what is to be linked and how.
     */
    public interface LinkerSpec extends BinaryToolSpec {
    
        List<File> getObjectFiles();
    
        void objectFiles(Iterable<File> objectFiles);
    
        List<File> getLibraries();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/config.go

    		return "internal"
    	case LinkExternal:
    		return "external"
    	}
    	return fmt.Sprintf("LinkMode(%d)", uint8(*mode))
    }
    
    // mustLinkExternal reports whether the program being linked requires
    // the external linker be used to complete the link.
    func mustLinkExternal(ctxt *Link) (res bool, reason string) {
    	if ctxt.Debugvlog > 1 {
    		defer func() {
    			if res {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho_update_uuid.go

    // command? See issue #64947 for more detail, but the short answer is
    // that newer versions of the Macos toolchain (the newer linker in
    // particular) appear to compute the UUID based not just on the
    // content of the object files being linked but also on things like
    // the timestamps/paths of the objects; this makes it
    // difficult/impossible to support reproducible builds. Since we try
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top