Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for HeaderString (0.44 sec)

  1. src/cmd/internal/objabi/util.go

    	GlobalDictPrefix = ".dict" // prefix for names of global dictionaries
    )
    
    // HeaderString returns the toolchain configuration string written in
    // Go object headers. This string ensures we don't attempt to import
    // or link object files that are incompatible with each other. This
    // string always starts with "go object ".
    func HeaderString() string {
    	archExtra := ""
    	if k, v := buildcfg.GOGOARCH(); k != "" && v != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 12:40:45 UTC 2022
    - 961 bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    	// Create object file, write header.
    	buf, err := bio.Create(*flags.OutputFile)
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer buf.Close()
    
    	if !*flags.SymABIs {
    		buf.WriteString(objabi.HeaderString())
    		fmt.Fprintf(buf, "!\n")
    	}
    
    	// Set macros for GOEXPERIMENTs so we can easily switch
    	// runtime assembly code based on them.
    	if objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI {
    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/link/internal/ld/lib.go

    	case sys.PPC64:
    		if buildcfg.GOOS == "aix" {
    			return []string{"-maix64"}
    		} else {
    			return []string{"-m64"}
    		}
    
    	}
    	return nil
    }
    
    var wantHdr = objabi.HeaderString()
    
    // ldobj loads an input object. If it is a host object (an object
    // compiled by a non-Go compiler) it returns the Hostobj pointer. If
    // it is a Go object, it returns nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top