Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for textsectionmap (0.2 sec)

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

    }
    
    // Create a table with information on the text sections.
    // Return the symbol of the table, and number of sections.
    func textsectionmap(ctxt *Link) (loader.Sym, uint32) {
    	ldr := ctxt.loader
    	t := ldr.CreateSymForUpdate("runtime.textsectionmap", 0)
    	t.SetType(sym.SRODATA)
    	nsections := int64(0)
    
    	for _, sect := range Segtext.Sections {
    		if sect.Name == ".text" {
    			nsections++
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
Back to top