Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for byPkg (0.13 sec)

  1. src/cmd/link/internal/ld/symtab.go

    				char = BSSSym
    			}
    			putplan9sym(ctxt, ldr, s, char)
    		}
    	}
    }
    
    type byPkg []*sym.Library
    
    func (libs byPkg) Len() int {
    	return len(libs)
    }
    
    func (libs byPkg) Less(a, b int) bool {
    	return libs[a].Pkg < libs[b].Pkg
    }
    
    func (libs byPkg) Swap(a, b int) {
    	libs[a], libs[b] = libs[b], libs[a]
    }
    
    // Create a table with information on the text sections.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    		sb := ldr.MakeSymbolUpdater(s)
    		ldr.SetAttrLocal(s, true)
    		sb.SetType(sym.SRODATA)
    		ldr.SetAttrSpecial(s, true)
    		sb.SetReachable(true)
    		sb.SetSize(notsha256.Size)
    
    		sort.Sort(byPkg(ctxt.Library))
    		h := notsha256.New()
    		for _, l := range ctxt.Library {
    			h.Write(l.Fingerprint[:])
    		}
    		addgonote(ctxt, ".note.go.abihash", ELF_NOTE_GOABIHASH_TAG, h.Sum([]byte{}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top