Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for Reloc (0.05 sec)

  1. src/cmd/internal/obj/sym.go

    	fninfo := fsym.Func()
    	pc := &fninfo.Pcln
    	if flag&traverseAux == 0 {
    		// NB: should it become necessary to walk aux sym reloc references
    		// without walking the aux syms themselves, this can be changed.
    		panic("should not be here")
    	}
    	for _, d := range pc.Funcdata {
    		if d != nil {
    			fn(fsym, d)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    // It represents Go symbols in a flat pkg+"."+name namespace.
    type LSym struct {
    	Name string
    	Type objabi.SymKind
    	Attribute
    
    	Size   int64
    	Gotype *LSym
    	P      []byte
    	R      []Reloc
    
    	Extra *interface{} // *FuncInfo, *VarInfo, *FileInfo, or *TypeInfo, if present
    
    	Pkg    string
    	PkgIdx int32
    	SymIdx int32
    }
    
    // A FuncInfo contains extra fields for STEXT symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/wasm/asm.go

    				case objabi.R_CALL:
    					writeSleb128(wfn, int64(len(hostImports))+ldr.SymValue(rs)>>16-funcValueOffset)
    				case objabi.R_WASMIMPORT:
    					writeSleb128(wfn, hostImportMap[rs])
    				default:
    					ldr.Errorf(fn, "bad reloc type %d (%s)", r.Type(), sym.RelocName(ctxt.Arch, r.Type()))
    					continue
    				}
    			}
    			wfn.Write(P[off:])
    		}
    
    		typ := uint32(0)
    		if sig, ok := wasmFuncTypes[ldr.SymName(fn)]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf.go

    			}
    			esr := ElfSymForReloc(ctxt, rr.Xsym)
    			if esr == 0 {
    				ldr.Errorf(s, "reloc %d (%s) to non-elf symbol %s (outer=%s) %d (%s)", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), ldr.SymName(r.Sym()), ldr.SymName(rr.Xsym), ldr.SymType(r.Sym()), ldr.SymType(r.Sym()).String())
    			}
    			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))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loadmacho/ldmacho.go

    					// relocation is referencing, we subtract the vaddr of the start of the referenced
    					// section found in the original object file.
    					//
    					// [For future reference, see Darwin's /usr/include/mach-o/x86_64/reloc.h]
    					secaddr := c.seg.sect[rel.symnum-1].addr
    					rAdd = int64(uint64(int64(int32(e.Uint32(p[rOff:])))+int64(rOff)+4) - secaddr)
    				} else {
    					rAdd = int64(int32(e.Uint32(p[rOff:])))
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/lib.go

    	// are padded with zeros.
    	CodePad []byte
    
    	// Plan 9 variables.
    	Plan9Magic  uint32
    	Plan9_64Bit bool
    
    	Adddynrel func(*Target, *loader.Loader, *ArchSyms, loader.Sym, loader.Reloc, int) bool
    	Archinit  func(*Link)
    	// Archreloc is an arch-specific hook that assists in relocation processing
    	// (invoked by 'relocsym'); it handles target-specific relocation tasks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadpe/ldpe.go

    			if err != nil {
    				return nil, err
    			}
    			if gosym == 0 {
    				name, err := pesym.FullName(f.StringTable)
    				if err != nil {
    					name = string(pesym.Name[:])
    				}
    				return nil, fmt.Errorf("reloc of invalid sym %s idx=%d type=%d", name, r.SymbolTableIndex, pesym.Type)
    			}
    
    			rSym := gosym
    			rSize := uint8(4)
    			rOff := int32(r.VirtualAddress)
    			var rAdd int64
    			var rType objabi.RelocType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. src/debug/pe/file_test.go

    				{0x0, 0x0},
    				{0x0, 0x0},
    				{0x0, 0x0},
    				{0x0, 0x0},
    				{0x0, 0x0},
    			}},
    		sections: []*SectionHeader{
    			{".setup", 0x41e0, 0x200, 0x41e0, 0x200, 0x0, 0x0, 0x0, 0x0, 0x60500020},
    			{".reloc", 0x20, 0x43e0, 0x20, 0x43e0, 0x0, 0x0, 0x0, 0x0, 0x42100040},
    			{".text", 0x7bc390, 0x4400, 0x7bc390, 0x4400, 0x0, 0x0, 0x0, 0x0, 0x60500020},
    			{".bss", 0x168f870, 0x7c0790, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc8000080},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    			t.Error("PIE must have PIE flag, but not")
    		}
    	case "windows":
    		f, err := pe.Open(obj)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer f.Close()
    		if f.Section(".reloc") == nil {
    			t.Error(".reloc section is not present")
    		}
    		if (f.FileHeader.Characteristics & pe.IMAGE_FILE_RELOCS_STRIPPED) != 0 {
    			t.Error("IMAGE_FILE_RELOCS_STRIPPED flag is set")
    		}
    		var dc uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"RegsAMD64.R9", Field, 0},
    		{"RegsAMD64.SI", Field, 0},
    		{"RegsAMD64.SP", Field, 0},
    		{"Reloc", Type, 10},
    		{"Reloc.Addr", Field, 10},
    		{"Reloc.Extern", Field, 10},
    		{"Reloc.Len", Field, 10},
    		{"Reloc.Pcrel", Field, 10},
    		{"Reloc.Scattered", Field, 10},
    		{"Reloc.Type", Field, 10},
    		{"Reloc.Value", Field, 10},
    		{"RelocTypeARM", Type, 10},
    		{"RelocTypeARM64", Type, 10},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top