Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 429 for linknew (0.2 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/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)
  3. 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)
  4. src/cmd/link/internal/ld/main.go

    )
    
    func init() {
    	flag.Var(&rpath, "r", "set the ELF dynamic linker search `path` to dir1:dir2:...")
    	flag.Var(&flagExtld, "extld", "use `linker` when linking in external mode")
    	flag.Var(&flagExtldflags, "extldflags", "pass `flags` to external linker")
    	flag.Var(&flagW, "w", "disable DWARF generation")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/sym.go

    package obj
    
    import (
    	"cmd/internal/goobj"
    	"cmd/internal/notsha256"
    	"cmd/internal/objabi"
    	"encoding/base64"
    	"encoding/binary"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"math"
    	"sort"
    )
    
    func Linknew(arch *LinkArch) *Link {
    	ctxt := new(Link)
    	ctxt.hash = make(map[string]*LSym)
    	ctxt.funchash = make(map[string]*LSym)
    	ctxt.statichash = make(map[string]*LSym)
    	ctxt.Arch = arch
    	ctxt.Pathname = objabi.WorkingDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/abiutils_test.go

    func TestMain(m *testing.M) {
    	ssagen.Arch.LinkArch = &x86.Linkamd64
    	ssagen.Arch.REGSP = x86.REGSP
    	ssagen.Arch.MAXWIDTH = 1 << 50
    	types.MaxWidth = ssagen.Arch.MAXWIDTH
    	base.Ctxt = obj.Linknew(ssagen.Arch.LinkArch)
    	base.Ctxt.DiagFunc = base.Errorf
    	base.Ctxt.DiagFlush = base.FlushErrors
    	base.Ctxt.Bso = bufio.NewWriter(os.Stdout)
    	types.LocalPkg = types.NewPkg("p", "local")
    	types.LocalPkg.Prefix = "p"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    	buildcfg.GOARCH = goarch
    	architecture := arch.Set(goarch, false)
    	if architecture == nil {
    		panic("asm: unrecognized architecture " + goarch)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Pkgpath = "pkg"
    	return architecture, ctxt
    }
    
    func newParser(goarch string) *Parser {
    	architecture, ctxt := setArch(goarch)
    	return NewParser(ctxt, architecture, nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top