Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddSection (0.11 sec)

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

    	ldr := state.ctxt.loader
    	sname := ldr.SymName(s)
    	if strings.HasPrefix(sname, "go:") {
    		sname = ".go." + sname[len("go:"):]
    	}
    	sect := addsection(ldr, state.ctxt.Arch, seg, sname, rwx)
    	sect.Align = symalign(ldr, s)
    	state.datsize = Rnd(state.datsize, int64(sect.Align))
    	sect.Vaddr = uint64(state.datsize)
    	return sect
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top