Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Reloc (0.3 sec)

  1. src/cmd/link/internal/sym/reloc.go

    Jes Cok <******@****.***> 1693260993 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 15:33:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/internal/pkgbits/reloc.go

    David Chase <******@****.***> 1660068422 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 22:22:48 UTC 2022
    - 835 bytes
    - Viewed (0)
  3. src/debug/pe/section.go

    }
    
    // TODO(brainman): copy all IMAGE_REL_* consts from ldpe.go here
    
    // Reloc represents a PE COFF relocation.
    // Each section contains its own relocation list.
    type Reloc struct {
    	VirtualAddress   uint32
    	SymbolTableIndex uint32
    	Type             uint16
    }
    
    func readRelocs(sh *SectionHeader, r io.ReadSeeker) ([]Reloc, error) {
    	if sh.NumberOfRelocations <= 0 {
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/amd64/asm.go

    		if targType != sym.SDYNIMPORT {
    			ldr.Errorf(s, "unexpected GOT reloc for non-dynamic symbol %s", ldr.SymName(targ))
    		}
    		ld.AddGotSym(target, ldr, syms, targ, 0)
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocSym(rIdx, syms.GOT)
    		su.SetRelocAdd(rIdx, r.Add()+int64(ldr.SymGot(targ)))
    		return true
    	}
    
    	// Reread the reloc to incorporate any changes in type above.
    	relocs := ldr.Relocs(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/internal/xcoff/file.go

    					return nil, err
    				}
    				reloc.VirtualAddress = rel.Rvaddr
    				reloc.Symbol = idxToSym[int(rel.Rsymndx)]
    				reloc.Type = rel.Rtype
    				reloc.Length = rel.Rsize&0x3F + 1
    				if rel.Rsize&0x80 != 0 {
    					reloc.Signed = true
    				}
    				if rel.Rsize&0x40 != 0 {
    					reloc.InstructionFixed = true
    				}
    			}
    
    			sect.Relocs = append(sect.Relocs, reloc)
    		}
    	}
    
    	return f, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/objfile.go

    func (r *Reloc) Add() int64   { return int64(binary.LittleEndian.Uint64(r[7:])) }
    func (r *Reloc) Sym() SymRef {
    	return SymRef{binary.LittleEndian.Uint32(r[15:]), binary.LittleEndian.Uint32(r[19:])}
    }
    
    func (r *Reloc) SetOff(x int32)   { binary.LittleEndian.PutUint32(r[:], uint32(x)) }
    func (r *Reloc) SetSiz(x uint8)   { r[4] = x }
    func (r *Reloc) SetType(x uint16) { binary.LittleEndian.PutUint16(r[5:], x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loader/loader_test.go

    			return false
    		}
    	}
    	return true
    }
    
    type addFunc func(l *Loader, s Sym, s2 Sym) Sym
    
    func mkReloc(l *Loader, typ objabi.RelocType, off int32, siz uint8, add int64, sym Sym) Reloc {
    	r := Reloc{&goobj.Reloc{}, l.extReader, l}
    	r.SetType(typ)
    	r.SetOff(off)
    	r.SetSiz(siz)
    	r.SetAdd(add)
    	r.SetSym(sym)
    	return r
    }
    
    func TestAddDataMethods(t *testing.T) {
    	ldr := mkLoader()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/cmd/link/internal/arm64/asm.go

    		su.SetRelocAdd(rIdx, int64(ldr.SymGot(targ)))
    		return true
    	}
    
    	// Reread the reloc to incorporate any changes in type above.
    	relocs := ldr.Relocs(s)
    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_CALLARM64:
    		if targType != sym.SDYNIMPORT {
    			// nothing to do, the relocation will be laid out in reloc
    			return true
    		}
    		if target.IsExternal() {
    			// External linker will do this relocation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  9. maven-core/src/test/resources-project-builder/complete-model/w-parent/sub/pom.xml

          <name>docs</name>
        </site>
        <downloadUrl>https://project.url/download</downloadUrl>
        <relocation>
          <groupId>reloc-gid</groupId>
          <artifactId>reloc-aid</artifactId>
          <version>reloc-version</version>
          <message>project-reloc-msg</message>
        </relocation>
      </distributionManagement>
    
      <modules>
        <module>sub</module>
      </modules>
    
      <properties>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/internal/objfile/objfile.go

    	Size   int64   // size in bytes
    	Code   rune    // nm code (T for text, D for data, and so on)
    	Type   string  // XXX?
    	Relocs []Reloc // in increasing Addr order
    }
    
    type Reloc struct {
    	Addr     uint64 // Address of first byte that reloc applies to.
    	Size     uint64 // Number of bytes
    	Stringer RelocStringer
    }
    
    type RelocStringer interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 16:01:55 UTC 2021
    - 4.2K bytes
    - Viewed (0)
Back to top