Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for alefsym (3.46 sec)

  1. src/cmd/link/internal/x86/asm.go

    				out.Write32(uint32(sectoff))
    				out.Write32(uint32(elf.R_386_GOT32) | uint32(elfsym)<<8)
    			}
    		} else {
    			return false
    		}
    	case objabi.R_CALL:
    		if siz == 4 {
    			if ldr.SymType(r.Xsym) == sym.SDYNIMPORT {
    				out.Write32(uint32(elf.R_386_PLT32) | uint32(elfsym)<<8)
    			} else {
    				out.Write32(uint32(elf.R_386_PC32) | uint32(elfsym)<<8)
    			}
    		} else {
    			return false
    		}
    	case objabi.R_PCREL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/amd64/asm.go

    	out.Write64(uint64(sectoff))
    
    	elfsym := ld.ElfSymForReloc(ctxt, r.Xsym)
    	siz := r.Size
    	switch r.Type {
    	default:
    		return false
    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		if siz == 4 {
    			out.Write64(uint64(elf.R_X86_64_32) | uint64(elfsym)<<32)
    		} else if siz == 8 {
    			out.Write64(uint64(elf.R_X86_64_64) | uint64(elfsym)<<32)
    		} else {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. src/cmd/link/internal/arm/asm.go

    		} else {
    			return false
    		}
    	case objabi.R_CALLARM:
    		if siz == 4 {
    			relocs := ldr.Relocs(s)
    			r := relocs.At(ri)
    			if r.Add()&0xff000000 == 0xeb000000 { // BL // TODO: using r.Add here is bad (issue 19811)
    				out.Write32(uint32(elf.R_ARM_CALL) | uint32(elfsym)<<8)
    			} else {
    				out.Write32(uint32(elf.R_ARM_JUMP24) | uint32(elfsym)<<8)
    			}
    		} else {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/riscv64/asm.go

    	elfsym := ld.ElfSymForReloc(ctxt, r.Xsym)
    	switch r.Type {
    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		out.Write64(uint64(sectoff))
    		switch r.Size {
    		case 4:
    			out.Write64(uint64(elf.R_RISCV_32) | uint64(elfsym)<<32)
    		case 8:
    			out.Write64(uint64(elf.R_RISCV_64) | uint64(elfsym)<<32)
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/arm64/asm.go

    	case objabi.R_ARM64_GOTPCREL:
    		out.Write64(uint64(elf.R_AARCH64_ADR_GOT_PAGE) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    		out.Write64(uint64(sectoff + 4))
    		out.Write64(uint64(elf.R_AARCH64_LD64_GOT_LO12_NC) | uint64(elfsym)<<32)
    	case objabi.R_CALLARM64:
    		if siz != 4 {
    			return false
    		}
    		out.Write64(uint64(elf.R_AARCH64_CALL26) | uint64(elfsym)<<32)
    
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  6. src/runtime/vdso_elf32.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux && (386 || arm)
    
    package runtime
    
    // ELF32 structure definitions for use by the vDSO loader
    
    type elfSym struct {
    	st_name  uint32
    	st_value uint32
    	st_size  uint32
    	st_info  byte
    	st_other byte
    	st_shndx uint16
    }
    
    type elfVerdef struct {
    	vd_version uint16 /* Version revision */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  7. src/runtime/vdso_linux.go

    	_EI_NIDENT = 16
    
    	// Maximum indices for the array types used when traversing the vDSO ELF structures.
    	// Computed from architecture-specific max provided by vdso_linux_*.go
    	vdsoSymTabSize     = vdsoArrayMax / unsafe.Sizeof(elfSym{})
    	vdsoDynSize        = vdsoArrayMax / unsafe.Sizeof(elfDyn{})
    	vdsoSymStringsSize = vdsoArrayMax     // byte
    	vdsoVerSymSize     = vdsoArrayMax / 2 // uint16
    	vdsoHashSize       = vdsoArrayMax / 4 // uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    		return
    	}
    
    	for _, elfsym := range syms {
    		if elf.ST_TYPE(elfsym.Info) == elf.STT_NOTYPE || elf.ST_TYPE(elfsym.Info) == elf.STT_SECTION {
    			continue
    		}
    
    		// Symbols whose names start with "type:" are compiler generated,
    		// so make functions with that prefix internal.
    		ver := 0
    		symname := elfsym.Name // (unmangled) symbol name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. src/runtime/vdso_elf64.go

    //go:build linux && (amd64 || arm64 || loong64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x)
    
    package runtime
    
    // ELF64 structure definitions for use by the vDSO loader
    
    type elfSym struct {
    	st_name  uint32
    	st_info  byte
    	st_other byte
    	st_shndx uint16
    	st_value uint64
    	st_size  uint64
    }
    
    type elfVerdef struct {
    	vd_version uint16 /* Version revision */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/dwarf.go

    		dfound := false
    		for _, doffset := range sf.doffsets {
    			if doffset.dclIdx == f.dclidx {
    				f.refsym.R[f.relidx].Add += int64(doffset.offset)
    				dfound = true
    				break
    			}
    		}
    		if !dfound {
    			ft.ctxt.Diag("internal error: DwarfFixupTable has orphaned fixup on %v targeting %v relidx=%d dclidx=%d", f.refsym, s, f.relidx, f.dclidx)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top