- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for elf_ (0.04 sec)
-
src/cmd/link/internal/ld/elf_test.go
defer fi.Close() elfFile, err := elf.NewFile(fi) if err != nil { t.Skip("The system may not support ELF, skipped.") } defer elfFile.Close() // List of interesting sections. Here "interesting" means progbits/dynamic // and loadable (has an address), nonzero size. secs := []*elf.Section{} for _, s := range elfFile.Sections { if s.Type != elf.SHT_PROGBITS && s.Type != elf.SHT_DYNAMIC { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh
$2 ~ /^E([ABCD]X|[BIS]P|[SD]I|S|FL)$/ {next} # 386 registers $2 ~ /^(SIGEV_|SIGSTKSZ|SIGRT(MIN|MAX))/ {next} $2 ~ /^(SCM_SRCRT)$/ {next} $2 ~ /^(MAP_FAILED)$/ {next} $2 ~ /^ELF_.*$/ {next}# <asm/elf.h> contains ELF_ARCH, etc. $2 ~ /^EXTATTR_NAMESPACE_NAMES/ || $2 ~ /^EXTATTR_NAMESPACE_[A-Z]+_STRING/ {next} $2 !~ /^ECCAPBITS/ && $2 !~ /^ETH_/ && $2 !~ /^EPROC_/ &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 20.2K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
// prologue. func isNOTOCfunc(name string) bool { switch { case name == "runtime.duffzero": return true case name == "runtime.duffcopy": return true case strings.HasPrefix(name, "runtime.elf_"): return true default: return false } } // Try converting FMOVD/FMOVS to XXSPLTIDP. If it is converted, // return true. func convertFMOVtoXXSPLTIDP(p *obj.Prog) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/cmd/link/internal/loadelf/ldelf.go
return errorf("elf object but not 386") } case sys.PPC64: if mach != elf.EM_PPC64 || class != elf.ELFCLASS64 { return errorf("elf object but not ppc64") } case sys.RISCV64: if mach != elf.EM_RISCV || class != elf.ELFCLASS64 { return errorf("elf object but not riscv64") } case sys.S390X: if mach != elf.EM_S390 || class != elf.ELFCLASS64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:12:12 UTC 2024 - 33.9K bytes - Viewed (0) -
src/cmd/link/elf_test.go
if s.Flags&elf.SHF_ALLOC == 0 { continue } switch s.Type { case elf.SHT_DYNSYM, elf.SHT_STRTAB, elf.SHT_REL, elf.SHT_RELA, elf.SHT_HASH, elf.SHT_GNU_HASH, elf.SHT_GNU_VERDEF, elf.SHT_GNU_VERNEED, elf.SHT_GNU_VERSYM: ret += s.Size } if s.Flags&elf.SHF_WRITE != 0 && (strings.Contains(s.Name, ".got") || strings.Contains(s.Name, ".plt")) { ret += s.Size } } return ret
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
src/cmd/link/internal/s390x/asm.go
case 2: elfrel = elf.R_390_PC16DBL case 4: elfrel = elf.R_390_PC32DBL } } else { switch siz { case 2: elfrel = elf.R_390_PC16 case 4: elfrel = elf.R_390_PC32 case 8: elfrel = elf.R_390_PC64 } } } if elfrel == elf.R_390_NONE { return false // unsupported size/dbl combination }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
// encountered on some versions of Solaris. See issue #14957. putelfsyment(ctxt.Out, putelfstr("go.go"), 0, 0, elf.ST_INFO(elf.STB_LOCAL, elf.STT_FILE), elf.SHN_ABS, 0) ctxt.numelfsym++ bindings := []elf.SymBind{elf.STB_LOCAL, elf.STB_GLOBAL} for _, elfbind := range bindings { if elfbind == elf.STB_GLOBAL { elfglobalsymndx = ctxt.numelfsym } genelfsym(ctxt, elfbind) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/asm.go
// // https://github.com/riscv-non-isa/riscv-elf-psabi-doc/releases/download/v1.0/riscv-abi.pdf // var hiRel, loRel elf.R_RISCV switch r.Type { case objabi.R_RISCV_CALL, objabi.R_RISCV_PCREL_ITYPE: hiRel, loRel = elf.R_RISCV_PCREL_HI20, elf.R_RISCV_PCREL_LO12_I case objabi.R_RISCV_PCREL_STYPE: hiRel, loRel = elf.R_RISCV_PCREL_HI20, elf.R_RISCV_PCREL_LO12_S case objabi.R_RISCV_TLS_IE:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 01 08:06:08 UTC 2024 - 22.8K bytes - Viewed (0) -
src/cmd/link/internal/x86/asm.go
case objabi.R_ADDR, objabi.R_DWARFSECREF: if siz == 4 { out.Write32(uint32(elf.R_386_32) | uint32(elfsym)<<8) } else { return false } case objabi.R_GOTPCREL: if siz == 4 { out.Write32(uint32(elf.R_386_GOTPC)) if ldr.SymName(r.Xsym) != "_GLOBAL_OFFSET_TABLE_" { out.Write32(uint32(sectoff)) out.Write32(uint32(elf.R_386_GOT32) | 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 - 13.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
// section or nil if the segment cannot be found. func FindTextProgHeader(f *elf.File) *elf.ProgHeader { for _, s := range f.Sections { if s.Name == ".text" { // Find the LOAD segment containing the .text section. for _, p := range f.Progs { if p.Type == elf.PT_LOAD && p.Flags&elf.PF_X != 0 && s.Addr >= p.Vaddr && s.Addr < p.Vaddr+p.Memsz { return &p.ProgHeader } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 13.9K bytes - Viewed (0)