- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for sizeOf (0.82 sec)
-
src/cmd/link/internal/riscv64/asm.go
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: ld.Errorf(nil, "unknown size %d for %v relocation", r.Size, r.Type) return false } out.Write64(uint64(r.Xadd))
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
plt.AddAddrPlus4(target.Arch, gotplt.Sym(), gotplt.Size()) plt.SetUint32(target.Arch, plt.Size()-4, 0xf9400211) relocs = plt.Relocs() plt.SetRelocType(relocs.Count()-1, objabi.R_ARM64_GOT) // add x16, x16, <offset> plt.AddAddrPlus4(target.Arch, gotplt.Sym(), gotplt.Size()) plt.SetUint32(target.Arch, plt.Size()-4, 0x91000210) relocs = plt.Relocs()
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/ppc64/asm.go
r, _ := glink.AddRel(objabi.R_PCREL) r.SetSym(ctxt.PLT) r.SetSiz(8) r.SetOff(int32(glink.Size())) r.SetAdd(glink.Size()) // Adjust the offset to be relative to label 1 above. glink.AddUint64(ctxt.Arch, 0) // The offset to the PLT. // Resolve PC-rel offsets above now the final size of the stub is known. res0m1b := glink.Size() - 8 // res_0 - 1b glink.SetUint32(ctxt.Arch, 16, 0x38000000|uint32(uint16(-res0m1b)))
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/wasm/asm.go
const wasmPageSize = 64 << 10 // 64KB writeUleb128(ctxt.Out, 1) // number of memories ctxt.Out.WriteByte(0x00) // no maximum memory size writeUleb128(ctxt.Out, initialSize/wasmPageSize) // minimum (initial) memory size writeSecSize(ctxt, sizeOffset) } // writeGlobalSec writes the section that declares global variables. func writeGlobalSec(ctxt *ld.Link) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0) -
src/cmd/link/internal/arm/asm.go
plt.SetSize(plt.Size() + 4) plt.Grow(plt.Size()) } func addpltsym(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loader.Sym) { if ldr.SymPlt(s) >= 0 { return } ld.Adddynsym(ldr, target, syms, s) if target.IsElf() { plt := ldr.MakeSymbolUpdater(syms.PLT) got := ldr.MakeSymbolUpdater(syms.GOTPLT) rel := ldr.MakeSymbolUpdater(syms.RelPLT) if plt.Size() == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 22.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
op := operands[next] if len(op) < 2 || op[0].ScanToken != '$' { p.errorf("TEXT %s: frame size must be an immediate constant", name) return } op = op[1:] negative := false if op[0].ScanToken == '-' { negative = true op = op[1:] } if len(op) == 0 || op[0].ScanToken != scanner.Int { p.errorf("TEXT %s: frame size must be an immediate constant", name) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/asm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 61.8K bytes - Viewed (0) -
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) -
src/cmd/link/internal/mips64/asm.go
gotplt := ldr.MakeSymbolUpdater(syms.GOTPLT) if plt.Size() == 0 { panic("plt is not set up") } // Load got.plt entry into r25. plt.AddSymRef(target.Arch, gotplt.Sym(), gotplt.Size(), objabi.R_ADDRMIPSU, 4) plt.SetUint32(target.Arch, plt.Size()-4, 0x3c0f0000) // lui $15, %hi(.got.plt entry) plt.AddSymRef(target.Arch, gotplt.Sym(), gotplt.Size(), objabi.R_ADDRMIPS, 4)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/link/internal/amd64/asm.go
rela := ldr.MakeSymbolUpdater(syms.RelaPLT) if plt.Size() == 0 { panic("plt is not set up") } // jmpq *got+size(IP) plt.AddUint8(0xff) plt.AddUint8(0x25) plt.AddPCRelPlus(target.Arch, got.Sym(), got.Size()) // add to got: pointer to current pos in plt got.AddAddrPlus(target.Arch, plt.Sym(), plt.Size()) // pushq $x plt.AddUint8(0x68)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 21K bytes - Viewed (0)