Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for Reloc (0.04 sec)

  1. api/go1.10.txt

    pkg debug/macho, type Reloc struct
    pkg debug/macho, type Reloc struct, Addr uint32
    pkg debug/macho, type Reloc struct, Extern bool
    pkg debug/macho, type Reloc struct, Len uint8
    pkg debug/macho, type Reloc struct, Pcrel bool
    pkg debug/macho, type Reloc struct, Scattered bool
    pkg debug/macho, type Reloc struct, Type uint8
    pkg debug/macho, type Reloc struct, Value uint32
    pkg debug/macho, type RelocTypeARM int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  2. api/go1.8.txt

    pkg debug/pe, type File struct, StringTable StringTable
    pkg debug/pe, type Reloc struct
    pkg debug/pe, type Reloc struct, SymbolTableIndex uint32
    pkg debug/pe, type Reloc struct, Type uint16
    pkg debug/pe, type Reloc struct, VirtualAddress uint32
    pkg debug/pe, type Section struct, Relocs []Reloc
    pkg debug/pe, type StringTable []uint8
    pkg encoding/base64, method (Encoding) Strict() *Encoding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  3. src/internal/pkgbits/decoder.go

    // compiler can't depend on generics yet anyway.
    func (r *Decoder) Code(mark SyncMarker) int {
    	r.Sync(mark)
    	return r.Len()
    }
    
    // Reloc decodes a relocation of expected section k from the element
    // bitstream and returns an index to the referenced element.
    func (r *Decoder) Reloc(k RelocKind) Index {
    	r.Sync(SyncUseReloc)
    	return r.rawReloc(k, r.Len())
    }
    
    // String decodes and returns a string value from the element
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  4. src/debug/macho/file.go

    	Reloff uint32
    	Nreloc uint32
    	Flags  uint32
    }
    
    // A Reloc represents a Mach-O relocation.
    type Reloc struct {
    	Addr  uint32
    	Value uint32
    	// when Scattered == false && Extern == true, Value is the symbol number.
    	// when Scattered == false && Extern == false, Value is the section number.
    	// when Scattered == true, Value is the value that this reloc refers to.
    	Type      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/objfile.go

    		fmt.Printf("unindexed symbol reference: %v\n", s)
    		panic("unindexed symbol reference")
    	}
    	return goobj.SymRef{PkgIdx: uint32(s.PkgIdx), SymIdx: uint32(s.SymIdx)}
    }
    
    func (w *writer) Reloc(r *Reloc) {
    	o := &w.tmpReloc
    	o.SetOff(r.Off)
    	o.SetSiz(r.Siz)
    	o.SetType(uint16(r.Type))
    	o.SetAdd(r.Add)
    	o.SetSym(makeSymRef(r.Sym))
    	o.Write(w.Writer)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/debug/macho/file_test.go

    	"internal/obscuretestdata"
    	"io"
    	"reflect"
    	"testing"
    )
    
    type fileTest struct {
    	file        string
    	hdr         FileHeader
    	loads       []any
    	sections    []*SectionHeader
    	relocations map[string][]Reloc
    }
    
    var fileTests = []fileTest{
    	{
    		"testdata/gcc-386-darwin-exec.base64",
    		FileHeader{0xfeedface, Cpu386, 0x3, 0x2, 0xc, 0x3c0, 0x85},
    		[]any{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loader/symbolbuilder.go

    	sb.relocs = append(sb.relocs, make([]goobj.Reloc, n)...)
    	return sb.l.Relocs(sb.symIdx)
    }
    
    // Add a relocation with given type, return its handle and index
    // (to set other fields).
    func (sb *SymbolBuilder) AddRel(typ objabi.RelocType) (Reloc, int) {
    	j := len(sb.relocs)
    	sb.relocs = append(sb.relocs, goobj.Reloc{})
    	sb.relocs[j].SetType(uint16(typ))
    	relocs := sb.Relocs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/s390x/asm.go

    	return false
    }
    
    func archreloc(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, r loader.Reloc, s loader.Sym, val int64) (o int64, nExtReloc int, ok bool) {
    	return val, 0, false
    }
    
    func archrelocvariant(target *ld.Target, ldr *loader.Loader, r loader.Reloc, rv sym.RelocVariant, s loader.Sym, t int64, p []byte) int64 {
    	switch rv & sym.RV_TYPE_MASK {
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/decodesym.go

    }
    
    func decodeReloc(ldr *loader.Loader, symIdx loader.Sym, relocs *loader.Relocs, off int32) loader.Reloc {
    	for j := 0; j < relocs.Count(); j++ {
    		rel := relocs.At(j)
    		if rel.Off() == off {
    			return rel
    		}
    	}
    	return loader.Reloc{}
    }
    
    func decodeRelocSym(ldr *loader.Loader, symIdx loader.Sym, relocs *loader.Relocs, off int32) loader.Sym {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho.go

    				continue
    			}
    			if !ldr.AttrReachable(rr.Xsym) {
    				ldr.Errorf(s, "unreachable reloc %d (%s) target %v", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), ldr.SymName(rr.Xsym))
    			}
    			if !thearch.Machoreloc1(ctxt.Arch, out, ldr, s, rr, int64(uint64(ldr.SymValue(s)+int64(r.Off()))-sect.Vaddr)) {
    				ldr.Errorf(s, "unsupported obj reloc %d (%s)/%d to %s", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), r.Siz(), ldr.SymName(r.Sym()))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top