Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for elfSym (0.12 sec)

  1. src/cmd/link/internal/loadelf/ldelf.go

    		elfsym.name = cstring(elfobj.symstr.base[b.Name:])
    		elfsym.value = uint64(b.Value)
    		elfsym.size = uint64(b.Size)
    		elfsym.shndx = elf.SectionIndex(b.Shndx)
    		elfsym.bind = elf.ST_BIND(b.Info)
    		elfsym.type_ = elf.ST_TYPE(b.Info)
    		elfsym.other = b.Other
    	}
    
    	var s loader.Sym
    
    	if elfsym.name == "_GLOBAL_OFFSET_TABLE_" {
    		elfsym.name = ".got"
    	}
    	if elfsym.name == ".TOC." {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/mips/asm.go

    	out.Write32(uint32(sectoff))
    
    	elfsym := ld.ElfSymForReloc(ctxt, r.Xsym)
    	switch r.Type {
    	default:
    		return false
    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		if r.Size != 4 {
    			return false
    		}
    		out.Write32(uint32(elf.R_MIPS_32) | uint32(elfsym)<<8)
    	case objabi.R_ADDRMIPS:
    		out.Write32(uint32(elf.R_MIPS_LO16) | uint32(elfsym)<<8)
    	case objabi.R_ADDRMIPSU:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loong64/asm.go

    			out.Write64(uint64(r.Xadd))
    		default:
    			return false
    		}
    	case objabi.R_LOONG64_TLS_LE_LO:
    		out.Write64(uint64(sectoff))
    		out.Write64(uint64(elf.R_LARCH_TLS_LE_LO12) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    
    	case objabi.R_LOONG64_TLS_LE_HI:
    		out.Write64(uint64(sectoff))
    		out.Write64(uint64(elf.R_LARCH_TLS_LE_HI20) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ppc64/asm.go

    	case objabi.R_ADDRPOWER_GOT:
    		out.Write64(uint64(elf.R_PPC64_GOT16_HA) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    		out.Write64(uint64(sectoff + 4))
    		out.Write64(uint64(elf.R_PPC64_GOT16_LO_DS) | uint64(elfsym)<<32)
    	case objabi.R_ADDRPOWER_GOT_PCREL34:
    		out.Write64(uint64(elf.R_PPC64_GOT_PCREL34) | uint64(elfsym)<<32)
    	case objabi.R_ADDRPOWER_PCREL:
    		out.Write64(uint64(elf.R_PPC64_REL16_HA) | uint64(elfsym)<<32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  5. src/cmd/link/internal/s390x/asm.go

    			out.Write64(uint64(elf.R_390_TLS_LE64) | uint64(elfsym)<<32)
    		}
    	case objabi.R_TLS_IE:
    		switch siz {
    		default:
    			return false
    		case 4:
    			out.Write64(uint64(elf.R_390_TLS_IEENT) | uint64(elfsym)<<32)
    		}
    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		switch siz {
    		default:
    			return false
    		case 4:
    			out.Write64(uint64(elf.R_390_32) | uint64(elfsym)<<32)
    		case 8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/vdso_linux.go

    	// 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)
Back to top