Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isLinkingPIC (0.1 sec)

  1. src/cmd/link/internal/ppc64/asm.go

    }
    
    // Determine if the code was compiled so that the TOC register R2 is initialized and maintained.
    func r2Valid(ctxt *ld.Link) bool {
    	return isLinkingPIC(ctxt)
    }
    
    // Determine if this is linking a position-independent binary.
    func isLinkingPIC(ctxt *ld.Link) bool {
    	switch ctxt.BuildMode {
    	case ld.BuildModeCArchive, ld.BuildModeCShared, ld.BuildModePIE, ld.BuildModeShared, ld.BuildModePlugin:
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
Back to top