- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for BuildModeExe (1.46 sec)
-
src/cmd/link/internal/ld/config.go
// // Possible build modes are the same as those for the -buildmode flag // in cmd/go, and are documented in 'go help buildmode'. type BuildMode uint8 const ( BuildModeUnset BuildMode = iota BuildModeExe BuildModePIE BuildModeCArchive BuildModeCShared BuildModeShared BuildModePlugin ) // Set implements flag.Value to set the build mode based on the argument // to the -buildmode flag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:14:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/target.go
LinkMode LinkMode BuildMode BuildMode linkShared bool canUsePlugins bool IsELF bool } // // Target type functions // func (t *Target) IsExe() bool { return t.BuildMode == BuildModeExe } func (t *Target) IsShared() bool { return t.BuildMode == BuildModeShared } func (t *Target) IsPlugin() bool { return t.BuildMode == BuildModePlugin } func (t *Target) IsInternal() bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 21:14:48 UTC 2022 - 3.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/inittask.go
// records so that the order respects all the dependencies, // and given that restriction, orders the inittasks in // lexicographic order. func (ctxt *Link) inittasks() { switch ctxt.BuildMode { case BuildModeExe, BuildModePIE, BuildModeCArchive, BuildModeCShared: // Normally the inittask list will be run on program startup. ctxt.mainInittasks = ctxt.inittaskSym([]string{"main..inittask"}, "go:main.inittasks") case BuildModePlugin:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode.go
// functions and mark what is reachable from there. if d.ctxt.linkShared && (d.ctxt.BuildMode == BuildModeExe || d.ctxt.BuildMode == BuildModePIE) { names = append(names, "main.main", "main..inittask") } else { // The external linker refers main symbol directly. if d.ctxt.LinkMode == LinkExternal && (d.ctxt.BuildMode == BuildModeExe || d.ctxt.BuildMode == BuildModePIE) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
moduledata.AddUint(ctxt.Arch, 0) moduledata.AddUint(ctxt.Arch, 0) } if len(ctxt.Shlibs) > 0 { thismodulename := filepath.Base(*flagOutfile) switch ctxt.BuildMode { case BuildModeExe, BuildModePIE: // When linking an executable, outfile is just "a.out". Make // it something slightly more comprehensible. thismodulename = "the executable" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
f.xfhdr.Fnscns = uint16(len(f.sections)) f.xfhdr.Ftimedat = 0 if !*FlagS { f.xfhdr.Fsymptr = uint64(f.symtabOffset) f.xfhdr.Fnsyms = int32(f.symbolCount) } if ctxt.BuildMode == BuildModeExe && ctxt.LinkMode == LinkInternal { ldr := ctxt.loader f.xfhdr.Fopthdr = AOUTHSZ_EXEC64 f.xfhdr.Fflags = F_EXEC // auxiliary header f.xahdr.Ovstamp = 1 // based on dump -o
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
} if *flagEntrySymbol == "" { switch ctxt.BuildMode { case BuildModeCShared, BuildModeCArchive: *flagEntrySymbol = fmt.Sprintf("_rt0_%s_%s_lib", buildcfg.GOARCH, buildcfg.GOOS) case BuildModeExe, BuildModePIE: *flagEntrySymbol = fmt.Sprintf("_rt0_%s_%s", buildcfg.GOARCH, buildcfg.GOOS) case BuildModeShared, BuildModePlugin: // No *flagEntrySymbol for -buildmode=shared and plugin default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
} pad := int64(cieReserve) + lengthFieldSize - int64(len(d.ldr.Data(fs))) if pad < 0 { Exitf("dwarf: cieReserve too small by %d bytes.", -pad) } internalExec := d.linkctxt.BuildMode == BuildModeExe && d.linkctxt.IsInternal() addAddrPlus := loader.GenAddAddrPlusFunc(internalExec) fsu.AddBytes(zeros[:pad]) var deltaBuf []byte pcsp := obj.NewPCIter(uint32(d.arch.MinLC))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0)