Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for Reloc (0.2 sec)

  1. src/cmd/go/testdata/script/test_ppc64le_cgo_inline_plt.txt

    # Verify the linker will correctly resolve
    # ppc64le objects compiled with gcc's -fno-plt
    # option. This inlines PLT calls, and generates
    # additional reloc types which the internal linker
    # should handle.
    #
    # Verifies golang.org/issue/53345
    #
    # Note, older gcc/clang may accept this option, but
    # ignore it if binutils does not support the relocs.
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    env CGO_CFLAGS='-fno-plt -O2 -g'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 719 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top