Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for R_ADDRMIPS (0.16 sec)

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

    	plt.AddSymRef(ctxt.Arch, gotplt.Sym(), 0, objabi.R_ADDRMIPS, 4)
    	plt.SetUint32(ctxt.Arch, plt.Size()-4, 0xddd90000) // ld    $25, %lo(&GOTPLT[0])($14)
    
    	// Load return address into r15, the index of the got.plt entry into r24, then
    	// JALR to the resolver. The address of the got.plt entry is currently in r24,
    	// which we have to turn into an index.
    	plt.AddSymRef(ctxt.Arch, gotplt.Sym(), 0, objabi.R_ADDRMIPS, 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. src/cmd/link/internal/mips/asm.go

    	switch r.Type {
    	default:
    		return false
    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		if r.Size != 4 {
    			return false
    		}
    		out.Write32(uint32(elf.R_MIPS_32) | uint32(elfsym)<<8)
    	case objabi.R_ADDRMIPS:
    		out.Write32(uint32(elf.R_MIPS_LO16) | uint32(elfsym)<<8)
    	case objabi.R_ADDRMIPSU:
    		out.Write32(uint32(elf.R_MIPS_HI16) | uint32(elfsym)<<8)
    	case objabi.R_ADDRMIPSTLS:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/cmd/internal/objabi/reloctype_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[R_ADDR-1]
    	_ = x[R_ADDRPOWER-2]
    	_ = x[R_ADDRARM64-3]
    	_ = x[R_ADDRMIPS-4]
    	_ = x[R_ADDROFF-5]
    	_ = x[R_SIZE-6]
    	_ = x[R_CALL-7]
    	_ = x[R_CALLARM-8]
    	_ = x[R_CALLARM64-9]
    	_ = x[R_CALLIND-10]
    	_ = x[R_CALLPOWER-11]
    	_ = x[R_CALLMIPS-12]
    	_ = x[R_CONST-13]
    	_ = x[R_PCREL-14]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/internal/objabi/reloctype.go

    	R_ADDRPOWER
    	// R_ADDRARM64 relocates an adrp, add pair to compute the address of the
    	// referenced symbol.
    	R_ADDRARM64
    	// R_ADDRMIPS (only used on mips/mips64) resolves to the low 16 bits of an external
    	// address, by encoding it into the instruction.
    	R_ADDRMIPS
    	// R_ADDROFF resolves to a 32-bit offset from the beginning of the section
    	// holding the data being relocated to the referenced symbol.
    	R_ADDROFF
    	R_SIZE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/mips/asm0.go

    		o2 = OP_IRR(c.opirr(p.As), 0, REGTMP, p.From.Reg)
    		rel2 := obj.Addrel(c.cursym)
    		rel2.Off = int32(c.pc + 4)
    		rel2.Siz = 4
    		rel2.Sym = p.To.Sym
    		rel2.Add = p.To.Offset
    		rel2.Type = objabi.R_ADDRMIPS
    
    		if o.size == 12 {
    			o3 = o2
    			o2 = OP_RRR(c.oprrr(AADDVU), REGSB, REGTMP, REGTMP)
    			rel2.Off += 4
    		}
    
    	case 51: /* mov addr,r ==> lu + add REGSB, REGTMP + lw o(REGTMP) */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
Back to top