Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RWX (0.32 sec)

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

    	}
    	ctxt.Shlibs = append(ctxt.Shlibs, Shlib{Path: libpath, Hash: hash, Deps: deps, File: f})
    }
    
    func addsection(ldr *loader.Loader, arch *sys.Arch, seg *sym.Segment, name string, rwx int) *sym.Section {
    	sect := ldr.NewSection()
    	sect.Rwx = uint8(rwx)
    	sect.Name = name
    	sect.Seg = seg
    	sect.Align = int32(arch.PtrSize) // everything is at least pointer-aligned
    	seg.Sections = append(seg.Sections, sect)
    	return sect
    }
    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