- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for addstrdata1 (0.46 sec)
-
src/cmd/link/internal/ld/main.go
// embedded GOROOT value reported by runtime.GOROOT. } else { addstrdata1(ctxt, "runtime.defaultGOROOT="+buildcfg.GOROOT) } buildVersion := buildcfg.Version if goexperiment := buildcfg.Experiment.String(); goexperiment != "" { buildVersion += " X:" + goexperiment } addstrdata1(ctxt, "runtime.buildVersion="+buildVersion)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/ld.go
} ctxt.PackageShlib[before] = after case "modinfo": s, err := strconv.Unquote(args) if err != nil { log.Fatalf("%s:%d: invalid modinfo: %v", file, lineNum, err) } addstrdata1(ctxt, "runtime.modinfo="+s) } } } func pkgname(ctxt *Link, lib string) string { return path.Clean(lib) } func findlib(ctxt *Link, lib string) (string, bool) { name := path.Clean(lib)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 8K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
name := pkg + arg[dot:eq] value := arg[eq+1:] if _, ok := strdata[name]; !ok { strnames = append(strnames, name) } strdata[name] = value } // addstrdata sets the initial value of the string variable name to value. func addstrdata(arch *sys.Arch, l *loader.Loader, name, value string) { s := l.Lookup(name, 0) if s == 0 { return } if goType := l.SymGoType(s); goType == 0 { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/go.go
if *flagFieldTrack == "" { return } s := l.Lookup(*flagFieldTrack, 0) if s == 0 || !l.AttrReachable(s) { return } bld := l.MakeSymbolUpdater(s) bld.SetType(sym.SDATA) addstrdata(arch, l, *flagFieldTrack, buf.String()) } func (ctxt *Link) addexport() { // Track undefined external symbols during external link. if ctxt.LinkMode == LinkExternal { for _, s := range ctxt.Textp {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 11.2K bytes - Viewed (0)