Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for NReloc (0.23 sec)

  1. 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)
  2. src/cmd/internal/obj/data.go

    func (s *LSym) WriteBytes(ctxt *Link, off int64, b []byte) int64 {
    	s.prepwrite(ctxt, off, len(b))
    	copy(s.P[off:], b)
    	return off + int64(len(b))
    }
    
    func Addrel(s *LSym) *Reloc {
    	if s.R == nil {
    		s.R = make([]Reloc, 0, 4)
    	}
    	s.R = append(s.R, Reloc{})
    	return &s.R[len(s.R)-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 14:38:53 UTC 2021
    - 6.7K 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/cmd/link/internal/loader/loader.go

    type Reloc struct {
    	*goobj.Reloc
    	r *oReader
    	l *Loader
    }
    
    func (rel Reloc) Type() objabi.RelocType     { return objabi.RelocType(rel.Reloc.Type()) &^ objabi.R_WEAK }
    func (rel Reloc) Weak() bool                 { return objabi.RelocType(rel.Reloc.Type())&objabi.R_WEAK != 0 }
    func (rel Reloc) SetType(t objabi.RelocType) { rel.Reloc.SetType(uint16(t)) }
    func (rel Reloc) Sym() Sym                   { return rel.l.resolve(rel.r, rel.Reloc.Sym()) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  5. src/internal/pkgbits/encoder.go

    func (w *Encoder) Uint(x uint) { w.Uint64(uint64(x)) }
    
    // Reloc encodes and writes a relocation for the given (section,
    // index) pair into the element bitstream.
    //
    // Note: Only the index is formally written into the element
    // bitstream, so bitstream decoders must know from context which
    // section an encoded relocation refers to.
    func (w *Encoder) Reloc(r RelocKind, idx Index) {
    	w.Sync(SyncUseReloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 23:26:58 UTC 2022
    - 9.6K 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/go/testdata/script/trampoline_reuse_test.txt

    # from main package calls. and main.Func1 and main.Func2 are placed
    # a bit more than the direct call limit apart, but not more than 0x400
    # bytes beyond it (to verify the reloc calc).
    
    go build
    
    -- go.mod --
    
    module foo
    
    go 1.19
    
    -- main.go --
    
    package main
    
    import "foo/bar"
    
    func Func1()
    
    func main() {
            Func1()
            bar.Bar2()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 14:31:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/link/internal/mips/obj.go

    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    	}
    }
    
    func adddynrel(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loader.Sym, r loader.Reloc, rIdx int) bool {
    	ld.Exitf("adddynrel currently unimplemented for MIPS")
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top