Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rewritetonop (0.09 sec)

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

    			su.SetRelocAdd(rIdx, r.Add()+int64(ldr.SymGot(targ)))
    		} else if targType == sym.STEXT {
    			if isPLT16_LO_DS {
    				// Expect an ld opcode to nop
    				rewritetonop(target, ldr, su, int64(r.Off()), MASK_OP_LD, OP_LD)
    			} else {
    				// Expect an addis opcode to nop
    				rewritetonop(target, ldr, su, int64(r.Off()), MASK_OP_ADDIS, OP_ADDIS)
    			}
    			// And we can ignore this reloc now.
    			su.SetRelocType(rIdx, objabi.ElfRelocOffset)
    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