- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Write64b (0.21 sec)
-
src/cmd/link/internal/ld/asmb.go
} else { buf.Write32b(uint32(entry)) } buf.Write32b(uint32(spSize)) buf.Write32b(uint32(lcSize)) // amd64 includes the entry at the beginning of the symbol table. if is64Bit { buf.Write64b(uint64(entry)) } } // asmbPlan9 assembles a plan 9 binary. func asmbPlan9(ctxt *Link) { if !*FlagS { *FlagS = true symo := int64(Segdata.Fileoff + Segdata.Filelen) ctxt.Out.SeekSet(symo)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 09:22:56 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf.go
} func (out *OutBuf) Write32b(v uint32) { binary.BigEndian.PutUint32(out.encbuf[:], v) out.Write(out.encbuf[:4]) } func (out *OutBuf) Write64(v uint64) { out.arch.ByteOrder.PutUint64(out.encbuf[:], v) out.Write(out.encbuf[:8]) } func (out *OutBuf) Write64b(v uint64) { binary.BigEndian.PutUint64(out.encbuf[:], v) out.Write(out.encbuf[:8]) } func (out *OutBuf) WriteString(s string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0) -
src/cmd/link/internal/loong64/asm.go
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)) case objabi.R_CALLLOONG64: out.Write64(uint64(sectoff)) out.Write64(uint64(elf.R_LARCH_B26) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) case objabi.R_LOONG64_TLS_IE_HI: out.Write64(uint64(sectoff))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 17:26:07 UTC 2024 - 7.5K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
case objabi.R_ADDRPOWER: out.Write64(uint64(elf.R_PPC64_ADDR16_HA) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) out.Write64(uint64(sectoff + 4)) out.Write64(uint64(elf.R_PPC64_ADDR16_LO) | uint64(elfsym)<<32) case objabi.R_ADDRPOWER_DS: out.Write64(uint64(elf.R_PPC64_ADDR16_HA) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) out.Write64(uint64(sectoff + 4))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/asm.go
} out.Write64(uint64(sectoff)) out.Write64(uint64(hiRel) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) out.Write64(uint64(sectoff + 4)) out.Write64(uint64(loRel) | uint64(hi20ElfSym)<<32) out.Write64(uint64(0)) case objabi.R_RISCV_TLS_LE: out.Write64(uint64(sectoff)) out.Write64(uint64(elf.R_RISCV_TPREL_HI20) | uint64(elfsym)<<32)
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/arm64/asm.go
} out.Write64(uint64(ldstType) | uint64(elfsym)<<32) case objabi.R_ARM64_TLS_LE: out.Write64(uint64(elf.R_AARCH64_TLSLE_MOVW_TPREL_G0) | uint64(elfsym)<<32) case objabi.R_ARM64_TLS_IE: out.Write64(uint64(elf.R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) out.Write64(uint64(sectoff + 4))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 47K bytes - Viewed (0) -
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) -
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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 21K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
if e.Type == elf.PT_LOAD { fixElfPhdr(e) } out.Write32(uint32(e.Type)) out.Write32(uint32(e.Flags)) out.Write64(e.Off) out.Write64(e.Vaddr) out.Write64(e.Paddr) out.Write64(e.Filesz) out.Write64(e.Memsz) out.Write64(e.Align) } func elf32phdr(out *OutBuf, e *ElfPhdr) { if e.Type == elf.PT_LOAD { fixElfPhdr(e) } out.Write32(uint32(e.Type))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
for i := 0; i < nseg; i++ { s := &seg[i] if arch.PtrSize == 8 { out.Write32(LC_SEGMENT_64) out.Write32(72 + 80*s.nsect) out.WriteStringN(s.name, 16) out.Write64(s.vaddr) out.Write64(s.vsize) out.Write64(s.fileoffset) out.Write64(s.filesize) out.Write32(s.prot1) out.Write32(s.prot2) out.Write32(s.nsect) out.Write32(s.flag) } else { out.Write32(LC_SEGMENT)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0)